OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimImageData.h>
Public Types | |
enum | OverwriteBandRule { COLOR_DISCREPANCY = 0, COLOR_DISCREPANCY_OF_ANY_FROM_DEST = 1, COLOR_DISCREPANCY_OF_ALL_FROM_DEST = 2, COLOR_EQUALITY_OF_ANY_TO_SRC = 3, COLOR_EQUALITY_OF_ALL_TO_SRC = 4, NULL_RULE = 5 } |
Definitions for the unloadBand routines. More... | |
Public Member Functions | |
ossimImageData (const ossimImageData &rhs) | |
copy constructor More... | |
ossimImageData () | |
ossimImageData (ossimSource *source, ossimScalarType scalar, ossim_uint32 bands=1) | |
Constructor. More... | |
ossimImageData (ossimSource *source, ossimScalarType scalar, ossim_uint32 bands, ossim_uint32 width, ossim_uint32 height) | |
Constructor. More... | |
virtual | ~ossimImageData () |
virtual destructor More... | |
virtual const ossimImageData & | operator= (const ossimImageData &rhs) |
assignment operator= More... | |
virtual ossim_uint32 | getWidth () const |
virtual ossim_uint32 | getHeight () const |
virtual ossimIrect | getImageRectangle () const |
virtual void | getWidthHeight (ossim_uint32 &w, ossim_uint32 &h) |
virtual void | setWidth (ossim_uint32 width) |
virtual void | setHeight (ossim_uint32 height) |
virtual void | setWidthHeight (ossim_uint32 w, ossim_uint32 h) |
virtual void | setImageRectangleAndBands (const ossimIrect &rect, ossim_uint32 numberOfBands) |
virtual void | setImageRectangle (const ossimIrect &rect) |
virtual void | setOrigin (const ossimIpt &origin) |
virtual void | assign (const ossimDataObject *data) |
virtual void | assign (const ossimImageData *data) |
virtual void | assignBand (const ossimImageData *data, ossim_uint32 source_band, ossim_uint32 output_band) |
virtual ossimObject * | dup () const |
virtual ossim_uint32 | getHashId () const |
Uses prime numbers as coefficients for this summation. More... | |
virtual void | setNullPix (ossim_float64 null_pix) |
virtual void | setNullPix (ossim_float64 null_pix, ossim_uint32 band) |
virtual void | setNullPix (const ossim_float64 *nullPixArray, ossim_uint32 numberOfValues) |
virtual void | setMinPix (ossim_float64 min_pix) |
virtual void | setMinPix (ossim_float64 min_pix, ossim_uint32 band) |
virtual void | setMinPix (const ossim_float64 *minPixArray, ossim_uint32 numberOfValues) |
virtual void | setMaxPix (ossim_float64 max_pix) |
virtual void | setMaxPix (ossim_float64 max_pix, ossim_uint32 band) |
virtual void | setMaxPix (const ossim_float64 *maxPixArray, ossim_uint32 numberOfValues) |
virtual const ossimIpt & | getOrigin () const |
virtual void | computeMinMaxPix (std::vector< ossim_float64 > &minBands, std::vector< ossim_float64 > &maxBands) const |
If the minBands and maxBands are empty or not equal to the imageData's current number of bands it will erase the contents, resize, and then replace the values in the passed in array with this objects min max values. More... | |
virtual void | computeMinMaxNulPix (std::vector< ossim_float64 > &minBands, std::vector< ossim_float64 > &maxBands, std::vector< ossim_float64 > &nulBands) const |
Scans tile for min, max, nulls. More... | |
virtual const ossim_float64 * | getNullPix () const |
virtual const ossim_float64 * | getMinPix () const |
virtual const ossim_float64 * | getMaxPix () const |
virtual ossim_float64 | getNullPix (ossim_uint32 band) const |
virtual ossim_float64 | getMinPix (ossim_uint32 band) const |
virtual ossim_float64 | getMaxPix (ossim_uint32 band) const |
virtual ossim_float64 | getMinNormalizedPix () const |
returns normalized minimum pixel value of band zero. More... | |
virtual ossimString | getScalarTypeAsString () const |
virtual ossim_uint32 | getNumberOfBands () const |
virtual void | setNumberOfBands (ossim_uint32 bands, bool reallocate=false) |
virtual ossim_float64 | getPix (const ossimIpt &position, ossim_uint32 band=0) const |
Will return the pixel at location position. More... | |
virtual ossim_float64 | getPix (ossim_uint32 offset, ossim_uint32 band=0) const |
Will return the pixel at offset and band number. More... | |
void | fill (ossim_uint32 band, ossim_float64 value) |
will fill the entire band with the value. More... | |
void | fill (ossim_float64 value) |
will fill all bands with the passed in value. More... | |
void | createTestTile () |
Creates a step wedge for testing only. More... | |
bool | isNull (ossim_uint32 offset) const |
bool | isNull (ossim_uint32 offset, ossim_uint32 band) const |
void | setNull (ossim_uint32 offset) |
void | setNull (ossim_uint32 offset, ossim_uint32 band) |
bool | isNull (const ossimIpt &pt) const |
void | setNull (const ossimIpt &pt) |
bool | isNull (const ossimIpt &pt, ossim_uint32 band) const |
void | setNull (const ossimIpt &pt, ossim_uint32 band) |
virtual bool | isValidBand (ossim_uint32 band) const |
virtual ossimDataObjectStatus | validate () const |
virtual ossimRefPtr< ossimImageData > | newNormalizedFloat () const |
Will take this tile and normalize it to a newly allocated floating point tile. More... | |
virtual void | getNormalizedFloat (ossim_uint32 offset, ossim_uint32 bandNumber, ossim_float32 &result) const |
will go to the band and offset and compute the normalized float and return it back to the caller through the result argument. More... | |
virtual void | setNormalizedFloat (ossim_uint32 offset, ossim_uint32 bandNumber, ossim_float32 input) |
This will assign to this object a normalized value by unnormalizing to its native type. More... | |
virtual void | convertToNormalizedFloat (ossimImageData *result) const |
Will use the memory that you pass in to normalize this data object. More... | |
virtual ossimImageData * | newNormalizedDouble () const |
Will take this tile and normalize it to a newly allocated double point tile. More... | |
virtual void | convertToNormalizedDouble (ossimImageData *result) const |
Will use the memory that you pass in to normalize this data object. More... | |
template<class T > | |
void | copyTileToFloatBuffer (T, ossim_float32 *buf) const |
virtual void | unnormalizeInput (ossimImageData *normalizedInput) |
Will take the normalized input and convert it to this tile's data type. More... | |
virtual ossim_float64 | computeAverageBandValue (ossim_uint32 bandNumber=0) const |
This will compute the average value for the band. More... | |
virtual ossim_float64 | computeMeanSquaredError (ossim_float64 meanValue, ossim_uint32 bandNumber=0) const |
This will call the compute average band value and then use that in the calculation of: More... | |
virtual void | populateHistogram (ossimRefPtr< ossimMultiBandHistogram > histo) |
virtual void | setHistogram (ossimRefPtr< ossimMultiResLevelHistogram > histo) |
ossimRefPtr< ossimMultiResLevelHistogram > | getHistogram () |
virtual bool | hasAlpha () const |
virtual const ossim_uint8 * | getAlphaBuf () const |
virtual ossim_uint8 * | getAlphaBuf () |
virtual const void * | getBuf () const |
virtual const ossim_uint8 * | getUcharBuf () const |
virtual const ossim_uint16 * | getUshortBuf () const |
virtual const ossim_sint16 * | getSshortBuf () const |
virtual const ossim_float32 * | getFloatBuf () const |
virtual const ossim_float64 * | getDoubleBuf () const |
virtual void * | getBuf () |
virtual ossim_uint8 * | getUcharBuf () |
virtual ossim_uint16 * | getUshortBuf () |
virtual ossim_sint16 * | getSshortBuf () |
virtual ossim_float32 * | getFloatBuf () |
virtual ossim_float64 * | getDoubleBuf () |
virtual const void * | getBuf (ossim_uint32 band) const |
virtual const ossim_uint8 * | getUcharBuf (ossim_uint32 band) const |
virtual const ossim_uint16 * | getUshortBuf (ossim_uint32 band) const |
virtual const ossim_sint16 * | getSshortBuf (ossim_uint32 band) const |
virtual const ossim_float32 * | getFloatBuf (ossim_uint32 band) const |
virtual const ossim_float64 * | getDoubleBuf (ossim_uint32 band) const |
virtual void * | getBuf (ossim_uint32 band) |
virtual ossim_uint8 * | getUcharBuf (ossim_uint32 band) |
virtual ossim_uint16 * | getUshortBuf (ossim_uint32 band) |
virtual ossim_sint16 * | getSshortBuf (ossim_uint32 band) |
virtual ossim_float32 * | getFloatBuf (ossim_uint32 band) |
virtual ossim_float64 * | getDoubleBuf (ossim_uint32 band) |
virtual ossim_uint32 | getSize () const |
Returns the total number of pixels in a tile for all bands. More... | |
virtual ossim_uint32 | getSizePerBand () const |
Returns the number of pixels in a single band in a tile. More... | |
virtual ossim_uint32 | getSizePerBandInBytes () const |
Returns the number of bytes in single band of the tile. More... | |
virtual ossim_uint32 | getDataSizeInBytes () const |
virtual ossim_uint32 | getSizeInBytes () const |
Returns the total number of bytes for all bands. More... | |
virtual void | makeBlank () |
Initializes data to null pixel values. More... | |
virtual void | initialize () |
Initialize the data buffer. More... | |
virtual bool | write (const ossimFilename &f) const |
Writes tile to stream. More... | |
virtual void | copyTileToNormalizedBuffer (ossim_float64 *buf) const |
Copies entire tile to buf passed in. More... | |
virtual void | copyTileToNormalizedBuffer (ossim_float32 *buf) const |
virtual void | copyTileBandToNormalizedBuffer (ossim_uint32 band, ossim_float64 *buf) const |
Will copy this tiles specified band number to the normalized buffer. More... | |
virtual void | copyTileBandToNormalizedBuffer (ossim_uint32 band, ossim_float32 *buf) const |
Will copy this tiles specified band number to the normalized buffer. More... | |
virtual void | copyNormalizedBufferToTile (ossim_float64 *buf) |
Copies buf passed in to tile. More... | |
virtual void | copyNormalizedBufferToTile (ossim_float32 *buf) |
virtual void | copyNormalizedBufferToTile (ossim_uint32 band, ossim_float64 *buf) |
Will copy the normalized buffer to this tiles specified band. More... | |
virtual void | copyNormalizedBufferToTile (ossim_uint32 band, ossim_float32 *buf) |
virtual bool | isWithin (ossim_int32 x, ossim_int32 y) |
virtual void | setValue (ossim_int32 x, ossim_int32 y, ossim_float64 color) |
virtual void | loadBand (const void *src, const ossimIrect &src_rect, ossim_uint32 band) |
virtual void | loadBand (const void *src, const ossimIrect &src_rect, const ossimIrect &clip_rect, ossim_uint32 band) |
virtual void | loadTile (const void *src, const ossimIrect &src_rect, ossimInterleaveType il_type) |
virtual void | loadTileWithAlpha (const void *src, const ossimIrect &src_rect, ossimInterleaveType il_type) |
virtual void | loadTile (const void *src, const ossimIrect &src_rect, const ossimIrect &clip_rect, ossimInterleaveType il_type) |
virtual void | nullTileAlpha (const ossim_uint8 *src, const ossimIrect &src_rect, bool mutliplyAlphaFlag=false) |
virtual void | nullTileAlpha (const ossim_uint8 *src, const ossimIrect &src_rect, const ossimIrect &clip_rect, bool multiplyAlphaFlag=false) |
virtual void | loadTile (const ossimImageData *src) |
Will load a tile of different types. More... | |
virtual void | loadTileFrom1Band (const ossimImageData *data) |
virtual void | loadTileFrom1Band (const void *src, const ossimIrect &src_rect) |
virtual void | loadShortBand (const void *src, const ossimIrect &src_rect, ossim_uint32 band, bool swap_bytes=false) |
Specialized to load a tile from a short (16 bit scalar type) buffer. More... | |
virtual void | unloadBand (void *dest, ossim_uint32 src_band, ossim_uint32 dest_band, const ossimIrect &dest_rect, ossimInterleaveType il_type=OSSIM_BSQ, OverwriteBandRule ow_type=NULL_RULE) const |
This routine is designed for overwriting a selected band of the destination buffer 'dest' by an independent selected band of the source buffer according to a user-selected rule, defined by OverwriteBandRule. More... | |
virtual void | unloadBand (void *dest, ossim_uint32 src_band, ossim_uint32 dest_band, const ossimIrect &dest_rect, const ossimIrect &clip_rect, ossimInterleaveType il_type=OSSIM_BSQ, OverwriteBandRule ow_type=NULL_RULE) const |
This routine is designed for overwriting a selected band of the destination buffer 'dest' by an independent selected band of the source buffer according to a user-selected rule, defined by OverwriteBandRule. More... | |
virtual void | unloadBand (void *dest, const ossimIrect &dest_rect, ossim_uint32 src_band) const |
virtual void | unloadBand (void *dest, const ossimIrect &dest_rect, const ossimIrect &clip_rect, ossim_uint32 src_band) const |
virtual void | unloadTile (void *dest, const ossimIrect &dest_rect, ossimInterleaveType il_type) const |
virtual void | unloadTile (void *dest, const ossimIrect &dest_rect, const ossimIrect &clip_rect, ossimInterleaveType il_type) const |
virtual void | unloadTileToBipAlpha (void *dest, const ossimIrect &dest_rect, const ossimIrect &clip_rect) const |
virtual bool | isPointWithin (const ossimIpt &point) const |
virtual bool | isPointWithin (ossim_int32 x, ossim_int32 y) const |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual void | stretchMinMax () |
Performs linear stretch on tile data from min/max to limits of scalar type. More... | |
virtual void | computeAlphaChannel () |
Computes the alpha channel. More... | |
virtual void | copyLine (const void *src, ossim_int32 lineNumber, ossim_int32 lineStartSample, ossim_int32 lineStopSample, ossimInterleaveType lineInterleave) |
Method to copy a single line to the tile. More... | |
void | setIndexedFlag (bool flag) |
Sets the indexed flag. More... | |
bool | getIndexedFlag () const |
ossim_float64 | percentFull () const |
Returns the percentage (0-100) of data buffer containing non-null (valid) entries. More... | |
virtual bool | isEqualTo (const ossimDataObject &rhs, bool deepTest=false) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
template<class T > | |
void | computeMinMaxPix (T, vector< ossim_float64 > &minBands, vector< ossim_float64 > &maxBands) const |
template<class T > | |
void | computeMinMaxNulPix (T, vector< ossim_float64 > &minBands, vector< ossim_float64 > &maxBands, vector< ossim_float64 > &nulBands) const |
![]() | |
ossimRectilinearDataObject () | |
default constructor More... | |
ossimRectilinearDataObject (const ossimRectilinearDataObject &rhs) | |
ossimRectilinearDataObject (ossim_uint32 numberOfSpatialComponents, ossimSource *owner, ossim_uint32 numberOfDataComponents, ossimScalarType scalarType=OSSIM_SCALAR_UNKNOWN, ossimDataObjectStatus status=OSSIM_NULL) | |
ossimRectilinearDataObject (ossimSource *owner, ossim_uint32 numberOfDataComponents, ossim_uint32 length, ossimScalarType scalarType=OSSIM_SCALAR_UNKNOWN, ossimDataObjectStatus status=OSSIM_NULL) | |
This is a helper constructor that allows one to instantiate a one dimensional Spatial component with N number of data components. More... | |
ossimRectilinearDataObject (ossimSource *owner, ossim_uint32 numberOfDataComponents, ossim_uint32 width, ossim_uint32 height, ossimScalarType scalarType=OSSIM_SCALAR_UNKNOWN, ossimDataObjectStatus status=OSSIM_NULL) | |
This is a helper constructor that allows one to instantiate a two dimensional Spatial component (WidthxHeight) with N number of data components. More... | |
ossimRectilinearDataObject (ossimSource *owner, ossim_uint32 numberOfDataComponents, ossim_uint32 width, ossim_uint32 height, ossim_uint32 depth, ossimScalarType scalarType=OSSIM_SCALAR_UNKNOWN, ossimDataObjectStatus status=OSSIM_NULL) | |
This is a helper constructor that allows one to instantiate a two dimensional Spatial component (WidthxHeightxDepth) with N number of data components. More... | |
virtual | ~ossimRectilinearDataObject () |
virtual void | setNumberOfDataComponents (ossim_uint32 n) |
How many components make up this data object. More... | |
virtual void | setSpatialExtents (ossim_uint32 *extents, ossim_uint32 size) |
virtual void | setScalarType (ossimScalarType type) |
See ossimScalarType in ossimConstants for a full list. More... | |
virtual ossim_uint32 | getNumberOfDataComponents () const |
virtual ossim_uint32 | getNumberOfSpatialComponents () const |
virtual const ossim_uint32 * | getSpatialExtents () const |
virtual ossimScalarType | getScalarType () const |
virtual ossim_uint32 | getScalarSizeInBytes () const |
virtual void | assign (const ossimRectilinearDataObject *data) |
virtual ossim_uint32 | computeSpatialProduct () const |
virtual const ossimRectilinearDataObject & | operator= (const ossimRectilinearDataObject &rhs) |
assignment operator= More... | |
![]() | |
ossimDataObject (ossimSource *source=0, ossimDataObjectStatus status=OSSIM_STATUS_UNKNOWN) | |
ossimDataObject (const ossimDataObject &rhs) | |
virtual | ~ossimDataObject () |
virtual void | setOwner (ossimSource *aSource) |
Sets the owner of this Data object. More... | |
virtual ossimSource * | getOwner () |
virtual const ossimSource * | getOwner () const |
virtual void | setDataObjectStatus (ossimDataObjectStatus status) const |
Full list found in ossimConstants.h. More... | |
virtual ossimDataObjectStatus | getDataObjectStatus () const |
virtual ossimString | getDataObjectStatusString () const |
virtual ossim_uint32 | getObjectSizeInBytes () const |
virtual bool | isInitialize () const |
This is to be overriden in the derived classes so they can check If their data is null. More... | |
virtual const ossimDataObject * | operator= (const ossimDataObject *rhs) |
virtual const ossimDataObject & | operator= (const ossimDataObject &rhs) |
virtual bool | operator== (const ossimDataObject &rhs) const |
virtual bool | operator!= (const ossimDataObject &rhs) const |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Protected Member Functions | |
template<class T > | |
void | copyLineTemplate (T dummyTemplate, const void *src, ossim_int32 lineNumber, ossim_int32 lineStartSample, ossim_int32 lineStopSample, ossimInterleaveType lineInterleave) |
Templated copy line method. More... | |
template<class T > | |
void | stretchMinMax (T dummyTemplate) |
Templated stretch method. More... | |
template<class T > | |
void | computeAlphaChannel (T dummyTemplate) |
Templated compute alpha channel. More... | |
template<class T > | |
ossimDataObjectStatus | validate (T dummyTemplate) const |
Templated validate method. More... | |
template<class T > | |
void | makeBlank (T dummyTemplate) |
Templated makeBlank method. More... | |
template<class T > | |
ossim_float64 | computeMeanSquaredError (T dummyTemplate, ossim_float64 meanValue, ossim_uint32 bandNumber) const |
Templated computeMeanSquaredError method. More... | |
template<class T > | |
ossim_float64 | computeAverageBandValue (T dummyTemplate, ossim_uint32 bandNumber) const |
Templated computeAverageBandValue method. More... | |
void | loadTileFromBip (const void *src, const ossimIrect &src_rect) |
void | loadTileFromBipAlpha (const void *src, const ossimIrect &src_rect) |
void | loadTileFromBil (const void *src, const ossimIrect &src_rect) |
void | loadTileFromBsq (const void *src, const ossimIrect &src_rect) |
void | loadTileFromBip (const void *src, const ossimIrect &src_rect, const ossimIrect &clip_rect) |
void | loadTileFromBil (const void *src, const ossimIrect &src_rect, const ossimIrect &clip_rect) |
void | loadTileFromBsq (const void *src, const ossimIrect &src_rect, const ossimIrect &clip_rect) |
void | unloadTileToBip (void *dest, const ossimIrect &dest_rect, const ossimIrect &clip_rect) const |
void | unloadTileToBil (void *dest, const ossimIrect &dest_rect, const ossimIrect &clip_rect) const |
void | unloadTileToBsq (void *dest, const ossimIrect &dest_rect, const ossimIrect &clip_rect) const |
virtual void | unloadBandToBsq (void *dest, ossim_uint32 src_band, ossim_uint32 dest_band, const ossimIrect &dest_rect, const ossimIrect &clip_rect, OverwriteBandRule ow_type=NULL_RULE) const |
Called from public unloadBand() routines that have an OverwriteBandRule interface. More... | |
template<class T > | |
void | copyTileToNormalizedBuffer (T dummyTemplate, ossim_float64 *buf) const |
Copies entire tile to buf passed in. More... | |
template<class T > | |
void | copyTileToNormalizedBuffer (T dummyTemplate, ossim_float32 *buf) const |
template<class T > | |
void | copyTileToNormalizedBuffer (T dummyTemplate, ossim_uint32 band, ossim_float64 *buf) const |
Will copy this tiles specified band number to the normalized buffer. More... | |
template<class T > | |
void | copyTileToNormalizedBuffer (T dummyTemplate, ossim_uint32 band, ossim_float32 *buf) const |
template<class T > | |
void | copyNormalizedBufferToTile (T dummyTemplate, ossim_float64 *buf) |
Copies buf passed in to tile. More... | |
template<class T > | |
void | copyNormalizedBufferToTile (T dummyTemplate, ossim_float32 *buf) |
template<class T > | |
void | copyNormalizedBufferToTile (T dummyTemplate, ossim_uint32 band, ossim_float64 *buf) |
template<class T > | |
void | copyNormalizedBufferToTile (T dummyTemplate, ossim_uint32 band, ossim_float32 *buf) |
template<class T > | |
void | computeMinMaxPix (T dummyValue, std::vector< ossim_float64 > &minBands, std::vector< ossim_float64 > &maxBands) const |
template<class T > | |
void | computeMinMaxNulPix (T dummyValue, std::vector< ossim_float64 > &minBands, std::vector< ossim_float64 > &maxBands, std::vector< ossim_float64 > &nulBands) const |
template<class T > | |
void | loadBandTemplate (T, const void *src, const ossimIrect &src_rect, ossim_uint32 band) |
template<class T > | |
void | loadBandTemplate (T, const void *src, const ossimIrect &src_rect, const ossimIrect &clip_rect, ossim_uint32 band) |
template<class T > | |
void | nullTileAlphaTemplate (T, const ossim_uint8 *src, const ossimIrect &src_rect, const ossimIrect &clip_rect, bool multiplyAlphaFlag=false) |
template<class T > | |
void | loadTileFromBipTemplate (T, const void *src, const ossimIrect &src_rect) |
template<class T > | |
void | loadTileFromBipAlphaTemplate (T, const void *src, const ossimIrect &src_rect) |
template<class T > | |
void | loadTileFromBipTemplate (T, const void *src, const ossimIrect &src_rect, const ossimIrect &clip_rect) |
template<class T > | |
void | loadTileFromBipAlphaTemplate (T, const void *src, const ossimIrect &src_rect, const ossimIrect &clip_rect) |
template<class T > | |
void | loadTileFromBilTemplate (T, const void *src, const ossimIrect &src_rect) |
template<class T > | |
void | loadTileFromBilTemplate (T, const void *src, const ossimIrect &src_rect, const ossimIrect &clip_rect) |
template<class T > | |
void | loadTileFromBsqTemplate (T, const void *src, const ossimIrect &src_rect) |
template<class T > | |
void | loadTileFromBsqTemplate (T, const void *src, const ossimIrect &src_rect, const ossimIrect &clip_rect) |
template<class T > | |
void | unloadTileToBipTemplate (T, void *dest, const ossimIrect &dest_rect, const ossimIrect &clip_rect) const |
template<class T > | |
void | unloadTileToBipAlphaTemplate (T, void *dest, const ossimIrect &dest_rect, const ossimIrect &clip_rect) const |
template<class T > | |
void | unloadTileToBilTemplate (T, void *dest, const ossimIrect &dest_rect, const ossimIrect &clip_rect) const |
template<class T > | |
void | unloadTileToBsqTemplate (T, void *dest, const ossimIrect &dest_rect, const ossimIrect &clip_rect) const |
template<class T > | |
void | unloadBandTemplate (T, void *dest, const ossimIrect &dest_rect, const ossimIrect &clip_rect, ossim_uint32 band) const |
template<class T > | |
void | unloadBandToBsqTemplate (T, void *dest, ossim_uint32 src_band, ossim_uint32 dest_band, const ossimIrect &dest_rect, const ossimIrect &clip_rect, OverwriteBandRule ow_type=NULL_RULE) const |
template<class T > | |
void | createTestTile (T) |
Creates a test tile for scalar type for testing only. More... | |
virtual void | initializeDefaults () |
initializeDefaults() Resizes and sets min/max/null arrays to number of bands and some default value for scalar type. More... | |
virtual void | initializeMinDefault () |
initializeMinDefault() Resizes theMinPixelValue array to number of bands and initializes to the default min for scalar type. More... | |
virtual void | initializeMaxDefault () |
initializeMaxDefault() Resizes theMaxPixelValue array to number of bands and initializes to the default max for scalar type. More... | |
virtual void | initializeNullDefault () |
initializeNullDefault() Resizes theNullPixelValue array to number of bands and initializes to the default null for scalar type. More... | |
bool | hasSameDimensionsAs (ossimImageData *data) const |
![]() | |
virtual | ~ossimReferenced () |
Protected Attributes | |
std::vector< ossim_float64 > | m_nullPixelValue |
Null pixel value for each band. More... | |
std::vector< ossim_float64 > | m_minPixelValue |
Min pixel value for each band. More... | |
std::vector< ossim_float64 > | m_maxPixelValue |
Max pixel value for each band. More... | |
std::vector< ossim_uint8 > | m_alpha |
Alpha channel. More... | |
ossimIpt | m_origin |
bool | m_indexedFlag |
Indicates data contains palette indexes. More... | |
ossimRefPtr< ossimMultiResLevelHistogram > | m_histogram |
ossim_float64 | m_percentFull |
percentage (0-100) of image tile that has valid (non-null) pixel values. More... | |
![]() | |
ossim_uint32 | m_numberOfDataComponents |
ossimScalarType | m_scalarType |
std::vector< ossim_uint8 > | m_dataBuffer |
std::vector< ossim_uint32 > | m_spatialExtents |
![]() | |
ossimSource * | theOwner |
ossimDataObjectStatus | theDataObjectStatus |
Definition at line 28 of file ossimImageData.h.
Definitions for the unloadBand routines.
Enumerator | |
---|---|
COLOR_DISCREPANCY | |
COLOR_DISCREPANCY_OF_ANY_FROM_DEST | |
COLOR_DISCREPANCY_OF_ALL_FROM_DEST | |
COLOR_EQUALITY_OF_ANY_TO_SRC | |
COLOR_EQUALITY_OF_ALL_TO_SRC | |
NULL_RULE |
Definition at line 33 of file ossimImageData.h.
ossimImageData::ossimImageData | ( | const ossimImageData & | rhs | ) |
copy constructor
Definition at line 102 of file ossimImageData.cpp.
ossimImageData::ossimImageData | ( | ) |
Definition at line 36 of file ossimImageData.cpp.
References ossim::defaultTileSize(), ossimIpt::x, and ossimIpt::y.
Referenced by dup(), newNormalizedDouble(), and newNormalizedFloat().
ossimImageData::ossimImageData | ( | ossimSource * | source, |
ossimScalarType | scalar, | ||
ossim_uint32 | bands = 1 |
||
) |
Constructor.
source | The owner. This can be null. |
scalar | The Scalar type like OSSIM_UINT8, OSSIM_UINT16... |
bands | The number of bands. |
Definition at line 56 of file ossimImageData.cpp.
References ossim::defaultTileSize(), initializeDefaults(), ossimRectilinearDataObject::m_spatialExtents, ossimIpt::x, and ossimIpt::y.
ossimImageData::ossimImageData | ( | ossimSource * | source, |
ossimScalarType | scalar, | ||
ossim_uint32 | bands, | ||
ossim_uint32 | width, | ||
ossim_uint32 | height | ||
) |
Constructor.
source | The owner. This can be null. |
scalar | The Scalar type like OSSIM_UINT8, OSSIM_UINT16... |
bands | The number of bands. |
width | The width or number of samples in the buffer. |
height | The height or numer of lines in the buffer. |
Definition at line 78 of file ossimImageData.cpp.
References initializeDefaults(), and ossimRectilinearDataObject::m_spatialExtents.
|
virtual |
|
virtual |
Reimplemented from ossimDataObject.
Definition at line 2723 of file ossimImageData.cpp.
Referenced by ossimImageElevationHandler::getTile().
|
virtual |
Definition at line 2735 of file ossimImageData.cpp.
References ossimRectilinearDataObject::assign(), getBuf(), getNumberOfBands(), ossimDataObject::getOwner(), getSizeInBytes(), initializeDefaults(), m_maxPixelValue, m_minPixelValue, m_nullPixelValue, m_origin, ossimNotify(), ossimNotifyLevel_WARN, and ossimDataObject::setOwner().
|
virtual |
Definition at line 2779 of file ossimImageData.cpp.
References getBuf(), ossimDataObject::getDataObjectStatus(), getSizePerBandInBytes(), isValidBand(), OSSIM_NULL, ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by ossimBandSelector::getTile(), ossimEquationCombiner::parseAssignBand(), and ossimEquationCombiner::parseStdFuncs().
|
virtual |
Computes the alpha channel.
For each pixel if any band value is not null then alpha will be 255; else, 0.
Definition at line 7107 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimDataObject::getDataObjectStatus(), ossimRectilinearDataObject::getScalarType(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_STATUS_UNKNOWN, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimSetError(), and ossimDataObject::setDataObjectStatus().
Referenced by ossimGpkgWriter::writeTile().
|
protected |
Templated compute alpha channel.
For each pixel if any band value is not null then alpha will be 255; else, 0.
Definition at line 7177 of file ossimImageData.cpp.
References getBuf(), ossimDataObject::getDataObjectStatus(), getNumberOfBands(), getSizePerBand(), m_alpha, m_nullPixelValue, OSSIM_EMPTY, and OSSIM_FULL.
|
virtual |
This will compute the average value for the band.
Definition at line 1034 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_STATUS_UNKNOWN, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimSetError(), and ossimDataObject::setDataObjectStatus().
|
protected |
Templated computeAverageBandValue method.
Definition at line 1113 of file ossimImageData.cpp.
References getBuf(), ossimDataObject::getDataObjectStatus(), getSizePerBand(), isNull(), OSSIM_EMPTY, and OSSIM_NULL.
|
virtual |
This will call the compute average band value and then use that in the calculation of:
It will then do a SUM[(Mean - Actual)^2]/width*height.
This is the average variance from the passed in mean.
Definition at line 713 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_STATUS_UNKNOWN, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimSetError(), and ossimDataObject::setDataObjectStatus().
|
protected |
Templated computeMeanSquaredError method.
Definition at line 802 of file ossimImageData.cpp.
References getBuf(), ossimDataObject::getDataObjectStatus(), getSizePerBand(), isNull(), OSSIM_EMPTY, and OSSIM_NULL.
|
virtual |
Scans tile for min, max, nulls.
If the nullBands, minBands and maxBands are empty or not equal to the imageData's current number of bands it will erase the contents, resize, and then replace the values in the passed in array with this objects min max values. If the arrays are the same size as this objects number of bands it will just update the values and use the current values in the arrays as initial min max values.
If the status of this object(getDataObjectStatus()) is OSSIM_NULL no action is performed.
Referenced by ossimOverviewSequencer::getNextTile().
|
protected |
void ossimImageData::computeMinMaxNulPix | ( | T | , |
vector< ossim_float64 > & | minBands, | ||
vector< ossim_float64 > & | maxBands, | ||
vector< ossim_float64 > & | nulBands | ||
) | const |
Definition at line 3950 of file ossimImageData.cpp.
References ossim::defaultNull(), getBuf(), getMaxPix(), getMinPix(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), and getSizePerBand().
|
virtual |
If the minBands and maxBands are empty or not equal to the imageData's current number of bands it will erase the contents, resize, and then replace the values in the passed in array with this objects min max values.
If the arrays are the same size as this objects number of bands it will just update the values and use the current values in the arrays as initial min max values.
If the status of this object(getDataObjectStatus()) is OSSIM_NULL or OSSIM_EMPTY no action is performed.
Referenced by ossimOverviewSequencer::getNextTile().
|
protected |
void ossimImageData::computeMinMaxPix | ( | T | , |
vector< ossim_float64 > & | minBands, | ||
vector< ossim_float64 > & | maxBands | ||
) | const |
Definition at line 3806 of file ossimImageData.cpp.
References getBuf(), getMaxPix(), getMinPix(), getNullPix(), getNumberOfBands(), and getSizePerBand().
|
virtual |
Will use the memory that you pass in to normalize this data object.
Reimplemented in ossimU16ImageData, ossimU8ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, and ossimS16ImageData.
Definition at line 657 of file ossimImageData.cpp.
References copyTileToNormalizedBuffer(), getBuf(), ossimDataObject::getDataObjectStatus(), getHeight(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), getWidth(), OSSIM_NORMALIZED_DOUBLE, OSSIM_NULL, and ossimDataObject::setDataObjectStatus().
Referenced by newNormalizedDouble().
|
virtual |
Will use the memory that you pass in to normalize this data object.
Reimplemented in ossimU16ImageData, ossimU8ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, and ossimS16ImageData.
Definition at line 619 of file ossimImageData.cpp.
References copyTileToNormalizedBuffer(), getBuf(), ossimDataObject::getDataObjectStatus(), getHeight(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), getWidth(), OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, and ossimDataObject::setDataObjectStatus().
Referenced by newNormalizedFloat().
|
virtual |
Method to copy a single line to the tile.
This will copy a line to the tile. It is assumed that all bands are in the buffer "src". Only pixels within the tile rect will be copied. Note that all coordinates are relative to the tile coordinates. Clipping will be performed on pixels outside of the tile rectangle. No fill is added if a partial tile line is copied so callers should do a ossimImageData::makeBlank if the whole tile is not to be stuffed. ossimImageData::validate should be called after all lines are copied if in doubt of a full tile.
src | The source buffer or line to copy containing all bands. |
lineNumber | Line number to copy. |
lineStartSample | The start sample of the source buffer relative to tile coordinates. |
lineStopSample | The stop sample of the source buffer relative to tile coordinates. |
lineInterleave | Interleave of src buffer. If OSSIM_BIP assumed rgbrgbrgb; else, red row, green row, blue row. |
Usage example in method: ossimTiffTileSource::loadFromScanLine
Definition at line 7277 of file ossimImageData.cpp.
References copyLineTemplate(), ossimRectilinearDataObject::m_scalarType, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by ossimTiffTileSource::loadFromScanLine().
|
protected |
Templated copy line method.
Definition at line 7355 of file ossimImageData.cpp.
References getBuf(), getImageRectangle(), ossimIrect::lr(), ossimRectilinearDataObject::m_numberOfDataComponents, OSSIM_BIP, ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
Referenced by copyLine().
|
virtual |
Copies buf passed in to tile.
Data is unnormalized to the tile's scalar type. The "buf" passed to method is assumed to be at least as big as the tiles: "getSize() * sizeof(double)"
Reimplemented in ossimU8ImageData, ossimU16ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, and ossimS16ImageData.
Definition at line 6547 of file ossimImageData.cpp.
References getBuf(), ossimDataObject::getDataObjectStatus(), getDataSizeInBytes(), getHeight(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), getWidth(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by ossimMaxMosaic::combineNorm(), ossimBlendMosaic::combineNorm(), copyNormalizedBufferToTile(), ossimIntensityAdjustmentFilter::getTile(), ossimColorNormalizedFusion::getTile(), ossimBrightnessContrastSource::getTile(), ossimGammaRemapper::getTile(), ossimSFIMFusion::getTile(), ossimClosestToCenterCombiner::getTile(), ossimHsiRemapper::getTile(), ossimBandClipFilter::getTile(), ossimTableRemapper::remapFromNativeTable(), ossimTableRemapper::remapFromNormalizedTable(), and unnormalizeInput().
|
virtual |
Reimplemented in ossimU16ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, ossimS16ImageData, and ossimU8ImageData.
Definition at line 6737 of file ossimImageData.cpp.
References copyNormalizedBufferToTile(), getBuf(), ossimDataObject::getDataObjectStatus(), getDataSizeInBytes(), getHeight(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), getWidth(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
|
virtual |
Will copy the normalized buffer to this tiles specified band.
If band is out of range then nothing
is done and returns.
Reimplemented in ossimU16ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, ossimS16ImageData, and ossimU8ImageData.
Definition at line 6640 of file ossimImageData.cpp.
References copyNormalizedBufferToTile(), getBuf(), ossimDataObject::getDataObjectStatus(), getHeight(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), getSizePerBandInBytes(), getWidth(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
|
virtual |
Reimplemented in ossimU16ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, ossimS16ImageData, and ossimU8ImageData.
Definition at line 6830 of file ossimImageData.cpp.
References copyNormalizedBufferToTile(), getBuf(), ossimDataObject::getDataObjectStatus(), getHeight(), ossimRectilinearDataObject::getScalarType(), getSizePerBandInBytes(), getWidth(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
|
protected |
Copies buf passed in to tile.
Data is unnormalized to the tile's scalar type. The "buf" passed to method is assumed to be at least as big as the tiles: "getSize() * sizeof(double)"
Definition at line 6134 of file ossimImageData.cpp.
References getBuf(), getMaxPix(), getMinPix(), getNullPix(), getNumberOfBands(), and getSizePerBand().
|
protected |
Definition at line 6166 of file ossimImageData.cpp.
References getBuf(), getMaxPix(), getMinPix(), getNullPix(), getNumberOfBands(), and getSizePerBand().
|
protected |
Definition at line 6200 of file ossimImageData.cpp.
References getBuf(), getMaxPix(), getMinPix(), getNullPix(), and getSizePerBand().
|
protected |
Definition at line 6230 of file ossimImageData.cpp.
References getBuf(), getMaxPix(), getMinPix(), getNullPix(), and getSizePerBand().
|
virtual |
Will copy this tiles specified band number to the normalized buffer.
if the band is out of range then nothing is done and returns.
band | Zero based band to copy. |
buf | Buffer to copy to. |
Definition at line 6259 of file ossimImageData.cpp.
References copyTileToNormalizedBuffer(), getBuf(), ossimDataObject::getDataObjectStatus(), getDataSizeInBytes(), getHeight(), ossimRectilinearDataObject::getScalarType(), getWidth(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by ossimSFIMFusion::getTile(), ossimHsiRemapper::getTile(), and ossimTwoColorView::runNorm().
|
virtual |
Will copy this tiles specified band number to the normalized buffer.
if the band is out of range then nothing is done and returns.
band | Zero based band to copy. |
buf | Buffer to copy to. |
Definition at line 6451 of file ossimImageData.cpp.
References copyTileToNormalizedBuffer(), getBuf(), ossimDataObject::getDataObjectStatus(), getHeight(), ossimRectilinearDataObject::getScalarType(), getSizePerBandInBytes(), getWidth(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
|
inline |
Definition at line 323 of file ossimImageData.h.
References ossimRectilinearDataObject::getBuf().
|
virtual |
Copies entire tile to buf passed in.
Data put in buf is normalized. The "buf" passed to method is assumed to be at least as big as: "getSize() * sizeof(double)"
Reimplemented in ossimU16ImageData, ossimU8ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, and ossimS16ImageData.
Definition at line 5892 of file ossimImageData.cpp.
References getBuf(), ossimDataObject::getDataObjectStatus(), getDataSizeInBytes(), getHeight(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), getWidth(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by ossimBrightnessMatch::computeInputBrightness(), convertToNormalizedDouble(), convertToNormalizedFloat(), copyTileBandToNormalizedBuffer(), copyTileToNormalizedBuffer(), ossimImageCombiner::getNextNormTile(), ossimFusionCombiner::getNormIntensity(), ossimFusionCombiner::getNormTile(), ossimBrightnessContrastSource::getTile(), ossimGammaRemapper::getTile(), ossimLocalCorrelationFusion::getTile(), ossimHsiRemapper::getTile(), ossimBandClipFilter::getTile(), ossimIntensityAdjustmentFilter::loadNormTile(), ossimTableRemapper::remapFromNativeTable(), and ossimTableRemapper::remapFromNormalizedTable().
|
virtual |
Reimplemented in ossimU16ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, ossimS16ImageData, and ossimU8ImageData.
Definition at line 6357 of file ossimImageData.cpp.
References copyTileToNormalizedBuffer(), getBuf(), ossimDataObject::getDataObjectStatus(), getDataSizeInBytes(), getHeight(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), getWidth(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
|
protected |
Copies entire tile to buf passed in.
Data put in buf is normalized. The "buf" passed to method is assumed to be at least as big as: "getSize() * sizeof(double)"
Definition at line 5986 of file ossimImageData.cpp.
References getBuf(), getMaxPix(), getMinPix(), getNullPix(), getNumberOfBands(), getSizePerBand(), and OSSIM_DEFAULT_MIN_PIX_NORM_DOUBLE.
|
protected |
Definition at line 6025 of file ossimImageData.cpp.
References getBuf(), getMaxPix(), getMinPix(), getNullPix(), getNumberOfBands(), getSizePerBand(), and OSSIM_DEFAULT_MIN_PIX_NORM_FLOAT.
|
protected |
Will copy this tiles specified band number to the normalized buffer.
if the band is out of range then nothing is done and returns.
Definition at line 6064 of file ossimImageData.cpp.
References getBuf(), getMaxPix(), getMinPix(), getNullPix(), getSizePerBand(), and OSSIM_DEFAULT_MIN_PIX_NORM_DOUBLE.
|
protected |
Definition at line 6099 of file ossimImageData.cpp.
References getBuf(), getMaxPix(), getMinPix(), getNullPix(), getSizePerBand(), and OSSIM_DEFAULT_MIN_PIX_NORM_FLOAT.
void ossimImageData::createTestTile | ( | ) |
Creates a step wedge for testing only.
Writes line at a time of a single value, starting at scalar null, and going to scalar max in increments of scalar range/tile_lines.
Definition at line 1893 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimDataObject::getDataObjectStatus(), ossimRectilinearDataObject::getScalarType(), initialize(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, and ossimSetError().
|
protected |
Creates a test tile for scalar type for testing only.
Protected template implementation of matching public createTestTile.
Definition at line 1975 of file ossimImageData.cpp.
References getBuf(), ossimDataObject::getDataObjectStatus(), getHeight(), getMaxPix(), getNullPix(), getNumberOfBands(), getWidth(), OSSIM_NULL, STEP, and validate().
|
virtual |
Reimplemented from ossimObject.
Reimplemented in ossimU16ImageData, ossimU8ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, and ossimS16ImageData.
Definition at line 5887 of file ossimImageData.cpp.
References ossimImageData().
Referenced by ossimFixedTileCache::addTile(), ossimHsvToRgbSource::allocate(), ossimHsiToRgbSource::allocate(), ossimRgbToHsiSource::allocate(), ossimRgbToHsvSource::allocate(), ossimIntensityAdjustmentFilter::allocate(), ossimRgbToGreyFilter::allocate(), ossimTiledImageHandler::allocate(), ossimJpegTileSource::allocate(), ossimPngReader::allocate(), ossimPixelFlipper::allocateClipTileBuffer(), ossimEquationCombiner::applyBlurr(), ossimEquationCombiner::applyConvolution(), ossimEquationCombiner::applyShift(), ossimTilePatch::convolve(), demo2(), ossimMaskFilter::executeMaskFilter(), ossimImageCacheTileSource::fillTile(), ossimEquationCombiner::getNewImageData(), ossimErosionFilter::getTile(), ossimFftFilter::getTile(), ossimDilationFilter::getTile(), ossimSFIMFusion::getTile(), ossimClosestToCenterCombiner::getTile(), ossimLocalCorrelationFusion::getTile(), ossimMeanMedianFilter::getTile(), ossimSubImageTileSource::getTile(), ossimImageElevationHandler::getTile(), ossimImageRenderer::getTileAtResLevel(), ossimImageToPlaneNormalFilter::initialize(), ossimEquationCombiner::parseAssignBand(), ossimMultiThreadSequencer::ossimGetTileJob::run(), and ossimImageHandlerMtAdaptor::setAdaptee().
void ossimImageData::fill | ( | ossim_uint32 | band, |
ossim_float64 | value | ||
) |
will fill the entire band with the value.
Definition at line 1768 of file ossimImageData.cpp.
References getBuf(), ossimObject::getClassName(), getDoubleBuf(), getFloatBuf(), getHeight(), ossimRectilinearDataObject::getScalarType(), getSshortBuf(), getUcharBuf(), getUshortBuf(), getWidth(), OSSIM_EMPTY, ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimSetError(), and ossimDataObject::setDataObjectStatus().
Referenced by ossimFeatherMosaic::combine(), ossimHlzTool::computeHLZ(), ossimViewshedTool::computeViewshed(), ossimU8ImageData::fill(), fill(), ossimBandMergeSource::getTile(), and ossimRangeDomeTileSource::getTile().
void ossimImageData::fill | ( | ossim_float64 | value | ) |
will fill all bands with the passed in value.
Definition at line 1865 of file ossimImageData.cpp.
References fill(), getNumberOfBands(), m_nullPixelValue, OSSIM_EMPTY, OSSIM_FULL, OSSIM_PARTIAL, and ossimDataObject::setDataObjectStatus().
|
virtual |
Definition at line 161 of file ossimImageData.cpp.
References m_alpha.
Referenced by unloadTileToBipAlphaTemplate(), and ossimKakaduCompressor::writeTile().
|
virtual |
Definition at line 170 of file ossimImageData.cpp.
References m_alpha.
|
virtual |
Reimplemented from ossimRectilinearDataObject.
Definition at line 179 of file ossimImageData.cpp.
References ossimRectilinearDataObject::m_dataBuffer.
Referenced by ossimFixedTileCache::addTile(), ossimCastTileSourceFilter::applyCast(), ossimEquationCombiner::applyClamp(), ossimMeanMedianFilter::applyMean(), ossimMeanMedianFilter::applyMeanNullCenterOnly(), ossimMeanMedianFilter::applyMedian(), ossimMeanMedianFilter::applyMedianNullCenterOnly(), ossimEquationCombiner::applyOp(), assign(), assignBand(), ossimEquationCombiner::assignValue(), ossimBandAverageFilter::averageInput(), ossimCastTileSourceFilter::castInputToOutput(), ossimPixelFlipper::clipTile(), ossimImageMosaic::combine(), ossimElevationMosaic::combine(), ossimMaxMosaic::combine(), ossimBlendMosaic::combine(), ossimFeatherMosaic::combine(), ossimImageMosaic::combineNorm(), ossimElevationMosaic::combineNorm(), ossimMaxMosaic::combineNorm(), ossimBlendMosaic::combineNorm(), computeAlphaChannel(), computeAverageBandValue(), ossimImageHistogramSource::computeFastModeHistogram(), ossimBrightnessMatch::computeInputBrightness(), ossimIntensityAdjustmentFilter::computeMeanIntensity(), computeMeanSquaredError(), computeMinMaxNulPix(), computeMinMaxPix(), ossimImageHistogramSource::computeNormalModeHistogram(), ossimImageToPlaneNormalFilter::computeNormalsTemplate(), ossimLocalCorrelationFusion::computeRegression(), ossimImageStatisticsSource::computeStatisticsTemplate(), ossimRgbToIndexFilter::convertInputTile(), ossimNBandToIndexFilter::convertInputTileToOutputTemplate(), ATP::convertToIpl(), ossimS16ImageData::convertToNormalizedDouble(), ossimU14ImageData::convertToNormalizedDouble(), ossimU15ImageData::convertToNormalizedDouble(), ossimU11ImageData::convertToNormalizedDouble(), ossimU12ImageData::convertToNormalizedDouble(), ossimU13ImageData::convertToNormalizedDouble(), ossimU8ImageData::convertToNormalizedDouble(), ossimU16ImageData::convertToNormalizedDouble(), convertToNormalizedDouble(), ossimS16ImageData::convertToNormalizedFloat(), ossimU14ImageData::convertToNormalizedFloat(), ossimU15ImageData::convertToNormalizedFloat(), ossimU11ImageData::convertToNormalizedFloat(), ossimU12ImageData::convertToNormalizedFloat(), ossimU13ImageData::convertToNormalizedFloat(), ossimU8ImageData::convertToNormalizedFloat(), ossimU16ImageData::convertToNormalizedFloat(), convertToNormalizedFloat(), ossimNitfTileSource::convertTransparentToNull(), ossimConvolutionSource::convolve(), ossim3x3ConvolutionFilter::convolveFull(), ossimConvolutionFilter1D::convolveFull(), ossim3x3ConvolutionFilter::convolvePartial(), ossimConvolutionFilter1D::convolvePartial(), ossimImageDataHelper::copyInputToThis(), ATP::copyIplToOid(), ossimPngReader::copyLines(), ossimPngReader::copyLinesWithAlpha(), copyLineTemplate(), ossimU8ImageData::copyNormalizedBufferToTile(), ossimS16ImageData::copyNormalizedBufferToTile(), ossimU13ImageData::copyNormalizedBufferToTile(), ossimU15ImageData::copyNormalizedBufferToTile(), ossimU14ImageData::copyNormalizedBufferToTile(), ossimU11ImageData::copyNormalizedBufferToTile(), ossimU12ImageData::copyNormalizedBufferToTile(), ossimU16ImageData::copyNormalizedBufferToTile(), copyNormalizedBufferToTile(), ossim::copyOpjSrgbImage(), ossim::copyRegionToTile(), copyTileBandToNormalizedBuffer(), ossimU8ImageData::copyTileToNormalizedBuffer(), ossimS16ImageData::copyTileToNormalizedBuffer(), ossimU13ImageData::copyTileToNormalizedBuffer(), ossimU14ImageData::copyTileToNormalizedBuffer(), ossimU15ImageData::copyTileToNormalizedBuffer(), ossimU11ImageData::copyTileToNormalizedBuffer(), ossimU12ImageData::copyTileToNormalizedBuffer(), ossimU16ImageData::copyTileToNormalizedBuffer(), copyTileToNormalizedBuffer(), createTestTile(), demo1(), demo3(), ossimDespeckleFilter::despeckle(), ossimDilationFilter::doDilation(), ossimErosionFilter::doErosion(), ossimGeoAnnotationBitmap::draw(), ossimAnnotationFontObject::draw(), ossimElevRemapper::elevRemap(), ossimPngCodec::encode(), ossimValueAssignImageSourceFilter::executeAssignGroup(), ossimValueAssignImageSourceFilter::executeAssignSeparate(), ossimMaskFilter::executeMaskFilter(), ossimMaskFilter::executeMaskFilterBinarySelection(), ossimMaskFilter::executeMaskFilterInvertSelection(), ossimMaskFilter::executeMaskFilterSelection(), ossimMaskFilter::executeMaskFilterWeighted(), ossimTopographicCorrectionFilter::executeTopographicCorrectionMinnaertTemplate(), ossimTopographicCorrectionFilter::executeTopographicCorrectionTemplate(), ossimNitfTileSource::explodePackedBits(), ossimS16ImageData::fill(), ossimU14ImageData::fill(), ossimU15ImageData::fill(), ossimU12ImageData::fill(), ossimU11ImageData::fill(), ossimU13ImageData::fill(), ossimU8ImageData::fill(), ossimU16ImageData::fill(), ossimImageDataHelper::fill(), ossimWatermarkFilter::fill(), fill(), ossimUsgsDemTileSource::fillBuffer(), ossimDtedTileSource::fillBuffer(), ossimTiledElevationDatabase::fillGrid(), ossimTilePatch::fillTile(), ossimCacheTileSource::fillTile(), ossimShiftFilter::fillTile(), ossimImageCacheTileSource::fillTile(), ossimGpkgReader::fillTile(), ossimImageRenderer::fillTile(), ossimGeoPdfReader::fillTile(), ossimTilePatch::fillTileTemplate(), ossimCcfTileSource::fillUcharBuffer(), ossimCcfTileSource::fillUshortBuffer(), ossimNullPixelFlip::flipPixels(), ossimPixelFlipper::flipPixels(), getBuf(), getDoubleBuf(), getFloatBuf(), ossimEquationCombiner::getNewImageData(), ossimImageCombiner::getNextNormTile(), ossimImageMpiMWriterSequenceConnection::getNextTile(), ossimMpiMasterOverviewSequencer::getNextTile(), ossimImageSourceSequencer::getNextTile(), getNormalizedFloat(), ossimFusionCombiner::getNormIntensity(), ossimFusionCombiner::getNormTile(), getPix(), getSshortBuf(), ossimIntensityAdjustmentFilter::getTile(), ossimHsvToRgbSource::getTile(), ossimJpegYCbCrToRgbSource::getTile(), ossimHsiToRgbSource::getTile(), ossimRgbToHsiSource::getTile(), ossimRgbToHsvSource::getTile(), ossimRgbToJpegYCbCrSource::getTile(), ossimHistogramThreshholdFilter::getTile(), ossimColorNormalizedFusion::getTile(), ossimMultiBandHistogramTileSource::getTile(), ossimFftFilter::getTile(), ossimDilationFilter::getTile(), ossim3x3ConvolutionFilter::getTile(), ossimHistoMatchRemapper::getTile(), ossimEdgeFilter::getTile(), ossimBrightnessContrastSource::getTile(), ossimBandMergeSource::getTile(), ossimPolyCutter::getTile(), ossimSFIMFusion::getTile(), ossimClosestToCenterCombiner::getTile(), ossimMapCompositionSource::getTile(), ossimLinearStretchRemapper::getTile(), ossimLocalCorrelationFusion::getTile(), ossimAnnotationSource::getTile(), ossimElevImageSource::getTile(), ossimMemoryImageSource::getTile(), ossimValueAssignImageSourceFilter::getTile(), ossimConvolutionFilter1D::getTile(), ossimGdalTileSource::getTile(), ossimKMeansFilter::getTile(), ossimBandClipFilter::getTile(), ossimTopographicCorrectionFilter::getTile(), ossimHdfReader::getTile(), ossimBitMaskTileSource::getTile(), ossimMrSidReader::getTile(), ossimImageSourceSequencer::getTile(), ossimKakaduJ2kReader::getTile(), ossimKakaduJp2Reader::getTile(), ossimNitfTileSource::getTile(), ossimBandLutFilter::getTile(), ossimIndexToRgbLutFilter::getTile(), ossimBumpShadeTileSource::getTile(), ossimPixelFlipper::getTile(), ossimKakaduJpipHandler::getTileAtRes(), ossimImageRenderer::getTileAtResLevel(), ossimGdalTileSource::getTileBlockRead(), getUcharBuf(), getUshortBuf(), ossimRgbImage::initialize(), ossimImageToPlaneNormalFilter::initializeTile(), isEqualTo(), isNull(), loadBandTemplate(), ossimNitfTileSource::loadBlockFromCache(), ossimTiffTileSource::loadFromRgbaU8Strip(), ossimGdalTileSource::loadIndexTo3BandTileTemplate(), ossimIntensityAdjustmentFilter::loadNormTile(), ossimNitfTileSource::loadTile(), loadTile(), loadTileFrom1Band(), loadTileFromBilTemplate(), loadTileFromBipAlphaTemplate(), loadTileFromBipTemplate(), loadTileFromBsqTemplate(), ossimKakaduJp2Reader::loadTileFromCache(), ossimKakaduJ2kReader::loadTileFromCache(), ossimNitfTileSource::lutUncompress(), makeBlank(), nullTileAlphaTemplate(), ossimGeoidImage::offsetFromEllipsoidTemplate(), ossimEquationCombiner::parseAssignBand(), ossimEquationCombiner::parseStdFuncs(), populateHistogram(), ossimSICDToDetectedImage::processAmplitudeAngleTile(), ossimSICDToDetectedImage::processComplexTile(), ossimBrightnessContrastSource::processRgbTile(), ossimTableRemapper::remapFromNativeTable(), ossimResampler::resample(), ossimFilterResampler::resample(), ossimFilterResampler::resampleBilinearTile(), ossimResampler::resampleFullTile(), ossimResampler::resampleNearestNeighbor(), ossimResampler::resamplePartialTile(), ossimResampler::resampleTile(), ossimResampler::resampleTileNearestNeighbor(), ossimImageRenderer::resampleTileToDecimation(), ossimBandClipFilter::runClamp(), ossimBandClipFilter::runClip(), ossimHistogramEqualization::runEqualizationAlgorithm(), ossimFftw3Filter::runFft(), ossimFftFilter::runFft(), ossimScaleFilter::runFilterTemplate(), ossimScaleFilter::runHorizontalFilterTemplate(), ossimEdgeFilter::runLaplacianFilter(), ossimBandClipFilter::runLinearStretch(), ossimMultiBandHistogramTileSource::runLinearStretchAlgorithm(), ossimEdgeFilter::runLocalMax8Filter(), ossimBandClipFilter::runMedianStretch(), ossimTwoColorView::runNative8(), ossimTwoColorView::runNorm(), ossimEdgeFilter::runPrewittFilter(), ossimEdgeFilter::runRobertsFilter(), ossimEdgeFilter::runSimpleFilter(), ossimEdgeFilter::runSobelFilter(), ossimHistogramThreshholdFilter::runThreshholdStretchAlgorithm(), ossimRgbToGreyFilter::runUcharTransformation(), ossimScaleFilter::runVerticalFilterTemplate(), setNormalizedFloat(), setNull(), ossimS16ImageData::setValue(), ossimU8ImageData::setValue(), ossimU16ImageData::setValue(), setValue(), ossimMpiSlaveOverviewSequencer::slaveProcessTiles(), stretchMinMax(), unloadBandTemplate(), unloadBandToBsqTemplate(), unloadTileToBilTemplate(), unloadTileToBipAlphaTemplate(), unloadTileToBipTemplate(), unloadTileToBsqTemplate(), ossimS16ImageData::unnormalizeInput(), ossimU15ImageData::unnormalizeInput(), ossimU11ImageData::unnormalizeInput(), ossimU12ImageData::unnormalizeInput(), ossimU13ImageData::unnormalizeInput(), ossimU14ImageData::unnormalizeInput(), ossimU8ImageData::unnormalizeInput(), ossimU16ImageData::unnormalizeInput(), unnormalizeInput(), ossim::unNormalizeTile(), ossimS16ImageData::validate(), ossimU16ImageData::validate(), validate(), ossimNitfTileSource::vqUncompressC4(), ossimNitfTileSource::vqUncompressM4(), write(), ossimNitf20Writer::writeBlockBandSeparate(), ossimNitfWriter::writeBlockBandSeparate(), ossimNitf20Writer::writeBlockBandSequential(), ossimNitfWriter::writeBlockBandSequential(), and ossimKakaduCompressor::writeTile().
|
virtual |
Reimplemented from ossimRectilinearDataObject.
Definition at line 188 of file ossimImageData.cpp.
References ossimRectilinearDataObject::m_dataBuffer.
|
virtual |
band | (zero based) |
Definition at line 197 of file ossimImageData.cpp.
References getBuf(), getSizePerBandInBytes(), and isValidBand().
|
virtual |
band | (zero based) |
Definition at line 209 of file ossimImageData.cpp.
References getBuf(), getSizePerBandInBytes(), and isValidBand().
|
virtual |
Reimplemented from ossimRectilinearDataObject.
Definition at line 7272 of file ossimImageData.cpp.
References getSizeInBytes().
Referenced by ossimAppFixedTileCache::addTile(), ossimFixedTileCache::addTile(), copyNormalizedBufferToTile(), copyTileBandToNormalizedBuffer(), copyTileToNormalizedBuffer(), and ossimOpjCompressor::writeTile().
|
virtual |
Definition at line 263 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_FLOAT64, and OSSIM_NORMALIZED_DOUBLE.
Referenced by fill(), getNormalizedFloat(), getPix(), ossimLinearStretchRemapper::getTile(), ossimBandLutFilter::getTile(), and setNormalizedFloat().
|
virtual |
Definition at line 315 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_FLOAT64, and OSSIM_NORMALIZED_DOUBLE.
|
virtual |
band | (zero based) |
Definition at line 367 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_FLOAT64, and OSSIM_NORMALIZED_DOUBLE.
|
virtual |
band | (zero based) |
Definition at line 419 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_FLOAT64, and OSSIM_NORMALIZED_DOUBLE.
|
virtual |
Definition at line 253 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_FLOAT32, and OSSIM_NORMALIZED_FLOAT.
Referenced by fill(), getNormalizedFloat(), getPix(), ossimLinearStretchRemapper::getTile(), ossimSlopeFilter::getTile(), ossimPointCloudImageHandler::getTile(), ossimLasReader::getTile(), ossimBandLutFilter::getTile(), ossimBrightnessContrastSource::processNBandTile(), setNormalizedFloat(), and ossim::unNormalizeTile().
|
virtual |
Definition at line 305 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_FLOAT32, and OSSIM_NORMALIZED_FLOAT.
|
virtual |
band | (zero based) |
Definition at line 357 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_FLOAT32, and OSSIM_NORMALIZED_FLOAT.
|
virtual |
band | (zero based) |
Definition at line 409 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_FLOAT32, and OSSIM_NORMALIZED_FLOAT.
|
inlinevirtual |
Uses prime numbers as coefficients for this summation.
Take the the fours bytes of each origin and multiply by the prime numbers and sum together. This has been proven by others to give nicely distributed id number.
Implements ossimDataObject.
Definition at line 1291 of file ossimImageData.h.
References m_origin, ossimIpt::x, and ossimIpt::y.
|
virtual |
Definition at line 7240 of file ossimImageData.cpp.
References ossimRectilinearDataObject::m_spatialExtents.
Referenced by ossimCastTileSourceFilter::allocate(), ossimTiffTileSource::allocateTile(), ossimCastTileSourceFilter::applyCast(), ossimEquationCombiner::applyClamp(), ossimMeanMedianFilter::applyMean(), ossimMeanMedianFilter::applyMeanNullCenterOnly(), ossimMeanMedianFilter::applyMedian(), ossimMeanMedianFilter::applyMedianNullCenterOnly(), ossimEquationCombiner::applyOp(), ossimEquationCombiner::assignValue(), ossimBandAverageFilter::averageInput(), ossimCastTileSourceFilter::castInputToOutput(), ossimPixelFlipper::clipTile(), ossimElevationMosaic::combine(), ossimImageMosaic::combine(), ossimMaxMosaic::combine(), ossimBlendMosaic::combine(), ossimFeatherMosaic::combine(), ossimElevationMosaic::combineNorm(), ossimImageMosaic::combineNorm(), ossimMaxMosaic::combineNorm(), ossimBlendMosaic::combineNorm(), ossimU8ImageData::computeAverageBandValue(), ossimBitMaskWriter::computeImageSize(), ossimBrightnessMatch::computeInputBrightness(), ossimIntensityAdjustmentFilter::computeMeanIntensity(), ossimS16ImageData::computeMeanSquaredError(), ossimU11ImageData::computeMeanSquaredError(), ossimU12ImageData::computeMeanSquaredError(), ossimU13ImageData::computeMeanSquaredError(), ossimU14ImageData::computeMeanSquaredError(), ossimU15ImageData::computeMeanSquaredError(), ossimU8ImageData::computeMeanSquaredError(), ossimU16ImageData::computeMeanSquaredError(), ossimImageToPlaneNormalFilter::computeNormalsTemplate(), ossimImageStatisticsSource::computeStatisticsTemplate(), ossimRgbToIndexFilter::convertInputTile(), ossimNBandToIndexFilter::convertInputTileToOutputTemplate(), ossimPotraceTool::convertToBitmap(), ATP::convertToIpl(), ossimS16ImageData::convertToNormalizedDouble(), ossimU11ImageData::convertToNormalizedDouble(), ossimU12ImageData::convertToNormalizedDouble(), ossimU13ImageData::convertToNormalizedDouble(), ossimU14ImageData::convertToNormalizedDouble(), ossimU15ImageData::convertToNormalizedDouble(), ossimU8ImageData::convertToNormalizedDouble(), ossimU16ImageData::convertToNormalizedDouble(), convertToNormalizedDouble(), ossimS16ImageData::convertToNormalizedFloat(), ossimU11ImageData::convertToNormalizedFloat(), ossimU12ImageData::convertToNormalizedFloat(), ossimU13ImageData::convertToNormalizedFloat(), ossimU15ImageData::convertToNormalizedFloat(), ossimU14ImageData::convertToNormalizedFloat(), ossimU8ImageData::convertToNormalizedFloat(), ossimU16ImageData::convertToNormalizedFloat(), convertToNormalizedFloat(), ossimNitfTileSource::convertTransparentToNull(), ossimConvolutionSource::convolve(), ossimTilePatch::convolve(), ossim3x3ConvolutionFilter::convolveFull(), ossimConvolutionFilter1D::convolveFull(), ossim3x3ConvolutionFilter::convolvePartial(), ossimConvolutionFilter1D::convolvePartial(), ossimImageDataHelper::copyInputToThis(), ATP::copyIplToOid(), copyNormalizedBufferToTile(), ossim::copyOpjSrgbImage(), copyTileBandToNormalizedBuffer(), copyTileToNormalizedBuffer(), createTestTile(), demo1(), ossimDilationFilter::doDilation(), ossimErosionFilter::doErosion(), ossimElevRemapper::elevRemap(), ossimPngCodec::encode(), ossimJpegCodec::encode(), ossimValueAssignImageSourceFilter::executeAssignGroup(), ossimValueAssignImageSourceFilter::executeAssignSeparate(), ossimMaskFilter::executeMaskFilter(), ossimMaskFilter::executeMaskFilterBinarySelection(), ossimMaskFilter::executeMaskFilterInvertSelection(), ossimMaskFilter::executeMaskFilterSelection(), ossimMaskFilter::executeMaskFilterWeighted(), ossimTopographicCorrectionFilter::executeTopographicCorrectionMinnaertTemplate(), ossimTopographicCorrectionFilter::executeTopographicCorrectionTemplate(), ossimNitfTileSource::explodePackedBits(), ossimImageDataHelper::fill(), fill(), ossimTiledElevationDatabase::fillGrid(), ossimTilePatch::fillTileTemplate(), ossimNullPixelFlip::flipPixels(), getImageRectangle(), getSizePerBand(), getSizePerBandInBytes(), ossimHsvToRgbSource::getTile(), ossimIntensityAdjustmentFilter::getTile(), ossimHsiToRgbSource::getTile(), ossimRgbToJpegYCbCrSource::getTile(), ossimRgbToHsvSource::getTile(), ossimRgbToHsiSource::getTile(), ossimJpegYCbCrToRgbSource::getTile(), ossimColorNormalizedFusion::getTile(), ossimDespeckleFilter::getTile(), ossimFeatherMosaic::getTile(), ossimHistoMatchRemapper::getTile(), ossimElevationMosaic::getTile(), ossimImageMosaic::getTile(), ossimMaxMosaic::getTile(), ossimBandMergeSource::getTile(), ossimGammaRemapper::getTile(), ossimAOD::getTile(), ossimSFIMFusion::getTile(), ossimRectangleCutFilter::getTile(), ossimLinearStretchRemapper::getTile(), ossimLocalCorrelationFusion::getTile(), ossimConvolutionSource::getTile(), ossimElevImageSource::getTile(), ossimHsiRemapper::getTile(), ossimGdalTileSource::getTile(), ossimBandClipFilter::getTile(), ossimTopographicCorrectionFilter::getTile(), ossimBitMaskTileSource::getTile(), ossimBandLutFilter::getTile(), ossimIndexToRgbLutFilter::getTile(), ossimBumpShadeTileSource::getTile(), ossimEquationCombiner::getTile(), ossimElevImageSource::getTileHeight(), ossimJpegTileSource::getTileHeight(), ossimUsgsDemTileSource::getTileHeight(), ossimCcfTileSource::getTileHeight(), ossimAdrgTileSource::getTileHeight(), ossimGdalTileSource::getTileHeight(), ossimPngReader::getTileHeight(), ossimFeatherMosaic::initialize(), ossimGammaRemapper::initialize(), ossimAtCorrRemapper::initialize(), ossimRgbImage::initialize(), isEqualTo(), ossimIntensityAdjustmentFilter::loadNormTile(), ossimNitfTileSource::lutUncompress(), ossimTiledElevationDatabase::mapRegion(), newNormalizedDouble(), newNormalizedFloat(), ossimEquationCombiner::parseAssignBand(), ossimEquationCombiner::parseStdFuncs(), populateHistogram(), print(), ossimSICDToDetectedImage::processAmplitudeAngleTile(), ossimSICDToDetectedImage::processComplexTile(), ossimBrightnessContrastSource::processRgbTile(), ossimResampler::resampleFullTile(), ossimResampler::resamplePartialTile(), ossimResampler::resampleTile(), ossimResampler::resampleTileNearestNeighbor(), ossimImageRenderer::resampleTileToDecimation(), ossimBandClipFilter::runClamp(), ossimBandClipFilter::runClip(), ossimHistogramEqualization::runEqualizationAlgorithm(), ossimFftw3Filter::runFft(), ossimFftFilter::runFft(), ossimEdgeFilter::runLaplacianFilter(), ossimBandClipFilter::runLinearStretch(), ossimMultiBandHistogramTileSource::runLinearStretchAlgorithm(), ossimEdgeFilter::runLocalMax8Filter(), ossimBandClipFilter::runMedianStretch(), ossimEdgeFilter::runPrewittFilter(), ossimEdgeFilter::runRobertsFilter(), ossimEdgeFilter::runSimpleFilter(), ossimEdgeFilter::runSobelFilter(), ossimHistogramThreshholdFilter::runThreshholdStretchAlgorithm(), ossimRgbToGreyFilter::runUcharTransformation(), setImageRectangle(), setImageRectangleAndBands(), ossimTilePatch::setRect(), ossimGeoAnnotationBitmap::transform(), write(), ossimNitf20Writer::writeBlockBandSeparate(), ossimNitfWriter::writeBlockBandSeparate(), ossimNitf20Writer::writeBlockBandSequential(), ossimNitfWriter::writeBlockBandSequential(), ossimPdfWriter::writeJpegTile(), ossimPdfWriter::writeRawTile(), and ossimKakaduCompressor::writeTile().
ossimRefPtr< ossimMultiResLevelHistogram > ossimImageData::getHistogram | ( | ) |
Definition at line 7553 of file ossimImageData.cpp.
References m_histogram.
|
inlinevirtual |
Definition at line 1250 of file ossimImageData.h.
References getHeight(), getWidth(), m_origin, ossimIpt::x, and ossimIpt::y.
Referenced by ossimPixelFlipper::allocateClipTileBuffer(), ossimEquationCombiner::applyBlurr(), ossimEquationCombiner::applyConvolution(), ossimEquationCombiner::applyShift(), ossimPixelFlipper::clipTile(), ATP::AtpTileSource::computeParallax(), ossimLocalCorrelationFusion::computeRegression(), ossimConvolutionSource::convolve(), copyLineTemplate(), ossim::copyRegionToTile(), ossimJpegCodec::decodeJpegToRgb(), demo1(), demo3(), ossimDespeckleFilter::despeckle(), ossimDilationFilter::doDilation(), ossimErosionFilter::doErosion(), ossimAnnotationEllipseObject::draw(), ossimAnnotationMultiPolyLineObject::draw(), ossimGeoAnnotationBitmap::draw(), ossimAnnotationMultiEllipseObject::draw(), ossimAnnotationMultiPolyObject::draw(), ossimAnnotationPolyObject::draw(), ossimAnnotationGdBitmapFont::draw(), ossimAnnotationLineObject::draw(), ossimAnnotationFontObject::draw(), ossimAnnotationMultiLineObject::draw(), ossimGdalOgrVectorAnnotation::drawAnnotations(), ossimEsriShapeFileFilter::drawAnnotations(), ossimMapCompositionSource::drawBorders(), ossimElevRemapper::elevRemap(), ossimImageDataHelper::fill(), ossimWatermarkFilter::fill(), ossimTilePatch::fillPatch(), ossimJpegTileSource::fillTile(), ossimGpkgReader::fillTile(), ossimGeoPdfReader::fillTile(), ossimTilePatch::fillTileTemplate(), ATP::ossimCorrelationSource::findFeatures(), ossimNullPixelFlip::flipPixels(), ossimPixelFlipper::flipPixels(), ossimBitMaskWriter::generateMask(), ossimGeoAnnotationBitmap::getBoundingRect(), ossimWatermarkFilter::getCenterRect(), ossimImageElevationHandler::getHeightAboveMSL(), ossimEquationCombiner::getImageData(), ossimWatermarkFilter::getLowerCenterRect(), ossimWatermarkFilter::getLowerLeftRect(), ossimWatermarkFilter::getLowerRightRect(), ossimImageCombiner::getNextNormTile(), ossimImageCombiner::getNextTile(), ossimKakaduNitfReader::getOverviewTile(), ossimOpjJp2Reader::getOverviewTile(), ossimKakaduJp2Reader::getOverviewTile(), ossimNitfTileSource::getPartialReadSize(), ossimTilePatch::getRect(), ossimHistogramEqualization::getTile(), ossimPointCloudUtilityFilter::getTile(), ossimBandMergeSource::getTile(), ossimMapCompositionSource::getTile(), ossimRectangleCutFilter::getTile(), ossimImageHandlerMtAdaptor::getTile(), ossimMemoryImageSource::getTile(), ossimUsgsDemTileSource::getTile(), ossimImageSource::getTile(), ossimJpegTileSource::getTile(), ossimTiledImagePatch::getTile(), ossimGdalTileSource::getTile(), ossimGpkgReader::getTile(), ossimHdf5ImageHandler::getTile(), ossimCcfTileSource::getTile(), ossimHdfReader::getTile(), ossimDtedTileSource::getTile(), ossimH5ImageHandler::getTile(), ossimPngReader::getTile(), ossimAdrgTileSource::getTile(), ossimImageCacheTileSource::getTile(), ossimKakaduJ2kReader::getTile(), ossimPointCloudImageHandler::getTile(), ossimRangeDomeTileSource::getTile(), ossimKakaduJp2Reader::getTile(), ossimLasReader::getTile(), ossimTiffTileSource::getTile(), ossimGeoPdfReader::getTile(), ossimNitfTileSource::getTile(), ossimRpfCacheTileSource::getTile(), ossimBumpShadeTileSource::getTile(), ossimCibCadrgTileSource::getTile(), ossimMaskFilter::getTile(), ossimKakaduJpipHandler::getTileAtRes(), ossimGdalTileSource::getTileBlockRead(), ossimWatermarkFilter::getUniformDenseRects(), ossimWatermarkFilter::getUniformSparceRects(), ossimWatermarkFilter::getUpperCenterRect(), ossimWatermarkFilter::getUpperLeftRect(), ossimWatermarkFilter::getUpperRightRect(), ossimGeoAnnotationBitmap::intersects(), loadBandTemplate(), ossimNitfTileSource::loadBlockFromCache(), ossimGdalTileSource::loadIndexTo3BandTileTemplate(), ossimIntensityAdjustmentFilter::loadNormTile(), loadShortBand(), ossimMemoryImageSource::loadState(), ossimNitfTileSource::loadTile(), loadTile(), loadTileFrom1Band(), loadTileFromBilTemplate(), loadTileFromBipAlphaTemplate(), loadTileFromBipTemplate(), loadTileFromBsqTemplate(), ossimKakaduJp2Reader::loadTileFromCache(), ossimKakaduJ2kReader::loadTileFromCache(), nullTileAlpha(), nullTileAlphaTemplate(), ATP::ossimCorrelationSource::OpenCVCorrelation(), print(), ossimFilterResampler::resample(), ossimResampler::resample(), ossimFilterResampler::resampleBilinearTile(), ossimResampler::resampleNearestNeighbor(), ossimResampler::resampleTile(), ossimResampler::resampleTileNearestNeighbor(), ossimScaleFilter::runHorizontalFilterTemplate(), ossimScaleFilter::runVerticalFilterTemplate(), ossimMemoryImageSource::setImage(), ossimImageDataHelper::setImageData(), ossimMemoryImageSource::setRect(), unloadBand(), unloadBandTemplate(), unloadBandToBsqTemplate(), unloadTile(), unloadTileToBilTemplate(), unloadTileToBipAlphaTemplate(), unloadTileToBipTemplate(), unloadTileToBsqTemplate(), ossimPdfWriter::writeJpegTile(), ossimPdfWriter::writeRawTile(), and ossimOpjCompressor::writeTile().
bool ossimImageData::getIndexedFlag | ( | ) | const |
Definition at line 7440 of file ossimImageData.cpp.
References m_indexedFlag.
|
inlinevirtual |
Definition at line 1268 of file ossimImageData.h.
References m_maxPixelValue.
Referenced by ossimCastTileSourceFilter::castInputToOutput(), ossimFeatherMosaic::combine(), ossimElevationMosaic::combineNorm(), ossimImageMosaic::combineNorm(), ossimMaxMosaic::combineNorm(), computeMinMaxNulPix(), computeMinMaxPix(), ossimPngReader::copyLinesWithAlpha(), copyNormalizedBufferToTile(), ossimS16ImageData::copyTileToNormalizedBuffer(), copyTileToNormalizedBuffer(), createTestTile(), demo1(), ossimMaskFilter::executeMaskFilterBinarySelection(), ossimTopographicCorrectionFilter::executeTopographicCorrectionMinnaertTemplate(), ossimTopographicCorrectionFilter::executeTopographicCorrectionTemplate(), ossimWatermarkFilter::fill(), ossimTilePatch::fillTile(), ossimShiftFilter::fillTile(), ossimTilePatch::fillTileTemplate(), ossimNullPixelFlip::flipPixels(), ossimEquationCombiner::getImageData(), ossimMemoryImageSource::getMaxPixelValue(), ossimElevImageSource::getMaxPixelValue(), ossimOpjJp2Reader::getMaxPixelValue(), ossimIntensityAdjustmentFilter::getTile(), ossimColorNormalizedFusion::getTile(), ossimUsgsDemTileSource::getTile(), ossimEquationCombiner::parseStdFuncs(), ossimFilterResampler::resampleBilinearTile(), ossimResampler::resampleFullTile(), ossimResampler::resamplePartialTile(), ossimHistogramEqualization::runEqualizationAlgorithm(), ossimScaleFilter::runHorizontalFilterTemplate(), ossimEdgeFilter::runLaplacianFilter(), ossimBandClipFilter::runLinearStretch(), ossimMultiBandHistogramTileSource::runLinearStretchAlgorithm(), ossimEdgeFilter::runPrewittFilter(), ossimEdgeFilter::runRobertsFilter(), ossimEdgeFilter::runSimpleFilter(), ossimEdgeFilter::runSobelFilter(), ossimHistogramThreshholdFilter::runThreshholdStretchAlgorithm(), ossimScaleFilter::runVerticalFilterTemplate(), unloadTileToBipAlphaTemplate(), and ossim::unNormalizeTile().
|
inlinevirtual |
Definition at line 1285 of file ossimImageData.h.
References ossim::defaultMax(), ossimRectilinearDataObject::getScalarType(), and m_maxPixelValue.
|
virtual |
returns normalized minimum pixel value of band zero.
Reimplemented in ossimU16ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, ossimS16ImageData, and ossimU8ImageData.
Definition at line 6924 of file ossimImageData.cpp.
References m_maxPixelValue, m_minPixelValue, ossimRectilinearDataObject::m_scalarType, OSSIM_NORMALIZED_DOUBLE, and OSSIM_NORMALIZED_FLOAT.
Referenced by ossimGammaRemapper::getTile(), and ossimBrightnessContrastSource::processNBandTile().
|
inlinevirtual |
Definition at line 1263 of file ossimImageData.h.
References m_minPixelValue.
Referenced by ossimTableRemapper::allocate(), ossimCastTileSourceFilter::castInputToOutput(), ossimFeatherMosaic::combine(), ossimElevationMosaic::combineNorm(), ossimImageMosaic::combineNorm(), ossimMaxMosaic::combineNorm(), computeMinMaxNulPix(), computeMinMaxPix(), ossimPngReader::copyLinesWithAlpha(), copyNormalizedBufferToTile(), ossimS16ImageData::copyTileToNormalizedBuffer(), copyTileToNormalizedBuffer(), demo1(), ossimMaskFilter::executeMaskFilterSelection(), ossimMaskFilter::executeMaskFilterWeighted(), ossimTopographicCorrectionFilter::executeTopographicCorrectionMinnaertTemplate(), ossimTopographicCorrectionFilter::executeTopographicCorrectionTemplate(), ossimWatermarkFilter::fill(), ossimTilePatch::fillTile(), ossimShiftFilter::fillTile(), ossimTilePatch::fillTileTemplate(), ossimNullPixelFlip::flipPixels(), ossimEquationCombiner::getImageData(), ossimMemoryImageSource::getMinPixelValue(), ossimElevImageSource::getMinPixelValue(), ossimIntensityAdjustmentFilter::getTile(), ossimColorNormalizedFusion::getTile(), ossimSFIMFusion::getTile(), ossimUsgsDemTileSource::getTile(), ossimTiffTileSource::loadFromRgbaU8aStrip(), ossimGdalTileSource::loadIndexTo3BandTileTemplate(), nullTileAlphaTemplate(), ossimEquationCombiner::parseStdFuncs(), ossimFilterResampler::resampleBilinearTile(), ossimResampler::resampleFullTile(), ossimResampler::resamplePartialTile(), ossimHistogramEqualization::runEqualizationAlgorithm(), ossimScaleFilter::runHorizontalFilterTemplate(), ossimEdgeFilter::runLaplacianFilter(), ossimBandClipFilter::runLinearStretch(), ossimMultiBandHistogramTileSource::runLinearStretchAlgorithm(), ossimEdgeFilter::runPrewittFilter(), ossimEdgeFilter::runRobertsFilter(), ossimEdgeFilter::runSimpleFilter(), ossimEdgeFilter::runSobelFilter(), ossimHistogramThreshholdFilter::runThreshholdStretchAlgorithm(), ossimScaleFilter::runVerticalFilterTemplate(), and ossim::unNormalizeTile().
|
inlinevirtual |
Definition at line 1279 of file ossimImageData.h.
References ossim::defaultMin(), ossimRectilinearDataObject::getScalarType(), and m_minPixelValue.
|
virtual |
will go to the band and offset and compute the normalized float and return it back to the caller through the result argument.
Reimplemented in ossimU16ImageData, ossimU8ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, and ossimS16ImageData.
Definition at line 429 of file ossimImageData.cpp.
References getBuf(), ossimDataObject::getDataObjectStatus(), getDoubleBuf(), getFloatBuf(), ossimRectilinearDataObject::getNumberOfDataComponents(), ossimRectilinearDataObject::getScalarType(), getSshortBuf(), getUcharBuf(), getUshortBuf(), m_maxPixelValue, m_minPixelValue, m_nullPixelValue, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by loadTile().
|
inlinevirtual |
Definition at line 1258 of file ossimImageData.h.
References m_nullPixelValue.
Referenced by ossimCastTileSourceFilter::applyCast(), ossimEquationCombiner::applyClamp(), ossimMeanMedianFilter::applyMean(), ossimMeanMedianFilter::applyMeanNullCenterOnly(), ossimMeanMedianFilter::applyMedian(), ossimMeanMedianFilter::applyMedianNullCenterOnly(), ossimEquationCombiner::applyOp(), ossimEquationCombiner::assignValue(), ossimBandAverageFilter::averageInput(), ossimCastTileSourceFilter::castInputToOutput(), ossimElevationMosaic::combine(), ossimImageMosaic::combine(), ossimMaxMosaic::combine(), ossimBlendMosaic::combine(), ossimFeatherMosaic::combine(), ossimImageMosaic::combineNorm(), ossimElevationMosaic::combineNorm(), ossimMaxMosaic::combineNorm(), ossimBlendMosaic::combineNorm(), computeMinMaxPix(), ossimImageToPlaneNormalFilter::computeNormalsTemplate(), ossimLocalCorrelationFusion::computeRegression(), ossimImageStatisticsSource::computeStatisticsTemplate(), ossimPotraceTool::convertToBitmap(), ossimNitfTileSource::convertTransparentToNull(), ossimConvolutionSource::convolve(), ossim3x3ConvolutionFilter::convolvePartial(), ossimConvolutionFilter1D::convolvePartial(), ossimPngReader::copyLinesWithAlpha(), copyNormalizedBufferToTile(), MEMTiledRasterBand::copyNulls(), copyTileToNormalizedBuffer(), createTestTile(), demo1(), ossimDespeckleFilter::despeckle(), ossimDilationFilter::doDilation(), ossimErosionFilter::doErosion(), ossimMaskFilter::executeMaskFilterBinarySelection(), ossimMaskFilter::executeMaskFilterInvertSelection(), ossimMaskFilter::executeMaskFilterSelection(), ossimMaskFilter::executeMaskFilterWeighted(), ossimTopographicCorrectionFilter::executeTopographicCorrectionMinnaertTemplate(), ossimTopographicCorrectionFilter::executeTopographicCorrectionTemplate(), ossimWatermarkFilter::fill(), ossimTiledElevationDatabase::fillGrid(), ossimTilePatch::fillTile(), ossimShiftFilter::fillTile(), ossimTilePatch::fillTileTemplate(), ATP::ossimCorrelationSource::findFeatures(), ossimNullPixelFlip::flipPixels(), ossimImageElevationHandler::getHeightAboveMSL(), ossimMemoryImageSource::getNullPixelValue(), ossimImageElevationHandler::getPostValue(), ossimColorNormalizedFusion::getTile(), ossimBandMergeSource::getTile(), ossimPolyCutter::getTile(), ossimSlopeFilter::getTile(), ossimUsgsDemTileSource::getTile(), ossimBandLutFilter::getTile(), ossimBumpShadeTileSource::getTile(), ossimIndexToRgbLutFilter::getTile(), isNull(), ossimTiffTileSource::loadFromRgbaU8aStrip(), ossimGdalTileSource::loadIndexTo3BandTileTemplate(), loadTile(), nullTileAlphaTemplate(), ossimGeoidImage::offsetFromEllipsoidTemplate(), ossimEquationCombiner::parseStdFuncs(), populateHistogram(), ossimFilterResampler::resampleBilinearTile(), ossimResampler::resamplePartialTile(), ossimResampler::resampleTile(), ossimResampler::resampleTileNearestNeighbor(), ossimImageRenderer::resampleTileToDecimation(), ossimBandClipFilter::runClamp(), ossimBandClipFilter::runClip(), ossimHistogramEqualization::runEqualizationAlgorithm(), ossimFftFilter::runFft(), ossimScaleFilter::runHorizontalFilterTemplate(), ossimEdgeFilter::runLaplacianFilter(), ossimMultiBandHistogramTileSource::runLinearStretchAlgorithm(), ossimEdgeFilter::runLocalMax8Filter(), ossimEdgeFilter::runPrewittFilter(), ossimEdgeFilter::runRobertsFilter(), ossimEdgeFilter::runSimpleFilter(), ossimEdgeFilter::runSobelFilter(), ossimHistogramThreshholdFilter::runThreshholdStretchAlgorithm(), ossimScaleFilter::runVerticalFilterTemplate(), setNull(), ossimKakaduNitfReader::setNullPixelValue(), ossim::unNormalizeTile(), and ossimU8ImageData::validate().
|
inlinevirtual |
Definition at line 1273 of file ossimImageData.h.
References ossim::defaultNull(), ossimRectilinearDataObject::getScalarType(), and m_nullPixelValue.
|
virtual |
Definition at line 1659 of file ossimImageData.cpp.
References ossimRectilinearDataObject::getNumberOfDataComponents().
Referenced by ossimCastTileSourceFilter::allocate(), ossimTableRemapper::allocate(), ossimMultiBandHistogramTileSource::allocate(), ossimBrightnessContrastSource::allocate(), ossimTopographicCorrectionFilter::allocate(), ossimWatermarkFilter::allocate(), ossimPixelFlipper::allocateClipTileBuffer(), ossimCastTileSourceFilter::applyCast(), ossimEquationCombiner::applyClamp(), ossimHistogramRemapper::applyLinearStretch(), ossimMeanMedianFilter::applyMean(), ossimMeanMedianFilter::applyMeanNullCenterOnly(), ossimMeanMedianFilter::applyMedian(), ossimMeanMedianFilter::applyMedianNullCenterOnly(), ossimEquationCombiner::applyOp(), assign(), ossimEquationCombiner::assignValue(), ossimBandAverageFilter::averageInput(), ossimCastTileSourceFilter::castInputToOutput(), ossimElevationMosaic::combine(), ossimImageMosaic::combine(), ossimMaxMosaic::combine(), ossimBlendMosaic::combine(), ossimFeatherMosaic::combine(), ossimElevationMosaic::combineNorm(), ossimImageMosaic::combineNorm(), ossimMaxMosaic::combineNorm(), ossimBlendMosaic::combineNorm(), computeAlphaChannel(), ossimBrightnessMatch::computeInputBrightness(), ossimIntensityAdjustmentFilter::computeMeanIntensity(), computeMinMaxNulPix(), computeMinMaxPix(), ossimImageStatisticsSource::computeStatisticsTemplate(), ossimRgbToIndexFilter::convertInputTile(), ossimNBandToIndexFilter::convertInputTileToOutputTemplate(), ATP::convertToIpl(), ossimS16ImageData::convertToNormalizedDouble(), ossimU11ImageData::convertToNormalizedDouble(), ossimU12ImageData::convertToNormalizedDouble(), ossimU13ImageData::convertToNormalizedDouble(), ossimU14ImageData::convertToNormalizedDouble(), ossimU15ImageData::convertToNormalizedDouble(), ossimU8ImageData::convertToNormalizedDouble(), ossimU16ImageData::convertToNormalizedDouble(), convertToNormalizedDouble(), ossimS16ImageData::convertToNormalizedFloat(), ossimU11ImageData::convertToNormalizedFloat(), ossimU12ImageData::convertToNormalizedFloat(), ossimU13ImageData::convertToNormalizedFloat(), ossimU14ImageData::convertToNormalizedFloat(), ossimU15ImageData::convertToNormalizedFloat(), ossimU8ImageData::convertToNormalizedFloat(), ossimU16ImageData::convertToNormalizedFloat(), convertToNormalizedFloat(), ossimNitfTileSource::convertTransparentToNull(), ossimConvolutionSource::convolve(), ossim3x3ConvolutionFilter::convolveFull(), ossimConvolutionFilter1D::convolveFull(), ossim3x3ConvolutionFilter::convolvePartial(), ossimConvolutionFilter1D::convolvePartial(), ossimImageDataHelper::copyInputToThis(), ossimS16ImageData::copyNormalizedBufferToTile(), ossimU11ImageData::copyNormalizedBufferToTile(), ossimU12ImageData::copyNormalizedBufferToTile(), ossimU13ImageData::copyNormalizedBufferToTile(), ossimU14ImageData::copyNormalizedBufferToTile(), ossimU15ImageData::copyNormalizedBufferToTile(), ossimU16ImageData::copyNormalizedBufferToTile(), ossimU8ImageData::copyNormalizedBufferToTile(), copyNormalizedBufferToTile(), ossim::copyOpjSrgbImage(), ossim::copyRegionToTile(), ossimS16ImageData::copyTileToNormalizedBuffer(), ossimU11ImageData::copyTileToNormalizedBuffer(), ossimU12ImageData::copyTileToNormalizedBuffer(), ossimU13ImageData::copyTileToNormalizedBuffer(), ossimU14ImageData::copyTileToNormalizedBuffer(), ossimU15ImageData::copyTileToNormalizedBuffer(), ossimU8ImageData::copyTileToNormalizedBuffer(), ossimU16ImageData::copyTileToNormalizedBuffer(), copyTileToNormalizedBuffer(), createTestTile(), ossimJpegCodec::decodeJpegToRgb(), demo1(), demo3(), ossimDespeckleFilter::despeckle(), ossimDilationFilter::doDilation(), ossimErosionFilter::doErosion(), ossimGeoAnnotationBitmap::draw(), ossimAnnotationFontObject::draw(), ossimElevRemapper::elevRemap(), ossimPngCodec::encode(), ossimJpegCodec::encode(), ossimValueAssignImageSourceFilter::executeAssignGroup(), ossimValueAssignImageSourceFilter::executeAssignSeparate(), ossimMaskFilter::executeMaskFilterBinarySelection(), ossimMaskFilter::executeMaskFilterInvertSelection(), ossimMaskFilter::executeMaskFilterSelection(), ossimMaskFilter::executeMaskFilterWeighted(), ossimTopographicCorrectionFilter::executeTopographicCorrectionMinnaertTemplate(), ossimTopographicCorrectionFilter::executeTopographicCorrectionTemplate(), ossimNitfTileSource::explodePackedBits(), ossimImageDataHelper::fill(), fill(), ossimTilePatch::fillTile(), ossimShiftFilter::fillTile(), ossimGeoPdfReader::fillTile(), ossimTilePatch::fillTileTemplate(), ossimNullPixelFlip::flipPixels(), ossimPixelFlipper::flipPixels(), ossimEquationCombiner::getImageData(), ossimImageCombiner::getNextNormTile(), ossimFusionCombiner::getNormIntensity(), ossimFusionCombiner::getNormTile(), ossimMemoryImageSource::getNumberOfInputBands(), ossimKakaduNitfReader::getOverviewTile(), ossimKakaduJ2kReader::getOverviewTile(), ossimKakaduJp2Reader::getOverviewTile(), ossimImageHandler::getOverviewTile(), ossimIntensityAdjustmentFilter::getTile(), ossimHsvToRgbSource::getTile(), ossimJpegYCbCrToRgbSource::getTile(), ossimHsiToRgbSource::getTile(), ossimRgbToHsiSource::getTile(), ossimRgbToHsvSource::getTile(), ossimRgbToJpegYCbCrSource::getTile(), ossimColorNormalizedFusion::getTile(), ossimHistogramEqualization::getTile(), ossimDilationFilter::getTile(), ossimSICDToDetectedImage::getTile(), ossimHistoMatchRemapper::getTile(), ossimEdgeFilter::getTile(), ossimBrightnessContrastSource::getTile(), ossimGammaRemapper::getTile(), ossimBandMergeSource::getTile(), ossimSFIMFusion::getTile(), ossimClosestToCenterCombiner::getTile(), ossimMapCompositionSource::getTile(), ossimLocalCorrelationFusion::getTile(), ossimBandAverageFilter::getTile(), ossimHsiRemapper::getTile(), ossimUsgsDemTileSource::getTile(), ossimJpegTileSource::getTile(), ossimBandClipFilter::getTile(), ossimGpkgReader::getTile(), ossimHdf5ImageHandler::getTile(), ossimCcfTileSource::getTile(), ossimTopographicCorrectionFilter::getTile(), ossimHdfReader::getTile(), ossimDtedTileSource::getTile(), ossimH5ImageHandler::getTile(), ossimPngReader::getTile(), ossimImageSourceSequencer::getTile(), ossimAdrgTileSource::getTile(), ossimImageCacheTileSource::getTile(), ossimPointCloudImageHandler::getTile(), ossimTiffTileSource::getTile(), ossimGeoPdfReader::getTile(), ossimRpfCacheTileSource::getTile(), ossimBumpShadeTileSource::getTile(), ossimCibCadrgTileSource::getTile(), ossimGammaRemapper::initialize(), ossimAtCorrRemapper::initialize(), ossimRgbImage::initialize(), ossimS16ImageData::isNull(), ossimU15ImageData::isNull(), ossimU11ImageData::isNull(), ossimU14ImageData::isNull(), ossimU12ImageData::isNull(), ossimU13ImageData::isNull(), ossimU8ImageData::isNull(), isNull(), ossimIntensityAdjustmentFilter::loadNormTile(), ossimGammaRemapper::loadState(), ossimAtCorrGridRemapper::loadState(), loadTile(), loadTileFrom1Band(), loadTileFromBilTemplate(), loadTileFromBipAlphaTemplate(), loadTileFromBipTemplate(), loadTileFromBsqTemplate(), ossimNitfTileSource::lutUncompress(), makeBlank(), newNormalizedDouble(), newNormalizedFloat(), nullTileAlphaTemplate(), ossimEquationCombiner::parseAssignBand(), ossimEquationCombiner::parseStdFuncs(), populateHistogram(), print(), ossimBrightnessContrastSource::processNBandTile(), ossimTableRemapper::remapFromNativeTable(), ossimTableRemapper::remapFromNormalizedTable(), ossimFilterResampler::resampleBilinearTile(), ossimResampler::resampleFullTile(), ossimResampler::resamplePartialTile(), ossimResampler::resampleTile(), ossimResampler::resampleTileNearestNeighbor(), ossimImageRenderer::resampleTileToDecimation(), ossimBandClipFilter::runClamp(), ossimBandClipFilter::runClip(), ossimHistogramEqualization::runEqualizationAlgorithm(), ossimFftw3Filter::runFft(), ossimFftFilter::runFft(), ossimScaleFilter::runFilterTemplate(), ossimScaleFilter::runHorizontalFilterTemplate(), ossimEdgeFilter::runLaplacianFilter(), ossimBandClipFilter::runLinearStretch(), ossimMultiBandHistogramTileSource::runLinearStretchAlgorithm(), ossimEdgeFilter::runLocalMax8Filter(), ossimBandClipFilter::runMedianStretch(), ossimTwoColorView::runNative8(), ossimTwoColorView::runNorm(), ossimEdgeFilter::runPrewittFilter(), ossimEdgeFilter::runRobertsFilter(), ossimEdgeFilter::runSimpleFilter(), ossimEdgeFilter::runSobelFilter(), ossimHistogramThreshholdFilter::runThreshholdStretchAlgorithm(), ossimRgbToGreyFilter::runUcharTransformation(), ossimScaleFilter::runVerticalFilterTemplate(), setImageRectangleAndBands(), ossimU8ImageData::setNormalizedFloat(), ossimS16ImageData::setNull(), ossimU11ImageData::setNull(), ossimU14ImageData::setNull(), ossimU12ImageData::setNull(), ossimU13ImageData::setNull(), ossimU15ImageData::setNull(), ossimU8ImageData::setNull(), setNull(), ossimAnnotationSource::setNumberOfBands(), setNumberOfBands(), ossimBandSelector::setOutputBandList(), ossimTiffTileSource::setOutputBandList(), ossimGeneralRasterTileSource::setOutputBandList(), stretchMinMax(), unloadBandToBsqTemplate(), unloadTileToBilTemplate(), unloadTileToBipAlphaTemplate(), unloadTileToBipTemplate(), unloadTileToBsqTemplate(), ossimS16ImageData::validate(), ossimU15ImageData::validate(), ossimU11ImageData::validate(), ossimU12ImageData::validate(), ossimU13ImageData::validate(), ossimU14ImageData::validate(), ossimU8ImageData::validate(), ossimU16ImageData::validate(), validate(), ossimGammaRemapper::verifyEnabled(), ossimAtCorrRemapper::verifyEnabled(), ossimNitfTileSource::vqUncompressC4(), ossimNitfTileSource::vqUncompressM4(), write(), ossimNitf20Writer::writeBlockBandSeparate(), ossimNitfWriter::writeBlockBandSeparate(), ossimNitf20Writer::writeBlockBandSequential(), ossimNitfWriter::writeBlockBandSequential(), and ossimKakaduCompressor::writeTile().
|
inlinevirtual |
Definition at line 185 of file ossimImageData.h.
Referenced by ossimFixedTileCache::addTile(), ossimCastTileSourceFilter::allocate(), ossimCastTileSourceFilter::applyCast(), ossimFeatherMosaic::combine(), ossimPotraceTool::convertToBitmap(), ossimNitfTileSource::convertTransparentToNull(), ossimConvolutionSource::convolve(), ossimTilePatch::convolve(), ossim3x3ConvolutionFilter::convolveFull(), ossim3x3ConvolutionFilter::convolvePartial(), ossimAnnotationGdBitmapFont::draw(), ossimRgbImage::drawLine(), ossimMaskFilter::executeMaskFilter(), ossimTilePatch::fillTileTemplate(), ossimGeoidImage::offsetFromEllipsoidTemplate(), ossimEquationCombiner::parseStdFuncs(), ossimResampler::resampleFullTile(), ossimResampler::resamplePartialTile(), ossimResampler::resampleTile(), ossimImageRenderer::resampleTileToDecimation(), ossimPdfWriter::writeJpegTile(), ossimPdfWriter::writeRawTile(), and ossimKakaduCompressor::writeTile().
|
virtual |
Will return the pixel at location position.
Note it will first get the passed in position relative to the origin or upper left corner of this tile and then return the result.
Definition at line 1664 of file ossimImageData.cpp.
References m_origin, ossimRectilinearDataObject::m_spatialExtents, ossimIpt::x, and ossimIpt::y.
Referenced by ossimPotraceTool::convertToBitmap(), ATP::ossimCorrelationSource::findFeatures(), ossimImageElevationHandler::getHeightAboveMSL(), ossimImageElevationHandler::getPostValue(), ossimPointCloudUtilityFilter::getTile(), ossimSlopeFilter::getTile(), ossimKMeansFilter::getTile(), ossimBandLutFilter::getTile(), and ossimHlzTool::PatchProcessorJob::maskTest().
|
virtual |
Will return the pixel at offset and band number.
Definition at line 1674 of file ossimImageData.cpp.
References getBuf(), getDoubleBuf(), getFloatBuf(), getSshortBuf(), getUcharBuf(), getUshortBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
|
virtual |
Definition at line 1654 of file ossimImageData.cpp.
References ossimLookUpTable::getEntryString(), ossimRectilinearDataObject::getScalarType(), and ossimScalarTypeLut::instance().
|
virtual |
Returns the total number of pixels in a tile for all bands.
Note: This is not in bytes but in pixels.
Definition at line 141 of file ossimImageData.cpp.
References ossimRectilinearDataObject::getNumberOfDataComponents(), and getSizePerBand().
Referenced by ossimTableRemapper::allocate(), ossimGeneralRasterTileSource::allocateBuffer(), ossimEquationCombiner::applyOp(), ossimEquationCombiner::assignValue(), ossim::copyRegionToTile(), ossimImageMpiMWriterSequenceConnection::getNextTile(), ossimMpiMasterOverviewSequencer::getNextTile(), ossimTableRemapper::remapFromNormalizedTable(), ossimMpiSlaveOverviewSequencer::slaveProcessTiles(), ossim::unNormalizeTile(), ossimS16ImageData::validate(), ossimU13ImageData::validate(), ossimU12ImageData::validate(), ossimU14ImageData::validate(), ossimU15ImageData::validate(), ossimU11ImageData::validate(), ossimU8ImageData::validate(), ossimU16ImageData::validate(), and validate().
|
virtual |
Returns the total number of bytes for all bands.
Definition at line 151 of file ossimImageData.cpp.
References ossimRectilinearDataObject::getNumberOfDataComponents(), and getSizePerBandInBytes().
Referenced by ossimGeneralRasterTileSource::allocateBuffer(), assign(), getDataSizeInBytes(), ossimImageMpiMWriterSequenceConnection::getNextTile(), ossimMpiMasterOverviewSequencer::getNextTile(), isEqualTo(), ossimMpiSlaveOverviewSequencer::slaveProcessTiles(), write(), ossimNitf20Writer::writeBlockBandSeparate(), ossimNitfWriter::writeBlockBandSeparate(), and ossimPdfWriter::writeRawTile().
|
virtual |
Returns the number of pixels in a single band in a tile.
Note: This is not in bytes but in pixels.
Definition at line 146 of file ossimImageData.cpp.
References getHeight(), and getWidth().
Referenced by ossimEquationCombiner::applyOp(), computeAlphaChannel(), ossimS16ImageData::computeAverageBandValue(), ossimU11ImageData::computeAverageBandValue(), ossimU15ImageData::computeAverageBandValue(), ossimU12ImageData::computeAverageBandValue(), ossimU13ImageData::computeAverageBandValue(), ossimU14ImageData::computeAverageBandValue(), ossimU16ImageData::computeAverageBandValue(), computeAverageBandValue(), computeMeanSquaredError(), computeMinMaxNulPix(), computeMinMaxPix(), ossimS16ImageData::convertToNormalizedDouble(), ossimU15ImageData::convertToNormalizedDouble(), ossimU11ImageData::convertToNormalizedDouble(), ossimU12ImageData::convertToNormalizedDouble(), ossimU13ImageData::convertToNormalizedDouble(), ossimU14ImageData::convertToNormalizedDouble(), ossimU8ImageData::convertToNormalizedDouble(), ossimU16ImageData::convertToNormalizedDouble(), ossimS16ImageData::convertToNormalizedFloat(), ossimU15ImageData::convertToNormalizedFloat(), ossimU11ImageData::convertToNormalizedFloat(), ossimU12ImageData::convertToNormalizedFloat(), ossimU13ImageData::convertToNormalizedFloat(), ossimU14ImageData::convertToNormalizedFloat(), ossimU8ImageData::convertToNormalizedFloat(), ossimU16ImageData::convertToNormalizedFloat(), ossimS16ImageData::copyNormalizedBufferToTile(), ossimU14ImageData::copyNormalizedBufferToTile(), ossimU15ImageData::copyNormalizedBufferToTile(), ossimU11ImageData::copyNormalizedBufferToTile(), ossimU12ImageData::copyNormalizedBufferToTile(), ossimU13ImageData::copyNormalizedBufferToTile(), ossimU16ImageData::copyNormalizedBufferToTile(), ossimU8ImageData::copyNormalizedBufferToTile(), copyNormalizedBufferToTile(), ossimS16ImageData::copyTileToNormalizedBuffer(), ossimU14ImageData::copyTileToNormalizedBuffer(), ossimU15ImageData::copyTileToNormalizedBuffer(), ossimU12ImageData::copyTileToNormalizedBuffer(), ossimU13ImageData::copyTileToNormalizedBuffer(), ossimU11ImageData::copyTileToNormalizedBuffer(), ossimU8ImageData::copyTileToNormalizedBuffer(), ossimU16ImageData::copyTileToNormalizedBuffer(), copyTileToNormalizedBuffer(), ossimS16ImageData::fill(), ossimU15ImageData::fill(), ossimU11ImageData::fill(), ossimU12ImageData::fill(), ossimU13ImageData::fill(), ossimU14ImageData::fill(), ossimU8ImageData::fill(), ossimU16ImageData::fill(), ossimShiftFilter::fillTile(), ossimCcfTileSource::fillUcharBuffer(), ossimCcfTileSource::fillUshortBuffer(), getSize(), ossimGammaRemapper::getTile(), ossimSlopeFilter::getTile(), ossimHsiRemapper::getTile(), ossimImageToPlaneNormalFilter::initializeTile(), makeBlank(), ossimBrightnessContrastSource::processNBandTile(), ossimTableRemapper::remapFromNativeTable(), ossimTableRemapper::remapFromNormalizedTable(), ossimFilterResampler::resampleBilinearTile(), ossimTwoColorView::runNative8(), ossimTwoColorView::runNorm(), stretchMinMax(), ossimS16ImageData::unnormalizeInput(), ossimU12ImageData::unnormalizeInput(), ossimU15ImageData::unnormalizeInput(), ossimU14ImageData::unnormalizeInput(), ossimU11ImageData::unnormalizeInput(), ossimU13ImageData::unnormalizeInput(), ossimU8ImageData::unnormalizeInput(), ossimU16ImageData::unnormalizeInput(), ossimS16ImageData::validate(), ossimU13ImageData::validate(), ossimU12ImageData::validate(), ossimU15ImageData::validate(), ossimU11ImageData::validate(), ossimU14ImageData::validate(), ossimU8ImageData::validate(), ossimU16ImageData::validate(), and validate().
|
virtual |
Returns the number of bytes in single band of the tile.
Definition at line 156 of file ossimImageData.cpp.
References getHeight(), ossimRectilinearDataObject::getScalarSizeInBytes(), and getWidth().
Referenced by assignBand(), copyNormalizedBufferToTile(), copyTileBandToNormalizedBuffer(), ossimNitfTileSource::explodePackedBits(), getBuf(), getSizeInBytes(), ossimBandMergeSource::getTile(), and makeBlank().
|
virtual |
Definition at line 244 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, and OSSIM_SINT16.
Referenced by ossimS16ImageData::computeAverageBandValue(), ossimS16ImageData::computeMeanSquaredError(), ossimS16ImageData::convertToNormalizedDouble(), ossimS16ImageData::convertToNormalizedFloat(), ossimS16ImageData::copyNormalizedBufferToTile(), ossimS16ImageData::copyTileToNormalizedBuffer(), ossimS16ImageData::fill(), fill(), ossimS16ImageData::getNormalizedFloat(), getNormalizedFloat(), getPix(), ossimLinearStretchRemapper::getTile(), ossimBandLutFilter::getTile(), ossimS16ImageData::isNull(), ossimS16ImageData::setNormalizedFloat(), setNormalizedFloat(), ossimS16ImageData::setNull(), ossimS16ImageData::setValue(), ossimS16ImageData::unnormalizeInput(), and ossimS16ImageData::validate().
|
virtual |
Definition at line 296 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, and OSSIM_SINT16.
|
virtual |
band | (zero based) |
Definition at line 348 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, and OSSIM_SINT16.
|
virtual |
band | (zero based) |
Definition at line 400 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, and OSSIM_SINT16.
|
virtual |
Definition at line 221 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, and OSSIM_UINT8.
Referenced by ossimU8ImageData::computeAverageBandValue(), ossimU8ImageData::computeMeanSquaredError(), ossimU8ImageData::convertToNormalizedDouble(), ossimU8ImageData::convertToNormalizedFloat(), ossimU8ImageData::copyNormalizedBufferToTile(), ossim::copyRegionToTile(), ossimU8ImageData::copyTileToNormalizedBuffer(), ossimJpegCodec::decodeJpegToRgb(), ossimJpegCodec::encode(), ossimU8ImageData::fill(), fill(), ossimU8ImageData::getNormalizedFloat(), getNormalizedFloat(), getPix(), ossimLinearStretchRemapper::getTile(), ossimBandLutFilter::getTile(), ossimU8ImageData::isNull(), ossimU8ImageData::setNormalizedFloat(), setNormalizedFloat(), ossimU8ImageData::setNull(), ossimU8ImageData::setValue(), ossimU8ImageData::unnormalizeInput(), ossimU8ImageData::validate(), ossimPdfWriter::writeJpegTile(), ossimPdfWriter::writeRawTile(), and ossimOpjCompressor::writeTile().
|
virtual |
Definition at line 273 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, and OSSIM_UINT8.
|
virtual |
band | (zero based) |
Definition at line 325 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, and OSSIM_UINT8.
|
virtual |
band | (zero based) |
Definition at line 377 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, and OSSIM_UINT8.
|
virtual |
Definition at line 230 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_UINT16, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, and OSSIM_USHORT15.
Referenced by ossimU11ImageData::computeAverageBandValue(), ossimU13ImageData::computeAverageBandValue(), ossimU15ImageData::computeAverageBandValue(), ossimU12ImageData::computeAverageBandValue(), ossimU14ImageData::computeAverageBandValue(), ossimU16ImageData::computeAverageBandValue(), ossimU15ImageData::computeMeanSquaredError(), ossimU11ImageData::computeMeanSquaredError(), ossimU13ImageData::computeMeanSquaredError(), ossimU12ImageData::computeMeanSquaredError(), ossimU14ImageData::computeMeanSquaredError(), ossimU16ImageData::computeMeanSquaredError(), ossimU15ImageData::convertToNormalizedDouble(), ossimU13ImageData::convertToNormalizedDouble(), ossimU12ImageData::convertToNormalizedDouble(), ossimU14ImageData::convertToNormalizedDouble(), ossimU11ImageData::convertToNormalizedDouble(), ossimU16ImageData::convertToNormalizedDouble(), ossimU15ImageData::convertToNormalizedFloat(), ossimU13ImageData::convertToNormalizedFloat(), ossimU12ImageData::convertToNormalizedFloat(), ossimU14ImageData::convertToNormalizedFloat(), ossimU11ImageData::convertToNormalizedFloat(), ossimU16ImageData::convertToNormalizedFloat(), ossimU14ImageData::copyNormalizedBufferToTile(), ossimU12ImageData::copyNormalizedBufferToTile(), ossimU15ImageData::copyNormalizedBufferToTile(), ossimU11ImageData::copyNormalizedBufferToTile(), ossimU13ImageData::copyNormalizedBufferToTile(), ossimU16ImageData::copyNormalizedBufferToTile(), ossimU12ImageData::copyTileToNormalizedBuffer(), ossimU15ImageData::copyTileToNormalizedBuffer(), ossimU11ImageData::copyTileToNormalizedBuffer(), ossimU13ImageData::copyTileToNormalizedBuffer(), ossimU14ImageData::copyTileToNormalizedBuffer(), ossimU16ImageData::copyTileToNormalizedBuffer(), ossimU11ImageData::fill(), ossimU12ImageData::fill(), ossimU15ImageData::fill(), ossimU13ImageData::fill(), ossimU14ImageData::fill(), ossimU16ImageData::fill(), fill(), ossimU15ImageData::getNormalizedFloat(), ossimU11ImageData::getNormalizedFloat(), ossimU13ImageData::getNormalizedFloat(), ossimU12ImageData::getNormalizedFloat(), ossimU14ImageData::getNormalizedFloat(), ossimU16ImageData::getNormalizedFloat(), getNormalizedFloat(), getPix(), ossimLinearStretchRemapper::getTile(), ossimLasReader::getTile(), ossimBandLutFilter::getTile(), ossimU12ImageData::isNull(), ossimU11ImageData::isNull(), ossimU13ImageData::isNull(), ossimU15ImageData::isNull(), ossimU14ImageData::isNull(), loadShortBand(), ossimU15ImageData::setNormalizedFloat(), ossimU13ImageData::setNormalizedFloat(), ossimU14ImageData::setNormalizedFloat(), ossimU12ImageData::setNormalizedFloat(), ossimU11ImageData::setNormalizedFloat(), ossimU16ImageData::setNormalizedFloat(), setNormalizedFloat(), ossimU13ImageData::setNull(), ossimU11ImageData::setNull(), ossimU14ImageData::setNull(), ossimU12ImageData::setNull(), ossimU15ImageData::setNull(), ossimU14ImageData::setValue(), ossimU11ImageData::setValue(), ossimU13ImageData::setValue(), ossimU12ImageData::setValue(), ossimU15ImageData::setValue(), ossimU16ImageData::setValue(), ossimU14ImageData::unnormalizeInput(), ossimU15ImageData::unnormalizeInput(), ossimU11ImageData::unnormalizeInput(), ossimU13ImageData::unnormalizeInput(), ossimU12ImageData::unnormalizeInput(), ossimU16ImageData::unnormalizeInput(), ossimU13ImageData::validate(), ossimU15ImageData::validate(), ossimU14ImageData::validate(), ossimU11ImageData::validate(), ossimU12ImageData::validate(), and ossimU16ImageData::validate().
|
virtual |
Definition at line 282 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_UINT16, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, and OSSIM_USHORT15.
|
virtual |
band | (zero based) |
Definition at line 334 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_UINT16, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, and OSSIM_USHORT15.
|
virtual |
band | (zero based) |
Definition at line 386 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::m_scalarType, OSSIM_UINT16, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, and OSSIM_USHORT15.
|
virtual |
Definition at line 7235 of file ossimImageData.cpp.
References ossimRectilinearDataObject::m_spatialExtents.
Referenced by ossimCastTileSourceFilter::allocate(), ossimGeneralRasterTileSource::allocateBuffer(), ossimTiffTileSource::allocateTile(), ossimCastTileSourceFilter::applyCast(), ossimEquationCombiner::applyClamp(), ossimMeanMedianFilter::applyMean(), ossimMeanMedianFilter::applyMeanNullCenterOnly(), ossimMeanMedianFilter::applyMedian(), ossimMeanMedianFilter::applyMedianNullCenterOnly(), ossimEquationCombiner::applyOp(), ossimEquationCombiner::assignValue(), ossimBandAverageFilter::averageInput(), ossimCastTileSourceFilter::castInputToOutput(), ossimPixelFlipper::clipTile(), ossimElevationMosaic::combine(), ossimImageMosaic::combine(), ossimMaxMosaic::combine(), ossimBlendMosaic::combine(), ossimFeatherMosaic::combine(), ossimElevationMosaic::combineNorm(), ossimImageMosaic::combineNorm(), ossimMaxMosaic::combineNorm(), ossimBlendMosaic::combineNorm(), ossimU8ImageData::computeAverageBandValue(), ossimBitMaskWriter::computeImageSize(), ossimBrightnessMatch::computeInputBrightness(), ossimIntensityAdjustmentFilter::computeMeanIntensity(), ossimS16ImageData::computeMeanSquaredError(), ossimU11ImageData::computeMeanSquaredError(), ossimU12ImageData::computeMeanSquaredError(), ossimU13ImageData::computeMeanSquaredError(), ossimU14ImageData::computeMeanSquaredError(), ossimU15ImageData::computeMeanSquaredError(), ossimU8ImageData::computeMeanSquaredError(), ossimU16ImageData::computeMeanSquaredError(), ossimImageToPlaneNormalFilter::computeNormalsTemplate(), ossimImageStatisticsSource::computeStatisticsTemplate(), ossimRgbToIndexFilter::convertInputTile(), ossimNBandToIndexFilter::convertInputTileToOutputTemplate(), ossimPotraceTool::convertToBitmap(), ATP::convertToIpl(), ossimS16ImageData::convertToNormalizedDouble(), ossimU11ImageData::convertToNormalizedDouble(), ossimU12ImageData::convertToNormalizedDouble(), ossimU13ImageData::convertToNormalizedDouble(), ossimU14ImageData::convertToNormalizedDouble(), ossimU15ImageData::convertToNormalizedDouble(), ossimU8ImageData::convertToNormalizedDouble(), ossimU16ImageData::convertToNormalizedDouble(), convertToNormalizedDouble(), ossimS16ImageData::convertToNormalizedFloat(), ossimU11ImageData::convertToNormalizedFloat(), ossimU13ImageData::convertToNormalizedFloat(), ossimU14ImageData::convertToNormalizedFloat(), ossimU15ImageData::convertToNormalizedFloat(), ossimU12ImageData::convertToNormalizedFloat(), ossimU8ImageData::convertToNormalizedFloat(), ossimU16ImageData::convertToNormalizedFloat(), convertToNormalizedFloat(), ossimNitfTileSource::convertTransparentToNull(), ossimConvolutionSource::convolve(), ossimTilePatch::convolve(), ossim3x3ConvolutionFilter::convolveFull(), ossimConvolutionFilter1D::convolveFull(), ossim3x3ConvolutionFilter::convolvePartial(), ossimConvolutionFilter1D::convolvePartial(), ossimImageDataHelper::copyInputToThis(), ATP::copyIplToOid(), copyNormalizedBufferToTile(), ossim::copyOpjSrgbImage(), copyTileBandToNormalizedBuffer(), copyTileToNormalizedBuffer(), createTestTile(), demo1(), ossimDespeckleFilter::despeckle(), ossimDilationFilter::doDilation(), ossimErosionFilter::doErosion(), ossimElevRemapper::elevRemap(), ossimPngCodec::encode(), ossimJpegCodec::encode(), ossimValueAssignImageSourceFilter::executeAssignGroup(), ossimValueAssignImageSourceFilter::executeAssignSeparate(), ossimMaskFilter::executeMaskFilter(), ossimMaskFilter::executeMaskFilterBinarySelection(), ossimMaskFilter::executeMaskFilterInvertSelection(), ossimMaskFilter::executeMaskFilterSelection(), ossimMaskFilter::executeMaskFilterWeighted(), ossimTopographicCorrectionFilter::executeTopographicCorrectionMinnaertTemplate(), ossimTopographicCorrectionFilter::executeTopographicCorrectionTemplate(), ossimNitfTileSource::explodePackedBits(), ossimImageDataHelper::fill(), ossimWatermarkFilter::fill(), fill(), ossimUsgsDemTileSource::fillBuffer(), ossimDtedTileSource::fillBuffer(), ossimTiledElevationDatabase::fillGrid(), ossimGeoPdfReader::fillTile(), ossimTilePatch::fillTileTemplate(), ossimCcfTileSource::fillUcharBuffer(), ossimCcfTileSource::fillUshortBuffer(), ossimNullPixelFlip::flipPixels(), getImageRectangle(), getSizePerBand(), getSizePerBandInBytes(), ossimHsvToRgbSource::getTile(), ossimIntensityAdjustmentFilter::getTile(), ossimJpegYCbCrToRgbSource::getTile(), ossimHsiToRgbSource::getTile(), ossimRgbToHsiSource::getTile(), ossimRgbToHsvSource::getTile(), ossimRgbToJpegYCbCrSource::getTile(), ossimColorNormalizedFusion::getTile(), ossimDespeckleFilter::getTile(), ossimFeatherMosaic::getTile(), ossimHistoMatchRemapper::getTile(), ossimElevationMosaic::getTile(), ossimImageMosaic::getTile(), ossimBandMergeSource::getTile(), ossimGammaRemapper::getTile(), ossimMaxMosaic::getTile(), ossimAOD::getTile(), ossimSFIMFusion::getTile(), ossimRectangleCutFilter::getTile(), ossimLinearStretchRemapper::getTile(), ossimLocalCorrelationFusion::getTile(), ossimConvolutionSource::getTile(), ossimElevImageSource::getTile(), ossimHsiRemapper::getTile(), ossimGdalTileSource::getTile(), ossimBandClipFilter::getTile(), ossimTopographicCorrectionFilter::getTile(), ossimBitMaskTileSource::getTile(), ossimBandLutFilter::getTile(), ossimBumpShadeTileSource::getTile(), ossimIndexToRgbLutFilter::getTile(), ossimEquationCombiner::getTile(), ossimElevImageSource::getTileWidth(), ossimJpegTileSource::getTileWidth(), ossimUsgsDemTileSource::getTileWidth(), ossimCcfTileSource::getTileWidth(), ossimAdrgTileSource::getTileWidth(), ossimGdalTileSource::getTileWidth(), ossimPngReader::getTileWidth(), ossimFeatherMosaic::initialize(), ossimGammaRemapper::initialize(), ossimAtCorrRemapper::initialize(), ossimRgbImage::initialize(), isEqualTo(), isNull(), loadBandTemplate(), ossimTiffTileSource::loadFromRgbaU8aStrip(), ossimTiffTileSource::loadFromRgbaU8Strip(), ossimGdalTileSource::loadIndexTo3BandTileTemplate(), ossimIntensityAdjustmentFilter::loadNormTile(), loadShortBand(), loadTile(), loadTileFromBilTemplate(), loadTileFromBipAlphaTemplate(), loadTileFromBipTemplate(), loadTileFromBsqTemplate(), ossimNitfTileSource::lutUncompress(), ossimTiledElevationDatabase::mapRegion(), newNormalizedDouble(), newNormalizedFloat(), nullTileAlphaTemplate(), ossimGeoidImage::offsetFromEllipsoidTemplate(), ATP::ossimCorrelationSource::OpenCVCorrelation(), ossimEquationCombiner::parseAssignBand(), ossimEquationCombiner::parseStdFuncs(), populateHistogram(), print(), ossimSICDToDetectedImage::processAmplitudeAngleTile(), ossimSICDToDetectedImage::processComplexTile(), ossimBrightnessContrastSource::processRgbTile(), ossimFilterResampler::resampleBilinearTile(), ossimResampler::resampleFullTile(), ossimResampler::resamplePartialTile(), ossimResampler::resampleTile(), ossimResampler::resampleTileNearestNeighbor(), ossimImageRenderer::resampleTileToDecimation(), ossimBandClipFilter::runClamp(), ossimBandClipFilter::runClip(), ossimHistogramEqualization::runEqualizationAlgorithm(), ossimFftw3Filter::runFft(), ossimFftFilter::runFft(), ossimEdgeFilter::runLaplacianFilter(), ossimBandClipFilter::runLinearStretch(), ossimMultiBandHistogramTileSource::runLinearStretchAlgorithm(), ossimEdgeFilter::runLocalMax8Filter(), ossimBandClipFilter::runMedianStretch(), ossimEdgeFilter::runPrewittFilter(), ossimEdgeFilter::runRobertsFilter(), ossimEdgeFilter::runSimpleFilter(), ossimEdgeFilter::runSobelFilter(), ossimHistogramThreshholdFilter::runThreshholdStretchAlgorithm(), ossimRgbToGreyFilter::runUcharTransformation(), setImageRectangle(), setImageRectangleAndBands(), setNull(), ossimTilePatch::setRect(), ossimGeoAnnotationBitmap::transform(), unloadBandTemplate(), unloadBandToBsqTemplate(), unloadTileToBilTemplate(), unloadTileToBipAlphaTemplate(), unloadTileToBipTemplate(), unloadTileToBsqTemplate(), ossimNitfTileSource::vqUncompressC4(), ossimNitfTileSource::vqUncompressM4(), write(), ossimNitf20Writer::writeBlockBandSeparate(), ossimNitfWriter::writeBlockBandSeparate(), ossimNitf20Writer::writeBlockBandSequential(), ossimNitfWriter::writeBlockBandSequential(), ossimPdfWriter::writeJpegTile(), ossimPdfWriter::writeRawTile(), and ossimKakaduCompressor::writeTile().
|
virtual |
Definition at line 7245 of file ossimImageData.cpp.
References ossimRectilinearDataObject::m_spatialExtents.
|
inlinevirtual |
Definition at line 1245 of file ossimImageData.h.
References m_alpha.
Referenced by unloadTileToBipAlphaTemplate().
|
inlineprotected |
Definition at line 1201 of file ossimImageData.h.
References ossimRectilinearDataObject::m_scalarType, and ossimRectilinearDataObject::m_spatialExtents.
|
virtual |
Initialize the data buffer.
Reimplemented from ossimRectilinearDataObject.
Definition at line 1352 of file ossimImageData.cpp.
References ossimRectilinearDataObject::initialize(), ossimRectilinearDataObject::m_dataBuffer, and makeBlank().
Referenced by ossimHsvToRgbSource::allocate(), ossimHsiToRgbSource::allocate(), ossimRgbToHsiSource::allocate(), ossimRgbToHsvSource::allocate(), ossimDespeckleFilter::allocate(), ossimHistogramEqualization::allocate(), ossimAOD::allocate(), ossimConvolutionSource::allocate(), ossimBandMergeSource::allocate(), ossimIntensityAdjustmentFilter::allocate(), ossim3x3ConvolutionFilter::allocate(), ossimElevationMosaic::allocate(), ossimSICDToDetectedImage::allocate(), ossimImageMosaic::allocate(), ossimRgbToGreyFilter::allocate(), ossimMaxMosaic::allocate(), ossimLinearStretchRemapper::allocate(), ossimCacheTileSource::allocate(), ATP::AtpTileSource::allocate(), ossimCastTileSourceFilter::allocate(), ossimTableRemapper::allocate(), ossimConvolutionFilter1D::allocate(), ossimValueAssignImageSourceFilter::allocate(), ossimShiftFilter::allocate(), ossimPolyCutter::allocate(), ossimRgbToIndexFilter::allocate(), ossimTwoColorView::allocate(), ossimMultiBandHistogramTileSource::allocate(), ossimBrightnessContrastSource::allocate(), ossimNBandToIndexFilter::allocate(), ossimAnnotationSource::allocate(), ossimKMeansFilter::allocate(), ossimScaleFilter::allocate(), ossimBandLutFilter::allocate(), ossimBandSelector::allocate(), ossimTopographicCorrectionFilter::allocate(), ossimIndexToRgbLutFilter::allocate(), ossimMaskFilter::allocate(), ossimJpegTileSource::allocate(), ossimHsiRemapper::allocate(), ossimDtedTileSource::allocate(), ossimWatermarkFilter::allocate(), ossimHdf5ImageHandler::allocate(), ossimOpjJp2Reader::allocate(), ossimGpkgReader::allocate(), ossimBumpShadeTileSource::allocate(), ossimPngReader::allocate(), ossimH5ImageHandler::allocate(), ossimImageRenderer::allocate(), ossimRpfCacheTileSource::allocateForProduct(), ossimCibCadrgTileSource::allocateForProduct(), ossimKakaduJpipHandler::allocateTile(), ossimTiledImagePatch::allocateTile(), ossimGeneralRasterTileSource::allocateTile(), ossimTiffTileSource::allocateTile(), ossimCastTileSourceFilter::applyCast(), ossimHlzTool::computeHLZ(), ossimBrightnessMatch::computeInputBrightness(), ossimViewshedTool::computeViewshed(), ossimTilePatch::convolve(), ossimRgbImage::createNewGrey(), ossimRgbImage::createNewTrueColor(), createTestTile(), ossimJpegCodec::decodeJpegToRgb(), demo2(), demo3(), ossimMaskFilter::executeMaskFilter(), ossimGeoPdfReader::fillTile(), ossimImageCombiner::getNextNormTile(), ossimFusionCombiner::getNormIntensity(), ossimFusionCombiner::getNormTile(), ossimHsvToRgbSource::getTile(), ossimDespeckleFilter::getTile(), ossimFeatherMosaic::getTile(), ossimElevationMosaic::getTile(), ossimImageMosaic::getTile(), ossimGammaRemapper::getTile(), ossimMaxMosaic::getTile(), ossimBandMergeSource::getTile(), ossimAOD::getTile(), ossimSFIMFusion::getTile(), ossimClosestToCenterCombiner::getTile(), ossimLocalCorrelationFusion::getTile(), ossimSlopeFilter::getTile(), ossimConvolutionSource::getTile(), ossimElevImageSource::getTile(), ossimMemoryImageSource::getTile(), ossimTiledImagePatch::getTile(), ossimBandClipFilter::getTile(), ossimTopographicCorrectionFilter::getTile(), ossimBitMaskTileSource::getTile(), ossimImageSourceSequencer::getTile(), ossimRangeDomeTileSource::getTile(), ossimTiffTileSource::getTile(), ossimBumpShadeTileSource::getTile(), ossimMaskFilter::getTile(), ossimEquationCombiner::getTile(), ossimKakaduJpipHandler::getTileAtRes(), ossimImageRenderer::getTileAtResLevel(), ossimGdalTileSource::getTileBlockRead(), ossimBlendMosaic::initialize(), ossimFftFilter::initialize(), ossimFeatherMosaic::initialize(), ossimFusionCombiner::initialize(), ossimImageMpiSWriterSequenceConnection::initialize(), ossimGammaRemapper::initialize(), ossimEdgeFilter::initialize(), ossimAtCorrRemapper::initialize(), ossimImageMpiMWriterSequenceConnection::initialize(), ossimImageToPlaneNormalFilter::initialize(), ossimImageSourceSequencer::initialize(), ossimVideoImageSource::initialize(), ossimBandAverageFilter::initialize(), ossimOverviewSequencer::initialize(), ossimEquationCombiner::initialize(), ossimNitfTileSource::initializeCacheTile(), ossimNitfTileSource::initializeOutputTile(), ossimKakaduJ2kReader::initializeTile(), ossimKakaduJp2Reader::initializeTile(), ossimPointCloudImageHandler::initTile(), ossimLasReader::initTile(), loadBandTemplate(), ossimIntensityAdjustmentFilter::loadNormTile(), loadShortBand(), ossimMemoryImageSource::loadState(), loadTile(), loadTileFromBilTemplate(), loadTileFromBipAlphaTemplate(), loadTileFromBipTemplate(), loadTileFromBsqTemplate(), newNormalizedDouble(), newNormalizedFloat(), nullTileAlphaTemplate(), ossimBitMaskTileSource::open(), ATP::ossimCorrelationSource::OpenCVCorrelation(), ossimBandClipFilter::ossimBandClipFilter(), ossimTilePatch::ossimTilePatch(), ossimEquationCombiner::parseStdFuncs(), ossimResampler::resampleTile(), ossimScaleFilter::runFilterTemplate(), ossimMemoryImageSource::setImage(), setImageRectangle(), setImageRectangleAndBands(), ossimGdalTileSource::setPreservePaletteIndexesFlag(), ossimTilePatch::setRect(), ossimPdfWriter::writeJpegTile(), and ossimPdfWriter::writeRawTile().
|
protectedvirtual |
initializeDefaults() Resizes and sets min/max/null arrays to number of bands and some default value for scalar type.
Definition at line 1540 of file ossimImageData.cpp.
References initializeMaxDefault(), initializeMinDefault(), and initializeNullDefault().
Referenced by assign(), loadState(), and ossimImageData().
|
protectedvirtual |
initializeMaxDefault() Resizes theMaxPixelValue array to number of bands and initializes to the default max for scalar type.
Definition at line 1564 of file ossimImageData.cpp.
References ossim::defaultMax(), ossimRectilinearDataObject::getScalarType(), m_maxPixelValue, and ossimRectilinearDataObject::m_numberOfDataComponents.
Referenced by initializeDefaults(), and setMaxPix().
|
protectedvirtual |
initializeMinDefault() Resizes theMinPixelValue array to number of bands and initializes to the default min for scalar type.
Definition at line 1547 of file ossimImageData.cpp.
References ossim::defaultMin(), ossimRectilinearDataObject::getScalarType(), m_minPixelValue, and ossimRectilinearDataObject::m_numberOfDataComponents.
Referenced by initializeDefaults(), and setMinPix().
|
protectedvirtual |
initializeNullDefault() Resizes theNullPixelValue array to number of bands and initializes to the default null for scalar type.
Definition at line 1581 of file ossimImageData.cpp.
References ossim::defaultNull(), ossimRectilinearDataObject::getScalarType(), m_nullPixelValue, and ossimRectilinearDataObject::m_numberOfDataComponents.
Referenced by initializeDefaults(), and setNullPix().
|
virtual |
Definition at line 1598 of file ossimImageData.cpp.
References getBuf(), getHeight(), getSizeInBytes(), getWidth(), m_maxPixelValue, m_minPixelValue, m_nullPixelValue, ossimRectilinearDataObject::m_numberOfDataComponents, m_origin, and ossimRectilinearDataObject::m_scalarType.
bool ossimImageData::isNull | ( | ossim_uint32 | offset | ) | const |
Definition at line 2009 of file ossimImageData.cpp.
References getBuf(), getNullPix(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by ossimBlendMosaic::combine(), ossimFeatherMosaic::combine(), ossimBlendMosaic::combineNorm(), ossimU16ImageData::computeAverageBandValue(), computeAverageBandValue(), ossimU16ImageData::computeMeanSquaredError(), computeMeanSquaredError(), ossimNBandToIndexFilter::convertInputTileToOutputTemplate(), ossimConvolutionSource::convolve(), ossimTilePatch::fillTileTemplate(), ossimClosestToCenterCombiner::findIdx(), ossimBitMaskWriter::generateMask(), isNull(), ossimResampler::resamplePartialTile(), ossimBandClipFilter::runLinearStretch(), and ossimBandClipFilter::runMedianStretch().
bool ossimImageData::isNull | ( | ossim_uint32 | offset, |
ossim_uint32 | band | ||
) | const |
Definition at line 2157 of file ossimImageData.cpp.
References getBuf(), getNullPix(), ossimRectilinearDataObject::getScalarType(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
bool ossimImageData::isNull | ( | const ossimIpt & | pt | ) | const |
Definition at line 2260 of file ossimImageData.cpp.
References getWidth(), isNull(), m_origin, ossimRectilinearDataObject::m_spatialExtents, ossimIpt::x, and ossimIpt::y.
bool ossimImageData::isNull | ( | const ossimIpt & | pt, |
ossim_uint32 | band | ||
) | const |
Definition at line 2274 of file ossimImageData.cpp.
References getWidth(), isNull(), m_origin, ossimRectilinearDataObject::m_spatialExtents, ossimIpt::x, and ossimIpt::y.
|
virtual |
Definition at line 4503 of file ossimImageData.cpp.
References m_origin, ossimRectilinearDataObject::m_spatialExtents, ossimIpt::x, and ossimIpt::y.
|
virtual |
Definition at line 4511 of file ossimImageData.cpp.
References m_origin, ossimRectilinearDataObject::m_spatialExtents, ossimIpt::x, x, ossimIpt::y, and y.
|
virtual |
Definition at line 136 of file ossimImageData.cpp.
References ossimRectilinearDataObject::getNumberOfDataComponents().
Referenced by assignBand(), getBuf(), ossimS16ImageData::getNormalizedFloat(), ossimU11ImageData::getNormalizedFloat(), ossimU15ImageData::getNormalizedFloat(), ossimU12ImageData::getNormalizedFloat(), ossimU13ImageData::getNormalizedFloat(), ossimU14ImageData::getNormalizedFloat(), ossimU8ImageData::getNormalizedFloat(), ossimU16ImageData::getNormalizedFloat(), loadBandTemplate(), loadShortBand(), ossimS16ImageData::setNormalizedFloat(), ossimU13ImageData::setNormalizedFloat(), ossimU12ImageData::setNormalizedFloat(), ossimU11ImageData::setNormalizedFloat(), ossimU15ImageData::setNormalizedFloat(), ossimU14ImageData::setNormalizedFloat(), ossimU16ImageData::setNormalizedFloat(), and unloadBandTemplate().
|
virtual |
Definition at line 1415 of file ossimImageData.cpp.
References m_origin, ossimRectilinearDataObject::m_spatialExtents, ossimIpt::x, x, ossimIpt::y, and y.
Referenced by ossimS16ImageData::setValue(), ossimU12ImageData::setValue(), ossimU13ImageData::setValue(), ossimU15ImageData::setValue(), ossimU14ImageData::setValue(), ossimU11ImageData::setValue(), ossimU8ImageData::setValue(), ossimU16ImageData::setValue(), and setValue().
|
virtual |
Definition at line 2842 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), loadBandTemplate(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, and ossimSetError().
Referenced by demo3(), ossimAdrgTileSource::fillBuffer(), ossimMapCompositionSource::getTile(), ossimGdalTileSource::getTile(), ossimHdf5ImageHandler::getTile(), ossimH5ImageHandler::getTile(), ossimMrSidReader::getTile(), ossimMG4LidarReader::getTile(), ossimGdalTileSource::getTileBlockRead(), loadTileFrom1Band(), and ossimGeoPdfReader::resetCacheBuffer().
|
virtual |
Definition at line 2900 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), loadBandTemplate(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, and ossimSetError().
|
protected |
Definition at line 2959 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), and getImageRectangle().
Referenced by loadBand().
|
protected |
Definition at line 2973 of file ossimImageData.cpp.
References ossimIrect::completely_within(), getBuf(), ossimObject::getClassName(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getWidth(), ossimIrect::height(), initialize(), ossimIrect::intersects(), isValidBand(), ossimErrorCodes::OSSIM_ERROR, OSSIM_NULL, ossimSetError(), ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
|
virtual |
Specialized to load a tile from a short (16 bit scalar type) buffer.
Performs byte swapping if swap_bytes is set to true.
Definition at line 4423 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), ossimObject::getClassName(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getUshortBuf(), getWidth(), initialize(), ossimIrect::intersects(), isValidBand(), ossimIrect::lr(), ossimErrorCodes::OSSIM_ERROR, OSSIM_NULL, ossimSetError(), ossimIrect::ul(), validate(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
|
virtual |
Method to the load (recreate) the state of the object from a keyword list. Return true if ok or false on error.
Reimplemented from ossimRectilinearDataObject.
Definition at line 7468 of file ossimImageData.cpp.
References ossimString::empty(), ossimKeywordlist::find(), initializeDefaults(), ossimRectilinearDataObject::loadState(), m_alpha, m_indexedFlag, m_maxPixelValue, m_minPixelValue, m_nullPixelValue, m_origin, ossimRectilinearDataObject::m_spatialExtents, setImageRectangle(), ossimRectilinearDataObject::setNumberOfDataComponents(), ossimString::toBool(), ossimIpt::toPoint(), ossimIrect::toRect(), ossim::toSimpleVector(), and ossimString::toUInt32().
Referenced by ossimMemoryImageSource::loadState().
|
virtual |
Definition at line 3162 of file ossimImageData.cpp.
References ossimObject::getClassName(), loadTileFromBil(), loadTileFromBip(), loadTileFromBsq(), OSSIM_BIL, OSSIM_BIP, OSSIM_BSQ, ossimErrorCodes::OSSIM_ERROR, ossimNotify(), ossimNotifyLevel_WARN, and ossimSetError().
Referenced by ossimMeanMedianFilter::applyMeanNullCenterOnly(), ossimMeanMedianFilter::applyMedianNullCenterOnly(), ossimPixelFlipper::clipTile(), ossimTilePatch::convolve(), demo3(), ossimDilationFilter::doDilation(), ossimErosionFilter::doErosion(), ossimMaskFilter::executeMaskFilter(), ossimTilePatch::fillPatch(), ossimRpfCacheTileSource::fillSubTileCadrg(), ossimCibCadrgTileSource::fillSubTileCadrg(), ossimRpfCacheTileSource::fillSubTileCib(), ossimCibCadrgTileSource::fillSubTileCib(), ossimTilePatch::fillTile(), ossimCacheTileSource::fillTile(), ossimImageCacheTileSource::fillTile(), ossimGeoPdfReader::fillTile(), ossimDespeckleFilter::getTile(), ossimMultiBandHistogramTileSource::getTile(), ossimFftFilter::getTile(), ossimPolyCutter::getTile(), ossimSFIMFusion::getTile(), ossimLocalCorrelationFusion::getTile(), ossimAnnotationSource::getTile(), ossimConvolutionSource::getTile(), ossimMemoryImageSource::getTile(), ossimValueAssignImageSourceFilter::getTile(), ossimSubImageTileSource::getTile(), ossimImageSource::getTile(), ossimTiledImagePatch::getTile(), ossimHdfReader::getTile(), ossimWatermarkFilter::getTile(), ossimImageSourceSequencer::getTile(), ossimKakaduJ2kReader::getTile(), ossimKakaduJp2Reader::getTile(), ossimLasReader::getTile(), ossimTiledImageHandler::getTile(), ossimNitfTileSource::getTile(), ossimKakaduJpipHandler::getTileAtRes(), ossimGdalTileSource::getTileBlockRead(), ossimNitfTileSource::loadBlockFromCache(), ossimTiffTileSource::loadFromScanLine(), ossimTiffTileSource::loadFromTile(), ossimNitfTileSource::loadTile(), loadTile(), ossimKakaduJp2Reader::loadTileFromCache(), ossimKakaduJ2kReader::loadTileFromCache(), ossimGeoPdfReader::resetCacheBuffer(), and ossimScaleFilter::runFilterTemplate().
|
virtual |
Definition at line 3221 of file ossimImageData.cpp.
References ossimObject::getClassName(), loadTileFromBil(), loadTileFromBip(), loadTileFromBsq(), OSSIM_BIL, OSSIM_BIP, OSSIM_BSQ, ossimErrorCodes::OSSIM_ERROR, ossimNotify(), ossimNotifyLevel_WARN, and ossimSetError().
|
virtual |
Will load a tile of different types.
If they are the same then it will call loadTile(void*...) method. Note if they are of different types we will have to go through a much slower assign process by normalizing the right side and then unnormalizing to the destination type. For this method to work they both must have the same number of bands.
Definition at line 3055 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), getBuf(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getNormalizedFloat(), getNullPix(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), getWidth(), ossimIrect::height(), initialize(), ossimIrect::intersects(), loadTile(), OSSIM_BSQ, OSSIM_NULL, ossimNotify(), ossimNotifyLevel_WARN, ossimDataObject::setDataObjectStatus(), setNormalizedFloat(), setNullPix(), ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
|
virtual |
Definition at line 4416 of file ossimImageData.cpp.
References getBuf(), and getImageRectangle().
|
virtual |
Definition at line 4406 of file ossimImageData.cpp.
References getNumberOfBands(), and loadBand().
|
protected |
Definition at line 3492 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), loadTileFromBilTemplate(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, and ossimSetError().
Referenced by loadTile().
|
protected |
Definition at line 3548 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), loadTileFromBilTemplate(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, and ossimSetError().
|
protected |
Definition at line 4222 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), and getImageRectangle().
Referenced by loadTileFromBil().
|
protected |
Definition at line 4235 of file ossimImageData.cpp.
References ossimIrect::completely_within(), getBuf(), ossimObject::getClassName(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getNumberOfBands(), getWidth(), ossimIrect::height(), initialize(), ossimIrect::intersects(), ossimIrect::lr(), ossimErrorCodes::OSSIM_ERROR, OSSIM_NULL, ossimSetError(), ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
|
protected |
Definition at line 3323 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), loadTileFromBipTemplate(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, and ossimSetError().
Referenced by loadTile().
|
protected |
Definition at line 3435 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), loadTileFromBipTemplate(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, and ossimSetError().
|
protected |
Definition at line 3379 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), loadTileFromBipAlphaTemplate(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, and ossimSetError().
Referenced by loadTileWithAlpha().
|
protected |
Definition at line 4037 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), and getImageRectangle().
Referenced by loadTileFromBipAlpha().
|
protected |
Definition at line 4136 of file ossimImageData.cpp.
References ossimIrect::completely_within(), getBuf(), ossimObject::getClassName(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getNumberOfBands(), getWidth(), ossimIrect::height(), initialize(), ossimIrect::intersects(), ossimErrorCodes::OSSIM_ERROR, OSSIM_NULL, ossimSetError(), ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
|
protected |
Definition at line 4025 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), and getImageRectangle().
Referenced by loadTileFromBip().
|
protected |
Definition at line 4050 of file ossimImageData.cpp.
References ossimIrect::completely_within(), getBuf(), ossimObject::getClassName(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getNumberOfBands(), getWidth(), ossimIrect::height(), initialize(), ossimIrect::intersects(), ossimErrorCodes::OSSIM_ERROR, OSSIM_NULL, ossimSetError(), ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
|
protected |
Definition at line 3605 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), loadTileFromBsqTemplate(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, and ossimSetError().
Referenced by loadTile().
|
protected |
Definition at line 3661 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), loadTileFromBsqTemplate(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, and ossimSetError().
|
protected |
Definition at line 4318 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), and getImageRectangle().
Referenced by loadTileFromBsq().
|
protected |
Definition at line 4331 of file ossimImageData.cpp.
References ossimIrect::completely_within(), getBuf(), ossimObject::getClassName(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getNumberOfBands(), getWidth(), ossimIrect::height(), initialize(), ossimIrect::intersects(), ossimErrorCodes::OSSIM_ERROR, OSSIM_NULL, ossimSetError(), ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
|
virtual |
Definition at line 3191 of file ossimImageData.cpp.
References ossimObject::getClassName(), loadTileFromBipAlpha(), OSSIM_BIP, ossimErrorCodes::OSSIM_ERROR, ossimNotify(), ossimNotifyLevel_WARN, and ossimSetError().
|
virtual |
Initializes data to null pixel values.
Definition at line 1251 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimDataObject::getDataObjectStatus(), ossimRectilinearDataObject::getScalarType(), ossimRectilinearDataObject::m_dataBuffer, OSSIM_EMPTY, ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_STATUS_UNKNOWN, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimSetError(), and ossimDataObject::setDataObjectStatus().
Referenced by ossimCastTileSourceFilter::applyCast(), ossimPixelFlipper::clipTile(), ossimBlendMosaic::combineNorm(), ossim::copyRegionToTile(), ossimMaskFilter::executeMaskFilterInvertSelection(), ossimMaskFilter::executeMaskFilterSelection(), ossimMaskFilter::executeMaskFilterWeighted(), ossimTilePatch::fillPatch(), ossimCacheTileSource::fillTile(), ossimTilePatch::fillTile(), ossimImageCacheTileSource::fillTile(), ossimJpegTileSource::fillTile(), ossimOverviewSequencer::getNextTile(), ossimHsvToRgbSource::getTile(), ossimBlendMosaic::getTile(), ossimDespeckleFilter::getTile(), ossim3x3ConvolutionFilter::getTile(), ossimFeatherMosaic::getTile(), ossimImageMosaic::getTile(), ossimElevationMosaic::getTile(), ossimBandMergeSource::getTile(), ossimGammaRemapper::getTile(), ossimMaxMosaic::getTile(), ossimPolyCutter::getTile(), ossimSFIMFusion::getTile(), ossimClosestToCenterCombiner::getTile(), ossimBandSelector::getTile(), ossimTwoColorView::getTile(), ossimMapCompositionSource::getTile(), ossimShiftFilter::getTile(), ossimLinearStretchRemapper::getTile(), ossimLocalCorrelationFusion::getTile(), ossimUsgsDemTileSource::getTile(), ossimAnnotationSource::getTile(), ossimJpegTileSource::getTile(), ossimConvolutionSource::getTile(), ossimTiledImagePatch::getTile(), ossimBandAverageFilter::getTile(), ossimElevImageSource::getTile(), ossimScaleFilter::getTile(), ossimHsiRemapper::getTile(), ossimNBandToIndexFilter::getTile(), ossimGpkgReader::getTile(), ossimMemoryImageSource::getTile(), ossimHdf5ImageHandler::getTile(), ossimValueAssignImageSourceFilter::getTile(), ossimCcfTileSource::getTile(), ossimRgbToIndexFilter::getTile(), ossimDtedTileSource::getTile(), ossimConvolutionFilter1D::getTile(), ossimSubImageTileSource::getTile(), ossimPngReader::getTile(), ossimH5ImageHandler::getTile(), ossimHistogramRemapper::getTile(), ossimOpjJp2Reader::getTile(), ossimGdalTileSource::getTile(), ossimKMeansFilter::getTile(), ossimAdrgTileSource::getTile(), ossimHdfReader::getTile(), ossimTopographicCorrectionFilter::getTile(), ossimBitMaskTileSource::getTile(), ossimPointCloudImageHandler::getTile(), ossimWatermarkFilter::getTile(), ossimMrSidReader::getTile(), ossimMG4LidarReader::getTile(), ossimLasReader::getTile(), ossimTiffTileSource::getTile(), ossimImageSourceSequencer::getTile(), ossimGeoPdfReader::getTile(), ossimImageCacheTileSource::getTile(), ossimRpfCacheTileSource::getTile(), ossimKakaduJ2kReader::getTile(), ossimKakaduJp2Reader::getTile(), ossimTiledImageHandler::getTile(), ossimNitfTileSource::getTile(), ossimCibCadrgTileSource::getTile(), ossimBandLutFilter::getTile(), ossimIndexToRgbLutFilter::getTile(), ossimBumpShadeTileSource::getTile(), ossimEquationCombiner::getTile(), ossimKakaduJpipHandler::getTileAtRes(), ossimImageRenderer::getTileAtResLevel(), ossimGdalTileSource::getTileBlockRead(), initialize(), ossimGeoPdfReader::resetCacheBuffer(), ossimEdgeFilter::runFilter(), and ossimKakaduNitfReader::setNullPixelValue().
|
protected |
Templated makeBlank method.
Definition at line 1323 of file ossimImageData.cpp.
References getBuf(), getNumberOfBands(), getSizePerBand(), getSizePerBandInBytes(), m_nullPixelValue, OSSIM_EMPTY, and ossimDataObject::setDataObjectStatus().
|
virtual |
Will take this tile and normalize it to a newly allocated double point tile.
Definition at line 679 of file ossimImageData.cpp.
References convertToNormalizedDouble(), getHeight(), getNumberOfBands(), getWidth(), initialize(), OSSIM_NORMALIZED_DOUBLE, and ossimImageData().
|
virtual |
Will take this tile and normalize it to a newly allocated floating point tile.
Definition at line 641 of file ossimImageData.cpp.
References convertToNormalizedFloat(), ossimRefPtr< T >::get(), getHeight(), getNumberOfBands(), getWidth(), initialize(), OSSIM_NORMALIZED_FLOAT, and ossimImageData().
|
virtual |
Definition at line 3252 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), and getImageRectangle().
Referenced by ossimGdalTileSource::getTile().
|
virtual |
Definition at line 3264 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), nullTileAlphaTemplate(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, and ossimSetError().
|
protected |
Definition at line 5417 of file ossimImageData.cpp.
References ossimIrect::completely_within(), getBuf(), ossimObject::getClassName(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getMinPix(), getNullPix(), getNumberOfBands(), getWidth(), ossimIrect::height(), initialize(), ossimIrect::intersects(), ossimErrorCodes::OSSIM_ERROR, OSSIM_NULL, ossimSetError(), ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
Referenced by nullTileAlpha().
|
virtual |
assignment operator=
rhs | The data to assign from. |
A | reference to this object. |
Definition at line 114 of file ossimImageData.cpp.
References m_alpha, m_indexedFlag, m_maxPixelValue, m_minPixelValue, m_nullPixelValue, m_origin, and ossimRectilinearDataObject::operator=().
|
inline |
Returns the percentage (0-100) of data buffer containing non-null (valid) entries.
Undefined until validate() is called.
Definition at line 922 of file ossimImageData.h.
|
virtual |
Definition at line 852 of file ossimImageData.cpp.
References DBL_EPSILON, FLT_EPSILON, getBuf(), ossimHistogram::GetCounts(), ossimDataObject::getDataObjectStatus(), getHeight(), ossimMultiBandHistogram::getHistogram(), getNullPix(), getNumberOfBands(), ossimHistogram::GetRes(), ossimRectilinearDataObject::getScalarType(), getWidth(), OSSIM_EMPTY, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), ossimNotifyLevel_WARN, ossimHistogram::UpCount(), and ossimRefPtr< T >::valid().
Referenced by ossimImageHistogramSource::computeFastModeHistogram(), ossimHistogramRemapper::computeHistogram(), ossimImageHistogramSource::computeNormalModeHistogram(), and ossimImageSourceSequencer::getTile().
|
virtual |
Generic print method.
Derived classes should re-implement as they see fit.
Reimplemented from ossimRectilinearDataObject.
Definition at line 6934 of file ossimImageData.cpp.
References ossimObject::getClassName(), getHeight(), getImageRectangle(), getNumberOfBands(), getWidth(), m_alpha, m_indexedFlag, m_maxPixelValue, m_minPixelValue, m_nullPixelValue, m_origin, and ossimRectilinearDataObject::print().
|
virtual |
Method to save the state of the object to a keyword list. Return true if ok or false on error.
Reimplemented from ossimRectilinearDataObject.
Definition at line 7445 of file ossimImageData.cpp.
References ossimKeywordlist::add(), m_alpha, m_indexedFlag, m_maxPixelValue, m_minPixelValue, m_nullPixelValue, m_origin, ossimRectilinearDataObject::saveState(), ossim::toSimpleStringList(), and ossimIpt::toString().
Referenced by ossimMemoryImageSource::saveState().
|
virtual |
Definition at line 7256 of file ossimImageData.cpp.
References ossimRectilinearDataObject::m_spatialExtents.
Referenced by ossimTilePatch::convolve(), ossimDespeckleFilter::getTile(), ossimFeatherMosaic::getTile(), ossimElevationMosaic::getTile(), ossimImageMosaic::getTile(), ossimMaxMosaic::getTile(), ossimBandMergeSource::getTile(), ossimConvolutionSource::getTile(), ossimElevImageSource::getTile(), ossimTopographicCorrectionFilter::getTile(), ossimVideoImageSource::initialize(), and ossimTilePatch::setRect().
|
virtual |
Definition at line 7548 of file ossimImageData.cpp.
References m_histogram.
|
virtual |
Definition at line 2701 of file ossimImageData.cpp.
References getHeight(), getWidth(), ossimIrect::hasNans(), ossimIrect::height(), initialize(), OSSIM_NULL, setOrigin(), setWidthHeight(), ossimDataObject::theDataObjectStatus, ossimIrect::ul(), and ossimIrect::width().
Referenced by ossimTableRemapper::allocate(), ossimJpegTileSource::allocate(), ossimPngReader::allocate(), ossimPixelFlipper::allocateClipTileBuffer(), ossimPixelFlipper::clipTile(), ossimHlzTool::computeHLZ(), ossimBrightnessMatch::computeInputBrightness(), ossimViewshedTool::computeViewshed(), demo2(), demo3(), ossimCacheTileSource::fillTile(), ossimImageCacheTileSource::fillTile(), ossimMpiMasterOverviewSequencer::getNextTile(), ossimImageSourceSequencer::getNextTile(), ossimOverviewSequencer::getNextTile(), ossimKakaduJp2Reader::getOverviewTile(), ossimIntensityAdjustmentFilter::getTile(), ossimHsiToRgbSource::getTile(), ossimRgbToHsiSource::getTile(), ossimRgbToHsvSource::getTile(), ossimImageToPlaneNormalFilter::getTile(), ossimBlendMosaic::getTile(), ossimErosionFilter::getTile(), ossimMultiBandHistogramTileSource::getTile(), ossimFftFilter::getTile(), ossimDilationFilter::getTile(), ossimSICDToDetectedImage::getTile(), ossim3x3ConvolutionFilter::getTile(), ossimFeatherMosaic::getTile(), ATP::ossimCorrelationSource::getTile(), ATP::ossimDescriptorSource::getTile(), ossimRgbToGreyFilter::getTile(), ossimBrightnessContrastSource::getTile(), ossimPolyCutter::getTile(), ossimSFIMFusion::getTile(), ossimClosestToCenterCombiner::getTile(), ossimBandSelector::getTile(), ossimTwoColorView::getTile(), ossimMapCompositionSource::getTile(), ossimTableRemapper::getTile(), ossimShiftFilter::getTile(), ossimLinearStretchRemapper::getTile(), ossimLocalCorrelationFusion::getTile(), ossimUsgsDemTileSource::getTile(), ossimJpegTileSource::getTile(), ossimSlopeFilter::getTile(), ossimTiledImagePatch::getTile(), ossimBandAverageFilter::getTile(), ossimHsiRemapper::getTile(), ossimScaleFilter::getTile(), ossimMemoryImageSource::getTile(), ossimNBandToIndexFilter::getTile(), ossimGpkgReader::getTile(), ossimHdf5ImageHandler::getTile(), ossimValueAssignImageSourceFilter::getTile(), ossimCcfTileSource::getTile(), ossimRgbToIndexFilter::getTile(), ossimMeanMedianFilter::getTile(), ossimDtedTileSource::getTile(), ossimConvolutionFilter1D::getTile(), ossimPngReader::getTile(), ossimSubImageTileSource::getTile(), ossimH5ImageHandler::getTile(), ossimHistogramRemapper::getTile(), ossimOpjJp2Reader::getTile(), ossimGdalTileSource::getTile(), ossimKMeansFilter::getTile(), ossimAdrgTileSource::getTile(), ossimImageCacheTileSource::getTile(), ossimHdfReader::getTile(), ossimBitMaskTileSource::getTile(), ossimPointCloudImageHandler::getTile(), ossimWatermarkFilter::getTile(), ossimMG4LidarReader::getTile(), ossimMrSidReader::getTile(), ossimLasReader::getTile(), ossimTiffTileSource::getTile(), ossimImageSourceSequencer::getTile(), ossimGeoPdfReader::getTile(), ossimKakaduJ2kReader::getTile(), ossimRpfCacheTileSource::getTile(), ossimRangeDomeTileSource::getTile(), ossimKakaduJp2Reader::getTile(), ossimTiledImageHandler::getTile(), ossimNitfTileSource::getTile(), ossimCibCadrgTileSource::getTile(), ossimBandLutFilter::getTile(), ossimBumpShadeTileSource::getTile(), ossimIndexToRgbLutFilter::getTile(), ossimMaskFilter::getTile(), ossimEquationCombiner::getTile(), ossimKakaduJpipHandler::getTileAtRes(), ossimImageRenderer::getTileAtResLevel(), ossimGdalTileSource::getTileBlockRead(), ossimViewshedTool::initProcessingChain(), ossimKakaduNitfReader::loadBlock(), ossimIntensityAdjustmentFilter::loadNormTile(), loadState(), ossimKakaduJp2Reader::loadTile(), ossimKakaduJ2kReader::loadTile(), ossimGeoPdfReader::resetCacheBuffer(), ossimMultiThreadSequencer::ossimGetTileJob::run(), and ossimMemoryImageSource::setRect().
|
virtual |
Definition at line 2675 of file ossimImageData.cpp.
References getHeight(), getNumberOfBands(), getWidth(), ossimIrect::hasNans(), ossimIrect::height(), initialize(), OSSIM_NULL, setNumberOfBands(), setOrigin(), setWidthHeight(), ossimDataObject::theDataObjectStatus, ossimIrect::ul(), and ossimIrect::width().
Referenced by ossimJpegCodec::decodeJpegToRgb(), ossimImageCombiner::getNextNormTile(), ossimFusionCombiner::getNormIntensity(), ossimFusionCombiner::getNormTile(), ossimColorNormalizedFusion::getTile(), ossimHistogramEqualization::getTile(), ossimErosionFilter::getTile(), ossimDilationFilter::getTile(), ossimEdgeFilter::getTile(), ossimClosestToCenterCombiner::getTile(), ossimAnnotationSource::getTile(), and ossimMeanMedianFilter::getTile().
void ossimImageData::setIndexedFlag | ( | bool | flag | ) |
Sets the indexed flag.
This indicates the data contains palette indexes. Default is false.
flag | If true data is indexed. |
Definition at line 7435 of file ossimImageData.cpp.
References m_indexedFlag.
Referenced by ossimGdalTileSource::setPreservePaletteIndexesFlag().
|
virtual |
Definition at line 2582 of file ossimImageData.cpp.
References m_maxPixelValue, and ossimRectilinearDataObject::m_numberOfDataComponents.
Referenced by ossimKMeansFilter::allocate(), ossimBandLutFilter::allocate(), ossimKakaduNitfReader::allocateBuffers(), ossimGeneralRasterTileSource::allocateTile(), ossimImageDataFactory::create(), ossimTilePatch::fillTile(), ossimEquationCombiner::getImageData(), ossimElevImageSource::getTile(), ossimUsgsDemTileSource::getTile(), ossimBandLutFilter::getTile(), ossimPointCloudImageHandler::initTile(), ossimLasReader::initTile(), ossimEquationCombiner::parseStdFuncs(), ossimKakaduNitfReader::setMaxPixelValue(), and ossimElevImageSource::setMaxPixelValue().
|
virtual |
Definition at line 2595 of file ossimImageData.cpp.
References initializeMaxDefault(), m_maxPixelValue, and ossimRectilinearDataObject::m_numberOfDataComponents.
|
virtual |
Definition at line 2608 of file ossimImageData.cpp.
References initializeMaxDefault(), m_maxPixelValue, and ossimRectilinearDataObject::m_numberOfDataComponents.
|
virtual |
Definition at line 2535 of file ossimImageData.cpp.
References m_minPixelValue, and ossimRectilinearDataObject::m_numberOfDataComponents.
Referenced by ossimTableRemapper::allocate(), ossimKMeansFilter::allocate(), ossimBandLutFilter::allocate(), ossimKakaduNitfReader::allocateBuffers(), ossimGeneralRasterTileSource::allocateTile(), ossimImageDataFactory::create(), ossimTilePatch::fillTile(), ossimEquationCombiner::getImageData(), ossimElevImageSource::getTile(), ossimUsgsDemTileSource::getTile(), ossimBandLutFilter::getTile(), ossimPointCloudImageHandler::initTile(), ossimLasReader::initTile(), ossimEquationCombiner::parseStdFuncs(), ossimKakaduNitfReader::setMinPixelValue(), and ossimElevImageSource::setMinPixelValue().
|
virtual |
Definition at line 2548 of file ossimImageData.cpp.
References initializeMinDefault(), m_minPixelValue, and ossimRectilinearDataObject::m_numberOfDataComponents.
|
virtual |
Definition at line 2561 of file ossimImageData.cpp.
References initializeMinDefault(), m_minPixelValue, and ossimRectilinearDataObject::m_numberOfDataComponents.
|
virtual |
This will assign to this object a normalized value by unnormalizing to its native type.
Reimplemented in ossimU16ImageData, ossimU8ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, and ossimS16ImageData.
Definition at line 524 of file ossimImageData.cpp.
References getBuf(), ossimDataObject::getDataObjectStatus(), getDoubleBuf(), getFloatBuf(), ossimRectilinearDataObject::getNumberOfDataComponents(), ossimRectilinearDataObject::getScalarType(), getSshortBuf(), getUcharBuf(), getUshortBuf(), m_maxPixelValue, m_minPixelValue, m_nullPixelValue, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by loadTile().
void ossimImageData::setNull | ( | ossim_uint32 | offset | ) |
Definition at line 2288 of file ossimImageData.cpp.
References getBuf(), getNullPix(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
Referenced by ossimPixelFlipper::clipTile(), ossimConvolutionSource::convolve(), ossimTilePatch::fillTileTemplate(), ossimRectangleCutFilter::getTile(), and setNull().
void ossimImageData::setNull | ( | ossim_uint32 | offset, |
ossim_uint32 | band | ||
) |
Definition at line 2388 of file ossimImageData.cpp.
References getBuf(), getNullPix(), ossimRectilinearDataObject::getScalarType(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), and ossimNotifyLevel_WARN.
void ossimImageData::setNull | ( | const ossimIpt & | pt | ) |
Definition at line 2458 of file ossimImageData.cpp.
References getWidth(), m_origin, ossimRectilinearDataObject::m_spatialExtents, setNull(), ossimIpt::x, and ossimIpt::y.
void ossimImageData::setNull | ( | const ossimIpt & | pt, |
ossim_uint32 | band | ||
) |
Definition at line 2473 of file ossimImageData.cpp.
References getWidth(), m_origin, ossimRectilinearDataObject::m_spatialExtents, setNull(), ossimIpt::x, and ossimIpt::y.
|
virtual |
Definition at line 2488 of file ossimImageData.cpp.
References m_nullPixelValue, and ossimRectilinearDataObject::m_numberOfDataComponents.
Referenced by ossimKakaduNitfReader::allocateBuffers(), ossimGeneralRasterTileSource::allocateTile(), ossimImageDataFactory::create(), ossimTilePatch::fillTile(), ossimUsgsDemTileSource::getTile(), ossimPointCloudImageHandler::getTile(), ossimPointCloudImageHandler::initTile(), ossimLasReader::initTile(), loadTile(), ossimEquationCombiner::parseStdFuncs(), and ossimKakaduNitfReader::setNullPixelValue().
|
virtual |
Definition at line 2501 of file ossimImageData.cpp.
References initializeNullDefault(), m_nullPixelValue, and ossimRectilinearDataObject::m_numberOfDataComponents.
|
virtual |
Definition at line 2514 of file ossimImageData.cpp.
References initializeNullDefault(), m_nullPixelValue, and ossimRectilinearDataObject::m_numberOfDataComponents.
|
virtual |
Definition at line 2630 of file ossimImageData.cpp.
References getNumberOfBands(), ossimRectilinearDataObject::initialize(), m_maxPixelValue, m_minPixelValue, m_nullPixelValue, ossim::min(), and ossimRectilinearDataObject::setNumberOfDataComponents().
Referenced by setImageRectangleAndBands().
|
virtual |
Definition at line 7267 of file ossimImageData.cpp.
References m_origin.
Referenced by ossimCastTileSourceFilter::allocate(), ossimCastTileSourceFilter::applyCast(), ossimTilePatch::convolve(), ossimMaskFilter::executeMaskFilter(), ossimWatermarkFilter::getCenterRect(), ossimWatermarkFilter::getLowerCenterRect(), ossimWatermarkFilter::getLowerLeftRect(), ossimWatermarkFilter::getLowerRightRect(), ossimImageMpiMWriterSequenceConnection::getNextTile(), ossimHsvToRgbSource::getTile(), ossimJpegYCbCrToRgbSource::getTile(), ossimRgbToJpegYCbCrSource::getTile(), ossimDespeckleFilter::getTile(), ossimFeatherMosaic::getTile(), ossimHistoMatchRemapper::getTile(), ossimImageMosaic::getTile(), ossimElevationMosaic::getTile(), ossimGammaRemapper::getTile(), ossimMaxMosaic::getTile(), ossimBandMergeSource::getTile(), ossimAOD::getTile(), ossimConvolutionSource::getTile(), ossimElevImageSource::getTile(), ossimSubImageTileSource::getTile(), ossimTopographicCorrectionFilter::getTile(), ossimMaskFilter::getTile(), ossimWatermarkFilter::getUniformDenseRects(), ossimWatermarkFilter::getUniformSparceRects(), ossimWatermarkFilter::getUpperCenterRect(), ossimWatermarkFilter::getUpperLeftRect(), ossimWatermarkFilter::getUpperRightRect(), ossimEquationCombiner::parseStdFuncs(), ossimResampler::resampleTile(), ossimScaleFilter::runFilterTemplate(), setImageRectangle(), setImageRectangleAndBands(), ossimTilePatch::setRect(), ossimGeoAnnotationBitmap::transform(), ossimPdfWriter::writeJpegTile(), and ossimPdfWriter::writeRawTile().
|
virtual |
Reimplemented in ossimU8ImageData, and ossimS16ImageData.
Definition at line 1424 of file ossimImageData.cpp.
References getBuf(), ossimRectilinearDataObject::getScalarType(), isWithin(), ossimRectilinearDataObject::m_dataBuffer, ossimRectilinearDataObject::m_numberOfDataComponents, m_origin, ossimRectilinearDataObject::m_spatialExtents, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimNotify(), ossimNotifyLevel_WARN, ossimIpt::x, x, ossimIpt::y, and y.
Referenced by RadialProcessor::doRadial(), ossimPointCloudUtilityFilter::getTile(), ossimRangeDomeTileSource::getTile(), and ossimViewshedTool::paintReticle().
|
virtual |
Definition at line 7251 of file ossimImageData.cpp.
References ossimRectilinearDataObject::m_spatialExtents.
Referenced by ossimTilePatch::convolve(), ossimDespeckleFilter::getTile(), ossimFeatherMosaic::getTile(), ossimElevationMosaic::getTile(), ossimImageMosaic::getTile(), ossimMaxMosaic::getTile(), ossimBandMergeSource::getTile(), ossimConvolutionSource::getTile(), ossimElevImageSource::getTile(), ossimTopographicCorrectionFilter::getTile(), ossimVideoImageSource::initialize(), and ossimTilePatch::setRect().
|
virtual |
Definition at line 7261 of file ossimImageData.cpp.
References ossimRectilinearDataObject::m_spatialExtents.
Referenced by ossimCastTileSourceFilter::applyCast(), ossimMaskFilter::executeMaskFilter(), ossimHsvToRgbSource::getTile(), ossimJpegYCbCrToRgbSource::getTile(), ossimRgbToJpegYCbCrSource::getTile(), ossimGammaRemapper::getTile(), ossimAOD::getTile(), ossimBitMaskTileSource::getTile(), ossimOverviewSequencer::initialize(), ossimEquationCombiner::parseStdFuncs(), setImageRectangle(), and setImageRectangleAndBands().
|
virtual |
Performs linear stretch on tile data from min/max to limits of scalar type.
Definition at line 6975 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimDataObject::getDataObjectStatus(), ossimRectilinearDataObject::getScalarType(), OSSIM_EMPTY, ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_NULL, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_STATUS_UNKNOWN, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimSetError(), and ossimDataObject::setDataObjectStatus().
|
protected |
Templated stretch method.
Performs linear stretches on tile data from min/max to limits of scalar type.
Definition at line 7046 of file ossimImageData.cpp.
References ossim::defaultMax(), ossim::defaultMin(), ossim::defaultNull(), getBuf(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), getSizePerBand(), m_maxPixelValue, m_minPixelValue, and m_nullPixelValue.
|
virtual |
This routine is designed for overwriting a selected band of the destination buffer 'dest' by an independent selected band of the source buffer according to a user-selected rule, defined by OverwriteBandRule.
Currently the rules available in OverwriteBandRule are:
The COLOR_DISCREPANCY_OF_ANY_FROM_DEST rule directs that the selected band of a pixel of the destination buffer is to be overwritten if any one of the other bands of the same destination pixel have color values that deviate from its color. Same as the deprecated COLOR_DISCREPANCY.
The COLOR_DISCREPANCY_OF_ALL_FROM_DEST rule directs that the selected band of a pixel of the destination buffer is to be overwritten only if all of the other bands of the same destination pixel have color values that deviate from its color.
The COLOR_EQUALITY_OF_ANY_TO_SRC rule directs that the selected band of a pixel of the destination buffer is to be overwritten if any one of the other bands of the same destination pixel have color values that are equal to the color of the selected band of the source pixel.
The COLOR_EQUALITY_OF_ALL_TO_SRC rule directs that the selected band of a pixel of the destination buffer is to be overwritten only if all of the other bands of the same destination pixel have color values that are equal to the color of the selected band of the source pixel.
The NULL_RULE rule directs that the selected band of the destination buffer is to be overwritten by the selected band of the source image data (no questions asked).
Currently this routine is only implemented for il_type set to OSSIM_BSQ.
dest | The destination buffer, which should have at least the same number of bands as the 'src' object. |
src_band | The 0-based band of the source image data. |
dest_band | The 0-based band of the dest buffer. |
dest_rect | The rectangle of the destination buffer. |
il_type | The interleave type. Only OSSIM_BSQ available. |
ow_type | The rule for overwriting the destination buffer. |
Definition at line 4847 of file ossimImageData.cpp.
References getImageRectangle().
Referenced by ossimGdalDatasetRasterBand::IReadBlock(), and unloadBand().
|
virtual |
This routine is designed for overwriting a selected band of the destination buffer 'dest' by an independent selected band of the source buffer according to a user-selected rule, defined by OverwriteBandRule.
Currently the rules available in OverwriteBandRule are:
The COLOR_DISCREPANCY_OF_ANY_FROM_DEST rule directs that the selected band of a pixel of the destination buffer is to be overwritten if any one of the other bands of the same destination pixel have color values that deviate from its color. Same as the deprecated COLOR_DISCREPANCY.
The COLOR_DISCREPANCY_OF_ALL_FROM_DEST rule directs that the selected band of a pixel of the destination buffer is to be overwritten only if all of the other bands of the same destination pixel have color values that deviate from its color.
The COLOR_EQUALITY_OF_ANY_TO_SRC rule directs that the selected band of a pixel of the destination buffer is to be overwritten if any one of the other bands of the same destination pixel have color values that are equal to the color of the selected band of the source pixel.
The COLOR_EQUALITY_OF_ALL_TO_SRC rule directs that the selected band of a pixel of the destination buffer is to be overwritten only if all of the other bands of the same destination pixel have color values that are equal to the color of the selected band of the source pixel.
The NULL_RULE rule directs that the selected band of the destination buffer is to be overwritten by the selected band of the source image data (no questions asked).
Currently this routine is only implemented for il_type set to OSSIM_BSQ.
dest | The destination buffer, which should have at least the same number of bands as the 'src' object. |
src_band | The 0-based band of the source image data. |
dest_band | The 0-based band of the dest buffer. |
dest_rect | The rectangle of the destination buffer. |
clip_rect | Only data within will be copied. |
il_type | The interleave type. Only OSSIM_BSQ available. |
ow_type | The rule for overwriting the destination buffer. |
Definition at line 4857 of file ossimImageData.cpp.
References OSSIM_BSQ, ossimNotify(), ossimNotifyLevel_WARN, and unloadBandToBsq().
|
virtual |
dest | The destination buffer. It is assumed this is a single band and the size of dest_rect. |
dest_rect | The rectangle of the destination buffer. |
src_band | The band to copy (unload) from the tile. |
Definition at line 4781 of file ossimImageData.cpp.
References getImageRectangle(), and unloadBand().
|
virtual |
dest | The destination buffer. It is assumed this is a single band and the size of dest_rect. |
dest_rect | The rectangle of the destination buffer. param clip_rect Only data within the clip_rect will be copied. |
src_band | The band to copy (unload) from the tile. |
Definition at line 4788 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimSetError(), and unloadBandTemplate().
|
protected |
Definition at line 4941 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), getBuf(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getWidth(), ossimIrect::intersects(), isValidBand(), ossimIrect::lr(), OSSIM_NULL, ossimNotify(), ossimNotifyLevel_WARN, ossimIrect::ul(), ossimIpt::x, and ossimIpt::y.
Referenced by unloadBand().
|
protectedvirtual |
Called from public unloadBand() routines that have an OverwriteBandRule interface.
dest | The destination buffer. |
src_band | The 0-based band of the source image data. |
dest_band | The 0-based band of the destination buffer. |
dest_rect | The rectangle of the destination buffer. |
clip_rect | Only data within will be copied. |
ow_type | The rule for overwriting the destination buffer. |
Definition at line 4880 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimSetError(), and unloadBandToBsqTemplate().
Referenced by unloadBand().
|
protected |
Definition at line 5668 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), COLOR_DISCREPANCY, COLOR_DISCREPANCY_OF_ALL_FROM_DEST, COLOR_DISCREPANCY_OF_ANY_FROM_DEST, COLOR_EQUALITY_OF_ALL_TO_SRC, COLOR_EQUALITY_OF_ANY_TO_SRC, getBuf(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getNumberOfBands(), getWidth(), ossimIrect::hasNans(), ossimIrect::intersects(), ossimIrect::lr(), m_nullPixelValue, NULL_RULE, OSSIM_NULL, ossimNotify(), ossimNotifyLevel_WARN, ossimIrect::ul(), ossimIpt::x, and ossimIpt::y.
Referenced by unloadBandToBsq().
|
virtual |
Definition at line 4519 of file ossimImageData.cpp.
References getImageRectangle().
|
virtual |
Definition at line 4526 of file ossimImageData.cpp.
References ossimObject::getClassName(), OSSIM_BIL, OSSIM_BIP, OSSIM_BSQ, ossimErrorCodes::OSSIM_ERROR, ossimSetError(), unloadTileToBil(), unloadTileToBip(), and unloadTileToBsq().
|
protected |
Definition at line 4667 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimSetError(), and unloadTileToBilTemplate().
Referenced by unloadTile().
|
protected |
Definition at line 5293 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), getBuf(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getNumberOfBands(), getWidth(), ossimIrect::hasNans(), ossimIrect::intersects(), ossimIrect::lr(), m_nullPixelValue, OSSIM_NULL, ossimNotify(), ossimNotifyLevel_WARN, ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
Referenced by unloadTileToBil().
|
protected |
Definition at line 4553 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimSetError(), and unloadTileToBipTemplate().
Referenced by unloadTile().
|
virtual |
dest | The destination buffer. |
dest_rect | The rectangle of the destination buffer. param clip_rect Only data within the clip_rect will be copied. |
src_band | The band to copy (unload) from the tile. |
Definition at line 4610 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimSetError(), and unloadTileToBipAlphaTemplate().
|
protected |
Definition at line 5164 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), getAlphaBuf(), getBuf(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getMaxPix(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), getWidth(), hasAlpha(), ossimIrect::hasNans(), ossimIrect::height(), ossimIrect::intersects(), OSSIM_NULL, OSSIM_UINT8, ossimNotify(), ossimNotifyLevel_WARN, ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
Referenced by unloadTileToBipAlpha().
|
protected |
Definition at line 5028 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), getBuf(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getNumberOfBands(), getWidth(), ossimIrect::hasNans(), ossimIrect::height(), ossimIrect::intersects(), ossimIrect::lr(), m_nullPixelValue, OSSIM_NULL, ossimNotify(), ossimNotifyLevel_WARN, ossimIrect::ul(), ossimIrect::width(), ossimIpt::x, and ossimIpt::y.
Referenced by unloadTileToBip().
|
protected |
Definition at line 4724 of file ossimImageData.cpp.
References ossimObject::getClassName(), ossimRectilinearDataObject::getScalarType(), ossimErrorCodes::OSSIM_ERROR, OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, ossimSetError(), and unloadTileToBsqTemplate().
Referenced by unloadTile().
|
protected |
Definition at line 5543 of file ossimImageData.cpp.
References ossimIrect::clipToRect(), getBuf(), ossimDataObject::getDataObjectStatus(), getImageRectangle(), getNumberOfBands(), getWidth(), ossimIrect::hasNans(), ossimIrect::intersects(), ossimIrect::lr(), m_nullPixelValue, OSSIM_NULL, ossimNotify(), ossimNotifyLevel_WARN, ossimIrect::ul(), ossimIpt::x, and ossimIpt::y.
Referenced by unloadTileToBsq().
|
virtual |
Will take the normalized input and convert it to this tile's data type.
Example: if this tile is of type UCHAR and its input is of type NORALIZED_FLOAT it will unnormalize the data by doing:
minPix + normalizedInput*(maxPix-minPix)
on a per band basis.
Reimplemented in ossimU16ImageData, ossimU8ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, and ossimS16ImageData.
Definition at line 694 of file ossimImageData.cpp.
References copyNormalizedBufferToTile(), getBuf(), ossimRectilinearDataObject::getScalarType(), OSSIM_NORMALIZED_DOUBLE, and OSSIM_NORMALIZED_FLOAT.
|
virtual |
Reimplemented in ossimU16ImageData, ossimU8ImageData, ossimU11ImageData, ossimU12ImageData, ossimU13ImageData, ossimU14ImageData, ossimU15ImageData, and ossimS16ImageData.
Definition at line 1149 of file ossimImageData.cpp.
References ossimRectilinearDataObject::getScalarType(), OSSIM_FLOAT32, OSSIM_FLOAT64, OSSIM_NORMALIZED_DOUBLE, OSSIM_NORMALIZED_FLOAT, OSSIM_SCALAR_UNKNOWN, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_STATUS_UNKNOWN, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, and ossimDataObject::setDataObjectStatus().
Referenced by ossimCastTileSourceFilter::applyCast(), ossimPixelFlipper::clipTile(), ossimImageMosaic::combine(), ossimMaxMosaic::combine(), ossimBlendMosaic::combine(), ossimFeatherMosaic::combine(), ossimImageMosaic::combineNorm(), ossimMaxMosaic::combineNorm(), ossimBlendMosaic::combineNorm(), ossimNBandToIndexFilter::convertInputTileToOutputTemplate(), ossimTilePatch::convolve(), ossim::copyRegionToTile(), createTestTile(), ossimJpegCodec::decodeJpegToRgb(), demo3(), ossimDilationFilter::doDilation(), ossimErosionFilter::doErosion(), ossimGdalOgrVectorAnnotation::drawAnnotations(), ossimMaskFilter::executeMaskFilterBinarySelection(), ossimMaskFilter::executeMaskFilterInvertSelection(), ossimMaskFilter::executeMaskFilterSelection(), ossimMaskFilter::executeMaskFilterWeighted(), ossimWatermarkFilter::fill(), ossimDtedTileSource::fillBuffer(), ossimCacheTileSource::fillTile(), ossimShiftFilter::fillTile(), ossimGpkgReader::fillTile(), ossimGeoPdfReader::fillTile(), ossimPixelFlipper::flipPixels(), ossimImageMpiMWriterSequenceConnection::getNextTile(), ossimMpiMasterOverviewSequencer::getNextTile(), ossimHsvToRgbSource::getTile(), ossimIntensityAdjustmentFilter::getTile(), ossimJpegYCbCrToRgbSource::getTile(), ossimRgbToHsiSource::getTile(), ossimRgbToHsvSource::getTile(), ossimRgbToJpegYCbCrSource::getTile(), ossimHsiToRgbSource::getTile(), ossimImageToPlaneNormalFilter::getTile(), ossimColorNormalizedFusion::getTile(), ossimMultiBandHistogramTileSource::getTile(), ossimDespeckleFilter::getTile(), ossimFftFilter::getTile(), ossimSICDToDetectedImage::getTile(), ossim3x3ConvolutionFilter::getTile(), ossimPointCloudUtilityFilter::getTile(), ossimRgbToGreyFilter::getTile(), ossimBrightnessContrastSource::getTile(), ossimBandMergeSource::getTile(), ossimPolyCutter::getTile(), ossimSFIMFusion::getTile(), ossimBandSelector::getTile(), ossimClosestToCenterCombiner::getTile(), ossimTwoColorView::getTile(), ossimMapCompositionSource::getTile(), ossimRectangleCutFilter::getTile(), ossimLinearStretchRemapper::getTile(), ossimTableRemapper::getTile(), ossimShiftFilter::getTile(), ossimLocalCorrelationFusion::getTile(), ossimAnnotationSource::getTile(), ossimConvolutionSource::getTile(), ossimSlopeFilter::getTile(), ossimElevImageSource::getTile(), ossimBandAverageFilter::getTile(), ossimHsiRemapper::getTile(), ossimScaleFilter::getTile(), ossimMemoryImageSource::getTile(), ossimValueAssignImageSourceFilter::getTile(), ossimMeanMedianFilter::getTile(), ossimConvolutionFilter1D::getTile(), ossimUsgsDemTileSource::getTile(), ossimSubImageTileSource::getTile(), ossimTiledImagePatch::getTile(), ossimGdalTileSource::getTile(), ossimKMeansFilter::getTile(), ossimHdf5ImageHandler::getTile(), ossimCcfTileSource::getTile(), ossimTopographicCorrectionFilter::getTile(), ossimHdfReader::getTile(), ossimBitMaskTileSource::getTile(), ossimH5ImageHandler::getTile(), ossimMG4LidarReader::getTile(), ossimMrSidReader::getTile(), ossimGridRemapSource::getTile(), ossimAdrgTileSource::getTile(), ossimImageCacheTileSource::getTile(), ossimKakaduJ2kReader::getTile(), ossimPointCloudImageHandler::getTile(), ossimRangeDomeTileSource::getTile(), ossimKakaduJp2Reader::getTile(), ossimLasReader::getTile(), ossimTiledImageHandler::getTile(), ossimTiffTileSource::getTile(), ossimRpfCacheTileSource::getTile(), ossimNitfTileSource::getTile(), ossimBandLutFilter::getTile(), ossimBumpShadeTileSource::getTile(), ossimIndexToRgbLutFilter::getTile(), ossimCibCadrgTileSource::getTile(), ossimPixelFlipper::getTile(), ossimKakaduJpipHandler::getTileAtRes(), ossimImageRenderer::getTileAtResLevel(), ossimGdalTileSource::getTileBlockRead(), ossimIntensityAdjustmentFilter::loadNormTile(), loadShortBand(), ossimEquationCombiner::parseAssignBand(), ossimEquationCombiner::parseEquation(), ossimEquationCombiner::parseStdFuncs(), ossimGeoPdfReader::resetCacheBuffer(), ossimBandClipFilter::runClip(), ossimHistogramEqualization::runEqualizationAlgorithm(), ossimScaleFilter::runFilterTemplate(), ossimEdgeFilter::runLaplacianFilter(), ossimMultiBandHistogramTileSource::runLinearStretchAlgorithm(), ossimEdgeFilter::runLocalMax8Filter(), ossimEdgeFilter::runPrewittFilter(), ossimEdgeFilter::runRobertsFilter(), ossimEdgeFilter::runSimpleFilter(), ossimEdgeFilter::runSobelFilter(), and ossimHistogramThreshholdFilter::runThreshholdStretchAlgorithm().
|
protected |
Templated validate method.
Definition at line 1207 of file ossimImageData.cpp.
References getBuf(), ossimDataObject::getDataObjectStatus(), getNumberOfBands(), getSize(), getSizePerBand(), ossimRectilinearDataObject::m_dataBuffer, m_nullPixelValue, m_percentFull, OSSIM_EMPTY, OSSIM_FULL, OSSIM_NULL, OSSIM_PARTIAL, and ossimDataObject::setDataObjectStatus().
|
virtual |
Writes tile to stream.
This will write the buffer to file with an associated header file. Assuming a contiguous buffer in BSQ format. Currently does not support converting to BIP or BIL or byte swapping but probably should add at some point.
f | File to write. |
Definition at line 1364 of file ossimImageData.cpp.
References ossimString::c_str(), getBuf(), ossimLookUpTable::getEntryString(), getHeight(), getNumberOfBands(), ossimRectilinearDataObject::getScalarType(), getSizeInBytes(), getWidth(), ossimScalarTypeLut::instance(), m_indexedFlag, m_maxPixelValue, m_minPixelValue, m_nullPixelValue, m_origin, ossimFilename::setExtension(), and ossimString::toString().
Referenced by ossim::copyRegionToTile(), ATP::ossimDescriptorSource::getTile(), and ATP::ossimCorrelationSource::OpenCVCorrelation().
|
protected |
Alpha channel.
Definition at line 1225 of file ossimImageData.h.
Referenced by computeAlphaChannel(), getAlphaBuf(), hasAlpha(), loadState(), operator=(), print(), and saveState().
|
protected |
Definition at line 1232 of file ossimImageData.h.
Referenced by getHistogram(), and setHistogram().
|
protected |
Indicates data contains palette indexes.
Definition at line 1230 of file ossimImageData.h.
Referenced by getIndexedFlag(), loadState(), operator=(), print(), saveState(), setIndexedFlag(), and write().
|
protected |
Max pixel value for each band.
Definition at line 1222 of file ossimImageData.h.
Referenced by assign(), ossimS16ImageData::copyTileToNormalizedBuffer(), getMaxPix(), getMinNormalizedPix(), getNormalizedFloat(), initializeMaxDefault(), isEqualTo(), loadState(), operator=(), print(), saveState(), setMaxPix(), setNormalizedFloat(), setNumberOfBands(), stretchMinMax(), and write().
|
protected |
Min pixel value for each band.
Definition at line 1219 of file ossimImageData.h.
Referenced by assign(), ossimS16ImageData::copyTileToNormalizedBuffer(), getMinNormalizedPix(), getMinPix(), getNormalizedFloat(), initializeMinDefault(), isEqualTo(), loadState(), operator=(), print(), saveState(), setMinPix(), setNormalizedFloat(), setNumberOfBands(), stretchMinMax(), and write().
|
protected |
Null pixel value for each band.
Definition at line 1216 of file ossimImageData.h.
Referenced by assign(), computeAlphaChannel(), ossimS16ImageData::copyTileToNormalizedBuffer(), fill(), getNormalizedFloat(), getNullPix(), initializeNullDefault(), isEqualTo(), ossimS16ImageData::isNull(), ossimU14ImageData::isNull(), ossimU15ImageData::isNull(), ossimU11ImageData::isNull(), ossimU12ImageData::isNull(), ossimU13ImageData::isNull(), ossimU8ImageData::isNull(), loadState(), makeBlank(), operator=(), print(), saveState(), setNormalizedFloat(), ossimS16ImageData::setNull(), ossimU11ImageData::setNull(), ossimU15ImageData::setNull(), ossimU14ImageData::setNull(), ossimU12ImageData::setNull(), ossimU13ImageData::setNull(), ossimU8ImageData::setNull(), setNullPix(), setNumberOfBands(), stretchMinMax(), unloadBandToBsqTemplate(), unloadTileToBilTemplate(), unloadTileToBipTemplate(), unloadTileToBsqTemplate(), ossimS16ImageData::validate(), validate(), and write().
|
protected |
Definition at line 1227 of file ossimImageData.h.
Referenced by assign(), getHashId(), getImageRectangle(), getPix(), isEqualTo(), isNull(), isPointWithin(), isWithin(), loadState(), operator=(), print(), saveState(), setNull(), setOrigin(), ossimS16ImageData::setValue(), ossimU13ImageData::setValue(), ossimU15ImageData::setValue(), ossimU12ImageData::setValue(), ossimU11ImageData::setValue(), ossimU14ImageData::setValue(), ossimU8ImageData::setValue(), ossimU16ImageData::setValue(), setValue(), and write().
|
mutableprotected |
percentage (0-100) of image tile that has valid (non-null) pixel values.
This is computed in validate() method.
Definition at line 1237 of file ossimImageData.h.
Referenced by validate().