Isis 3 Programmer Reference
Isis::TiffImporter Class Reference

Imports TIFF images as Isis cubes. More...

#include <TiffImporter.h>

Inheritance diagram for Isis::TiffImporter:
Inheritance graph
Collaboration diagram for Isis::TiffImporter:
Collaboration graph

Public Member Functions

 TiffImporter (FileName inputName)
 Construct the importer. More...
 
virtual ~TiffImporter ()
 Destruct the importer. More...
 
virtual PvlGroup convertProjection () const
 Convert any projection information associated with the input image to an ISIS Mapping group in PVL form. More...
 
virtual bool isGrayscale () const
 Tests to see if the input image has a "min is white" or "min is black" photometric interpretation, implying grayscale (no RGB/A). More...
 
virtual bool isRgb () const
 Tests to see if the input image is neither grayscale nor has more than three samples per pixel, implying RGB (no alpha). More...
 
virtual bool isArgb () const
 Tests to see if the input image is not grayscale and has more than three samples per pixel, implying RGBA. More...
 
void operator() (Buffer &out) const
 The method for processing the output cube in place, called for each line of the output image. More...
 
Cubeimport (FileName outputName)
 Import the image with default output attributes. More...
 
Cubeimport (FileName outputName, CubeAttributeOutput &att)
 Import the input image this instance was constructed with into the given output Isis cube with the given output attributes. More...
 
void setNullRange (double min, double max)
 Set the range of DN values within which a pixel from the input image will be set to Null in the output. More...
 
void setLrsRange (double min, double max)
 Set the range of DN values within which a pixel from the input image will be set to LRS in the output. More...
 
void setHrsRange (double min, double max)
 Set the range of DN values within which a pixel from the input image will be set to HRS in the output. More...
 
void setSamples (int s)
 Set the sample dimension (width) of the output image. More...
 
void setLines (int l)
 Set the line dimension (height) of the output image. More...
 
void setBands (int b)
 Set the band dimension (depth) of the output image. More...
 
int samples () const
 The sample dimension (width) of the output image. More...
 
int lines () const
 The line dimension (height) of the output image. More...
 
int bands () const
 The band dimension (depth) of the output image. More...
 
FileName filename () const
 The filename of the input image this instance was constructed with. More...
 

Static Public Member Functions

static ImageImporterfromFileName (FileName inputName)
 A static (factory) method for constructing an ImageImporter instance from an input filename. More...
 

Protected Types

typedef int(ImageImporter::* GetChannelMethod) (int pixel) const
 Friendly alias for a method used to get a particular color channel. More...
 

Protected Member Functions

int samplesPerPixel () const
 The number of "samples" (bands in Isis terms) per pixel in the input image. More...
 
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 updated throughout the import process. More...
 
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 gray or RGB/A components. More...
 
virtual int getGray (int pixel) const
 Retrieves the gray component of the given pixel. More...
 
virtual int getRed (int pixel) const
 Retrieves the red component of the given pixel. More...
 
virtual int getGreen (int pixel) const
 Retrieves the green component of the given pixel. More...
 
virtual int getBlue (int pixel) const
 Retrieves the blue component of the given pixel. More...
 
virtual int getAlpha (int pixel) const
 Retrieves the alpha component of the given pixel. More...
 
CubecreateOutput (FileName outputName, CubeAttributeOutput &att)
 Create the output cube from the given filename and attributes. More...
 
void setDefaultBands ()
 Set the number of bands to be created for the output cube based on the number of color channels in the input image. More...
 
double testSpecial (double pixel) const
 Tests a pixel against the Null, HRS, and LRS ranges defined by the importer's handler. More...
 
virtual GetChannelMethod getBandChannel (int band) const
 Retrieve the method responsible for fetching the color channel from the input image corresponding to the current band out of output being filled. More...
 
virtual int convertRgbToGray (int pixel) const
 Convert the current pixel, taken from an RGB/A image, and blend its RGB components into a single grayscale DN. More...
 

Private Member Functions

Pvl gdalItems (const Pvl &outPvl) const
 Convert items in the GDAL tag to the ISIS mapping group. More...
 
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. More...
 
Pvl resolution (const Pvl &inLab) const
 Convert the Tiff PixelScale tag data to a singe resolution for the ISIS cube label mapping group. More...
 

Private Attributes

TIFF * m_image
 LibTIFF representation of the input image. More...
 
uint32 * m_raster
 Buffer holding the raw TIFF image in memory. More...
 
uint16 m_photo
 The enumerated photometric interpretation of the input image. More...
 
uint16 m_samplesPerPixel
 The number of "samples" (bands in Isis terms) in the input image. More...
 
GTIF * m_geotiff
 GeoTiff hanele. More...
 
PvlGroup m_map
 ISIS Mapping group. More...
 
FileNamem_inputName
 The filename of the input image. More...
 
Cubem_outCube
 The owned handle on the output cube to be imported to. More...
 
int m_samples
 The number of samples to be written to the output. More...
 
int m_lines
 The number of lines to be written to the output. More...
 
int m_bands
 The number of bands to be written to the output. More...
 
double m_nullMin
 The lower bound of the range within which input DNs will be made Null. More...
 
double m_nullMax
 The upper bound of the range within which input DNs will be made Null. More...
 
double m_lrsMin
 The lower bound of the range within which input DNs will be made LRS. More...
 
double m_lrsMax
 The upper bound of the range within which input DNs will be made LRS. More...
 
double m_hrsMin
 The lower bound of the range within which input DNs will be made HRS. More...
 
double m_hrsMax
 The upper bound of the range within which input DNs will be made HRS. More...
 

Detailed Description

Imports TIFF images as Isis cubes.

Takes a TIFF input image and imports it into Isis in the cube format. Unlike Qt's facilities for importing TIFFs, this class is capable of importing images >2GB, provided the user's machine has sufficient RAM to hold such an image in memory.

Author
2012-03-16 Travis Addair
Todo:
Read chunks of the image into memory at a time, not the entire image.
Todo:
Add all ISIS projection to the convertProjection member.
History:
2012-03-28 Travis Addair - Added documentation.
History:
2013-12-11 Stuart Sides - Added new member convterProjection. This is for converting GeoTiff projection tags to standard ISIS Mapping lables.

Definition at line 45 of file TiffImporter.h.

Member Typedef Documentation

◆ GetChannelMethod

typedef int(ImageImporter::* Isis::ImageImporter::GetChannelMethod) (int pixel) const
protectedinherited

Friendly alias for a method used to get a particular color channel.

Definition at line 97 of file ImageImporter.h.

Constructor & Destructor Documentation

◆ TiffImporter()

◆ ~TiffImporter()

Isis::TiffImporter::~TiffImporter ( )
virtual

Destruct the importer.

Definition at line 85 of file TiffImporter.cpp.

References m_geotiff, m_image, and m_raster.

Member Function Documentation

◆ bands()

int Isis::ImageImporter::bands ( ) const
inherited

The band dimension (depth) of the output image.

Returns
The band dimension

Definition at line 298 of file ImageImporter.cpp.

References Isis::ImageImporter::m_bands.

Referenced by Isis::ImageImporter::createOutput(), Isis::ImageImporter::getBandChannel(), Isis::ImageImporter::import(), and Isis::JP2Importer::JP2Importer().

◆ convertProjection()

PvlGroup Isis::TiffImporter::convertProjection ( ) const
virtual

Convert any projection information associated with the input image to an ISIS Mapping group in PVL form.

Currently this routine only handles GeoTiff tags containing UTM projection parameters. NOTE: As written, this only works for a few projections. The tranlsation files can be extened to work for more, but the whole design needs to be generalized and thought out.

References: http://www.remotesensing.org/geotiff/spec/geotiffhome.html

Returns
The ISIS PVL mapping group
Todo:
Generalize this and make it work for all ISIS projections (preferably without changes when new projections are added to ISIS)

Reimplemented from Isis::ImageImporter.

Definition at line 110 of file TiffImporter.cpp.

References Isis::PvlObject::addGroup(), Isis::PvlToPvlTranslationManager::Auto(), Isis::ProjectionFactory::Create(), Isis::FileName::expanded(), Isis::FileName::fileExists(), Isis::PvlObject::findGroup(), gdalItems(), Isis::TProjection::LocalRadius(), m_geotiff, Isis::PI, resolution(), Isis::toString(), Isis::TProjection::TrueScaleLatitude(), and upperLeftXY().

◆ convertRgbToGray()

int Isis::ImageImporter::convertRgbToGray ( int  pixel) const
protectedvirtualinherited

Convert the current pixel, taken from an RGB/A image, and blend its RGB components into a single grayscale DN.

The three color components are weighted by the following formula:

gray = (red * 11 + green * 16 + blue * 5) / 32

This formula was taken from the Qt documentation on converting an RGB value to grayscale: http://qt-project.org/doc/qt-4.8/qcolor.html#qGray-2

Parameters
pixelThe pixel value to be broken up into RGB components and converted to grayscale
Returns
The grayscale DN value

Definition at line 399 of file ImageImporter.cpp.

References Isis::ImageImporter::getBlue(), Isis::ImageImporter::getGreen(), and Isis::ImageImporter::getRed().

Referenced by Isis::JP2Importer::getGray(), and getGray().

◆ createOutput()

Cube * Isis::ImageImporter::createOutput ( FileName  outputName,
CubeAttributeOutput att 
)
protectedinherited

Create the output cube from the given filename and attributes.

Set its dimensions based on those encapsulated by the importer.

Parameters
outputNameThe filename of the output cube
attThe attributes for writing the output cube
Returns
The newly created cube handle devoid of any data

Definition at line 179 of file ImageImporter.cpp.

References Isis::ImageImporter::bands(), Isis::Cube::create(), Isis::FileName::expanded(), Isis::ImageImporter::lines(), Isis::ImageImporter::m_outCube, Isis::ImageImporter::samples(), and Isis::Cube::setDimensions().

Referenced by Isis::ImageImporter::import().

◆ filename()

FileName Isis::ImageImporter::filename ( ) const
inherited

The filename of the input image this instance was constructed with.

Returns
A copy of the input filename

Definition at line 308 of file ImageImporter.cpp.

References Isis::ImageImporter::m_inputName.

Referenced by Isis::JP2Importer::JP2Importer().

◆ fromFileName()

ImageImporter * Isis::ImageImporter::fromFileName ( FileName  inputName)
staticinherited

A static (factory) method for constructing an ImageImporter instance from an input filename.

The specific subclass of the returned instance is determined from the interpreted image format of the input image. Such tests are done by reading a minimal amount of the input data necessary to determine the format. It is the caller's responsibility to delete the importer instance when they are finished with it. Note that deleting the importer will also delete the cube handle returned by the import() method.

Parameters
inputNameThe filename of the input image to be imported
Returns
A pointer to the instantiated importer owned by the caller

Definition at line 420 of file ImageImporter.cpp.

References Isis::FileName::expanded(), and Isis::IException::Programmer.

◆ gdalItems()

Pvl Isis::TiffImporter::gdalItems ( const Pvl inLab) const
private

Convert items in the GDAL tag to the ISIS mapping group.

This includes the min/max lats/lons

Returns
The ISIS PVL with a mapping group

Definition at line 371 of file TiffImporter.cpp.

References Isis::PvlObject::findGroup(), m_image, and Isis::toString().

Referenced by convertProjection().

◆ getAlpha()

int Isis::TiffImporter::getAlpha ( int  pixel) const
protectedvirtual

Retrieves the alpha component of the given pixel.

Parameters
pixelRepresentation of a LibTIFF pixel value
Returns
The alpha component

Implements Isis::ImageImporter.

Definition at line 635 of file TiffImporter.cpp.

◆ getBandChannel()

ImageImporter::GetChannelMethod Isis::ImageImporter::getBandChannel ( int  band) const
protectedvirtualinherited

Retrieve the method responsible for fetching the color channel from the input image corresponding to the current band out of output being filled.

This will always be the getGray() method for single band output images. For RGB/A images, band 1 will be red, band 2 green, band 3 blue, and band 4 alpha.

Parameters
bandThe current band of the output image
Returns
The method that converts input pixels into the current band's color component

Definition at line 354 of file ImageImporter.cpp.

References Isis::ImageImporter::bands(), Isis::ImageImporter::getAlpha(), Isis::ImageImporter::getBlue(), Isis::ImageImporter::getGray(), Isis::ImageImporter::getGreen(), Isis::ImageImporter::getRed(), and Isis::IException::Programmer.

Referenced by Isis::ImageImporter::operator()().

◆ getBlue()

int Isis::TiffImporter::getBlue ( int  pixel) const
protectedvirtual

Retrieves the blue component of the given pixel.

Parameters
pixelRepresentation of a LibTIFF pixel value
Returns
The blue component

Implements Isis::ImageImporter.

Definition at line 623 of file TiffImporter.cpp.

◆ getGray()

int Isis::TiffImporter::getGray ( int  pixel) const
protectedvirtual

Retrieves the gray component of the given pixel.

In LibTIFF, even grayscale images are given RGB channels, so converts the RGB components into grayscale regardless of input photometric interpretation.

Parameters
pixelRepresentation of a LibTIFF pixel value
Returns
The gray component

Implements Isis::ImageImporter.

Definition at line 587 of file TiffImporter.cpp.

References Isis::ImageImporter::convertRgbToGray().

◆ getGreen()

int Isis::TiffImporter::getGreen ( int  pixel) const
protectedvirtual

Retrieves the green component of the given pixel.

Parameters
pixelRepresentation of a LibTIFF pixel value
Returns
The green component

Implements Isis::ImageImporter.

Definition at line 611 of file TiffImporter.cpp.

◆ getPixel()

int Isis::TiffImporter::getPixel ( int  s,
int  l 
) const
protectedvirtual

Returns a representation of a pixel for the input format that can then be broken down into specific gray or RGB/A components.

Parameters
sThe sample of the desired pixel
lThe line of the desired pixel
Returns
The pixel at the given sample and line of the input with all channel info

Implements Isis::ImageImporter.

Definition at line 571 of file TiffImporter.cpp.

References Isis::ImageImporter::lines(), m_raster, and Isis::ImageImporter::samples().

◆ getRed()

int Isis::TiffImporter::getRed ( int  pixel) const
protectedvirtual

Retrieves the red component of the given pixel.

Parameters
pixelRepresentation of a LibTIFF pixel value
Returns
The red component

Implements Isis::ImageImporter.

Definition at line 599 of file TiffImporter.cpp.

◆ import() [1/2]

Cube * Isis::ImageImporter::import ( FileName  outputName)
inherited

Import the image with default output attributes.

Parameters
outputNameThe filename of the output cube

Definition at line 108 of file ImageImporter.cpp.

◆ import() [2/2]

Cube * Isis::ImageImporter::import ( FileName  outputName,
CubeAttributeOutput att 
)
inherited

Import the input image this instance was constructed with into the given output Isis cube with the given output attributes.

This will do a black-box import using a ProcessByLine routine. The BandBin group will be updated in the output cube with the names of the color channels included. The output cube will be returned on completion of the import process so the caller can continue to modify the labels. The importer instance will retain ownership of this cube, such that the cube handle will be deallocated upon destruction of the importer.

Parameters
outputNameThe filename of the output cube
attThe attributes for writing the output cube
Returns
A handle on the newly imported Isis cube owned by the importer

Definition at line 129 of file ImageImporter.cpp.

References Isis::PvlObject::addGroup(), Isis::ImageImporter::bands(), Isis::ImageImporter::convertProjection(), Isis::ImageImporter::createOutput(), Isis::ProcessByBrick::EndProcess(), Isis::PvlObject::findObject(), Isis::PvlContainer::keywords(), Isis::Cube::label(), Isis::ProcessByLine::ProcessCubeInPlace(), Isis::IException::Programmer, Isis::ProcessByLine::SetInputCube(), Isis::ProcessByBrick::SetProcessingDirection(), and Isis::Process::WriteHistory().

◆ isArgb()

bool Isis::TiffImporter::isArgb ( ) const
virtual

Tests to see if the input image is not grayscale and has more than three samples per pixel, implying RGBA.

Returns
True if the image is RGBA, false otherwise

Implements Isis::ImageImporter.

Definition at line 545 of file TiffImporter.cpp.

References isGrayscale(), and samplesPerPixel().

◆ isGrayscale()

bool Isis::TiffImporter::isGrayscale ( ) const
virtual

Tests to see if the input image has a "min is white" or "min is black" photometric interpretation, implying grayscale (no RGB/A).

Returns
True if the image is grayscale, false otherwise

Implements Isis::ImageImporter.

Definition at line 521 of file TiffImporter.cpp.

References m_photo.

Referenced by isArgb(), and isRgb().

◆ isRgb()

bool Isis::TiffImporter::isRgb ( ) const
virtual

Tests to see if the input image is neither grayscale nor has more than three samples per pixel, implying RGB (no alpha).

Returns
True if the image is RGB, false otherwise

Implements Isis::ImageImporter.

Definition at line 534 of file TiffImporter.cpp.

References isGrayscale(), and samplesPerPixel().

◆ lines()

int Isis::ImageImporter::lines ( ) const
inherited

The line dimension (height) of the output image.

Returns
The line dimension

Definition at line 288 of file ImageImporter.cpp.

References Isis::ImageImporter::m_lines.

Referenced by Isis::ImageImporter::createOutput(), getPixel(), and TiffImporter().

◆ operator()()

void Isis::ImageImporter::operator() ( Buffer out) const
inherited

The method for processing the output cube in place, called for each line of the output image.

Enables the importer to be used as a functor in a custom ProcessByLine routine, bypassing the black-box import() method entirely. Care should be taken, however, to observe the requirements placed on the structure of such a processing routine by this method. For example, the JP2Importer child requires that the processing proceed in the direction of bands before lines, because its input data is structured in a BIL (band interlaced by line) format.

Parameters
outA reference to a line of output data to be written to

Definition at line 84 of file ImageImporter.cpp.

References Isis::Buffer::Band(), Isis::ImageImporter::getBandChannel(), Isis::ImageImporter::getPixel(), Isis::Buffer::Line(), Isis::Buffer::SampleDimension(), Isis::ImageImporter::testSpecial(), and Isis::ImageImporter::updateRawBuffer().

◆ resolution()

Pvl Isis::TiffImporter::resolution ( const Pvl inLab) const
private

Convert the Tiff PixelScale tag data to a singe resolution for the ISIS cube label mapping group.

Returns
The ISIS PVL mapping group

Definition at line 475 of file TiffImporter.cpp.

References Isis::PvlObject::findGroup(), m_image, Isis::toString(), and Isis::IException::User.

Referenced by convertProjection().

◆ samples()

int Isis::ImageImporter::samples ( ) const
inherited

The sample dimension (width) of the output image.

Returns
The sample dimension

Definition at line 278 of file ImageImporter.cpp.

References Isis::ImageImporter::m_samples.

Referenced by Isis::ImageImporter::createOutput(), getPixel(), Isis::JP2Importer::JP2Importer(), and TiffImporter().

◆ samplesPerPixel()

int Isis::TiffImporter::samplesPerPixel ( ) const
protected

The number of "samples" (bands in Isis terms) per pixel in the input image.

Combined with the photometric interpretation, this can be used to determine the color mode of the input image. We need both pieces of information because grayscale images are not guaranteed to have only one sample per pixel.

Returns
The samples per pixel

Definition at line 510 of file TiffImporter.cpp.

References m_samplesPerPixel.

Referenced by isArgb(), and isRgb().

◆ setBands()

void Isis::ImageImporter::setBands ( int  b)
inherited

Set the band dimension (depth) of the output image.

Because this importer only works on Grayscale, RGB, and RGBA images, possible values are 1, 3, and 4 for the respective color modes.

Parameters
bThe new band dimension

Definition at line 263 of file ImageImporter.cpp.

References Isis::ImageImporter::m_bands, and Isis::IException::Programmer.

Referenced by Isis::JP2Importer::JP2Importer(), and Isis::ImageImporter::setDefaultBands().

◆ setDefaultBands()

void Isis::ImageImporter::setDefaultBands ( )
protectedinherited

Set the number of bands to be created for the output cube based on the number of color channels in the input image.

Definition at line 192 of file ImageImporter.cpp.

References Isis::ImageImporter::isArgb(), Isis::ImageImporter::isGrayscale(), and Isis::ImageImporter::setBands().

Referenced by Isis::QtImporter::QtImporter(), and TiffImporter().

◆ setHrsRange()

void Isis::ImageImporter::setHrsRange ( double  min,
double  max 
)
inherited

Set the range of DN values within which a pixel from the input image will be set to HRS in the output.

Parameters
minAny DN less than this value will not be set to HRS.
maxAny DN greater than this value will not be set to HRS.

Definition at line 230 of file ImageImporter.cpp.

References Isis::ImageImporter::m_hrsMax, and Isis::ImageImporter::m_hrsMin.

◆ setLines()

void Isis::ImageImporter::setLines ( int  l)
inherited

Set the line dimension (height) of the output image.

Parameters
lThe new line dimension

Definition at line 251 of file ImageImporter.cpp.

References Isis::ImageImporter::m_lines.

Referenced by Isis::JP2Importer::JP2Importer(), Isis::QtImporter::QtImporter(), and TiffImporter().

◆ setLrsRange()

void Isis::ImageImporter::setLrsRange ( double  min,
double  max 
)
inherited

Set the range of DN values within which a pixel from the input image will be set to LRS in the output.

Parameters
minAny DN less than this value will not be set to LRS.
maxAny DN greater than this value will not be set to LRS.

Definition at line 217 of file ImageImporter.cpp.

References Isis::ImageImporter::m_lrsMax, and Isis::ImageImporter::m_lrsMin.

◆ setNullRange()

void Isis::ImageImporter::setNullRange ( double  min,
double  max 
)
inherited

Set the range of DN values within which a pixel from the input image will be set to Null in the output.

Parameters
minAny DN less than this value will not be set to Null.
maxAny DN greater than this value will not be set to Null.

Definition at line 204 of file ImageImporter.cpp.

References Isis::ImageImporter::m_nullMax, and Isis::ImageImporter::m_nullMin.

◆ setSamples()

void Isis::ImageImporter::setSamples ( int  s)
inherited

Set the sample dimension (width) of the output image.

Parameters
sThe new sample dimension

Definition at line 241 of file ImageImporter.cpp.

References Isis::ImageImporter::m_samples.

Referenced by Isis::JP2Importer::JP2Importer(), Isis::QtImporter::QtImporter(), and TiffImporter().

◆ testSpecial()

double Isis::ImageImporter::testSpecial ( double  pixel) const
protectedinherited

Tests a pixel against the Null, HRS, and LRS ranges defined by the importer's handler.

Any pixel value falling within one of these ranges will be converted into the given type of special pixel. In case of overlapping ranges, these tests will be performed in the order mentioned at the start of this description. By default, these ranges are set such that all incoming pixels will retain their original values.

Parameters
pixelThe DN value to be tested
Returns
The valid DN or special pixel if it fell within the special ranges

Definition at line 325 of file ImageImporter.cpp.

References Isis::ImageImporter::m_hrsMin, Isis::ImageImporter::m_lrsMin, and Isis::ImageImporter::m_nullMin.

Referenced by Isis::ImageImporter::operator()().

◆ updateRawBuffer()

void Isis::TiffImporter::updateRawBuffer ( int  line,
int  band 
) const
protectedvirtual

Does nothing as LibTIFF reads the entire input image into memory, and therefore does not need to be updated throughout the import process.

Parameters
lineCurrent line of the output buffer
bandCurrent band of the output buffer

Implements Isis::ImageImporter.

Definition at line 557 of file TiffImporter.cpp.

◆ upperLeftXY()

Pvl Isis::TiffImporter::upperLeftXY ( const Pvl inLab) const
private

Convert the Tiff Tiepoint tag data to Upper Left X & Y values for the ISIS cube label mapping group.

Returns
The ISIS PVL mapping group

Definition at line 430 of file TiffImporter.cpp.

References Isis::PvlContainer::deleteKeyword(), Isis::PvlObject::findGroup(), Isis::PvlContainer::hasKeyword(), m_image, Isis::toString(), and Isis::IException::User.

Referenced by convertProjection().

Member Data Documentation

◆ m_bands

int Isis::ImageImporter::m_bands
privateinherited

The number of bands to be written to the output.

Definition at line 193 of file ImageImporter.h.

Referenced by Isis::ImageImporter::bands(), and Isis::ImageImporter::setBands().

◆ m_geotiff

GTIF* Isis::TiffImporter::m_geotiff
private

GeoTiff hanele.

Definition at line 82 of file TiffImporter.h.

Referenced by convertProjection(), TiffImporter(), and ~TiffImporter().

◆ m_hrsMax

double Isis::ImageImporter::m_hrsMax
privateinherited

The upper bound of the range within which input DNs will be made HRS.

Definition at line 211 of file ImageImporter.h.

Referenced by Isis::ImageImporter::ImageImporter(), and Isis::ImageImporter::setHrsRange().

◆ m_hrsMin

double Isis::ImageImporter::m_hrsMin
privateinherited

The lower bound of the range within which input DNs will be made HRS.

Definition at line 208 of file ImageImporter.h.

Referenced by Isis::ImageImporter::ImageImporter(), Isis::ImageImporter::setHrsRange(), and Isis::ImageImporter::testSpecial().

◆ m_image

TIFF* Isis::TiffImporter::m_image
private

LibTIFF representation of the input image.

Definition at line 70 of file TiffImporter.h.

Referenced by gdalItems(), resolution(), TiffImporter(), upperLeftXY(), and ~TiffImporter().

◆ m_inputName

FileName* Isis::ImageImporter::m_inputName
privateinherited

The filename of the input image.

Definition at line 181 of file ImageImporter.h.

Referenced by Isis::ImageImporter::filename(), Isis::ImageImporter::ImageImporter(), and Isis::ImageImporter::~ImageImporter().

◆ m_lines

int Isis::ImageImporter::m_lines
privateinherited

The number of lines to be written to the output.

Definition at line 190 of file ImageImporter.h.

Referenced by Isis::ImageImporter::lines(), and Isis::ImageImporter::setLines().

◆ m_lrsMax

double Isis::ImageImporter::m_lrsMax
privateinherited

The upper bound of the range within which input DNs will be made LRS.

Definition at line 205 of file ImageImporter.h.

Referenced by Isis::ImageImporter::ImageImporter(), and Isis::ImageImporter::setLrsRange().

◆ m_lrsMin

double Isis::ImageImporter::m_lrsMin
privateinherited

The lower bound of the range within which input DNs will be made LRS.

Definition at line 202 of file ImageImporter.h.

Referenced by Isis::ImageImporter::ImageImporter(), Isis::ImageImporter::setLrsRange(), and Isis::ImageImporter::testSpecial().

◆ m_map

PvlGroup Isis::TiffImporter::m_map
private

ISIS Mapping group.

Definition at line 85 of file TiffImporter.h.

◆ m_nullMax

double Isis::ImageImporter::m_nullMax
privateinherited

The upper bound of the range within which input DNs will be made Null.

Definition at line 199 of file ImageImporter.h.

Referenced by Isis::ImageImporter::ImageImporter(), and Isis::ImageImporter::setNullRange().

◆ m_nullMin

double Isis::ImageImporter::m_nullMin
privateinherited

The lower bound of the range within which input DNs will be made Null.

Definition at line 196 of file ImageImporter.h.

Referenced by Isis::ImageImporter::ImageImporter(), Isis::ImageImporter::setNullRange(), and Isis::ImageImporter::testSpecial().

◆ m_outCube

Cube* Isis::ImageImporter::m_outCube
privateinherited

The owned handle on the output cube to be imported to.

Definition at line 184 of file ImageImporter.h.

Referenced by Isis::ImageImporter::createOutput(), Isis::ImageImporter::ImageImporter(), and Isis::ImageImporter::~ImageImporter().

◆ m_photo

uint16 Isis::TiffImporter::m_photo
private

The enumerated photometric interpretation of the input image.

Definition at line 76 of file TiffImporter.h.

Referenced by isGrayscale(), and TiffImporter().

◆ m_raster

uint32* Isis::TiffImporter::m_raster
private

Buffer holding the raw TIFF image in memory.

Definition at line 73 of file TiffImporter.h.

Referenced by getPixel(), TiffImporter(), and ~TiffImporter().

◆ m_samples

int Isis::ImageImporter::m_samples
privateinherited

The number of samples to be written to the output.

Definition at line 187 of file ImageImporter.h.

Referenced by Isis::ImageImporter::samples(), and Isis::ImageImporter::setSamples().

◆ m_samplesPerPixel

uint16 Isis::TiffImporter::m_samplesPerPixel
private

The number of "samples" (bands in Isis terms) in the input image.

Definition at line 79 of file TiffImporter.h.

Referenced by samplesPerPixel(), and TiffImporter().


The documentation for this class was generated from the following files: