18 #ifndef itkCovarianceSampleFilter_h 19 #define itkCovarianceSampleFilter_h 51 template<
typename TSample >
86 void SetInput(
const SampleType *sample);
105 const MeasurementVectorRealType
GetMean()
const;
110 const MeasurementVectorDecoratedType *
GetMeanOutput()
const;
119 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
126 virtual DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE;
132 void operator=(const Self &) ITK_DELETE_FUNCTION;
138 #ifndef ITK_MANUAL_INSTANTIATION 139 #include "itkCovarianceSampleFilter.hxx"
NumericTraits< MeasurementType >::RealType MeasurementRealType
const MeasurementVectorRealType GetMean() const
VariableSizeMatrix< MeasurementRealType > MatrixType
SampleType::MeasurementType MeasurementType
NumericTraits< MeasurementVectorType >::RealType MeasurementVectorRealType
A templated class holding a M x N size Matrix.
virtual ~CovarianceSampleFilter()
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
const SampleType * GetInput() const
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
SampleType::MeasurementVectorType MeasurementVectorType
MeasurementVectorDecoratedType OutputType
DataObject::Pointer DataObjectPointer
CovarianceSampleFilter Self
SmartPointer< const Self > ConstPointer
Decorates any "simple" data type (data types without smart pointers) with a DataObject API...
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
MeasurementVectorSizeType GetMeasurementVectorSize() const
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
void SetInput(const SampleType *sample)
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
SimpleDataObjectDecorator< MatrixType > MatrixDecoratedType
Control indentation during Print() invocation.
virtual void GenerateData() override
const MatrixType GetCovarianceMatrix() const
const MatrixDecoratedType * GetCovarianceMatrixOutput() const
virtual void PrintSelf(std::ostream &os, Indent indent) const override
const MeasurementVectorDecoratedType * GetMeanOutput() const
SmartPointer< Self > Pointer
SampleType::MeasurementVectorSizeType MeasurementVectorSizeType
SimpleDataObjectDecorator< MeasurementVectorRealType > MeasurementVectorDecoratedType
Calculates the covariance matrix of the target sample data.