45 virtual bool isRgb()
const;
46 virtual bool isArgb()
const;
50 virtual int getPixel(
int s,
int l)
const;
52 virtual int getGray(
int pixel)
const;
53 virtual int getRed(
int pixel)
const;
54 virtual int getGreen(
int pixel)
const;
55 virtual int getBlue(
int pixel)
const;
56 virtual int getAlpha(
int pixel)
const;
File name manipulation and expansion.
Definition FileName.h:100
Imports images with standard formats into Isis as cubes.
Definition ImageImporter.h:39
Imports a series of standard image formats with Qt facilities.
Definition QtImporter.h:39
virtual bool isGrayscale() const
Tests to see if the input image is grayscale (no RGB/A).
Definition QtImporter.cpp:55
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...
Definition QtImporter.cpp:88
virtual bool isRgb() const
Tests to see if the input image is neither grayscale nor has an alpha channel, implying RGB (no alpha...
Definition QtImporter.cpp:66
virtual bool isArgb() const
Tests to see if the input image is has an alpha channel, implying RGBA.
Definition QtImporter.cpp:76
virtual ~QtImporter()
Destruct the importer.
Definition QtImporter.cpp:44
virtual int getAlpha(int pixel) const
Retrieves the alpha component of the given pixel.
Definition QtImporter.cpp:162
virtual int getRed(int pixel) const
Retrieves the red component of the given pixel.
Definition QtImporter.cpp:126
QtImporter(FileName inputName)
Construct the importer.
Definition QtImporter.cpp:24
virtual int getGreen(int pixel) const
Retrieves the green component of the given pixel.
Definition QtImporter.cpp:138
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 QtImporter.cpp:102
virtual int getGray(int pixel) const
Retrieves the gray component of the given pixel.
Definition QtImporter.cpp:114
virtual int getBlue(int pixel) const
Retrieves the blue component of the given pixel.
Definition QtImporter.cpp:150
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16