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)
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.