0

Does anyone know how to delete single edge pixels in a raster after a mask is completed?

I could convert to polygon and back to raster, but I don't want to lose accuracy. I am using ArcMap.

  • Have you explored the Shrink tool? – Hornbydd Feb 14 at 19:01
  • Try region group, it will contain count of pixels. – FelixIP Feb 14 at 19:36
  • Feel free to ask a separate second question about ArcGIS Pro if you want to know how to do it in both applications. – PolyGeo Feb 14 at 19:59
  • You should be able to apply some filter, for example convert to numpy array then: stackoverflow.com/questions/46043048/… – BERA Jul 28 at 9:30
0

Does these pixels all has the same unique value? for example, 0,0,0? You can just omit those pixels from your raster.

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.