Isis Developer Reference
StretchTool.h
Go to the documentation of this file.
1 #ifndef StretchTool_h
2 #define StretchTool_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 // This is the only include allowed in this file!
13 #include "Tool.h"
14 
15 class QComboBox;
16 class QPushButton;
17 class QLineEdit;
18 class QRect;
19 class QToolButton;
20 
21 namespace Isis {
22  class AdvancedStretchDialog;
23  class Cube;
24  class CubeViewport;
25  class Histogram;
26  class Statistics;
27  class Stretch;
28  class ViewportBuffer;
29 
85  class StretchTool : public Tool {
86  Q_OBJECT
87 
88  public:
89  StretchTool(QWidget *parent);
90  ~StretchTool();
91  void addTo(QMenu *menu);
92 
96  enum StretchBand {
97  Gray,
98  Red,
101  All
102  };
103 
104  static Stretch stretchBuffer(ViewportBuffer *buffer, QRect rect);
105  static Stretch stretchBand(CubeViewport *cvp, StretchBand band);
106 
107  static Statistics statsFromCube(Cube *cube, int band);
108  static Statistics statsFromBuffer(ViewportBuffer *buffer, QRect rect);
109  static Histogram histFromCube(Cube *cube, int band,
110  double min, double max);
111  static Histogram histFromBuffer(ViewportBuffer *buffer);
112  static Histogram histFromBuffer(ViewportBuffer *buffer, QRect rect,
113  double min, double max);
114  void updateAdvStretchDialogforAll(void);
115 
123  QString menuName() const {
124  return "&View";
125  }
126 
127  signals:
133 
142  void warningSignal(std::string &pStr, const std::string pExStr);
143 
144  public slots:
145  void stretchGlobal();
146  void stretchGlobal(CubeViewport *);
147  void stretchGlobalAllBands();
149  void stretchRegional();
151 
152  protected:
154  QWidget *createToolBarWidget(QStackedWidget *parent);
155  void updateTool();
156  void stretchRequested(MdiCubeViewport *cvp, int bandId);
157 
158  protected slots:
159  void mouseButtonRelease(QPoint p, Qt::MouseButton s);
160  void saveStretchToCube();
161  void deleteFromCube();
162  void loadStretchFromCube();
163  void enableRubberBandTool();
164  void screenPixelsChanged();
165  void updateHistograms();
166  void rubberBandComplete();
168 
169  private slots:
170  void stretchChanged();
171  void advancedStretchChanged();
172  void changeStretch();
173  void showAdvancedDialog();
174  void setStretchAcrossBands();
175  void setStretchAllViewports();
176  void stretchBandChanged(int);
177 
178  private:
179  void stretchRect(CubeViewport *cvp, QRect rect);
180 
181  private:
182  AdvancedStretchDialog *m_advancedStretch;
183 
184  QToolButton *m_copyButton;
185  QToolButton *m_globalButton;
186  QToolButton *m_stretchRegionalButton;
187  QPushButton *m_flashButton;
188 
189  QAction *m_stretchGlobal;
190  QAction *m_stretchRegional;
191  QAction *m_stretchManual;
192  QAction *m_copyBands;
193 
194  QComboBox *m_stretchBandComboBox;
195 
196  QLineEdit *m_stretchMinEdit;
197  QLineEdit *m_stretchMaxEdit;
198 
199  StretchBand m_stretchBand;
200 
202  Stretch *m_preGlobalStretches;
203 
204  Stretch *m_chipViewportStretch;
205  };
206 };
207 
208 #endif
Isis::Brick::SetBasePosition
void SetBasePosition(const int start_sample, const int start_line, const int start_band)
This method is used to set the base position of the shape buffer.
Definition: Brick.h:120
Isis::AdvancedStretchDialog::isRgbMode
bool isRgbMode() const
Returns true if the dialog is displaying the RGB advanced stretches.
Definition: AdvancedStretchDialog.cpp:340
Isis::ViewportBuffer
Reads and stores visible DN values.
Definition: ViewportBuffer.h:63
Isis::AdvancedStretchDialog::restoreRgbStretch
void restoreRgbStretch(CubeStretch red, CubeStretch green, CubeStretch blue)
Restores a saved RGB stretch from the cube.
Definition: AdvancedStretchDialog.cpp:194
Stretch.h
Isis::MdiCubeViewport
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:39
QWidget
Isis::CubeViewport::redBuffer
ViewportBuffer * redBuffer()
Returns the red viewport buffer (Will be NULL if in Gray mode.)
Definition: CubeViewport.h:421
Isis::CubeViewport::setAllBandStretches
void setAllBandStretches(Stretch stretch)
Sets a stretch for all bands.
Definition: CubeViewport.cpp:1983
Isis::StretchTool::stretchChipViewport
void stretchChipViewport(Stretch *, CubeViewport *)
when a viewport is stretched, send the stretch and the viewport associated with it to any ChipViewpor...
Isis::Statistics
This class is used to accumulate statistics on double arrays.
Definition: Statistics.h:94
Isis::AdvancedStretchDialog::updateHistogram
void updateHistogram(const Histogram &grayHist)
This calls setHistogram on the gray advanced stretches.
Definition: AdvancedStretchDialog.cpp:306
Isis::Statistics::AddData
void AddData(const double *data, const unsigned int count)
Add an array of doubles to the accumulators and counters.
Definition: Statistics.cpp:141
Isis::ViewportBuffer::getLine
const std::vector< double > & getLine(int line)
Retrieves a line from the buffer.
Definition: ViewportBuffer.cpp:342
Isis::Histogram::Percent
double Percent(const double percent) const
Computes and returns the value at X percent of the histogram.
Definition: Histogram.cpp:351
MdiCubeViewport.h
Isis::RubberBandTool::setDrawActiveViewportOnly
void setDrawActiveViewportOnly(bool activeOnly=false)
This called to set whether rubber band is drawn on active viewport only rather than all linked viewpo...
Definition: RubberBandTool.cpp:333
Isis::RubberBandTool::RectangleMode
@ RectangleMode
Definition: RubberBandTool.h:62
Isis::PvlKeyword
A single keyword-value pair.
Definition: PvlKeyword.h:82
ViewportMainWindow.h
Isis::Tool::cubeViewportList
CubeViewportList * cubeViewportList() const
Return the list of cubeviewports.
Definition: Tool.cpp:390
Isis::StretchTool::stretchBuffer
static Stretch stretchBuffer(ViewportBuffer *buffer, QRect rect)
This method computes the stretch over a region using the viewport buffer.
Definition: StretchTool.cpp:1388
Histogram.h
Isis::PvlObject::beginObject
PvlObjectIterator beginObject()
Returns the index of the beginning object.
Definition: PvlObject.h:235
Isis::Cube::read
void read(Blob &blob, const std::vector< PvlKeyword > keywords=std::vector< PvlKeyword >()) const
This method will read data from the specified Blob object.
Definition: Cube.cpp:807
Isis::Tool
Base class for the Qisis tools.
Definition: Tool.h:67
Isis::StretchTool::All
@ All
All Bands.
Definition: StretchTool.h:101
Isis::CubeViewport::isGray
bool isGray() const
Definition: CubeViewport.h:189
Isis::AdvancedStretchDialog::getGrayStretch
CubeStretch getGrayStretch()
This returns the advanced stretch's stretch for gray.
Definition: AdvancedStretchDialog.cpp:350
MainWindow.h
CubeStretch.h
Isis::IException::Unknown
@ Unknown
A type of error that cannot be classified as any of the other error types.
Definition: IException.h:118
Isis::AdvancedStretchDialog::updateStretch
void updateStretch(CubeViewport *)
This calls setStretch on all applicable advanced stretches.
Definition: AdvancedStretchDialog.cpp:260
Isis::Buffer::DoubleBuffer
double * DoubleBuffer() const
Returns the value of the shape buffer.
Definition: Buffer.h:138
Isis::Stretch
Pixel value mapper.
Definition: Stretch.h:58
QMenu
Isis::Tool::toolIconDir
QString toolIconDir() const
returns the path to the icon directory.
Definition: Tool.h:113
Isis::StretchTool::stretchGlobalAllBands
void stretchGlobalAllBands()
This resets the stretch across all bands.
Definition: StretchTool.cpp:1122
Isis::Statistics::Maximum
double Maximum() const
Returns the absolute maximum double found in all data passed through the AddData method.
Definition: Statistics.cpp:403
Isis::AdvancedStretchDialog
Advanced Stretch Dialog.
Definition: AdvancedStretchDialog.h:30
Isis::RubberBandTool::enable
void enable(RubberBandMode mode, bool showIndicatorColors=false)
This is called when changing modes or turning on.
Definition: RubberBandTool.cpp:302
Isis::Tool::rubberBandTool
RubberBandTool * rubberBandTool()
Definition: Tool.cpp:57
Isis::Tool::mouseButtonRelease
virtual void mouseButtonRelease(QPoint p, Qt::MouseButton s)
Resets the Warning to Nowarning when a different activity occurs on the application.
Definition: Tool.cpp:380
Isis::StretchTool::screenPixelsChanged
void screenPixelsChanged()
This is called when the visible area changes.
Definition: StretchTool.cpp:747
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::CubeViewport::forgetStretches
void forgetStretches()
Resets all remembered stretches.
Definition: CubeViewport.cpp:1973
Tool.h
Isis::StretchTool::createToolBarWidget
QWidget * createToolBarWidget(QStackedWidget *parent)
Creates the widget to add to the tool bar.
Definition: StretchTool.cpp:145
Isis::StretchTool::updateHistograms
void updateHistograms()
This updates the visible histograms in the advanced stretch, if present.
Definition: StretchTool.cpp:331
Isis::Stretch::Pairs
int Pairs() const
Returns the number of stretch pairs.
Definition: Stretch.h:162
Isis::CubeStretch::setName
void setName(QString name)
Set the Stretch name.
Definition: CubeStretch.cpp:135
Isis::CubeStretch
Stores stretch information for a cube.
Definition: CubeStretch.h:27
Isis::StretchTool::~StretchTool
~StretchTool()
Destructor.
Definition: StretchTool.cpp:94
Isis::CubeViewport::greenStretch
CubeStretch greenStretch() const
Return the green band stretch.
Definition: CubeViewport.cpp:1674
Isis::Statistics::ValidPixels
BigInt ValidPixels() const
Returns the total number of valid pixels processed.
Definition: Statistics.cpp:433
Isis::StretchTool::stretchBand
static Stretch stretchBand(CubeViewport *cvp, StretchBand band)
This method computes the stretch over the entire cube.
Definition: StretchTool.cpp:1418
ToolPad.h
QStringList
Isis::Brick
Buffer for containing a three dimensional section of an image.
Definition: Brick.h:45
Isis::StretchTool::Red
@ Red
Red Band.
Definition: StretchTool.h:98
IString.h
QComboBox
CubeViewport.h
Isis::CubeViewport::blueBand
int blueBand() const
Definition: CubeViewport.h:209
Isis::StretchTool::statsFromBuffer
static Statistics statsFromBuffer(ViewportBuffer *buffer, QRect rect)
This method will calculate and return the statistics for a given region and viewport buffer.
Definition: StretchTool.cpp:1484
Isis::CubeViewport::redStretch
CubeStretch redStretch() const
Return the red band stretch.
Definition: CubeViewport.cpp:1668
Isis::StretchTool::stretchRequested
void stretchRequested(MdiCubeViewport *cvp, int bandId)
The cube viewport requested a stretch at this time, give it to the viewport.
Definition: StretchTool.cpp:848
Isis::StretchTool::warningSignal
void warningSignal(std::string &pStr, const std::string pExStr)
Shows a warning.
Isis::AdvancedStretchDialog::getBluStretch
CubeStretch getBluStretch()
This returns the advanced stretch's stretch for blue.
Definition: AdvancedStretchDialog.cpp:398
Isis::CubeViewport::stretchKnownGlobal
void stretchKnownGlobal()
List<Tool *> p This stretches to the global stretch.
Definition: CubeViewport.cpp:2153
Isis::PvlObject::PvlObjectIterator
QList< PvlObject >::iterator PvlObjectIterator
The counter for objects.
Definition: PvlObject.h:227
Isis::AdvancedStretchDialog::restoreGrayStretch
void restoreGrayStretch(CubeStretch stretch)
Restores a saved grayscale stretch from the cube.
Definition: AdvancedStretchDialog.cpp:176
Isis::CubeViewport::blueStretch
CubeStretch blueStretch() const
Return the blue band stretch.
Definition: CubeViewport.cpp:1680
Isis::CubeViewport::grayBand
int grayBand() const
Definition: CubeViewport.h:194
Isis::AdvancedStretchDialog::updateHistograms
void updateHistograms(const Histogram &redHist, const Histogram &grnHist, const Histogram &bluHist)
This calls setHistogram on all of the advanced stretches.
Definition: AdvancedStretchDialog.cpp:284
Isis::StretchTool::rubberBandComplete
void rubberBandComplete()
This method is called when the RubberBandTool is complete.
Definition: StretchTool.cpp:1189
Isis::Cube::lineCount
int lineCount() const
Definition: Cube.cpp:1734
Isis::ViewportMainWindow
This was called the Qisis MainWindow.
Definition: ViewportMainWindow.h:43
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::CubeViewport::grayStretch
CubeStretch grayStretch() const
Return the gray band stretch.
Definition: CubeViewport.cpp:1662
Isis::Stretch::CopyPairs
void CopyPairs(const Stretch &other)
Copies the stretch pairs from another Stretch object, but maintains special pixel values.
Definition: Stretch.cpp:392
Isis::toInt
int toInt(const QString &string)
Global function to convert from a string to an integer.
Definition: IString.cpp:93
Isis::Histogram::AddData
virtual void AddData(const double *data, const unsigned int count)
Add an array of doubles to the histogram counters.
Definition: Histogram.cpp:232
Isis::Statistics::Minimum
double Minimum() const
Returns the absolute minimum double found in all data passed through the AddData method.
Definition: Statistics.cpp:382
Isis::StretchTool::Blue
@ Blue
Blue Band.
Definition: StretchTool.h:100
Isis::StretchTool::histFromCube
static Histogram histFromCube(Cube *cube, int band, double min, double max)
This method will calculate and return the histogram for a given cube and band.
Definition: StretchTool.cpp:1519
Isis::StretchTool::histFromBuffer
static Histogram histFromBuffer(ViewportBuffer *buffer)
Given a viewport buffer, this calculates a histogram.
Definition: StretchTool.cpp:1541
Isis::StretchTool::Gray
@ Gray
Gray Band.
Definition: StretchTool.h:97
Blob.h
Isis::Stretch::AddPair
void AddPair(const double input, const double output)
Adds a stretch pair to the list of pairs.
Definition: Stretch.cpp:48
Isis::Stretch::ClearPairs
void ClearPairs()
Clears the stretch pairs.
Definition: Stretch.h:170
Isis::AdvancedStretchDialog::getRedStretch
CubeStretch getRedStretch()
This returns the advanced stretch's stretch for red.
Definition: AdvancedStretchDialog.cpp:366
Workspace.h
Isis::Cube::sampleCount
int sampleCount() const
Definition: Cube.cpp:1807
Isis::Statistics::BestMaximum
double BestMaximum(const double percent=99.5) const
This method returns the better of the absolute maximum or the Chebyshev maximum.
Definition: Statistics.cpp:625
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::CubeViewport
Widget to display Isis cubes for qt apps.
Definition: CubeViewport.h:122
Isis::StretchTool::enableRubberBandTool
void enableRubberBandTool()
This method enables the RubberBandTool.
Definition: StretchTool.cpp:1282
Isis::ViewportBuffer::bufferXYRect
QRect bufferXYRect()
Returns a rect, in screen pixels, of the area this buffer covers.
Definition: ViewportBuffer.cpp:1257
Isis::AdvancedStretchDialog::enable
void enable(bool enable)
Sets the enabled state to enable.
Definition: AdvancedStretchDialog.h:74
Isis::StretchTool::menuName
QString menuName() const
This let's Tool know which Menu the actions this class has should be added to.
Definition: StretchTool.h:123
Isis::StretchTool::updateAdvStretchDialogforAll
void updateAdvStretchDialogforAll(void)
Update the streches and corresponding histograms for all the colors Red, Green and Blue for Stretch A...
Definition: StretchTool.cpp:379
Isis::StretchTool::stretchRegional
void stretchRegional()
Does a regional stretch for the active viewport.
Definition: StretchTool.cpp:1158
Brick.h
Isis::ToolPad
Definition: ToolPad.h:14
Statistics.h
Isis::CubeStretch::toBlob
Isis::Blob toBlob() const
Serialize the CubeStretch to a Blob.
Definition: CubeStretch.cpp:84
IException.h
Isis::Cube::deleteBlob
bool deleteBlob(QString BlobName, QString BlobType)
This method will delete a blob label object from the cube as specified by the Blob type and name.
Definition: Cube.cpp:1955
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Isis::StretchTool::updateTool
void updateTool()
Updates the stretch tool.
Definition: StretchTool.cpp:795
std
Namespace for the standard library.
Isis::CubeViewport::stretchGreen
void stretchGreen(const QString &string)
Apply stretch pairs to green bands.
Definition: CubeViewport.cpp:2131
Isis::AdvancedStretchDialog::enableGrayMode
void enableGrayMode(Stretch &grayStretch, Histogram &grayHist)
This displays a gray advanced stretch.
Definition: AdvancedStretchDialog.cpp:151
Isis::AdvancedStretchDialog::updateForRGBMode
void updateForRGBMode(Stretch &redStretch, Histogram &redHist, Stretch &grnStretch, Histogram &grnHist, Stretch &bluStretch, Histogram &bluHist)
Update the stretch and histogram for all the bands for All BandId option.
Definition: AdvancedStretchDialog.cpp:122
Isis::CubeStretch::setBandNumber
void setBandNumber(int bandNumber)
Set the band number for the stretch.
Definition: CubeStretch.cpp:165
Isis::CubeViewport::blueBuffer
ViewportBuffer * blueBuffer()
Returns the blue viewport buffer (Will be NULL if in Gray mode.)
Definition: CubeViewport.h:441
Isis::StretchTool::loadStretchFromCube
void loadStretchFromCube()
Restores a saved stretch from the cube.
Definition: StretchTool.cpp:407
Isis::Cube::isReadOnly
bool isReadOnly() const
Test if the opened cube is read-only, that is write operations will fail if this is true.
Definition: Cube.cpp:213
Isis::Cube::pixelType
PixelType pixelType() const
Definition: Cube.cpp:1758
Isis::Histogram
Container of a cube histogram.
Definition: Histogram.h:74
Isis::Statistics::BestMinimum
double BestMinimum(const double percent=99.5) const
This method returns the better of the absolute minimum or the Chebyshev minimum.
Definition: Statistics.cpp:598
Isis::StretchTool::mouseButtonRelease
void mouseButtonRelease(QPoint p, Qt::MouseButton s)
This method will call a global stretch if the right mouse button is released.
Definition: StretchTool.cpp:1258
Isis::StretchTool
Stretch image edit tool.
Definition: StretchTool.h:85
Isis::Cube::label
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Definition: Cube.cpp:1701
ViewportBuffer.h
Isis::Cube::write
void write(Blob &blob, bool overwrite=true)
This method will write a blob of data (e.g.
Definition: Cube.cpp:971
RubberBandTool.h
QMap
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
Isis::StretchTool::statsFromCube
static Statistics statsFromCube(Cube *cube, int band)
This method will calculate and return the statistics for a given cube and band.
Definition: StretchTool.cpp:1461
Isis::ViewportBuffer::hasEntireCube
bool hasEntireCube()
Method to see if the entire cube is in the buffer.
Definition: ViewportBuffer.cpp:423
Isis::AdvancedStretchDialog::enabled
bool enabled()
Returns true if the advanced stretch is enabled.
Definition: AdvancedStretchDialog.h:65
Isis::StretchTool::Green
@ Green
Green Band.
Definition: StretchTool.h:99
Isis::StretchTool::StretchBand
StretchBand
Enum to store the bands.
Definition: StretchTool.h:96
StretchTool.h
Isis::IString
Adds specific functionality to C++ strings.
Definition: IString.h:165
Isis::StretchTool::setCubeViewport
void setCubeViewport(CubeViewport *)
This updates the advanced stretch to use the given viewport.
Definition: StretchTool.cpp:757
Isis::CubeViewport::grayBuffer
ViewportBuffer * grayBuffer()
Returns the gray viewport buffer (Will be NULL if in RGB mode.)
Definition: CubeViewport.h:411
Isis::Blob
Definition: Blob.h:51
Isis::StretchTool::stretchGlobal
void stretchGlobal()
Does a global stretch for the active viewport.
Definition: StretchTool.cpp:1111
AdvancedStretchDialog.h
QAction
Isis::StretchTool::deleteFromCube
void deleteFromCube()
Deletes a saved stretch from the cube.
Definition: StretchTool.cpp:527
Isis::CubeViewport::cube
Cube * cube() const
Definition: CubeViewport.h:338
Isis::StretchTool::addTo
void addTo(QMenu *menu)
Adds the stretch action to the given menu.
Definition: StretchTool.cpp:131
Isis::AdvancedStretchDialog::getGrnStretch
CubeStretch getGrnStretch()
This returns the advanced stretch's stretch for green.
Definition: AdvancedStretchDialog.cpp:382
Isis::CubeViewport::redBand
int redBand() const
Definition: CubeViewport.h:199
Isis::StretchTool::toolPadAction
QAction * toolPadAction(ToolPad *pad)
Adds the stretch action to the toolpad.
Definition: StretchTool.cpp:111
Isis::RubberBandTool::rectangle
QRect rectangle()
This method returns a rectangle from the vertices set by the RubberBandTool.
Definition: RubberBandTool.cpp:966
Isis::Tool::cubeViewport
MdiCubeViewport * cubeViewport() const
Return the current cubeviewport.
Definition: Tool.h:197
Isis::Cube::readCubeStretch
CubeStretch readCubeStretch(QString name="CubeStretch", const std::vector< PvlKeyword > keywords=std::vector< PvlKeyword >()) const
Read a Stretch from a cube.
Definition: Cube.cpp:912
Isis::CubeViewport::stretchGray
void stretchGray(const QString &string)
Apply stretch pairs to gray band.
Definition: CubeViewport.cpp:2107
Isis::CubeViewport::stretchBlue
void stretchBlue(const QString &string)
Apply stretch pairs to blue bands.
Definition: CubeViewport.cpp:2143
Isis::CubeViewport::greenBuffer
ViewportBuffer * greenBuffer()
Returns the green viewport buffer (Will be NULL if in Gray mode.)
Definition: CubeViewport.h:431
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::CubeViewport::greenBand
int greenBand() const
Definition: CubeViewport.h:204
Isis::Cube::reopen
void reopen(QString access="r")
This method will reopen an isis sube for reading or reading/writing.
Definition: Cube.cpp:774
Isis::IException::User
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
Isis::StretchTool::saveStretchToCube
void saveStretchToCube()
Saves a strech to the cube.
Definition: StretchTool.cpp:593
Isis::Stretch::Input
double Input(const int index) const
Returns the value of the input side of the stretch pair at the specified index.
Definition: Stretch.cpp:287
Isis::StretchTool::stretchGlobalAllViewports
void stretchGlobalAllViewports()
Does a global stretch for all the viewports.
Definition: StretchTool.cpp:1145
Isis::StretchTool::StretchTool
StretchTool(QWidget *parent)
StretchTool constructor.
Definition: StretchTool.cpp:48
Isis::ViewportBuffer::working
bool working()
This tests if queued actions exist in the viewport buffer.
Definition: ViewportBuffer.cpp:759
Isis::AdvancedStretchDialog::enableRgbMode
void enableRgbMode(Stretch &redStretch, Histogram &redHist, Stretch &grnStretch, Histogram &grnHist, Stretch &bluStretch, Histogram &bluHist)
This displays RGB advanced stretches.
Definition: AdvancedStretchDialog.cpp:52
Isis::CubeViewport::stretchRed
void stretchRed(const QString &string)
Apply stretch pairs to red bands.
Definition: CubeViewport.cpp:2119