|
Isis Developer Reference
|
Go to the documentation of this file.
40 QString compression=
"none");
47 virtual void setBuffer(
int s,
int b,
int dn)
const;
JP2Exporter()
Construct the JPEG 2000 exporter.
Definition: JP2Exporter.cpp:22
virtual void setBuffer(int s, int b, int dn) const
Set the DN value at the given sample and band of the line buffer.
Definition: JP2Exporter.cpp:85
Exports cubes into JPEG 2000 images.
Definition: JP2Exporter.h:34
File name manipulation and expansion.
Definition: FileName.h:100
void OpenFile()
Open the JPEG2000 file and initialize it.
Definition: JP2Encoder.cpp:108
@ UnsignedWord
Definition: PixelType.h:31
virtual void createBuffer()
Creates the buffer to store a chunk of streamed line data with one or more bands.
Definition: JP2Exporter.cpp:46
virtual void writeLine(int l) const
Writes a line of buffered data to the output image on disk.
Definition: JP2Exporter.cpp:110
@ SignedWord
Definition: PixelType.h:32
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
Exports cubes into a standard format in incremental pieces.
Definition: StreamExporter.h:34
virtual void write(FileName outputName, int quality=100, QString compression="none")
Export the Isis cube channels to the given standard image.
Definition: ImageExporter.cpp:101
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
FileName addExtension(const QString &extension) const
Adds a new extension to the file name.
Definition: FileName.cpp:225
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
virtual ~JP2Exporter()
Destruct the exporter.
Definition: JP2Exporter.cpp:33
QString extension() const
Gets the extension for the output image.
Definition: ImageExporter.cpp:208
JPEG2000 encoder class.
Definition: JP2Encoder.h:67
Isis exception class.
Definition: IException.h:91
PixelType
Enumerations for Isis Pixel Types.
Definition: PixelType.h:27
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
int lines() const
Number of lines (rows) in the output image.
Definition: ImageExporter.cpp:128
void Write(unsigned char **inbuf)
Write 8-bit data to JP2 file.
Definition: JP2Encoder.cpp:260
int bands() const
Number of bands (channels) in the output image.
Definition: ImageExporter.cpp:138
static bool canWriteFormat(QString format)
Returns true if the format is "jp2".
Definition: JP2Exporter.cpp:126
PixelType pixelType() const
Returns the pixel type.
Definition: ImageExporter.cpp:307
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 ...
Definition: JP2Exporter.cpp:64
int samples() const
Number of samples (columns) in the output image.
Definition: ImageExporter.cpp:118
@ UnsignedByte
Definition: PixelType.h:29
void setExtension(QString extension)
Sets the extension for the output image and generates the extension for the world file from it.
Definition: ImageExporter.cpp:193
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16