4

I've started to have a problem when georeferencing some rasters in ArcGIS 10.2.2 where the image appears in much lower quality with false colors and higher contrast. The images appearing in ArcGIS do not look like the original rasters at all. These are usually JPG images, although I think I have also had the same problem with TIFFs in the past. The display and pyramid settings are both set to use bilinear interpolation.

Sometimes this problem fixes itself after I update the georeferencing. If it does fix itself, it then sometimes goes back to the poor image quality after I zoom in or out. I haven't been able to find any rhyme or reason as to which rasters have this problem and when.

Does anyone know what is happening with these rasters or how to fix this issue?

The raster is appearing like this:

enter image description here

Instead of this (not shown at the same angle or scale, but you get the idea):

enter image description here

EDIT:

Taking your comments into account, I attempted a few more things, but still hitting a wall with this.

Running raster calculator cleaned it up a bit but didn't fully resolve the problem. This issue is also happening with rasters that are grayscale to begin with. It's also more than a contrast issue because text becomes illegible--it almost seems like it's downsampling somehow. This sometimes happens as soon as I bring the raster into the MXD.

Looking at Layer Properties > Symbology > Show: RGB Composite > Stretch, I set the Type to "minimum-maximum" and unchecked "apply gamma stretch," which seemed to help a fair amount, but it's still not looking entirely like the original image. These are also not setting I've ever turned on or off before, so I don't know how they might be changing automatically.

Did this for both an RBG and a grayscale image with the same results. I'm going to be working with dozens of rasters, so I'm trying to avoid running a ton of processes on each one.

Is pyramid information stored anywhere else besides in the .ovr file?

So, in the following image, I altered those things above in the Layer properties, rebuilt the pyramids, and here is what it looks like. Far more legible, but still not right:

enter image description here

1

I believe your issue is related to the resampling applied after you georeferenced your raster, which is explained here very nicely. Basically the raster values in your RGB bands are resampled/shifted based on your transformation parameters and RGB Composite representation of the cell centres do not match as they used to be.

The resolution that I would advise is to convert your image to grayscale by using raster calculator (e.g., (<Red band>+<Green band>+<Blue band>)/3 or as explained here) before or after georeferencing.

  • Im not sure resampling explains this entirely. Why would it change with zoom? I wonder if it is not the way the colour pallate is being applied to the RGB data based sampling from only those tiles in memory. To see if the underlying data is much different compare the histograms before and after georeferencing. If they are not much different then try playing with the image display settings to see if more contrast can be recovered. – AnserGIS Sep 15 '16 at 7:17
  • I think the change in visual quality with zoom is related to the pyramid, which sometimes gets corrupted as discussed in geonet.esri.com/thread/34923 and gis.stackexchange.com/questions/20490/…. – fatih_dur Sep 15 '16 at 7:26
  • Thanks for the suggestions. I tried a number of these things, but it doesn't seem to be affecting it all that much. I edited the post above with results. Are there other locations pyramids may be stored? It seems like it's something systemically wrong with how my MXD is using rasters, rather than individual settings on each one. – mmr Sep 15 '16 at 21:51

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.