20#ifndef _OPENJPEGIMAGE_H
21#define _OPENJPEGIMAGE_H
36 opj_stream_t* _stream;
50 void process(
unsigned int r,
int l,
int x,
int y,
unsigned int w,
unsigned int h,
void* d );
58 _stream = NULL; _codec = NULL; _image = NULL;
59 tile_widths.push_back(TILESIZE); tile_heights.push_back(TILESIZE);
67 _stream = NULL; _codec = NULL; _image = NULL;
68 tile_widths.push_back(TILESIZE); tile_heights.push_back(TILESIZE);
82 _stream = NULL; _codec = NULL; _image = NULL;
83 tile_widths.push_back(TILESIZE); tile_heights.push_back(TILESIZE);
132 RawTile getRegion(
int ha,
int va,
unsigned int res,
int layers,
int x,
int y,
unsigned int w,
unsigned int h );
Main class to handle the pyramidal image source.
Definition: IIPImage.h:76
std::vector< unsigned int > tile_widths
The tile dimensions for each resolution.
Definition: IIPImage.h:139
Definition: OpenJPEGImage.h:32
void loadImageInfo(int x, int y)
Overloaded function for loading JP2 image information.
bool regionDecoding()
Return whether this image type directly handles region decoding.
Definition: OpenJPEGImage.h:107
RawTile getTile(int x, int y, unsigned int r, int l, unsigned int t)
Overloaded function for getting a particular tile.
OpenJPEGImage(const std::string &path)
Constructor.
Definition: OpenJPEGImage.h:66
void closeImage()
Overloaded function for closing a JP2 image.
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.
void openImage()
Overloaded function for opening a TIFF image.
OpenJPEGImage()
Constructor.
Definition: OpenJPEGImage.h:57
~OpenJPEGImage()
Destructor.
Definition: OpenJPEGImage.h:88
OpenJPEGImage(const OpenJPEGImage &image)
Copy Constructor.
Definition: OpenJPEGImage.h:75
OpenJPEGImage(const IIPImage &image)
Copy Constructor.
Definition: OpenJPEGImage.h:81
Class to represent a single image tile.
Definition: RawTile.h:47