#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 Superclass::MeasurementVectorSizeType | MeasurementVectorSizeType |
typedef Array< double > | ArrayType |
typedef Array< double > | MeanType |
typedef Histogram< THistogramMeasurement, 1 > | HistogramType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
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.
Recent API changes: The static const macro to get the length of a measurement vector, MeasurementVectorSize
has been removed to allow the length of a measurement vector to be specified at run time. This is now obtained from the input sample. Typedefs for the Histogram mean MeanType
etc have been changed to Array.
Definition at line 54 of file itkSampleToHistogramProjectionFilter.h.
|
1D array typedef Definition at line 82 of file itkSampleToHistogramProjectionFilter.h. |
|
Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. Definition at line 62 of file itkSampleToHistogramProjectionFilter.h. |
|
Definition at line 74 of file itkSampleToHistogramProjectionFilter.h. |
|
Type of the output object Definition at line 88 of file itkSampleToHistogramProjectionFilter.h. |
|
typedefs from the superclass Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. Definition at line 78 of file itkSampleToHistogramProjectionFilter.h. |
|
Definition at line 75 of file itkSampleToHistogramProjectionFilter.h. |
|
The center of the histogram Definition at line 85 of file itkSampleToHistogramProjectionFilter.h. |
|
Definition at line 73 of file itkSampleToHistogramProjectionFilter.h. |
|
Length of a measurement vector Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. Definition at line 79 of file itkSampleToHistogramProjectionFilter.h. |
|
Enums and typedefs from the TInputSample Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. Definition at line 72 of file itkSampleToHistogramProjectionFilter.h. |
|
Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. Definition at line 61 of file itkSampleToHistogramProjectionFilter.h. |
|
Standard class typedefs Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. Definition at line 59 of file itkSampleToHistogramProjectionFilter.h. |
|
Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. Definition at line 60 of file itkSampleToHistogramProjectionFilter.h. |
|
|
|
Definition at line 118 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 >. |
|
Gets the mean of the sample |
|
Run-time type information (and related methods) Reimplemented from itk::Statistics::SampleAlgorithmBase< TInputSample >. |
|
Gets the projection axis |
|
Gets the standard deviation of the sample |
|
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 |