![]() |
Agroeye
1.0
|
Public Member Functions | |
def | __init__ (self, sourceRaster) |
def | setLUTfloat32To8Bit (self, tempRaster=None) |
Applies different default LUT depending on range of float values. More... | |
def | setLUT32bitTo8Bit (self, tempRaster=None) |
Applies to the raster LUT mask converting image from 32 bits into 8 bit. More... | |
def | setLUT16bitTo8Bit (self, tempRaster=None) |
Applies to the raster LUT mask converting image from 16 bits into 8 bit. More... | |
def | setLUT8BitTo8Bit (self, tempRaster=None) |
Applies to the raster LUT mask no-depth-conversion. More... | |
def | createDefaultHistogram (self, tempRaster=None) |
def | setDefaultHistogram (self, tempRaster=None) |
def | setPercetangeClipHistogram (self, tempRaster=None, statistics=None, float=False) |
def | setStandardDeviationClipHistogram (self, tempRaster=None, statistics=None, float=False) |
def | setLocalStretch (self, tempRaster, counter) |
def | setPercentageClipHistogram_Float (self) |
def | setStandardDeviationClipHistogram_Float (self) |
def | setNoStretchHistogram_Float (self) |
def | setLocalHistogramClip_Float (self, bandData, band, counter) |
Public Attributes | |
raster | |
showingBands | |
histograms | |
list containing calculated histograms More... | |
localHistograms | |
list containing histogram of currently showed area, More... | |
defaultHistogram | |
showLocalHistograms | |
Determines whether histograms of current view extent are shown or not. More... | |
localAreaOfStretch | |
Determines whether histogram stretch is based on current view or not. More... | |
LUTs | |
currently applied mask to the raster More... | |
stretchLUTs | |
stretching Look-Up Table for whole raster More... | |
localStretchLUTs | |
stretching Look-Up Table for current view More... | |
dataTypeStored | |
minMaxVals | |
statistics | |
bandName | |
opacity | |
channelColors | |
lowTopBandValues | |
floatToIntCoefs | |
EPSG | |
rasterAuxiliary | |
redPalette | |
greenPalette | |
bluePalette | |
palette | |
paletteInverted | |
Class containing attributes of a single raster dataset: - histograms - current LUT (Look Up Table)
def agroeyepy.Logic.rasterattributes.RasterAttributes.__init__ | ( | self, | |
sourceRaster | |||
) |
sourceRaster | Initializing with reference to the calling raster |
def agroeyepy.Logic.rasterattributes.RasterAttributes.createDefaultHistogram | ( | self, | |
tempRaster = None |
|||
) |
@brief Computes Statistics, tries to use overviews to speed-up work
def agroeyepy.Logic.rasterattributes.RasterAttributes.setDefaultHistogram | ( | self, | |
tempRaster = None |
|||
) |
@brief Set defaults histogram
def agroeyepy.Logic.rasterattributes.RasterAttributes.setLocalHistogramClip_Float | ( | self, | |
bandData, | |||
band, | |||
counter | |||
) |
def agroeyepy.Logic.rasterattributes.RasterAttributes.setLocalStretch | ( | self, | |
tempRaster, | |||
counter | |||
) |
def agroeyepy.Logic.rasterattributes.RasterAttributes.setLUT16bitTo8Bit | ( | self, | |
tempRaster = None |
|||
) |
Applies to the raster LUT mask converting image from 16 bits into 8 bit.
Lower bit depth is required in order to display raster on the screen.
def agroeyepy.Logic.rasterattributes.RasterAttributes.setLUT32bitTo8Bit | ( | self, | |
tempRaster = None |
|||
) |
Applies to the raster LUT mask converting image from 32 bits into 8 bit.
Lower bit depth is required in order to display raster on the screen.
def agroeyepy.Logic.rasterattributes.RasterAttributes.setLUT8BitTo8Bit | ( | self, | |
tempRaster = None |
|||
) |
Applies to the raster LUT mask no-depth-conversion.
def agroeyepy.Logic.rasterattributes.RasterAttributes.setLUTfloat32To8Bit | ( | self, | |
tempRaster = None |
|||
) |
Applies different default LUT depending on range of float values.
def agroeyepy.Logic.rasterattributes.RasterAttributes.setNoStretchHistogram_Float | ( | self | ) |
def agroeyepy.Logic.rasterattributes.RasterAttributes.setPercentageClipHistogram_Float | ( | self | ) |
def agroeyepy.Logic.rasterattributes.RasterAttributes.setPercetangeClipHistogram | ( | self, | |
tempRaster = None , |
|||
statistics = None , |
|||
float = False |
|||
) |
@brief Clips histogram and stretches with given percentile and sets up new stretch LUTs.
def agroeyepy.Logic.rasterattributes.RasterAttributes.setStandardDeviationClipHistogram | ( | self, | |
tempRaster = None , |
|||
statistics = None , |
|||
float = False |
|||
) |
@brief Calculates histogram and stretches it for standard deviation and sets up new stretch LUTs.
def agroeyepy.Logic.rasterattributes.RasterAttributes.setStandardDeviationClipHistogram_Float | ( | self | ) |
agroeyepy.Logic.rasterattributes.RasterAttributes.bandName |
agroeyepy.Logic.rasterattributes.RasterAttributes.bluePalette |
agroeyepy.Logic.rasterattributes.RasterAttributes.channelColors |
agroeyepy.Logic.rasterattributes.RasterAttributes.dataTypeStored |
agroeyepy.Logic.rasterattributes.RasterAttributes.defaultHistogram |
agroeyepy.Logic.rasterattributes.RasterAttributes.EPSG |
agroeyepy.Logic.rasterattributes.RasterAttributes.floatToIntCoefs |
agroeyepy.Logic.rasterattributes.RasterAttributes.greenPalette |
agroeyepy.Logic.rasterattributes.RasterAttributes.histograms |
list containing calculated histograms
agroeyepy.Logic.rasterattributes.RasterAttributes.localAreaOfStretch |
Determines whether histogram stretch is based on current view or not.
agroeyepy.Logic.rasterattributes.RasterAttributes.localHistograms |
list containing histogram of currently showed area,
agroeyepy.Logic.rasterattributes.RasterAttributes.localStretchLUTs |
stretching Look-Up Table for current view
agroeyepy.Logic.rasterattributes.RasterAttributes.lowTopBandValues |
agroeyepy.Logic.rasterattributes.RasterAttributes.LUTs |
currently applied mask to the raster
agroeyepy.Logic.rasterattributes.RasterAttributes.minMaxVals |
agroeyepy.Logic.rasterattributes.RasterAttributes.opacity |
agroeyepy.Logic.rasterattributes.RasterAttributes.palette |
agroeyepy.Logic.rasterattributes.RasterAttributes.paletteInverted |
agroeyepy.Logic.rasterattributes.RasterAttributes.raster |
agroeyepy.Logic.rasterattributes.RasterAttributes.rasterAuxiliary |
agroeyepy.Logic.rasterattributes.RasterAttributes.redPalette |
agroeyepy.Logic.rasterattributes.RasterAttributes.showingBands |
agroeyepy.Logic.rasterattributes.RasterAttributes.showLocalHistograms |
Determines whether histograms of current view extent are shown or not.
agroeyepy.Logic.rasterattributes.RasterAttributes.statistics |
agroeyepy.Logic.rasterattributes.RasterAttributes.stretchLUTs |
stretching Look-Up Table for whole raster