ArcGIS for Desktop

  • Documentation
  • Tarification
  • Support

  • My Profile
  • Aide
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS for Desktop

Un SIG professionnel complet

ArcGIS for Server

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Tarification
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

Help

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Plus...

FuzzyGaussian

Disponible avec une licence Spatial Analyst.

  • Récapitulatif
  • Discussion
  • Syntaxe
  • Propriétés
  • Exemple de code

Récapitulatif

Defines a fuzzy membership function through a Gaussian or normal distribution based around a user-specified midpoint (which is assigned a membership of 1) with a defined spread decreasing to zero.

Discussion

The tool that uses the FuzzyGaussian object: Fuzzy Membership.

The equation for the fuzzy Gaussian function is:

Gaussian fuzzy function equation

The inputs to the equation are f1, the spread, and f2, the midpoint. Increasing the spread causes the fuzzy membership curve to become steeper.

The Gaussian function is useful if the membership is near a specific value.

The input values can be either integer or floating point positive values.

Gaussian is similar to the Near function but has a more narrow spread.

Fuzzy Gaussian graph
Variations of the fuzzy Gaussian membership function.

Syntaxe

 FuzzyGaussian (midpoint, spread)
ParamètreExplicationType de données
midpoint

The user-defined value with a fuzzy membership of 1.

The default is the midpoint of the range of values of the input raster.

Double
spread

Defines the spread of the Gaussian function. The spread generally ranges from 0.01 to 1, with the larger the value results in a steeper distribution around the midpoint.

(La valeur par défaut est 0.1)

Double

Propriétés

PropriétéExplicationType de données
midpoint
(Lecture/écriture)

The user-defined value defining the midpoint for the membership function.

Double
spread
(Lecture/écriture)

Defines the spread of the membership function. The larger the value results in a steeper distribution from the midpoint.

Double

Exemple de code

FuzzyGaussian example 1 (Python window)

Demonstrates how to create a FuzzyGaussian class and use it in the FuzzyMembership tool within the Python window.

import arcpy
from arcpy.sa import *
from arcpy import env
env.workspace = "c:/sapyexamples/data"
outFzyMember = FuzzyMembership("as_std", FuzzyGaussian(12, 0.1))
outFzyMember.save("c:/sapyexamples/fzymemb")
FuzzyGaussian example 2 (stand-alone script)

Performs a FuzzyMembership using the FuzzyGaussian class.

# Name: FuzzyGaussian_Ex_02.py
# Description: Scales input raster data into values ranging from zero to one
#     indicating the strength of a membership in a set. 
# Requirements: Spatial Analyst Extension

# Import system modules
import arcpy
from arcpy import env
from arcpy.sa import *

# Set environment settings
env.workspace = "C:/sapyexamples/data"

# Set local variables
inRaster = "as_std"

# Create the FuzzyGaussian algorithm object
midpoint = 10
spread = 0.2
myFuzzyAlgorithm = FuzzyGaussian(midpoint, spread)

# Check out the ArcGIS Spatial Analyst extension license
arcpy.CheckOutExtension("Spatial")

# Execute FuzzyMembership
outFuzzyMember = FuzzyMembership(inRaster, myFuzzyAlgorithm)

# Save the output
outFuzzyMember.save("c:/sapyexamples/fzygauss")

Thèmes connexes

  • An overview of Spatial Analyst classes
  • An overview of fuzzy classes
  • Application de la logique floue pour superposer des rasters
  • Fonctionnement de l'appartenance floue
  • Fonctionnement de superposition floue
Vous avez un commentaire à formuler concernant cette rubrique ?

ArcGIS for Desktop

  • Accueil
  • Documentation
  • Tarification
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog des initiés
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Confidentialité | Légal