read an image from a BBB file
More...
#include <lti_bbbImageReader.h>
|
LT_STATUS | initialize (const LTFileSpec &fileSpec, bool useWorldFile=true) |
| intializer More...
|
|
LT_STATUS | initialize (const char *file, bool useWorldFile=true) |
| intializer More...
|
|
LT_STATUS | initialize (LTIOStreamInf *stream, const LTIPixel &pixelProps, lt_uint32 width, lt_uint32 height, bool useWorldFile=true) |
| initialize (stream) More...
|
|
LT_STATUS | initialize (const LTFileSpec &fileSpec, const LTIPixel &pixelProps, lt_uint32 width, lt_uint32 height, bool useWorldFile=true) |
| initialize (FileSpec) More...
|
|
LT_STATUS | initialize (const char *file, const LTIPixel &pixelProps, lt_uint32 width, lt_uint32 height, bool useWorldFile=true) |
| initialize (char*) More...
|
|
void | setStreamOwnership (bool takeOwnership) |
| set stream ownership More...
|
|
void | setRowBytes (lt_uint32 rowBytes) |
| sets the number of bytes in each row More...
|
|
void | setLayout (LTILayout layout) |
| sets the layout or organization of the raw data More...
|
|
void | setSkipBytes (lt_int64 leadingBytes, lt_int64 trailingBytes=0) |
| sets the number of bytes to skip at the beginning and end of the file More...
|
|
void | setByteOrder (LTIEndian byteOrder) |
| sets endianness of input file More...
|
|
LT_STATUS | getDimsAtMag (double mag, lt_uint32 &width, lt_uint32 &height) const |
|
virtual LTIMaskSource * | getMask () const |
|
virtual bool | getPipelineInfo (LTIPipelineInfo info) const |
|
lt_int64 | getEncodingCost (const LTIScene &scene) const |
|
bool | getReaderScene (const LTIScene &decodeScene, LTIScene &readerScene) const |
|
virtual lt_uint32 | getModifications (const LTIScene &scene) const |
|
LT_STATUS | readBegin (const LTIPixel &pixelProps, const LTIScene &fullScene) |
|
LT_STATUS | readStrip (LTISceneBuffer &buffer, const LTIScene &stripScene) |
|
LT_STATUS | readEnd (void) |
|
This class provides support for reading BBB files, i.e. a raw file with a BIL/BIP/BSQ-style header.
- Examples:
- DerivedImageFilter.cpp, and DerivedImageWriter.cpp.
Definition at line 33 of file lti_bbbImageReader.h.
LTIBBBImageReader::LTIBBBImageReader |
( |
void |
| ) |
|
|
protected |
virtual LTIBBBImageReader::~LTIBBBImageReader |
( |
void |
| ) |
|
|
protectedvirtual |
LT_STATUS LTIBBBImageReader::initialize |
( |
const LTFileSpec & |
fileSpec, |
|
|
bool |
useWorldFile = true |
|
) |
| |
LT_STATUS LTIBBBImageReader::initialize |
( |
const char * |
file, |
|
|
bool |
useWorldFile = true |
|
) |
| |
This function creates an image from a BBB file.
- Parameters
-
file | the image file to read from |
useWorldFile | use world file information if available |
The documentation for this class was generated from the following file: