20 #ifndef _OPENJPEGIMAGE_H    21 #define _OPENJPEGIMAGE_H    29 extern std::ofstream logfile;
    37   opj_stream_t* _stream;  
    51   void process( 
unsigned int r, 
int l, 
int x, 
int y, 
unsigned int w, 
unsigned int h, 
void* d );
    59     _stream = NULL; _codec = NULL; _image = NULL;
    68     _stream = NULL; _codec = NULL; _image = NULL;
    83     _stream = NULL; _codec = NULL; _image = NULL;
   118   RawTile getTile( 
int x, 
int y, 
unsigned int r, 
int l, 
unsigned int t );
   133   RawTile getRegion( 
int ha, 
int va, 
unsigned int res, 
int layers, 
int x, 
int y, 
unsigned int w, 
unsigned int h );
 ~OpenJPEGImage()
Destructor. 
Definition: OpenJPEGImage.h:89
void loadImageInfo(int x, int y)
Overloaded function for loading JP2 image information. 
OpenJPEGImage()
Constructor. 
Definition: OpenJPEGImage.h:58
void closeImage()
Overloaded function for closing a JP2 image. 
unsigned int virtual_levels
Number of resolution levels that don't physically exist in file. 
Definition: IIPImage.h:103
bool regionDecoding()
Return whether this image type directly handles region decoding. 
Definition: OpenJPEGImage.h:108
OpenJPEGImage(const OpenJPEGImage &image)
Copy Constructor. 
Definition: OpenJPEGImage.h:76
Definition: OpenJPEGImage.h:33
RawTile getTile(int x, int y, unsigned int r, int l, unsigned int t)
Overloaded function for getting a particular tile. 
Main class to handle the pyramidal image source. 
Definition: IIPImage.h:62
unsigned int tile_width
The base tile pixel dimensions. 
Definition: IIPImage.h:115
Class to represent a single image tile. 
Definition: RawTile.h:45
RawTile getRegion(int ha, int va, unsigned int res, int layers, int x, int y, unsigned int w, unsigned int h)
Overloaded function for returning a region from image. 
OpenJPEGImage(const IIPImage &image)
Copy Constructor. 
Definition: OpenJPEGImage.h:82
void openImage()
Overloaded function for opening a TIFF image. 
OpenJPEGImage(const std::string &path)
Constructor. 
Definition: OpenJPEGImage.h:67