|
Isis Developer Reference
|
Go to the documentation of this file.
14 #include "kdu_stripe_decompressor.h"
17 #define MIN_STRIPE_HEIGHT 256
18 #define MAX_STRIPE_HEIGHT 8192
98 return ((
int) p_numSamples);
103 return ((
int) p_numLines);
108 return ((
int) p_numBands);
113 return (p_pixelBytes);
118 return (p_signedData);
122 void Read(
unsigned char **inbuf);
125 void Read(
short int **inbuf);
127 static bool IsJP2(QString filename);
131 unsigned int p_numSamples;
132 unsigned int p_numLines;
133 unsigned int p_numBands;
134 unsigned int p_pixelBytes;
138 unsigned int p_resolutionLevel;
139 unsigned int p_highestResLevel;
141 int *p_maxStripeHeights;
147 int *p_stripeHeights;
151 unsigned int p_pixelBits;
155 kdu_core::kdu_dims p_imageDims;
156 kdu_supp::jp2_family_src *JP2_Stream;
157 kdu_supp::jp2_source *JP2_Source;
158 kdu_core::kdu_codestream *JPEG2000_Codestream;
159 kdu_supp::kdu_stripe_decompressor p_decompressor;
164 void SetResolutionAndRegion();
int GetSampleDimension() const
Definition: JP2Decoder.h:97
int GetPixelBytes() const
Definition: JP2Decoder.h:112
void OpenFile()
Open the JPEG2000 file.
Definition: JP2Decoder.cpp:52
void Read(unsigned char **inbuf)
Read data from JP2 file containing 8-bit data.
Definition: JP2Decoder.cpp:168
int GetLineDimension() const
Definition: JP2Decoder.h:102
bool GetSignedData() const
Definition: JP2Decoder.h:117
JP2Decoder(const QString &jp2file)
Constructs a JPEG2000 decoder object.
Definition: JP2Decoder.cpp:32
Kakadu error messaging class.
Definition: JP2Error.h:38
int GetBandDimension() const
Definition: JP2Decoder.h:107
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis exception class.
Definition: IException.h:91
#define MAX_STRIPE_HEIGHT
Definition: JP2Decoder.h:18
JP2Error * kakadu_error() const
Definition: JP2Decoder.h:89
JPEG2000 decoder class.
Definition: JP2Decoder.h:83
Namespace for the standard library.
~JP2Decoder()
JP2Decoder destructor.
Definition: JP2Decoder.cpp:196
static bool IsJP2(QString filename)
Definition: JP2Decoder.cpp:228
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
#define MIN_STRIPE_HEIGHT
This is free and unencumbered software released into the public domain.
Definition: JP2Decoder.h:17