Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

empty pixels occurs after classification - in arcmap you can use Generalization tools such as majority filter. However is there a script you could write to better fix it? for example - some of the tools are bad at fixing empty pixels on borders.

Ok to be more specific. Is it possible to use a python script to select empty pixels and reclassify them based on distance to neighbours? The nibble tool selects No Data pixels and reclassifies them according to distance to neighbours. But I have a question asking if there is a way to better do it - as with current methods often areas such as borders are missed out (due to lack of neighbours)

This is for Arcmap10

share|improve this question
I think you're going to have to get a lot more specific than that if you want a relevant answer! Which version of Arc are you using? What tools are you using? What is "and such"? What are "some of the tools", and what parameters did you give them? Et cetera ... – R Thiede Sep 28 '11 at 7:55
To echo Rüdiger's comments, what do you mean by "better"? Euclidean allocation perhaps? – whuber Sep 28 '11 at 15:15
ah, its just a question I have for an assignment that I Can't think of how to answer since there are so many generalization tools already that seem fine to me. – Nevu Sep 29 '11 at 7:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.