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)
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.