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::MammogramFatSubtractionImageFilter< TInputImage > Class Template Reference

2D image filter class to subtract the fat signal from a mammogram. More...

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

Public Types

typedef
MammogramFatSubtractionImageFilter 
Self
 
typedef ImageToImageFilter
< TInputImage, TInputImage > 
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 unsigned char MaskPixelType
 
typedef itk::Image
< MaskPixelType,
ImageDimension > 
MaskImageType
 
typedef MaskImageType::ConstPointer MaskImageConstPointer
 
typedef MaskImageType::RegionType MaskImageRegionType
 
typedef MaskImageType::Pointer MaskImagePointer
 
typedef MaskImageType::SizeType MaskImageSizeType
 
typedef MaskImageType::SpacingType MaskImageSpacingType
 
typedef MaskImageType::PointType MaskImagePointType
 
typedef MaskImageType::IndexType MaskImageIndexType
 
typedef float DistancePixelType
 
typedef itk::Image
< DistancePixelType,
ImageDimension > 
DistanceImageType
 
typedef DistanceImageType::Pointer DistanceImagePointer
 
typedef
DistanceImageType::ConstPointer 
DistanceImageConstPointer
 
typedef
DistanceImageType::RegionType 
DistanceImageRegionType
 
typedef DistanceImageType::SizeType DistanceImageSizeType
 
typedef
DistanceImageType::SpacingType 
DistanceImageSpacingType
 
typedef
DistanceImageType::PointType 
DistanceImagePointType
 
typedef
DistanceImageType::IndexType 
DistanceImageIndexType
 
typedef
itk::ImageRegionIterator
< TInputImage > 
IteratorType
 
typedef
itk::ImageRegionIteratorWithIndex
< TInputImage > 
IteratorWithIndexType
 
typedef
itk::ImageLinearIteratorWithIndex
< MaskImageType
MaskLineIteratorType
 
typedef
itk::ImageRegionConstIterator
< TInputImage > 
IteratorConstType
 
typedef
itk::ImageRegionConstIteratorWithIndex
< TInputImage > 
IteratorWithIndexConstType
 
typedef
itk::MammogramFatEstimationFitMetricForArray
< TInputImage > 
FitArrayMetricType
 
typedef
itk::MammogramFatEstimationFitMetricForImage
< TInputImage > 
FitImageMetricType
 

Public Member Functions

virtual const char * GetClassName () const
 
 itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension)
 
void SetMask (const MaskImageType *imMask)
 Set the mask image. More...
 
bool GetVerbose (void)
 
void SetVerbose (bool flag)
 
void SetVerboseOn (void)
 
void SetVerboseOff (void)
 
bool GetComputeFatEstimationFit (void)
 
void SetComputeFatEstimationFit (bool flag)
 
void SetComputeFatEstimationFitOn (void)
 
void SetComputeFatEstimationFitOff (void)
 
void SetFileOutputIntensityVsEdgeDist (std::string fn)
 
void SetFileOutputFit (std::string fn)
 
MaskImagePointer GetMaskOfRegionInsideBreastEdge (void)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 MammogramFatSubtractionImageFilter ()
 
virtual ~MammogramFatSubtractionImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual DataObject::Pointer MakeOutput (unsigned int idx)
 
template<typename ShrinkImageType >
void ComputeShrinkFactors (typename ShrinkImageType::ConstPointer &image, unsigned int maxShrunkDimension, itk::Array< double > &sampling, typename ShrinkImageType::SpacingType &outSpacing, typename ShrinkImageType::SizeType &outSize)
 
template<typename ShrinkImageType >
ShrinkImageType::Pointer ShrinkTheInputImage (typename ShrinkImageType::ConstPointer &image, unsigned int maxShrunkDimension, typename ShrinkImageType::SizeType &outSize)
 
template<typename ShrinkImageType >
ShrinkImageType::Pointer ShrinkTheInputImageViaMinResample (typename ShrinkImageType::ConstPointer &image, unsigned int maxShrunkDimension, typename ShrinkImageType::SizeType &outSize)
 
void GenerateData ()
 Single threaded execution. More...
 
void ComputeFatEstimationFit ()
 Compute the fat subtraction via a fat estimation curve fit. More...
 
void ComputeMinIntensityVersusDistanceFromEdge ()
 Compute the fat image via the minimum intensity at equal distances from the breast edge. More...
 
void SubtractFatEstimation (InputImagePointer &imFatSubtraction, InputImagePointer &imFatEstimation)
 Subtract the fat estimation from the original image. More...
 
void EnlargeOutputRequestedRegion (DataObject *output)
 
void ComputeDistanceTransform (void)
 Compute a distance transform of the mask image. More...
 

Protected Attributes

bool m_flgVerbose
 
bool m_flgComputeFatEstimationFit
 
std::string m_fileOutputIntensityVsEdgeDist
 
std::string m_fileOutputFit
 
InputImagePointer m_Image
 
MaskImagePointer m_Mask
 
