Hi all,
I am using the 'Difference' button to process two rasters using the Processing feature in the Image Analysis Window could use some help with the resulting image.
The image produced is displayed using Colormap and I want to produce a classified raster that shows the difference as three classes: Gain (+ 1.1 to positive X value), No change (-1 to 1), and Loss (-1.1 to negative X value). When I click on Show: Classified, I get a 'Compute Histogram' question box that tells me "The Classified renderer requires the data to have a histogram. Do you want to compute the histogram?" I click Yes and get a 'Classify Renderer' information box that tells me "Unique histogram is not available. You can import class breaks from another layer." Then, 'Initialize Classify Renderer' information box pops up with "Failed to initialize classify renderer (possibly too many unique values)".
I tried to Build Raster Attribute Table for the difference raster, because I figured that if the attribute table was there to define the values of the pixels, it would be easier for GIS to compute the histogram for the classification. I get back "Error Message 000049: Failed to build attribute table" and am instructed that I should make the raster is a single-band integer dataset. Not really sure what that means... Under raster properties I know my raster is a signed integer raster and has a 16-bit pixel depth.
When I try to Calculate Statistics, I get a Python script error, everything freezes and then GIS crashes 😕
I was working on this and somehow got it to work, but cannot seem to duplicate it even though I followed my steps from before. Any advice on working through this issue (or any suggestions on working around it) would be very much appreciated!!
~Laura Cockrell