Edit individual pixels?

791
6
06-26-2018 01:17 PM
SarahPeirce
New Contributor

I would like to edit individual pixels in a raster following a Maximum Likelihood Classification, just to clean up the edges where detection is worst. Any recommendations? I have version ArcMap 10.6.

Tags (2)
0 Kudos
6 Replies
DanPatterson_Retired
MVP Emeritus

You can't edit individual pixels... but you can look to see if I missed

Complete list of ArcGIS Image Analyst extension functions and tools—ArcGIS Pro | ArcGIS Desktop 

In any event, it must be an aesthetic issue.  If so, you can clip a small border area off,   If it is for analysis,  use a larger image area (if you have a sample of an existing one), then clip to size

PeterBecker
Esri Regular Contributor

I recommend you look to use ArcGIS Pro and the Image Classification Wizard. See The Image Classification Wizard—ArcGIS Pro | ArcGIS Desktop 

This includes a  reclassifier specifically designed to enable you to quickly make such edits. It leads you through the classification process including accuracy assessment and has nice tools to quickly select areas and change the classification. 

DanPatterson_Retired
MVP Emeritus

Peter would that be accomplished by specifying the minimum segment size? or some other parameter (since there is no individual pixel editing that I can see)

0 Kudos
PeterBecker
Esri Regular Contributor

Maximum Likelihood can be applied to pixel or segments. Yes, it appears that this UI only enables editing of the segment classification. Not sure why though. The process could just was well work with pixels. I'll try and find out why. What it does is set up a raster function chain that defines all the changes to be made and then saves a new image to persist the changes. In theory you can create a layer that defines such changes virtually and then either use this layer or save it as new/replacement raster.

MathieuOuellette1
New Contributor II

You can change the value of individual pixels by code using numpy (which is installed with ArcGIS for Desktop). See the following example:

How to change value of an individual pixel using arcpy?

PavanYadav
Esri Contributor

It's an old thread but I thought if you stumble upon it, you might find the following information useful:

Pixel Editor contains a set of tools used to interactively manipulate pixel values for raster and imagery data. It allows you to edit an individual pixel or a group of pixels at one time.

The Pixel Editor tools enable you to perform many editing tasks on your raster datasets:

  • Edit elevation data to fill voids, remove spikes, or remove holes.
  • Reclassify pixels, regions, or objects.
  • Use preset filters to smooth areas.
  • Obscure or redact confidential pixels.
  • Remove above ground features to create a bare earth elevation surface.
  • Replace a cloudy region with another region of pixels.

Note: Pixel Editor is only available at  ArcGIS Pro 2.4 onwards (not in ArcMap). Also it requires the Image Analyst extension.

0 Kudos