56 QString compression=
"none");
63 virtual void setBuffer(
int s,
int b,
int dn)
const;
File name manipulation and expansion.
char ** m_buffer
Two dimensional array containing all color channels for a line.
virtual void setBuffer(int s, int b, int dn) const
Set the DN value at the given sample and band of the line buffer.
Exports cubes into JPEG 2000 images.
JP2Encoder * m_encoder
Object responsible for writing data to the output image.
virtual void createBuffer()
Creates the buffer to store a chunk of streamed line data with one or more bands. ...
virtual void writeLine(int l) const
Writes a line of buffered data to the output image on disk.
virtual ~JP2Exporter()
Destruct the exporter.
static bool canWriteFormat(QString format)
Returns true if the format is "jp2".
Namespace for ISIS/Bullet specific routines.
Exports cubes into a standard format in incremental pieces.
virtual void write(FileName outputName, int quality=100, QString compression="none")
Initialize the encoder, open the output file for writing, then let the base ImageExporter handle the ...
JP2Exporter()
Construct the JPEG 2000 exporter.