33 mCumulativeCutLowerDoubleSpinBox->setValue( myLower );
34 mCumulativeCutUpperDoubleSpinBox->setValue( myUpper );
45 foreach (
int myBand,
mBands )
48 QgsDebugMsg( QString(
"myBand = %1" ).arg( myBand ) );
53 double myMin = std::numeric_limits<double>::quiet_NaN();
54 double myMax = std::numeric_limits<double>::quiet_NaN();
57 if ( mCurrentExtentRadioButton->isChecked() )
69 if ( mEstimateRadioButton->isChecked() )
71 mySampleSize = 250000;
79 if ( mCumulativeCutRadioButton->isChecked() )
81 double myLower = mCumulativeCutLowerDoubleSpinBox->value() / 100.0;
82 double myUpper = mCumulativeCutUpperDoubleSpinBox->value() / 100.0;
86 else if ( mMinMaxRadioButton->isChecked() )
94 else if ( mStdDevRadioButton->isChecked() )
97 double myStdDev = mStdDevSpinBox->value();
98 myMin = myRasterBandStats.
mean - ( myStdDev * myRasterBandStats.
stdDev );
99 myMax = myRasterBandStats.
mean + ( myStdDev * myRasterBandStats.
stdDev );
103 emit
load( myBand, myMin, myMax, origin );