Hi, Yes, google “reclassify”. You can do it multiple ways. Nicolas
> Le 27 déc. 2019 à 05:55, LE LAMER Romain <[email protected]> a écrit : > > Hi, > Is it possible via gdal_translate, or other gdal program, to binarize a tile? > > I would like the colors RGB 59,89,95,255 & 60,89,96,255 change to white > (color entry 0) and that the other colors 109,178,200,255; 138,193,212,255 & > 161,205,220,255 change to black (color entry 1) > > I don't understand how to use the -b and / or -mask arguments in this code > l = 'gdal_translate -a_srs EPSG:4326 -a_ullr ' + ullr + f_in + f_out + '\n' > > Thanks > _______________________________________________ > Qgis-user mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
