#include <itkPSquareQuantile.h>
Public Types | |
typedef TData | DataContainerType |
typedef DataContainerType::Pointer | DataContainerPointer |
typedef DataContainerType::MeasurementType | ValueType |
typedef DataContainerType::InstanceIdentifier | InstanceIdentifier |
Public Methods | |
double | operator() (DataContainerPointer data, long dimension, double p) |
Protected Methods | |
ValueType | GetValue (InstanceIdentifier id) const |
void | SetValue (InstanceIdentifier id, ValueType value) |
double | ParabolicEstimate (InstanceIdentifier i, int direction) const |
double | LinearEstimate (InstanceIdentifier i, int direction) |
void | PrintSelf (std::ostream &os, Indent indent) const |
This algorithm is preferable for large data. Since this algorithm uses five markers and each marker needs one long and three double variables, in terms of memory use, it's highly efficient.
"Sequential Estimation of Quantiles" (Technical Report TR-COSC 05/98) by Jong-Suk R. Lee, Donald McNickle and Krzysztof Pawlikowski
"The P-Square Algorithm for Dynamic Calculation of Percentiles and Histograms without Storing Observations" Communications of the ACM, October 1985 by RAJ JAIN and IIMRICH CHLAMTAC <http://www.cis.ohio-state.edu/~jain/papers/psqr.htm>
Definition at line 43 of file itkPSquareQuantile.h.
|
Definition at line 47 of file itkPSquareQuantile.h. |
|
Definition at line 46 of file itkPSquareQuantile.h. |
|
Definition at line 49 of file itkPSquareQuantile.h. Referenced by itk::Statistics::PSquareQuantile< TData >::GetValue(), itk::Statistics::PSquareQuantile< TData >::ParabolicEstimate(), and itk::Statistics::PSquareQuantile< TData >::SetValue(). |
|
Definition at line 48 of file itkPSquareQuantile.h. Referenced by itk::Statistics::PSquareQuantile< TData >::GetValue(), and itk::Statistics::PSquareQuantile< TData >::SetValue(). |
|
returns the 'id'-th element of the dimension Definition at line 61 of file itkPSquareQuantile.h. References itk::Statistics::PSquareQuantile< TData >::InstanceIdentifier, and itk::Statistics::PSquareQuantile< TData >::ValueType. |
|
returns the linear estimate Definition at line 96 of file itkPSquareQuantile.h. |
|
returns 'p'-th quantile estimate |
|
returns parabolic estimate The estimate is for markers that are off to the left of right of its ideal location by more than one Definition at line 79 of file itkPSquareQuantile.h. References itk::Statistics::PSquareQuantile< TData >::InstanceIdentifier. |
|
|
|
changes the 'id'-th element of the dimension to 'value' Definition at line 69 of file itkPSquareQuantile.h. References itk::Statistics::PSquareQuantile< TData >::InstanceIdentifier, and itk::Statistics::PSquareQuantile< TData >::ValueType. |