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)
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.