DistanceImagePointer m_Distance
 
float m_BreastEdgeWidthEstimate
 
float m_FatThicknessEstimate
 

Detailed Description

template<class TInputImage>
class itk::MammogramFatSubtractionImageFilter< TInputImage >

2D image filter class to subtract the fat signal from a mammogram.

Member Typedef Documentation

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

Mask image

template<class TInputImage >
typedef itk::MammogramFatEstimationFitMetricForArray< TInputImage > itk::MammogramFatSubtractionImageFilter< TInputImage >::FitArrayMetricType
template<class TInputImage >
typedef itk::MammogramFatEstimationFitMetricForImage< TInputImage > itk::MammogramFatSubtractionImageFilter< TInputImage >::FitImageMetricType
template<class TInputImage >
typedef InputImageType::ConstPointer itk::MammogramFatSubtractionImageFilter< TInputImage >::InputImageConstPointer
template<class TInputImage >
typedef InputImageType::IndexType itk::MammogramFatSubtractionImageFilter< TInputImage >::InputImageIndexType
template<class TInputImage >
typedef InputImageType::PixelType itk::MammogramFatSubtractionImageFilter< TInputImage >::InputImagePixelType
template<class TInputImage >
typedef InputImageType::Pointer itk::MammogramFatSubtractionImageFilter< TInputImage >::InputImagePointer
template<class TInputImage >
typedef InputImageType::PointType itk::MammogramFatSubtractionImageFilter< TInputImage >::InputImagePointType
template<class TInputImage >
typedef InputImageType::RegionType itk::MammogramFatSubtractionImageFilter< TInputImage >::InputImageRegionType
template<class TInputImage >
typedef InputImageType::SizeType itk::MammogramFatSubtractionImageFilter< TInputImage >::InputImageSizeType
template<class TInputImage >
typedef InputImageType::SpacingType itk::MammogramFatSubtractionImageFilter< TInputImage >::InputImageSpacingType
template<class TInputImage >
typedef TInputImage itk::MammogramFatSubtractionImageFilter< TInputImage >::InputImageType

Type of the input image

template<class TInputImage >
typedef itk::ImageRegionConstIterator< TInputImage > itk::MammogramFatSubtractionImageFilter< TInputImage >::IteratorConstType
template<class TInputImage >
typedef itk::ImageRegionIterator< TInputImage > itk::MammogramFatSubtractionImageFilter< TInputImage >::IteratorType
template<class TInputImage >
typedef itk::ImageRegionConstIteratorWithIndex< TInputImage > itk::MammogramFatSubtractionImageFilter< TInputImage >::IteratorWithIndexConstType
template<class TInputImage >
typedef itk::ImageRegionIteratorWithIndex< TInputImage > itk::MammogramFatSubtractionImageFilter< TInputImage >::IteratorWithIndexType
template<class TInputImage >
typedef MaskImageType::ConstPointer itk::MammogramFatSubtractionImageFilter< TInputImage >::MaskImageConstPointer
template<class TInputImage >
typedef MaskImageType::IndexType itk::MammogramFatSubtractionImageFilter< TInputImage >::MaskImageIndexType
template<class TInputImage >
typedef MaskImageType::Pointer itk::MammogramFatSubtractionImageFilter< TInputImage >::MaskImagePointer
template<class TInputImage >
typedef MaskImageType::PointType itk::MammogramFatSubtractionImageFilter< TInputImage >::MaskImagePointType
template<class TInputImage >
typedef MaskImageType::RegionType itk::MammogramFatSubtractionImageFilter< TInputImage >::MaskImageRegionType
template<class TInputImage >
typedef MaskImageType::SizeType itk::MammogramFatSubtractionImageFilter< TInputImage >::MaskImageSizeType
template<class TInputImage >
typedef MaskImageType::SpacingType itk::MammogramFatSubtractionImageFilter< TInputImage >::MaskImageSpacingType
template<class TInputImage >
typedef itk::Image<MaskPixelType, ImageDimension> itk::MammogramFatSubtractionImageFilter< TInputImage >::MaskImageType
template<class TInputImage >
typedef itk::ImageLinearIteratorWithIndex< MaskImageType > itk::MammogramFatSubtractionImageFilter< TInputImage >::MaskLineIteratorType
template<class TInputImage >
typedef unsigned char itk::MammogramFatSubtractionImageFilter< TInputImage >::MaskPixelType

Mask image

template<class TInputImage >
typedef SmartPointer< Self > itk::MammogramFatSubtractionImageFilter< TInputImage >::Pointer
template<class TInputImage >
typedef MammogramFatSubtractionImageFilter itk::MammogramFatSubtractionImageFilter< TInputImage >::Self

Standard class typedefs.

template<class TInputImage >
typedef ImageToImageFilter< TInputImage,TInputImage > itk::MammogramFatSubtractionImageFilter< TInputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage >
itk::MammogramFatSubtractionImageFilter< TInputImage >::MammogramFatSubtractionImageFilter ( )
protected
template<class TInputImage >
virtual itk::MammogramFatSubtractionImageFilter< TInputImage >::~MammogramFatSubtractionImageFilter ( )
protectedvirtual

