ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS 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
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

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

FuzzyMSSmall

Disponible avec une licence Spatial Analyst.

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

Résumé

Defines a fuzzy membership through a function based on the mean and standard deviation, with the smaller values having a membership closer to 1.

Discussion

The tool that uses the FuzzyMSSmall object: Fuzzy Membership.

There are two equations for the MS Small function, depending on the product of a * m.

  • If x > a * m:

    u(x) = (b * s) / (x - (a * m) + (b * s))

    • where:

      m = the mean

      s = the standard deviation

      a = a multiplier of the mean

      b = a multiplier of the standard deviation

      The a and b multipliers are input parameters.

  • If x <= a * m:

    u(x) = 0

The MSSmall function is useful when the small input values have a higher membership.

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

The result can be similar to the Small fuzzy membership function, depending on how the multipliers of the mean and standard deviation are defined.

Syntaxe

 FuzzyMSSmall (meanMultiplier, STDMultiplier)
ParamètreExplicationType de données
meanMultiplier

The multiplier for the mean of the input values in the MSLarge function equation.

(La valeur par défaut est 1)

Double
STDMultiplier

The multiplier for the standard deviation of the input values in the MSLarge function equation.

(La valeur par défaut est 1)

Double

Propriétés

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

The multiplier for the mean of the input values in the membership function equation.

Double
STDMultiplier
(Lecture/écriture)

The multiplier for the standard deviation of the input values in the membership function equation.

Double

Exemple de code

FuzzyMSSmall example 1 (Python window)

Demonstrates how to create a FuzzyMSSmall 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", FuzzyMSSmall(1.2, 3.2))
outFzyMember.save("c:/sapyexamples/fzymssml")
FuzzyMSSmall example 2 (stand-alone script)

Performs a FuzzyMembership using the FuzzyMSSmall class.

# Name: FuzzyMSSmall_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 FuzzyMSSmall algorithm object
meanMultiply = 1.5
stdMultiply = 1
myFuzzyAlgorithm = FuzzyMSSmall(meanMultiply, stdMultiply)

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

# Execute FuzzyMembership
outFuzzyMember = FuzzyMembership(inRaster, myFuzzyAlgorithm)

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

Rubriques 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

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2021 Esri. | Confidentialité | Légal