File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file.
36 virtual bool isRgb()
const;
37 virtual bool isArgb()
const;
41 virtual int getPixel(
int s,
int l)
const;
43 virtual int getGray(
int pixel)
const;
44 virtual int getRed(
int pixel)
const;
45 virtual int getGreen(
int pixel)
const;
46 virtual int getBlue(
int pixel)
const;
47 virtual int getAlpha(
int pixel)
const;
int SizeOf(Isis::PixelType pixelType)
Returns the number of bytes of the specified PixelType.
Definition: PixelType.h:46
int GetSampleDimension() const
Definition: JP2Decoder.h:97
virtual int getGreen(int pixel) const
Retrieves the green component of the given pixel from the second band of the input buffer.
Definition: JP2Importer.cpp:184
int GetPixelBytes() const
Definition: JP2Decoder.h:112
virtual int convertRgbToGray(int pixel) const
Convert the current pixel, taken from an RGB/A image, and blend its RGB components into a single gray...
Definition: ImageImporter.cpp:399
void setSamples(int s)
Set the sample dimension (width) of the output image.
Definition: ImageImporter.cpp:241
void OpenFile()
Open the JPEG2000 file.
Definition: JP2Decoder.cpp:52
virtual bool isArgb() const
Tests to see if the input image is quadruple-banded, implying RGBA.
Definition: JP2Importer.cpp:103
File name manipulation and expansion.
Definition: FileName.h:100
void Read(unsigned char **inbuf)
Read data from JP2 file containing 8-bit data.
Definition: JP2Decoder.cpp:168
virtual int getAlpha(int pixel) const
Retrieves the alpha component of the given pixel from the fourth band of the input buffer.
Definition: JP2Importer.cpp:210
@ UnsignedWord
Definition: PixelType.h:31
Imports JPEG 2000 images as Isis cubes.
Definition: JP2Importer.h:30
Imports images with standard formats into Isis as cubes.
Definition: ImageImporter.h:39
JP2Importer(FileName inputName)
Construct the importer.
Definition: JP2Importer.cpp:23
@ SignedWord
Definition: PixelType.h:32
int GetLineDimension() const
Definition: JP2Decoder.h:102
bool GetSignedData() const
Definition: JP2Decoder.h:117
virtual int getRed(int pixel) const
Retrieves the red component of the given pixel from the first band of the input buffer.
Definition: JP2Importer.cpp:171
int bands() const
The band dimension (depth) of the output image.
Definition: ImageImporter.cpp:298
int GetBandDimension() const
Definition: JP2Decoder.h:107
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
int samples() const
The sample dimension (width) of the output image.
Definition: ImageImporter.cpp:278
virtual int getPixel(int s, int l) const
Returns a representation of a pixel for the input format that can then be broken down into specific g...
Definition: JP2Importer.cpp:144
void setBands(int b)
Set the band dimension (depth) of the output image.
Definition: ImageImporter.cpp:263
virtual int getGray(int pixel) const
Retrieves the gray component of the given pixel.
Definition: JP2Importer.cpp:158
Isis exception class.
Definition: IException.h:91
void setLines(int l)
Set the line dimension (height) of the output image.
Definition: ImageImporter.cpp:251
virtual int getBlue(int pixel) const
Retrieves the blue component of the given pixel from the third band of the input buffer.
Definition: JP2Importer.cpp:197
JPEG2000 decoder class.
Definition: JP2Decoder.h:83
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
FileName filename() const
The filename of the input image this instance was constructed with.
Definition: ImageImporter.cpp:308
virtual ~JP2Importer()
Destruct the importer.
Definition: JP2Importer.cpp:68
virtual void updateRawBuffer(int line, int band) const
Updates the buffer used to store chunks of the input data at a time.
Definition: JP2Importer.cpp:116
Adds specific functionality to C++ strings.
Definition: IString.h:165
virtual bool isGrayscale() const
Tests to see if the input image is single-banded, implying grayscale (no RGB/A).
Definition: JP2Importer.cpp:83
@ UnsignedByte
Definition: PixelType.h:29
int getFromBuffer(int s, int b) const
Retrieves the pixel value from the input buffer corresponding to the given sample and band (the buffe...
Definition: JP2Importer.cpp:225
virtual bool isRgb() const
Tests to see if the input image is triple-banded, implying RGB (no alpha).
Definition: JP2Importer.cpp:93
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126