NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::MammogramFatEstimationFitMetricForImage< TInputImage > Class Template Reference

A metric to compute the similarity between an image and breast fat model. More...

Inheritance diagram for itk::MammogramFatEstimationFitMetricForImage< TInputImage >:
Inheritance graph
[legend]
Collaboration diagram for itk::MammogramFatEstimationFitMetricForImage< TInputImage >:
Collaboration graph
[legend]

Public Types

typedef
MammogramFatEstimationFitMetricForImage 
Self
 
typedef
MammogramFatEstimationFitMetric 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TInputImage InputImageType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::SpacingType InputImageSpacingType
 
typedef InputImageType::PointType InputImagePointType
 
typedef InputImageType::IndexType InputImageIndexType
 
typedef InputImageType::SizeType InputImageSizeType
 
typedef
itk::ImageRegionIterator
< TInputImage > 
IteratorType
 
typedef
itk::ImageRegionIteratorWithIndex
< TInputImage > 
IteratorWithIndexType
 
typedef
itk::ImageRegionConstIterator
< TInputImage > 
IteratorConstType
 
typedef
itk::ImageRegionConstIteratorWithIndex
< TInputImage > 
IteratorWithIndexConstType
 
typedef float DistancePixelType
 
typedef itk::Image
< DistancePixelType,
ImageDimension > 
DistanceImageType
 
typedef DistanceImageType::Pointer DistanceImagePointer
 
typedef
DistanceImageType::ConstPointer 
DistanceImageConstPointer
 
typedef
DistanceImageType::RegionType 
DistanceImageRegionType
 
typedef
DistanceImageType::PixelType 
DistanceImagePixelType
 
typedef
DistanceImageType::SpacingType 
DistanceImageSpacingType
 
typedef
DistanceImageType::PointType 
DistanceImagePointType
 
typedef
DistanceImageType::IndexType 
DistanceImageIndexType
 
typedef DistanceImageType::SizeType DistanceImageSizeType
 
typedef
itk::ImageRegionIterator
< DistanceImageType
DistanceIteratorType
 
typedef
itk::ImageRegionIteratorWithIndex
< DistanceImageType
DistanceIteratorWithIndexType
 
typedef unsigned char MaskPixelType
 
typedef itk::Image
< MaskPixelType,
ImageDimension > 
MaskImageType
 
typedef MaskImageType::ConstPointer MaskImageConstPointer
 
typedef MaskImageType::Pointer MaskImagePointer
 
typedef MaskImageType::RegionType MaskImageRegionType
 
typedef MaskImageType::SizeType MaskImageSizeType
 
typedef MaskImageType::IndexType MaskImageIndexType
 
typedef MaskImageType::SpacingType MaskImageSpacingType
 
typedef
itk::ImageRegionConstIterator
< MaskImageType
MaskIteratorType
 
typedef
itk::ImageLinearConstIteratorWithIndex
< MaskImageType
MaskLineIteratorType
 
- Public Types inherited from itk::MammogramFatEstimationFitMetric
typedef
MammogramFatEstimationFitMetric 
Self
 
typedef SingleValuedCostFunction Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::ParametersType ParametersType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::MeasureType MeasureType
 

Public Member Functions

virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension)
 
 itkStaticConstMacro (ParametricSpaceDimension, unsigned int, 7)
 
virtual unsigned int GetNumberOfParameters (void) const override
 
void SetInputImage (const InputImageType *imInput)
 
void SetMask (const MaskImageType *imMask)
 Set the optional mask image. More...
 
virtual InputImageTypeGetFat ()
 
DistancePixelType GetMaxDistance (void)
 
virtual DistanceImageTypeGetDistance ()
 
MeasureType GetValue (const ParametersType &parameters) const override
 
void ClearFatImage (void)
 
void GenerateFatImage (const ParametersType &parameters)
 
void WriteIntensityVsEdgeDistToFile (std::string fileOutputIntensityVsEdgeDist) override
 
void WriteFitToFile (std::string fileOutputFit, const ParametersType &parameters) override
 
- Public Member Functions inherited from itk::MammogramFatEstimationFitMetric
 itkStaticConstMacro (ParametricSpaceDimension, unsigned int, 0)
 
void GetDerivative (const ParametersType &parameters, DerivativeType &Derivative) const override
 
void GetValueAndDerivative (const ParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const override
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::MammogramFatEstimationFitMetric
static Pointer New ()
 

Protected Member Functions

 MammogramFatEstimationFitMetricForImage ()
 
virtual ~MammogramFatEstimationFitMetricForImage ()
 
 MammogramFatEstimationFitMetricForImage (const Self &)
 
void operator= (const Self &)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
double CalculateFit (double d, const ParametersType &parameters, DistanceImageIndexType index)
 
- Protected Member Functions inherited from itk::MammogramFatEstimationFitMetric
 MammogramFatEstimationFitMetric ()
 
virtual ~MammogramFatEstimationFitMetric ()
 
 MammogramFatEstimationFitMetric (const Self &)
 
void operator= (const Self &)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 

Protected Attributes

InputImageRegionType m_ImRegion
 
InputImageSpacingType m_ImSpacing
 
InputImagePointType m_ImOrigin
 
InputImageSizeType m_ImSize
 
InputImagePointType m_ImSizeInMM
 
InputImageConstPointer m_InputImage
 
InputImagePointer m_Fat
 
MaskImageRegionType m_MaskRegion
 
MaskImageConstPointer m_Mask
 
DistancePixelType m_MaxDistance
 
DistanceImagePointer m_Distance
 

Detailed Description

template<class TInputImage>
class itk::MammogramFatEstimationFitMetricForImage< TInputImage >

A metric to compute the similarity between an image and breast fat model.

Computes the similarity to a shape model:

y = {x < 0: 0}, {0 < x < a: b/a sqrt(a^2 - x^2)}, {x > a: b}

Caveats

Member Typedef Documentation

template<class TInputImage >
typedef SmartPointer< const Self > itk::MammogramFatEstimationFitMetricForImage< TInputImage >::ConstPointer
template<class TInputImage >
typedef DistanceImageType::ConstPointer itk::MammogramFatEstimationFitMetricForImage< TInputImage >::DistanceImageConstPointer
template<class TInputImage >
typedef DistanceImageType::Pointer itk::MammogramFatEstimationFitMetricForImage< TInputImage >::DistanceImagePointer
template<class TInputImage >
typedef DistanceImageType::PointType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::DistanceImagePointType
template<class TInputImage >
typedef DistanceImageType::SpacingType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::DistanceImageSpacingType
template<class TInputImage >
typedef itk::Image<DistancePixelType, ImageDimension> itk::MammogramFatEstimationFitMetricForImage< TInputImage >::DistanceImageType
template<class TInputImage >
typedef itk::ImageRegionIterator< DistanceImageType > itk::MammogramFatEstimationFitMetricForImage< TInputImage >::DistanceIteratorType
template<class TInputImage >
typedef itk::ImageRegionIteratorWithIndex< DistanceImageType > itk::MammogramFatEstimationFitMetricForImage< TInputImage >::DistanceIteratorWithIndexType
template<class TInputImage >
typedef float itk::MammogramFatEstimationFitMetricForImage< TInputImage >::DistancePixelType

Type of the distance image

template<class TInputImage >
typedef InputImageType::ConstPointer itk::MammogramFatEstimationFitMetricForImage< TInputImage >::InputImageConstPointer
template<class TInputImage >
typedef InputImageType::Pointer itk::MammogramFatEstimationFitMetricForImage< TInputImage >::InputImagePointer
template<class TInputImage >
typedef InputImageType::PointType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::InputImagePointType
template<class TInputImage >
typedef InputImageType::SpacingType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::InputImageSpacingType
template<class TInputImage >
typedef TInputImage itk::MammogramFatEstimationFitMetricForImage< TInputImage >::InputImageType

Type of the input image

template<class TInputImage >
typedef itk::ImageRegionConstIterator< TInputImage > itk::MammogramFatEstimationFitMetricForImage< TInputImage >::IteratorConstType
template<class TInputImage >
typedef itk::ImageRegionIterator< TInputImage > itk::MammogramFatEstimationFitMetricForImage< TInputImage >::IteratorType
template<class TInputImage >
typedef itk::ImageRegionConstIteratorWithIndex< TInputImage > itk::MammogramFatEstimationFitMetricForImage< TInputImage >::IteratorWithIndexConstType
template<class TInputImage >
typedef itk::ImageRegionIteratorWithIndex< TInputImage > itk::MammogramFatEstimationFitMetricForImage< TInputImage >::IteratorWithIndexType
template<class TInputImage >
typedef MaskImageType::ConstPointer itk::MammogramFatEstimationFitMetricForImage< TInputImage >::MaskImageConstPointer
template<class TInputImage >
typedef MaskImageType::Pointer itk::MammogramFatEstimationFitMetricForImage< TInputImage >::MaskImagePointer
template<class TInputImage >
typedef MaskImageType::SizeType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::MaskImageSizeType
template<class TInputImage >
typedef MaskImageType::SpacingType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::MaskImageSpacingType
template<class TInputImage >
typedef itk::Image<MaskPixelType, ImageDimension> itk::MammogramFatEstimationFitMetricForImage< TInputImage >::MaskImageType
template<class TInputImage >
typedef itk::ImageRegionConstIterator< MaskImageType > itk::MammogramFatEstimationFitMetricForImage< TInputImage >::MaskIteratorType
template<class TInputImage >
typedef itk::ImageLinearConstIteratorWithIndex< MaskImageType > itk::MammogramFatEstimationFitMetricForImage< TInputImage >::MaskLineIteratorType
template<class TInputImage >
typedef unsigned char itk::MammogramFatEstimationFitMetricForImage< TInputImage >::MaskPixelType

Optional mask image

template<class TInputImage >
typedef SmartPointer< Self > itk::MammogramFatEstimationFitMetricForImage< TInputImage >::Pointer
template<class TInputImage >
typedef MammogramFatEstimationFitMetric itk::MammogramFatEstimationFitMetricForImage< TInputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage >
itk::MammogramFatEstimationFitMetricForImage< TInputImage >::MammogramFatEstimationFitMetricForImage ( )
protected
template<class TInputImage >
virtual itk::MammogramFatEstimationFitMetricForImage< TInputImage >::~MammogramFatEstimationFitMetricForImage ( )
protectedvirtual
template<class TInputImage >
itk::MammogramFatEstimationFitMetricForImage< TInputImage >::MammogramFatEstimationFitMetricForImage ( const Self )
inlineprotected

Member Function Documentation

template<class TInputImage >
double itk::MammogramFatEstimationFitMetricForImage< TInputImage >::CalculateFit ( double  d,
const ParametersType parameters,
DistanceImageIndexType  index 
)
protected
template<class TInputImage >
void itk::MammogramFatEstimationFitMetricForImage< TInputImage >::ClearFatImage ( void  )
template<class TInputImage >
void itk::MammogramFatEstimationFitMetricForImage< TInputImage >::GenerateFatImage ( const ParametersType parameters)
template<class TInputImage >
virtual const char* itk::MammogramFatEstimationFitMetricForImage< TInputImage >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::MammogramFatEstimationFitMetric.

template<class TInputImage >
virtual DistanceImageType* itk::MammogramFatEstimationFitMetricForImage< TInputImage >::GetDistance ( )
virtual

Get the distance image.

template<class TInputImage >
virtual InputImageType* itk::MammogramFatEstimationFitMetricForImage< TInputImage >::GetFat ( )
virtual

Get the fat image.

template<class TInputImage >
DistancePixelType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::GetMaxDistance ( void  )
inline

Get the maximum distance to the breast edge in mm.

template<class TInputImage >
virtual unsigned int itk::MammogramFatEstimationFitMetricForImage< TInputImage >::GetNumberOfParameters ( void  ) const
inlineoverridevirtual
template<class TInputImage >
MeasureType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::GetValue ( const ParametersType parameters) const
overridevirtual
template<class TInputImage >
itk::MammogramFatEstimationFitMetricForImage< TInputImage >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
TInputImage::ImageDimension   
)

