1 #ifndef ProcessMosaic_h 2 #define ProcessMosaic_h 240 virtual void StartProcess(
const int &piOutSample,
const int &piOutLine,
const int &piOutBand);
253 const int ss,
const int sl,
255 const int ns,
const int nl,
262 const int ss = 1,
const int sl = 1,
264 const int ns = -1,
const int nl = -1,
275 void SetBandKeyword(QString bandPriorityKeyName, QString bandPriorityKeyValue);
303 void BandComparison(
int iss,
int isl,
int ins,
int inl,
304 int bandPriorityInputBandNumber,
int bandPriorityOutputBandNumber,
308 void BandPriorityWithNoTracking(
int iss,
int isl,
int isb,
309 int ins,
int inl,
int inb,
310 int bandPriorityInputBandNumber,
311 int bandPriorityOutputBandNumber);
314 int GetOriginDefaultByPixelType();
317 int GetBandIndex(
bool inputFile);
320 bool GetTrackStatus();
323 void AddBandBinGroup(
int origIsb);
326 void AddDefaultBandBinGroup();
329 void MatchBandBinGroup(
int origIsb,
int &inb);
331 bool ProcessAveragePriority(
int piPixel,
Portal& pInPortal,
Portal& pOutPortal,
334 void ResetCountBands();
337 void MatchDEMShapeModel();
339 bool m_trackingEnabled;
340 Cube *m_trackingCube;
341 bool m_createOutputMosaic;
342 int m_bandPriorityBandNumber;
343 QString m_bandPriorityKeyName;
344 QString m_bandPriorityKeyValue;
345 bool m_bandPriorityUseMaxValue;
360 bool m_enforceBandBinMatch;
364 bool m_enforceMatchDEM;
375 bool m_placeHighSatPixels;
376 bool m_placeLowSatPixels;
377 bool m_placeNullPixels;
static const int FLOAT_STORE_INT_PRECISELY_MIN_VALUE
Definition: ProcessMosaic.h:217
void SetNullFlag(bool placeNullPixels)
When true, Null pixels will be considered valid data for the purposes of placing pixels in the output...
Definition: ProcessMosaic.cpp:824
void SetHighSaturationFlag(bool placeHighSatPixels)
When true, high saturation (HRS, HIS) will be considered valid data for the purposes of placing pixel...
Definition: ProcessMosaic.cpp:793
virtual void EndProcess()
Cleans up by closing input, output and tracking cubes.
Definition: ProcessMosaic.cpp:534
average priority
Definition: ProcessMosaic.h:227
void SetImageOverlay(ImageOverlay placement)
Definition: ProcessMosaic.cpp:798
int GetInputStartLineInMosaic() const
This is the line where the image was placed into the output mosaic.
Definition: ProcessMosaic.cpp:877
PvlObject imagePositions()
Accessor for the placed images and their locations.
Definition: ProcessMosaic.cpp:549
void SetLowSaturationFlag(bool placeLowSatPixels)
When true, low saturation (LRS, LIS) will be considered valid data for the purposes of placing pixels...
Definition: ProcessMosaic.cpp:807
Buffer for containing a two dimensional section of an image.
Definition: Portal.h:52
Isis::Cube * SetOutputCube(const QString &psParameter)
Opens an output cube specified by the user.
Definition: ProcessMosaic.cpp:709
void SetBandKeyword(QString bandPriorityKeyName, QString bandPriorityKeyValue)
Set the keyword/value to use for comparing when using band priority.
Definition: ProcessMosaic.cpp:753
band priority
Definition: ProcessMosaic.h:226
ImageOverlay
Enumeration for different Mosaic priorities (input, mosaic, band)
Definition: ProcessMosaic.h:223
bool GetLowSaturationFlag() const
Definition: ProcessMosaic.cpp:853
static QString OverlayToString(ImageOverlay)
Convert an ImageOverlay to a QString.
Definition: ProcessMosaic.cpp:902
virtual void StartProcess(void funct())
In the base class, this method will invoked a user-specified function exactly one time...
Definition: Process.h:228
static const int FLOAT_STORE_INT_PRECISELY_MAX_VALUE
Definition: ProcessMosaic.h:216
void SetBandNumber(int bandPriorityBandNumber)
Set the band to use for priorities when using band priority.
Definition: ProcessMosaic.cpp:762
int GetInputStartBandInMosaic() const
This is the band where the image was placed into the output mosaic.
Definition: ProcessMosaic.cpp:893
virtual Isis::Cube * SetInputCube(const QString ¶meter, const int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
Definition: Process.cpp:243
void SetTrackFlag(bool trackingEnabled)
Definition: ProcessMosaic.cpp:829
int GetInputStartSampleInMosaic() const
This is the sample where the image was placed into the output mosaic.
Definition: ProcessMosaic.cpp:885
Definition: ProcessMosaic.h:228
bool GetHighSaturationFlag() const
Definition: ProcessMosaic.cpp:837
void SetMatchDEM(bool matchDEM)
Set the DEM match flag.
Definition: ProcessMosaic.cpp:815
static ImageOverlay StringToOverlay(QString)
Convert a QString to an ImageOverlay (case-insensitive).
Definition: ProcessMosaic.cpp:940
virtual ~ProcessMosaic()
Destroys the Mosaic object. It will close all opened cubes.
Definition: ProcessMosaic.cpp:86
beneath priority
Definition: ProcessMosaic.h:225
ProcessMosaic()
ProcessMosaic Contructor.
Definition: ProcessMosaic.cpp:48
void SetBandUseMaxValue(bool useMax)
Set whether to take the image with the max or min value when using band priority. ...
Definition: ProcessMosaic.cpp:771
Mosaic two cubes together.
Definition: ProcessMosaic.h:210
virtual Isis::Cube * SetInputCube(const QString ¶meter, const int ss, const int sl, const int sb, const int ns, const int nl, const int nb)
Opens an input cube specified by the user.
Definition: ProcessMosaic.cpp:591
void SetCreateFlag(bool createOutputMosaic)
Flag to indicate that the mosaic is being newly created Indication that the new label specific to the...
Definition: ProcessMosaic.cpp:784
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
bool GetTrackFlag() const
Definition: ProcessMosaic.cpp:869
ImageOverlay GetImageOverlay() const
Definition: ProcessMosaic.cpp:845
virtual void StartProcess(const int &piOutSample, const int &piOutLine, const int &piOutBand)
This method invokes the process by mosaic operation over a single input cube and single output cube...
Definition: ProcessMosaic.cpp:121
static const char * TRACKING_TABLE_NAME
This is the name of the table in the Cube which will contain the image file names.
Definition: ProcessMosaic.h:213
void SetBandBinMatch(bool enforceBandBinMatch)
Definition: ProcessMosaic.cpp:745
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:74
ontop priority
Definition: ProcessMosaic.h:224
Base class for all cube processing derivatives.
Definition: Process.h:158
bool GetNullFlag() const
Definition: ProcessMosaic.cpp:861
IO Handler for Isis Cubes.
Definition: Cube.h:170