ITK
5.2.0
Insight Toolkit
|
#include <itkMeanSampleFilter.h>
Given a sample, this filter computes the sample mean.
The sample is plugged in using SetSample method. Then invoke update() method to compute the sample mean.
The sample mean is computed as follows where is the number of measurement vectors in the target
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. It is now obtained from the input sample. Please use the function GetMeasurementVectorSize() to obtain the length.
Definition at line 49 of file itkMeanSampleFilter.h.
using itk::Statistics::MeanSampleFilter< TSample >::ConstPointer = SmartPointer<const Self> |
Definition at line 58 of file itkMeanSampleFilter.h.
|
protected |
DataObject pointer
Definition at line 114 of file itkMeanSampleFilter.h.
|
protected |
Type of each measurement vector in sample
Definition at line 116 of file itkMeanSampleFilter.h.
using itk::Statistics::MeanSampleFilter< TSample >::MeasurementRealType = typename NumericTraits<MeasurementType>::RealType |
Type of a floating point measurement component value
Definition at line 79 of file itkMeanSampleFilter.h.
using itk::Statistics::MeanSampleFilter< TSample >::MeasurementType = typename SampleType::MeasurementType |
Type of measurement vector component value
Definition at line 73 of file itkMeanSampleFilter.h.
using itk::Statistics::MeanSampleFilter< TSample >::MeasurementVectorDecoratedType = SimpleDataObjectDecorator<MeasurementVectorRealType> |
MeasurementVector is not a DataObject, we need to decorate it to push it down a ProcessObject's pipeline
Definition at line 98 of file itkMeanSampleFilter.h.
using itk::Statistics::MeanSampleFilter< TSample >::MeasurementVectorRealType = typename NumericTraits<MeasurementVectorType>::RealType |
Type of a measurement vector, holding floating point values
Definition at line 76 of file itkMeanSampleFilter.h.
using itk::Statistics::MeanSampleFilter< TSample >::MeasurementVectorSizeType = typename SampleType::MeasurementVectorSizeType |
Type of the length of each measurement vector
Definition at line 70 of file itkMeanSampleFilter.h.
using itk::Statistics::MeanSampleFilter< TSample >::MeasurementVectorType = typename SampleType::MeasurementVectorType |
Type of each measurement vector in sample
Definition at line 67 of file itkMeanSampleFilter.h.
using itk::Statistics::MeanSampleFilter< TSample >::OutputType = MeasurementVectorDecoratedType |
Type of each measurement vector in sample
Definition at line 101 of file itkMeanSampleFilter.h.
using itk::Statistics::MeanSampleFilter< TSample >::Pointer = SmartPointer<Self> |
Definition at line 57 of file itkMeanSampleFilter.h.
using itk::Statistics::MeanSampleFilter< TSample >::SampleType = TSample |
Definition at line 59 of file itkMeanSampleFilter.h.
using itk::Statistics::MeanSampleFilter< TSample >::Self = MeanSampleFilter |
Standard class type aliases.
Definition at line 55 of file itkMeanSampleFilter.h.
using itk::Statistics::MeanSampleFilter< TSample >::Superclass = ProcessObject |
Definition at line 56 of file itkMeanSampleFilter.h.
|
protected |
Type of each measurement vector in sample
|
overrideprotecteddefault |
Type of each measurement vector in sample
|
virtual |
Type of each measurement vector in sample
Reimplemented from itk::Object.
Reimplemented in itk::Statistics::WeightedMeanSampleFilter< TSample >.
|
overrideprotectedvirtual |
Type of each measurement vector in sample
Reimplemented from itk::ProcessObject.
Reimplemented in itk::Statistics::WeightedMeanSampleFilter< TSample >.
const SampleType* itk::Statistics::MeanSampleFilter< TSample >::GetInput | ( | ) | const |
Method to get the sample
const MeasurementVectorRealType itk::Statistics::MeanSampleFilter< TSample >::GetMean | ( | ) | const |
Get the mean measurement vector
MeasurementVectorSizeType itk::Statistics::MeanSampleFilter< TSample >::GetMeasurementVectorSize | ( | ) | const |
Type of each measurement vector in sample
|
virtual |
Standard Macros
Reimplemented from itk::ProcessObject.
Reimplemented in itk::Statistics::WeightedMeanSampleFilter< TSample >.
const MeasurementVectorDecoratedType* itk::Statistics::MeanSampleFilter< TSample >::GetOutput | ( | ) | const |
Type of each measurement vector in sample
|
overrideprotectedvirtual |
Type of each measurement vector in sample
Reimplemented from itk::ProcessObject.
|
static |
Type of each measurement vector in sample
|
overrideprotectedvirtual |
Type of each measurement vector in sample
Reimplemented from itk::ProcessObject.
Reimplemented in itk::Statistics::WeightedMeanSampleFilter< TSample >.
void itk::Statistics::MeanSampleFilter< TSample >::SetInput | ( | const SampleType * | sample | ) |
Type of each measurement vector in sample