69 virtual bool isRgb()
const;
70 virtual bool isArgb()
const;
76 virtual int getPixel(
int s,
int l)
const;
78 virtual int getGray(
int pixel)
const;
79 virtual int getRed(
int pixel)
const;
80 virtual int getGreen(
int pixel)
const;
81 virtual int getBlue(
int pixel)
const;
82 virtual int getAlpha(
int pixel)
const;
virtual ~TiffImporter()
Destruct the importer.
virtual PvlGroup convertProjection() const
Convert any projection information associated with the input image to an ISIS Mapping group in PVL fo...
File name manipulation and expansion.
uint16 m_photo
The enumerated photometric interpretation of the input image.
TIFF * m_image
LibTIFF representation of the input image.
uint16 m_samplesPerPixel
The number of "samples" (bands in Isis terms) in the input image.
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...
uint32 * m_raster
Buffer holding the raw TIFF image in memory.
Imports TIFF images as Isis cubes.
GTIF * m_geotiff
GeoTiff hanele.
virtual int getAlpha(int pixel) const
Retrieves the alpha component of the given pixel.
Pvl upperLeftXY(const Pvl &inLab) const
Convert the Tiff Tiepoint tag data to Upper Left X & Y values for the ISIS cube label mapping group...
Pvl resolution(const Pvl &inLab) const
Convert the Tiff PixelScale tag data to a singe resolution for the ISIS cube label mapping group...
virtual bool isRgb() const
Tests to see if the input image is neither grayscale nor has more than three samples per pixel...
Pvl gdalItems(const Pvl &outPvl) const
Convert items in the GDAL tag to the ISIS mapping group.
Contains multiple PvlContainers.
TiffImporter(FileName inputName)
Construct the importer.
Container for cube-like labels.
virtual int getBlue(int pixel) const
Retrieves the blue component of the given pixel.
virtual int getRed(int pixel) const
Retrieves the red component of the given pixel.
virtual int getGreen(int pixel) const
Retrieves the green component of the given pixel.
Namespace for ISIS/Bullet specific routines.
PvlGroup m_map
ISIS Mapping group.
int samplesPerPixel() const
The number of "samples" (bands in Isis terms) per pixel in the input image.
virtual void updateRawBuffer(int line, int band) const
Does nothing as LibTIFF reads the entire input image into memory, and therefore does not need to be u...
Imports images with standard formats into Isis as cubes.
virtual bool isArgb() const
Tests to see if the input image is not grayscale and has more than three samples per pixel...
virtual bool isGrayscale() const
Tests to see if the input image has a "min is white" or "min is black" photometric interpretation...
virtual int getGray(int pixel) const
Retrieves the gray component of the given pixel.