#include <itkStandardDeviationPerComponentSampleFilter.h>
Calculates the covariance matrix of the target sample data.
The filter calculates first the sample mean and use it in the covariance calculation. The covariance is computed as follows Let \(\Sigma\) denotes covariance matrix for the sample, then: When \(x_{i}\) is \(i\)th component of a measurement vector \(\vec x\), \(\mu_{i}\) is the \(i\)th component of the \(\vec\mu\), and the \(\sigma_{ij}\) is the \(ij\)th component \(\Sigma\), \(\sigma_{ij} = (x_{i} - \mu_{i})(x_{j} - \mu_{j})\)
Without the plugged in mean vector, this calculator will perform the single pass mean and covariance calculation algorithm.
Definition at line 50 of file itkStandardDeviationPerComponentSampleFilter.h.
Additional Inherited Members | |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
![]() | |
template<typename TSourceObject> | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
![]() | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::ConstPointer = SmartPointer<const Self> |
Definition at line 59 of file itkStandardDeviationPerComponentSampleFilter.h.
using itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::DataObjectPointer = DataObject::Pointer |
DataObject pointer
Definition at line 103 of file itkStandardDeviationPerComponentSampleFilter.h.
using itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType |
Definition at line 105 of file itkStandardDeviationPerComponentSampleFilter.h.
using itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::MeasurementVectorRealDecoratedType = SimpleDataObjectDecorator<MeasurementVectorRealType> |
MeasurementVector is not a DataObject, we need to decorate it to push it down a ProcessObject's pipeline
Definition at line 84 of file itkStandardDeviationPerComponentSampleFilter.h.
using itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::MeasurementVectorRealType = typename NumericTraits<MeasurementVectorType>::RealType |
Definition at line 72 of file itkStandardDeviationPerComponentSampleFilter.h.
using itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::MeasurementVectorSizeType = typename TSample::MeasurementVectorSizeType |
Length of a measurement vector
Definition at line 68 of file itkStandardDeviationPerComponentSampleFilter.h.
using itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::MeasurementVectorType = typename TSample::MeasurementVectorType |
Measurement vector type
Definition at line 71 of file itkStandardDeviationPerComponentSampleFilter.h.
using itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::OutputType = MeasurementVectorRealDecoratedType |
Definition at line 86 of file itkStandardDeviationPerComponentSampleFilter.h.
using itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::Pointer = SmartPointer<Self> |
Definition at line 58 of file itkStandardDeviationPerComponentSampleFilter.h.
using itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::SampleType = TSample |
Definition at line 60 of file itkStandardDeviationPerComponentSampleFilter.h.
using itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::Self = StandardDeviationPerComponentSampleFilter |
Standard class type aliases.
Definition at line 56 of file itkStandardDeviationPerComponentSampleFilter.h.
using itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::Superclass = ProcessObject |
Definition at line 57 of file itkStandardDeviationPerComponentSampleFilter.h.
|
protected |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
virtual |
Reimplemented from itk::Object.
|
overrideprotectedvirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
const SampleType * itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::GetInput | ( | ) | const |
const MeasurementVectorRealType itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::GetMeanPerComponent | ( | ) | const |
Return the mean vector
const MeasurementVectorRealDecoratedType * itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::GetMeanPerComponentOutput | ( | ) | const |
|
protected |
|
overridevirtual |
Reimplemented from itk::ProcessObject.
References StandardDeviationPerComponentSampleFilter().
const MeasurementVectorRealType itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::GetStandardDeviationPerComponent | ( | ) | const |
Return the standard deviation vector
const MeasurementVectorRealDecoratedType * itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::GetStandardDeviationPerComponentOutput | ( | ) | const |
|
virtual |
Make a DataObject of the correct type to used as the specified output.
Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().
Reimplemented from itk::ProcessObject.
|
overridevirtual |
Make a DataObject of the correct type to used as the specified output.
Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().
Reimplemented from itk::ProcessObject.
|
static |
|
overrideprotectedvirtual |
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::ProcessObject.
|
virtual |
Method to set/get the sample
Reimplemented from itk::ProcessObject.
void itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::SetInput | ( | const SampleType * | sample | ) |