ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkSpatialObjectToImageStatisticsCalculator.h>
Public Types | |
typedef NumericTraits < PixelType >::AccumulateType | AccumulateType |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::ConstPointer | ImageConstPointer |
typedef TInputImage::Pointer | ImagePointer |
typedef TInputImage | ImageType |
typedef TInputImage::IndexType | IndexType |
typedef itk::FloodFilledSpatialFunctionConditionalConstIterator < ImageType, SpatialObjectType > | IteratorType |
typedef Matrix< double, TSampleDimension, TSampleDimension > | MatrixType |
typedef TInputImage::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef itk::Statistics::ListSample < VectorType > | SampleType |
typedef SpatialObjectToImageStatisticsCalculator | Self |
typedef SpatialObjectType::ConstPointer | SpatialObjectConstPointer |
typedef SpatialObjectType::Pointer | SpatialObjectPointer |
typedef TInputSpatialObject | SpatialObjectType |
typedef Object | Superclass |
typedef Vector< double, TSampleDimension > | VectorType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const MatrixType & | GetCovarianceMatrix () const |
const VectorType & | GetMean () const |
virtual const char * | GetNameOfClass () const |
virtual SizeValueType | GetNumberOfPixels () const |
AccumulateType | GetSum () const |
virtual void | SetImage (const ImageType *_arg) |
virtual void | SetSpatialObject (SpatialObjectType *_arg) |
void | Update (void) |
virtual void | SetSampleDirection (unsigned int _arg) |
virtual unsigned int | GetSampleDirection () const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = ImageType::ImageDimension |
static const unsigned int | ObjectDimension = TInputSpatialObject::ObjectDimension |
static const unsigned int | SampleDimension = TSampleDimension |
Protected Member Functions | |
bool | ComputeStatistics () |
void | PrintSelf (std::ostream &os, Indent indent) const |
SpatialObjectToImageStatisticsCalculator () | |
virtual | ~SpatialObjectToImageStatisticsCalculator () |
Private Member Functions | |
void | operator= (const Self &) |
SpatialObjectToImageStatisticsCalculator (const Self &) | |
Private Attributes | |
MatrixType | m_CovarianceMatrix |
ImageConstPointer | m_Image |
unsigned long | m_InternalImageTime |
unsigned long | m_InternalSpatialObjectTime |
VectorType | m_Mean |
TimeStamp | m_ModifiedTime |
SizeValueType | m_NumberOfPixels |
SampleType::Pointer | m_Sample |
unsigned int | m_SampleDirection |
SpatialObjectPointer | m_SpatialObject |
AccumulateType | m_Sum |
This calculator computes the mean and the covariance matrice of a certain region of an image specified by a spatial object.
Definition at line 37 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef NumericTraits< PixelType >::AccumulateType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::AccumulateType |
Definition at line 59 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef SmartPointer< const Self > itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::ConstPointer |
Reimplemented from itk::Object.
Definition at line 44 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef TInputImage::ConstPointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::ImageConstPointer |
Definition at line 55 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef TInputImage::Pointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::ImagePointer |
Definition at line 54 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef TInputImage itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::ImageType |
Type definitions for the input image.
Definition at line 50 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef TInputImage::IndexType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::IndexType |
Definition at line 57 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef itk::FloodFilledSpatialFunctionConditionalConstIterator< ImageType, SpatialObjectType > itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::IteratorType |
Type definition of the flood fill iterator
Definition at line 77 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef Matrix< double, TSampleDimension, TSampleDimension > itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::MatrixType |
Definition at line 81 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef TInputImage::PixelType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::PixelType |
Definition at line 56 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef SmartPointer< Self > itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::Pointer |
Reimplemented from itk::Object.
Definition at line 43 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef itk::Statistics::ListSample< VectorType > itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SampleType |
Type definitions for the samples
Definition at line 84 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef SpatialObjectToImageStatisticsCalculator itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::Self |
Standard class typedefs.
Reimplemented from itk::Object.
Definition at line 41 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef SpatialObjectType::ConstPointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SpatialObjectConstPointer |
Definition at line 73 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef SpatialObjectType::Pointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SpatialObjectPointer |
Definition at line 72 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef TInputSpatialObject itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SpatialObjectType |
Type definitions for the input spatial object.
Definition at line 71 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef Object itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::Superclass |
Reimplemented from itk::Object.
Definition at line 42 of file itkSpatialObjectToImageStatisticsCalculator.h.
typedef Vector< double, TSampleDimension > itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::VectorType |
Definition at line 80 of file itkSpatialObjectToImageStatisticsCalculator.h.
itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SpatialObjectToImageStatisticsCalculator | ( | ) | [protected] |
virtual itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::~SpatialObjectToImageStatisticsCalculator | ( | ) | [inline, protected, virtual] |
Definition at line 114 of file itkSpatialObjectToImageStatisticsCalculator.h.
itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SpatialObjectToImageStatisticsCalculator | ( | const Self & | ) | [private] |
bool itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::ComputeStatistics | ( | ) | [protected] |
virtual::itk::LightObject::Pointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
const MatrixType& itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::GetCovarianceMatrix | ( | ) | const [inline] |
Get the covariance matrix
Definition at line 101 of file itkSpatialObjectToImageStatisticsCalculator.h.
const VectorType& itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::GetMean | ( | ) | const [inline] |
Get the mean
Definition at line 98 of file itkSpatialObjectToImageStatisticsCalculator.h.
virtual const char* itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::Object.
virtual SizeValueType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::GetNumberOfPixels | ( | ) | const [virtual] |
Get the number of pixels inside the object
virtual unsigned int itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::GetSampleDirection | ( | ) | const [virtual] |
Set/Get the direction of the sample
AccumulateType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::GetSum | ( | ) | const [inline] |
Get the sum of pixels
Definition at line 104 of file itkSpatialObjectToImageStatisticsCalculator.h.
static Pointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::Object.
void itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
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::Object.
virtual void itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SetImage | ( | const ImageType * | _arg | ) | [virtual] |
Set the input image.
virtual void itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SetSampleDirection | ( | unsigned int | _arg | ) | [virtual] |
Set/Get the direction of the sample
virtual void itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SetSpatialObject | ( | SpatialObjectType * | _arg | ) | [virtual] |
Set the input spatial object.
void itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::Update | ( | void | ) |
Compute of the input image.
const unsigned int itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::ImageDimension = ImageType::ImageDimension [static] |
Definition at line 62 of file itkSpatialObjectToImageStatisticsCalculator.h.
MatrixType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::m_CovarianceMatrix [private] |
Definition at line 131 of file itkSpatialObjectToImageStatisticsCalculator.h.
ImageConstPointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::m_Image [private] |
Definition at line 126 of file itkSpatialObjectToImageStatisticsCalculator.h.
unsigned long itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::m_InternalImageTime [private] |
Definition at line 133 of file itkSpatialObjectToImageStatisticsCalculator.h.
unsigned long itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::m_InternalSpatialObjectTime [private] |
Definition at line 134 of file itkSpatialObjectToImageStatisticsCalculator.h.
VectorType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::m_Mean [private] |
Definition at line 128 of file itkSpatialObjectToImageStatisticsCalculator.h.
TimeStamp itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::m_ModifiedTime [private] |
Definition at line 135 of file itkSpatialObjectToImageStatisticsCalculator.h.
SizeValueType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::m_NumberOfPixels [private] |
Definition at line 130 of file itkSpatialObjectToImageStatisticsCalculator.h.
SampleType::Pointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::m_Sample [private] |
Definition at line 137 of file itkSpatialObjectToImageStatisticsCalculator.h.
unsigned int itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::m_SampleDirection [private] |
Definition at line 132 of file itkSpatialObjectToImageStatisticsCalculator.h.
SpatialObjectPointer itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::m_SpatialObject [private] |
Definition at line 127 of file itkSpatialObjectToImageStatisticsCalculator.h.
AccumulateType itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::m_Sum [private] |
Definition at line 129 of file itkSpatialObjectToImageStatisticsCalculator.h.
const unsigned int itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::ObjectDimension = TInputSpatialObject::ObjectDimension [static] |
Definition at line 68 of file itkSpatialObjectToImageStatisticsCalculator.h.
const unsigned int itk::SpatialObjectToImageStatisticsCalculator< TInputImage, TInputSpatialObject, TSampleDimension >::SampleDimension = TSampleDimension [static] |
Definition at line 65 of file itkSpatialObjectToImageStatisticsCalculator.h.