#include <itkSampleToHistogramProjectionFilter.h>
Inheritance diagram for itk::Statistics::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >:
Public Types | |
typedef SampleToHistogramProjectionFilter | Self |
typedef SampleAlgorithmBase< TInputSample > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef const SmartPointer< Self > | ConstPointer |
typedef TInputSample::MeasurementVectorType | MeasurementVectorType |
typedef TInputSample::MeasurementType | MeasurementType |
typedef TInputSample::FrequencyType | FrequencyType |
typedef TInputSample::InstanceIdentifier | InstanceIdentifier |
typedef Superclass::InputSampleType | InputSampleType |
typedef FixedArray< double, itkGetStaticConstMacro(MeasurementVectorSize) | ArrayType ) |
typedef Vector< double, itkGetStaticConstMacro(MeasurementVectorSize) | MeanType ) |
typedef Histogram< THistogramMeasurement, 1 > | HistogramType |
Public Member Functions | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (MeasurementVectorSize, unsigned int, TInputSample::MeasurementVectorSize) | |
virtual void | SetHistogram (HistogramType *histogram) |
void | SetMean (MeanType *center) |
MeanType * | GetMean () |
void | SetStandardDeviation (double *value) |
double * | GetStandardDeviation () |
void | SetProjectionAxis (ArrayType *axis) |
ArrayType * | GetProjectionAxis () |
void | SetHistogramBinOverlap (double overlap) |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
SampleToHistogramProjectionFilter () | |
virtual | ~SampleToHistogramProjectionFilter () |
void | PrintSelf (std::ostream &os, Indent indent) const |
float | CalculateOverlap (int binIndex, float dotProduct, float scale, float marginalDistance, bool firstHalf) |
void | GenerateData () |
Users should set the input sample, the output histogram, the mean of input sample, the standard deviation of the input sample, and the projection axis respectively using the SetInputSample, the SetHistogram, the SetMean, SetStandardDeviation, and SetProjectionAxis method before run this algorithm.
If the bin overlap value is set by the SetHistogramBinOverlap method and greater than 0.001, the frequency will be weighted based on its closeness of the projected values.
Definition at line 48 of file itkSampleToHistogramProjectionFilter.h.
|
1D array typedef Definition at line 77 of file itkSampleToHistogramProjectionFilter.h. |
|
Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. Definition at line 56 of file itkSampleToHistogramProjectionFilter.h. |
|
Definition at line 69 of file itkSampleToHistogramProjectionFilter.h. |
|
Type of the output object Definition at line 84 of file itkSampleToHistogramProjectionFilter.h. |
|
typedefs from the superclass Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. Definition at line 73 of file itkSampleToHistogramProjectionFilter.h. |
|
Definition at line 70 of file itkSampleToHistogramProjectionFilter.h. |
|
The center of the histogram Definition at line 81 of file itkSampleToHistogramProjectionFilter.h. |
|
Definition at line 68 of file itkSampleToHistogramProjectionFilter.h. |
|
Definition at line 67 of file itkSampleToHistogramProjectionFilter.h. |
|
Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. Definition at line 55 of file itkSampleToHistogramProjectionFilter.h. |
|
Standard class typedefs Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. Definition at line 53 of file itkSampleToHistogramProjectionFilter.h. |
|
Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. Definition at line 54 of file itkSampleToHistogramProjectionFilter.h. |
|
|
|
Definition at line 114 of file itkSampleToHistogramProjectionFilter.h. |
|
Calculates overlap weight for the bin based on closeness to the adjacent bins |
|
Runs this algorithm to fill the output histogram Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >.
|
|
Run-time type information (and related methods) Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >.
|
|
Gets the mean of the sample |
|
Gets the projection axis |
|
Gets the standard deviation of the sample |
|
Enums and typedefs from the TInputSample |
|
Method for creation through the object factory. Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >.
|
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >.
|
|
Sets the output histogram |
|
Sets the overlap between adjacent bins. If this value is not set, then the overlap calculation will be skipped |
|
Sets the mean of the sample |
|
Sets the projection axis |
|
Sets the standard deviation of the sample |