Image dimension.

template<class TInputImage >
itk::MammogramFatEstimationFitMetricForImage< TInputImage >::itkStaticConstMacro ( ParametricSpaceDimension  ,
unsigned  int,
 
)
template<class TInputImage >
static Pointer itk::MammogramFatEstimationFitMetricForImage< TInputImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage >
void itk::MammogramFatEstimationFitMetricForImage< TInputImage >::operator= ( const Self )
inlineprotected
template<class TInputImage >
void itk::MammogramFatEstimationFitMetricForImage< TInputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotected
template<class TInputImage >
void itk::MammogramFatEstimationFitMetricForImage< TInputImage >::SetInputImage ( const InputImageType imInput)

Connect the input image.

template<class TInputImage >
void itk::MammogramFatEstimationFitMetricForImage< TInputImage >::SetMask ( const MaskImageType imMask)

Set the optional mask image.

template<class TInputImage >
void itk::MammogramFatEstimationFitMetricForImage< TInputImage >::WriteFitToFile ( std::string  fileOutputFit,
const ParametersType parameters 
)
overridevirtual
template<class TInputImage >
void itk::MammogramFatEstimationFitMetricForImage< TInputImage >::WriteIntensityVsEdgeDistToFile ( std::string  fileOutputIntensityVsEdgeDist)
overridevirtual

Member Data Documentation

template<class TInputImage >
DistanceImagePointer itk::MammogramFatEstimationFitMetricForImage< TInputImage >::m_Distance
protected
template<class TInputImage >
InputImagePointer itk::MammogramFatEstimationFitMetricForImage< TInputImage >::m_Fat
protected
template<class TInputImage >
InputImagePointType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::m_ImOrigin
protected
template<class TInputImage >
InputImageRegionType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::m_ImRegion
protected
template<class TInputImage >
InputImageSizeType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::m_ImSize
protected
template<class TInputImage >
InputImagePointType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::m_ImSizeInMM
protected
template<class TInputImage >
InputImageSpacingType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::m_ImSpacing
protected
template<class TInputImage >
InputImageConstPointer itk::MammogramFatEstimationFitMetricForImage< TInputImage >::m_InputImage
protected
template<class TInputImage >
MaskImageConstPointer itk::MammogramFatEstimationFitMetricForImage< TInputImage >::m_Mask
protected
template<class TInputImage >
MaskImageRegionType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::m_MaskRegion
protected
template<class TInputImage >
DistancePixelType itk::MammogramFatEstimationFitMetricForImage< TInputImage >::m_MaxDistance
protected

The documentation for this class was generated from the following file: