I have QGIS 2.18. I have the ground truth of land type for France. That is a paletted raster (i think.. i'm new and maybe it is not the correct word)
I loaded a style.qml file for this raster and I get this:
0 : no data 1 : urban 2: Roads ... 21 : water
(all these values have an associate color on the raster visualisation ofc)
Based on that, can I split my raster into 21 different rasters, each one representing a single mask?
(And then merge them into one TIFF file and use it as the ground truth for a deep segmentation algorithm)
EDIT: I found a basic solution: I save my ground truth raster and I exclude all the values excepted the value I care about (e.g 17: trees). So I have to do it manually for my 21 classes.