1

I have a raster with continuous values between 0 and 1.

I want to calculate the area (can be a number of pixels too) in this raster which has values in the specific range - say between 0.1 and 0.2 and 0.3-0.4.

In other words, the goal is to see which interval occupies the larger area.

What tool could be used for that?

2

You can do the counting by

  1. using the ReClassify function in Raster Calculator to re-classify your raster into an integer raster in which pixel values in your ranges [0.1, 0.2), [0.3, 0.4) ... are mapped to new integer values, e.g. 1, 2, ...,

  2. building a Value/Raster Attribute Tables (VAT/RAT) for the new integer raster. In the VAT, there should be a COUNT field telling you the number of 1-pixels, 2-pixels etc., which correspond to the number of pixels whose value are in your ranges [0.1, 0.2), [0.3, 0.4) etc., respectively.

2

Without creating new raster (reclassify) You can change raster symbology with given intervals. Then you can just read how many cells are in each class.

  • I know how to change raster symbology but not sure what tool can I use to count/read the number of cells in each class? – MIH Nov 20 '16 at 15:31
  • Next to each interval in symbology should be number of cells within that class – ami Nov 20 '16 at 17:30

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.