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
Created on: 8/21/19, Last Updated on: 8/21/19
Category:
GIS
, Tags: #QGIS
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