JPEG2000 decoder class. 
This class is used to decode a JPEG2000 image.
JP2_decoder = 
new JP2Decoder(QString(ui.GetFileName(
"FROM")));
 
delete JP2_decoder;
if (pixelbytes == 1) {
} else if (pixelbytes == 2) {
  if (is_signed) {
  } else {
  }
} else {
  throw iException::Message(iException::User,
    "The file [" + ui.GetFileName("FROM") + "] contains unsupported data type.",
}
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
 
JPEG2000 decoder class.
Definition: JP2Decoder.h:83
 
bool GetSignedData() const
Definition: JP2Decoder.h:117
 
void OpenFile()
Open the JPEG2000 file.
Definition: JP2Decoder.cpp:52
 
int GetSampleDimension() const
Definition: JP2Decoder.h:97
 
int GetPixelBytes() const
Definition: JP2Decoder.h:112
 
int GetLineDimension() const
Definition: JP2Decoder.h:102
 
int GetBandDimension() const
Definition: JP2Decoder.h:107
 
virtual void EndProcess()
End the processing sequence and cleans up by closing cubes, freeing memory, etc.
Definition: Process.cpp:462
 
Byte swapper.
Definition: ProcessImport.h:155
 
virtual void StartProcess()
Process the input file and write it to the output.
Definition: ProcessImport.cpp:1302
 
void SetPixelType(const Isis::PixelType type)
Sets the pixel type of the input file.
Definition: ProcessImport.cpp:264
 
void SetOrganization(const ProcessImport::Interleave org)
Sets the organization of the input cube.
Definition: ProcessImport.cpp:907
 
void SetInputFile(const QString &file)
Sets the name of the input file to be read in the import StartProcess method and verifies its existan...
Definition: ProcessImport.cpp:2302
 
Isis::Cube * SetOutputCube(const QString ¶meter)
Create the output file.
Definition: ProcessImport.cpp:1261
 
@ JP2
Jpeg 2000 Format (always band sequential).
Definition: ProcessImport.h:280
 
void SetDimensions(const int ns, const int nl, const int nb)
Sets the physical size of the input cube.
Definition: ProcessImport.cpp:304
 
@ SignedWord
Definition: PixelType.h:32
 
@ UnsignedByte
Definition: PixelType.h:29
 
@ UnsignedWord
Definition: PixelType.h:31