Member Function Documentation

template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::ComputeDistanceTransform ( void  )
protected

Compute a distance transform of the mask image.

template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::ComputeFatEstimationFit ( )
protected

Compute the fat subtraction via a fat estimation curve fit.

template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::ComputeMinIntensityVersusDistanceFromEdge ( )
protected

Compute the fat image via the minimum intensity at equal distances from the breast edge.

template<class TInputImage >
template<typename ShrinkImageType >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::ComputeShrinkFactors ( typename ShrinkImageType::ConstPointer &  image,
unsigned int  maxShrunkDimension,
itk::Array< double > &  sampling,
typename ShrinkImageType::SpacingType &  outSpacing,
typename ShrinkImageType::SizeType outSize 
)
protected
template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::EnlargeOutputRequestedRegion ( DataObject *  output)
protected
template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::GenerateData ( )
protected

Single threaded execution.

template<class TInputImage >
virtual const char* itk::MammogramFatSubtractionImageFilter< TInputImage >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

template<class TInputImage >
bool itk::MammogramFatSubtractionImageFilter< TInputImage >::GetComputeFatEstimationFit ( void  )
inline
template<class TInputImage >
MaskImagePointer itk::MammogramFatSubtractionImageFilter< TInputImage >::GetMaskOfRegionInsideBreastEdge ( void  )
template<class TInputImage >
bool itk::MammogramFatSubtractionImageFilter< TInputImage >::GetVerbose ( void  )
inline
template<class TInputImage >
itk::MammogramFatSubtractionImageFilter< TInputImage >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
TInputImage::ImageDimension   
)

Image dimension.

template<class TInputImage >
virtual DataObject::Pointer itk::MammogramFatSubtractionImageFilter< TInputImage >::MakeOutput ( unsigned int  idx)
protectedvirtual

Make a DataObject of the correct type to be used as the specified output.

template<class TInputImage >
static Pointer itk::MammogramFatSubtractionImageFilter< TInputImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::SetComputeFatEstimationFit ( bool  flag)
inline
template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::SetComputeFatEstimationFitOff ( void  )
inline
template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::SetComputeFatEstimationFitOn ( void  )
inline
template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::SetFileOutputFit ( std::string  fn)
inline
template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::SetFileOutputIntensityVsEdgeDist ( std::string  fn)
inline
template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::SetMask ( const MaskImageType imMask)

Set the mask image.

template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::SetVerbose ( bool  flag)
inline
template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::SetVerboseOff ( void  )
inline
template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::SetVerboseOn ( void  )
inline
template<class TInputImage >
template<typename ShrinkImageType >
ShrinkImageType::Pointer itk::MammogramFatSubtractionImageFilter< TInputImage >::ShrinkTheInputImage ( typename ShrinkImageType::ConstPointer &  image,
unsigned int  maxShrunkDimension,
typename ShrinkImageType::SizeType outSize 
)
protected
template<class TInputImage >
template<typename ShrinkImageType >
ShrinkImageType::Pointer itk::MammogramFatSubtractionImageFilter< TInputImage >::ShrinkTheInputImageViaMinResample ( typename ShrinkImageType::ConstPointer &  image,
unsigned int  maxShrunkDimension,
typename ShrinkImageType::SizeType outSize 
)
protected
template<class TInputImage >
void itk::MammogramFatSubtractionImageFilter< TInputImage >::SubtractFatEstimation ( InputImagePointer imFatSubtraction,
InputImagePointer imFatEstimation 
)
protected

Subtract the fat estimation from the original image.

Member Data Documentation

template<class TInputImage >
float itk::MammogramFatSubtractionImageFilter< TInputImage >::m_BreastEdgeWidthEstimate
protected
template<class TInputImage >
DistanceImagePointer itk::MammogramFatSubtractionImageFilter< TInputImage >::m_Distance
protected
template<class TInputImage >
float itk::MammogramFatSubtractionImageFilter< TInputImage >::m_FatThicknessEstimate
protected
template<class TInputImage >
std::string itk::MammogramFatSubtractionImageFilter< TInputImage >::m_fileOutputFit
protected
template<class TInputImage >
std::string itk::MammogramFatSubtractionImageFilter< TInputImage >::m_fileOutputIntensityVsEdgeDist
protected
template<class TInputImage >
bool itk::MammogramFatSubtractionImageFilter< TInputImage >::m_flgComputeFatEstimationFit
protected
template<class TInputImage >
bool itk::MammogramFatSubtractionImageFilter< TInputImage >::m_flgVerbose
protected
template<class TInputImage >
InputImagePointer itk::MammogramFatSubtractionImageFilter< TInputImage >::m_Image
protected
template<class TInputImage >
MaskImagePointer itk::MammogramFatSubtractionImageFilter< TInputImage >::m_Mask
protected

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