Namespaces | Variables
normalize.py File Reference

Go to the source code of this file.

Namespaces

 scripts.normalize
 

Variables

 scripts.normalize.driver = gdal.GetDriverByName("GTiff")
 
 scripts.normalize.ds = gdal.Open(inname, gdal.GA_ReadOnly)
 
 scripts.normalize.inname = sys.argv[1]
 
 scripts.normalize.max_channel = ds.RasterCount
 
 scripts.normalize.means = values.mean(axis=0)
 
int scripts.normalize.min_channel = 1
 
 scripts.normalize.mins = values.min(axis=0)
 
int scripts.normalize.num_channels = max_channel - min_channel
 
 scripts.normalize.outname = sys.argv[2]
 
 scripts.normalize.raster_count = ds.RasterCount
 
 scripts.normalize.shape = values.shape
 
 scripts.normalize.values = np.empty((raster_count, y_size, x_size), dtype=np.float32)
 
 scripts.normalize.vmax = np.amax(values)
 
 scripts.normalize.x_size = ds.RasterXSize
 
 scripts.normalize.y_size = ds.RasterYSize
 


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:25