24 "The file [" + inputName.
expanded() +
25 "] does not contain a recognized image format",
133 return qGreen(pixel);
157 return qAlpha(pixel);
QImage * m_qimage
Structure holding all input image data in memory.
File name manipulation and expansion.
virtual int getBlue(int pixel) const
Retrieves the blue component of the given pixel.
void setDefaultBands()
Set the number of bands to be created for the output cube based on the number of color channels in th...
virtual void updateRawBuffer(int line, int band) const
Does nothing as Qt reads the entire input image into memory, and therefore does not need to be update...
virtual int getGray(int pixel) const
Retrieves the gray component of the given pixel.
virtual int getAlpha(int pixel) const
Retrieves the alpha component of the given pixel.
virtual bool isArgb() const
Tests to see if the input image is has an alpha channel, implying RGBA.
virtual bool isRgb() const
Tests to see if the input image is neither grayscale nor has an alpha channel, implying RGB (no alpha...
#define _FILEINFO_
Macro for the filename and line number.
void setSamples(int s)
Set the sample dimension (width) of the output image.
A type of error that could only have occurred due to a mistake on the user's part (e...
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
void setLines(int l)
Set the line dimension (height) of the output image.
QtImporter(FileName inputName)
Construct the importer.
virtual int getRed(int pixel) const
Retrieves the red component of the given pixel.
virtual ~QtImporter()
Destruct the importer.
virtual bool isGrayscale() const
Tests to see if the input image is grayscale (no RGB/A).
Namespace for ISIS/Bullet specific routines.
Imports images with standard formats into Isis as cubes.
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...
virtual int getGreen(int pixel) const
Retrieves the green component of the given pixel.