I'm looking for a way to remove isolated pixels
from arcpy.sa import * # set all single-cell zones to NoData catmask = SetNull(Lookup(RegionGroup(catraster),"COUNT") == 1, catraster) # fill them in with the Nibble tool cleanras = Nibble(catraster, catmask)
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.