Agroeye  1.0
Public Member Functions | Public Attributes | List of all members
agroeyepy.Logic.rasterattributes.RasterAttributes Class Reference
Inheritance diagram for agroeyepy.Logic.rasterattributes.RasterAttributes:
Collaboration diagram for agroeyepy.Logic.rasterattributes.RasterAttributes:

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
 

Detailed Description

Class containing attributes of a single raster dataset:
- histograms
- current LUT (Look Up Table)

Constructor & Destructor Documentation

§ __init__()

def agroeyepy.Logic.rasterattributes.RasterAttributes.__init__ (   self,
  sourceRaster 
)
Parameters
sourceRasterInitializing with reference to the calling raster

Member Function Documentation

§ createDefaultHistogram()

def agroeyepy.Logic.rasterattributes.RasterAttributes.createDefaultHistogram (   self,
  tempRaster = None 
)
@brief Computes Statistics, tries to use overviews to speed-up work
Here is the caller graph for this function:

§ setDefaultHistogram()

def agroeyepy.Logic.rasterattributes.RasterAttributes.setDefaultHistogram (   self,
  tempRaster = None 
)
@brief Set defaults histogram
Here is the call graph for this function:
Here is the caller graph for this function:

§ setLocalHistogramClip_Float()

def agroeyepy.Logic.rasterattributes.RasterAttributes.setLocalHistogramClip_Float (   self,
  bandData,
  band,
  counter 
)

§ setLocalStretch()

def agroeyepy.Logic.rasterattributes.RasterAttributes.setLocalStretch (   self,
  tempRaster,
  counter 
)
Here is the call graph for this function:

§ setLUT16bitTo8Bit()

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.

§ setLUT32bitTo8Bit()

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.

§ setLUT8BitTo8Bit()

def agroeyepy.Logic.rasterattributes.RasterAttributes.setLUT8BitTo8Bit (   self,
  tempRaster = None 
)

Applies to the raster LUT mask no-depth-conversion.

§ setLUTfloat32To8Bit()

def agroeyepy.Logic.rasterattributes.RasterAttributes.setLUTfloat32To8Bit (   self,
  tempRaster = None 
)

Applies different default LUT depending on range of float values.

§ setNoStretchHistogram_Float()

def agroeyepy.Logic.rasterattributes.RasterAttributes.setNoStretchHistogram_Float (   self)

§ setPercentageClipHistogram_Float()

def agroeyepy.Logic.rasterattributes.RasterAttributes.setPercentageClipHistogram_Float (   self)

§ setPercetangeClipHistogram()

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.
Here is the caller graph for this function:

§ setStandardDeviationClipHistogram()

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.
Here is the caller graph for this function:

§ setStandardDeviationClipHistogram_Float()

def agroeyepy.Logic.rasterattributes.RasterAttributes.setStandardDeviationClipHistogram_Float (   self)

Member Data Documentation

§ bandName

agroeyepy.Logic.rasterattributes.RasterAttributes.bandName

§ bluePalette

agroeyepy.Logic.rasterattributes.RasterAttributes.bluePalette

§ channelColors

agroeyepy.Logic.rasterattributes.RasterAttributes.channelColors

§ dataTypeStored

agroeyepy.Logic.rasterattributes.RasterAttributes.dataTypeStored

§ defaultHistogram

agroeyepy.Logic.rasterattributes.RasterAttributes.defaultHistogram

§ EPSG

agroeyepy.Logic.rasterattributes.RasterAttributes.EPSG

§ floatToIntCoefs

agroeyepy.Logic.rasterattributes.RasterAttributes.floatToIntCoefs

§ greenPalette

agroeyepy.Logic.rasterattributes.RasterAttributes.greenPalette

§ histograms

agroeyepy.Logic.rasterattributes.RasterAttributes.histograms

list containing calculated histograms

§ localAreaOfStretch

agroeyepy.Logic.rasterattributes.RasterAttributes.localAreaOfStretch

Determines whether histogram stretch is based on current view or not.

§ localHistograms

agroeyepy.Logic.rasterattributes.RasterAttributes.localHistograms

list containing histogram of currently showed area,

§ localStretchLUTs

agroeyepy.Logic.rasterattributes.RasterAttributes.localStretchLUTs

stretching Look-Up Table for current view

§ lowTopBandValues

agroeyepy.Logic.rasterattributes.RasterAttributes.lowTopBandValues

§ LUTs

agroeyepy.Logic.rasterattributes.RasterAttributes.LUTs

currently applied mask to the raster

§ minMaxVals

agroeyepy.Logic.rasterattributes.RasterAttributes.minMaxVals

§ opacity

agroeyepy.Logic.rasterattributes.RasterAttributes.opacity

§ palette

agroeyepy.Logic.rasterattributes.RasterAttributes.palette

§ paletteInverted

agroeyepy.Logic.rasterattributes.RasterAttributes.paletteInverted

§ raster

agroeyepy.Logic.rasterattributes.RasterAttributes.raster

§ rasterAuxiliary

agroeyepy.Logic.rasterattributes.RasterAttributes.rasterAuxiliary

§ redPalette

agroeyepy.Logic.rasterattributes.RasterAttributes.redPalette

§ showingBands

agroeyepy.Logic.rasterattributes.RasterAttributes.showingBands

§ showLocalHistograms

agroeyepy.Logic.rasterattributes.RasterAttributes.showLocalHistograms

Determines whether histograms of current view extent are shown or not.

§ statistics

agroeyepy.Logic.rasterattributes.RasterAttributes.statistics

§ stretchLUTs

agroeyepy.Logic.rasterattributes.RasterAttributes.stretchLUTs

stretching Look-Up Table for whole raster


The documentation for this class was generated from the following file: