|
Isis Developer Reference
|
Go to the documentation of this file.
53 virtual bool isRgb()
const;
54 virtual bool isArgb()
const;
60 virtual int getPixel(
int s,
int l)
const;
62 virtual int getGray(
int pixel)
const;
63 virtual int getRed(
int pixel)
const;
64 virtual int getGreen(
int pixel)
const;
65 virtual int getBlue(
int pixel)
const;
66 virtual int getAlpha(
int pixel)
const;
79 uint16 m_samplesPerPixel;
87 Pvl gdalItems(
const Pvl &outPvl)
const;
88 Pvl upperLeftXY(
const Pvl &inLab)
const;
89 Pvl resolution(
const Pvl &inLab)
const;
double LocalRadius(double lat) const
This method returns the local radius in meters at the specified latitude position.
Definition: TProjection.cpp:326
virtual ~TiffImporter()
Destruct the importer.
Definition: TiffImporter.cpp:85
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
virtual bool isArgb() const
Tests to see if the input image is not grayscale and has more than three samples per pixel,...
Definition: TiffImporter.cpp:545
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
virtual int getGray(int pixel) const
Retrieves the gray component of the given pixel.
Definition: TiffImporter.cpp:587
const double PI
The mathematical constant PI.
Definition: Constants.h:40
A single keyword-value pair.
Definition: PvlKeyword.h:82
File name manipulation and expansion.
Definition: FileName.h:100
bool fileExists() const
Returns true if the file exists; false otherwise.
Definition: FileName.cpp:449
virtual PvlGroup convertProjection() const
Convert any projection information associated with the input image to an ISIS Mapping group in PVL fo...
Definition: TiffImporter.cpp:110
virtual int getAlpha(int pixel) const
Retrieves the alpha component of the given pixel.
Definition: TiffImporter.cpp:635
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: TiffImporter.cpp:571
Container for cube-like labels.
Definition: Pvl.h:119
Imports images with standard formats into Isis as cubes.
Definition: ImageImporter.h:39
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
virtual bool isRgb() const
Tests to see if the input image is neither grayscale nor has more than three samples per pixel,...
Definition: TiffImporter.cpp:534
TiffImporter(FileName inputName)
Construct the importer.
Definition: TiffImporter.cpp:33
Allows applications to translate simple text files.
Definition: PvlToPvlTranslationManager.h:65
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
void setDefaultBands()
Set the number of bands to be created for the output cube based on the number of color channels in th...
Definition: ImageImporter.cpp:192
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Base class for Map TProjections.
Definition: TProjection.h:166
int samples() const
The sample dimension (width) of the output image.
Definition: ImageImporter.cpp:278
virtual int getGreen(int pixel) const
Retrieves the green component of the given pixel.
Definition: TiffImporter.cpp:611
Isis exception class.
Definition: IException.h:91
void setLines(int l)
Set the line dimension (height) of the output image.
Definition: ImageImporter.cpp:251
static Isis::Projection * Create(Isis::Pvl &label, bool allowDefaults=false)
This method returns a pointer to a Projection object.
Definition: ProjectionFactory.cpp:51
Defines an angle and provides unit conversions.
Definition: Angle.h:45
void addGroup(const Isis::PvlGroup &group)
Add a group to the object.
Definition: PvlObject.h:186
int lines() const
The line dimension (height) of the output image.
Definition: ImageImporter.cpp:288
void deleteKeyword(const QString &name)
Remove a specified keyword.
Definition: PvlContainer.cpp:97
virtual double TrueScaleLatitude() const
This method returns the latitude of true scale.
Definition: TProjection.cpp:368
virtual int getBlue(int pixel) const
Retrieves the blue component of the given pixel.
Definition: TiffImporter.cpp:623
Imports TIFF images as Isis cubes.
Definition: TiffImporter.h:45
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
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...
Definition: TiffImporter.cpp:557
virtual int getRed(int pixel) const
Retrieves the red component of the given pixel.
Definition: TiffImporter.cpp:599
int samplesPerPixel() const
The number of "samples" (bands in Isis terms) per pixel in the input image.
Definition: TiffImporter.cpp:510
void Auto(Pvl &outputLabel)
Automatically translate all the output names found in the translation table If a output name does not...
Definition: PvlToPvlTranslationManager.cpp:199
virtual bool isGrayscale() const
Tests to see if the input image has a "min is white" or "min is black" photometric interpretation,...
Definition: TiffImporter.cpp:521
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