Variables
scripts.normalize Namespace Reference

Variables

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

Variable Documentation

◆ driver

scripts.normalize.driver = gdal.GetDriverByName("GTiff")

Definition at line 54 of file normalize.py.

◆ ds

scripts.normalize.ds = gdal.Open(inname, gdal.GA_ReadOnly)

Definition at line 9 of file normalize.py.

◆ inname

scripts.normalize.inname = sys.argv[1]

Definition at line 6 of file normalize.py.

◆ max_channel

scripts.normalize.max_channel = ds.RasterCount

Definition at line 18 of file normalize.py.

◆ means

scripts.normalize.means = values.mean(axis=0)

Definition at line 35 of file normalize.py.

◆ min_channel

scripts.normalize.min_channel = 1

Definition at line 17 of file normalize.py.

◆ mins

scripts.normalize.mins = values.min(axis=0)

Definition at line 36 of file normalize.py.

◆ num_channels

int scripts.normalize.num_channels = max_channel - min_channel

Definition at line 23 of file normalize.py.

◆ outname

scripts.normalize.outname = sys.argv[2]

Definition at line 7 of file normalize.py.

◆ raster_count

scripts.normalize.raster_count = ds.RasterCount

Definition at line 13 of file normalize.py.

◆ shape

scripts.normalize.shape = values.shape

Definition at line 33 of file normalize.py.

◆ values

int scripts.normalize.values = np.empty((raster_count, y_size, x_size), dtype=np.float32)

Definition at line 25 of file normalize.py.

◆ vmax

scripts.normalize.vmax = np.amax(values)

Definition at line 38 of file normalize.py.

◆ x_size

scripts.normalize.x_size = ds.RasterXSize

Definition at line 14 of file normalize.py.

◆ y_size

scripts.normalize.y_size = ds.RasterYSize

Definition at line 15 of file normalize.py.



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 Mon Feb 28 2022 22:46:12