PCL
pcl::ImageStatistics::Data Class Reference

Statistical data in the normalized [0,1] range. More...

#include <ImageStatistics.h>

Public Member Functions

 Data ()=default
 
 Data (const Data &)=default
 
void Assign (const Data &x)
 
void AssignStatisticalData (const Data &x)
 
Dataoperator= (const Data &)=default
 

Public Attributes

double avgDev = 0
 Average deviation from the median.
 
double bwmv = 0
 Biweight midvariance.
 
size_type count = 0
 Total number of evaluated samples.
 
double high = 0
 If rejectHigh, ignore samples greater than or equal to this value.
 
double low = 0
 If rejectLow, ignore samples less than or equal to this value.
 
double MAD = 0
 Median absolute deviation from the median.
 
double maximum = 0
 Maximum sample value.
 
Point maxPos = Point( 0 )
 Position of the maximum sample value.
 
double mean = 0
 Arithmetic mean.
 
double median = 0
 Median sample value.
 
double minimum = 0
 Minimum sample value.
 
Point minPos = Point( 0 )
 Position of the minimum sample value.
 
bool noAvgDev = false
 Do not compute average deviation.
 
bool noBWMV = false
 Do not compute biweight midvariance.
 
bool noExtremes = false
 Do not compute minimum and maximum sample values.
 
bool noMAD = false
 Do not compute MAD.
 
bool noMean = false
 Do not compute the mean, variance, and standard deviation.
 
bool noMedian = false
 Do not compute median, average deviation, MAD, biweight and bend midvariances.
 
bool noPBMV = false
 Do not compute percentage bend midvariance.
 
bool noQn = true
 Do not compute Qn estimator of scale.
 
bool noSn = true
 Do not compute Sn estimator of scale.
 
bool noSumOfSquares = false
 Do not compute the sum of squared samples.
 
bool noVariance = false
 Do not compute variance and standard deviation.
 
double pbmv = 0
 Percentage bend midvariance.
 
double Qn = 0
 Qn scale estimator of Rousseeuw and Croux.
 
bool rejectHigh = false
 Ignore samples with values greater than or equal to high.
 
bool rejectLow = false
 Ignore samples with values less than or equal to low.
 
double Sn = 0
 Sn scale estimator of Rousseeuw and Croux.
 
double stdDev = 0
 Standard deviation (=Sqrt(variance)).
 
double sumOfSquares = 0
 Sum of squared samples.
 
double variance = 0
 Variance from the mean.
 

Detailed Description

Definition at line 124 of file ImageStatistics.h.

Constructor & Destructor Documentation

◆ Data() [1/2]

pcl::ImageStatistics::Data::Data ( )
default

Constructs a default ImageStatistics::Data structure.

◆ Data() [2/2]

pcl::ImageStatistics::Data::Data ( const Data )
default

Copy constructor.

Member Function Documentation

◆ Assign()

void pcl::ImageStatistics::Data::Assign ( const Data x)
inline

Copies all data items from another instance x.

Definition at line 176 of file ImageStatistics.h.

◆ AssignStatisticalData()

void pcl::ImageStatistics::Data::AssignStatisticalData ( const Data x)
inline

Copies only statistical data items from another instance x. Does not copy operating parameters (such as low, high, noVariance, etc.).

Definition at line 185 of file ImageStatistics.h.

References avgDev, bwmv, count, MAD, pcl::MAD(), maximum, maxPos, mean, median, minimum, minPos, pbmv, Qn, pcl::Qn(), Sn, pcl::Sn(), stdDev, sumOfSquares, and variance.

◆ operator=()

Data& pcl::ImageStatistics::Data::operator= ( const Data )
default

Copy assignment operator. Returns a reference to this object.


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