ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#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 denotes covariance matrix for the sample, then: When is th component of a measurement vector , is the th componet of the , and the is the th componet ,
Without the plugged in mean vector, this calculator will perform the single pass mean and covariance calculation algorithm.
Definition at line 49 of file itkStandardDeviationPerComponentSampleFilter.h.
Protected Types | |
typedef DataObject::Pointer | DataObjectPointer |
typedef ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef SmartPointer< const Self > itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::ConstPointer |
Definition at line 57 of file itkStandardDeviationPerComponentSampleFilter.h.
|
protected |
DataObject pointer
Definition at line 105 of file itkStandardDeviationPerComponentSampleFilter.h.
|
protected |
Definition at line 107 of file itkStandardDeviationPerComponentSampleFilter.h.
typedef SimpleDataObjectDecorator< MeasurementVectorRealType > itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::MeasurementVectorRealDecoratedType |
MeasurementVector is not a DataObject, we need to decorate it to push it down a ProcessObject's pipeline
Definition at line 80 of file itkStandardDeviationPerComponentSampleFilter.h.
typedef NumericTraits< MeasurementVectorType >::RealType itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::MeasurementVectorRealType |
Definition at line 70 of file itkStandardDeviationPerComponentSampleFilter.h.
typedef TSample::MeasurementVectorSizeType itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::MeasurementVectorSizeType |
Length of a measurement vector
Definition at line 62 of file itkStandardDeviationPerComponentSampleFilter.h.
typedef TSample::MeasurementVectorType itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::MeasurementVectorType |
Measurement vector type
Definition at line 69 of file itkStandardDeviationPerComponentSampleFilter.h.
typedef MeasurementVectorRealDecoratedType itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::OutputType |
Definition at line 82 of file itkStandardDeviationPerComponentSampleFilter.h.
typedef SmartPointer< Self > itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::Pointer |
Definition at line 56 of file itkStandardDeviationPerComponentSampleFilter.h.
typedef TSample itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::SampleType |
Definition at line 58 of file itkStandardDeviationPerComponentSampleFilter.h.
typedef StandardDeviationPerComponentSampleFilter itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::Self |
Standard class typedefs.
Definition at line 54 of file itkStandardDeviationPerComponentSampleFilter.h.
typedef ProcessObject itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::Superclass |
Definition at line 55 of file itkStandardDeviationPerComponentSampleFilter.h.
|
protected |
|
protected |
|
protectedvirtual |
|
virtual |
Standard Macros
Reimplemented from itk::Object.
|
protectedvirtual |
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 |
|
virtual |
Standard Macros
Reimplemented from itk::ProcessObject.
const MeasurementVectorRealType itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::GetStandardDeviationPerComponent | ( | ) | const |
Return the standard deviation vector
const MeasurementVectorRealDecoratedType* itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::GetStandardDeviationPerComponentOutput | ( | ) | const |
|
protectedvirtual |
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 |
Standard Macros
|
protected |
|
protectedvirtual |
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.
void itk::Statistics::StandardDeviationPerComponentSampleFilter< TSample >::SetInput | ( | const SampleType * | sample | ) |