threshold.py
Go to the documentation of this file.
1 from terralib import raster, rp, core
2 
3 rst = raster.open(core.TERRALIB_DATA_DIR + '/geotiff/cbers_rgb342_crop1.tif')
4 rp.Threshold(rst, 1, 1, 50, 'water.tif')