Extracting value from raster image

 

Created on: 8/21/19
Last update: 8/21/19

Using Raster Calculator to extract specific value from raster image.

For example, extracting corn and soybean from CDL:

(“image” = 1)1 + (“image” = 5)5 + (“image” > 5)255 + ((“image” < 5) AND (“image” < 1))255

Reference

Extract specific values from raster in QGIS