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

The attached image is the result of an image segmentation algorithm on high resolution imagery. The smaller clusters of pixels represent trees and brush and the larger cluster of pixels (marked with a red arrow) is a misclassified farm field. In ArcGIS 10.1 is there a way to select the misclassified pixels and reclassify them to 0 or NoData?

enter image description here

share|improve this question
In graphics editing software like Photoshop you would use a "flood fill" tool to recolor a contiguous region of same-colored pixels. I am not sure what the equivalent is in ArcGIS. – blah238 Dec 8 '12 at 5:20
up vote 2 down vote accepted

Here is one possible workflow using ModelBuilder and Spatial Analyst tools that works for me:

ModelBuilder screenshot

You supply the input raster, an XY coordinate for the location at which to sample for the region to be reclassified, and the new value of the classification.

The output is a new raster (it won't let you overwrite the input raster), but that can be overcome through Python scripting.

You could also implement this as a Python add-in to make it more interactive by creating a tool that responds to the mouse being clicked in the map and input those coordinates into the workflow.

share|improve this answer

To do it "with" esri products you would need spatial analyst extension.
You would use the raster calculator to accomplish.
there are ways to do it with open source software.

share|improve this answer

Your Answer


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

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