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

Class to project a 3D image into 2D. More...

Inheritance diagram for itk::SimulateMammogramFromMRI< IntensityType >:
Inheritance graph
[legend]
Collaboration diagram for itk::SimulateMammogramFromMRI< IntensityType >:
Collaboration graph
[legend]

Public Types

typedef SimulateMammogramFromMRI Self
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef
ForwardImageProjector3Dto2D
< IntensityType > 
Superclass
 
typedef Superclass::InputImageType InputImageType
 
typedef
Superclass::InputImagePointer 
InputImagePointer
 
typedef
Superclass::InputImageConstPointer 
InputImageConstPointer
 
typedef
Superclass::InputImageRegionType 
InputImageRegionType
 
typedef
Superclass::InputImagePixelType 
InputImagePixelType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef
Superclass::OutputImagePointer 
OutputImagePointer
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef
Superclass::OutputImageSizeType 
OutputImageSizeType
 
typedef
Superclass::OutputImageSpacingType 
OutputImageSpacingType
 
typedef
Superclass::OutputImagePointType 
OutputImagePointType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageIndexType 
OutputImageIndexType
 
- Public Types inherited from itk::ForwardImageProjector3Dto2D< IntensityType >
typedef ForwardImageProjector3Dto2D Self
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef
ImageProjectionBaseClass2D3D
< Image< IntensityType, 3 >
, Image< IntensityType, 2 > > 
Superclass
 
typedef Image< IntensityType, 3 > InputImageType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef Image< IntensityType, 2 > OutputImageType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef OutputImageType::SizeType OutputImageSizeType
 
typedef
OutputImageType::SpacingType 
OutputImageSpacingType
 
typedef OutputImageType::PointType OutputImagePointType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::IndexType OutputImageIndexType
 
- Public Types inherited from itk::ImageProjectionBaseClass2D3D< Image< IntensityType, 3 >, Image< IntensityType, 2 > >
typedef
ImageProjectionBaseClass2D3D 
Self
 
typedef ImageToImageFilter
< Image< IntensityType, 3 >
, Image< IntensityType, 2 > > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Image< IntensityType, 3 > InputImageType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef Image< IntensityType, 2 > OutputImageType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef EulerAffineTransform
< double, 3, 3 > 
EulerAffineTransformType
 
typedef
PerspectiveProjectionTransform
< double > 
PerspectiveProjectionTransformType
 

Public Member Functions

virtual const char * GetClassName () const
 
- Public Member Functions inherited from itk::ForwardImageProjector3Dto2D< IntensityType >
 itkStaticConstMacro (InputImageDimension, unsigned int, 3)
 
 itkStaticConstMacro (OutputImageDimension, unsigned int, 2)
 
virtual void GenerateOutputInformation (void)
 
virtual void GenerateInputRequestedRegion (void)
 
virtual void EnlargeOutputRequestedRegion (DataObject *output)
 
void SetProjectedImageSize (OutputImageSizeType &outImageSize)
 Set the size in pixels of the output projected image. More...
 
void SetProjectedImageSpacing (OutputImageSpacingType &outImageSpacing)
 Set the resolution in mm of the output projected image. More...
 
void SetProjectedImageOrigin (OutputImagePointType &outImageOrigin)
 Set the origin of the output projected image. More...
 
void SetRayIntegrationThreshold (double threshold)
 Set the ray integration threshold. More...
 
void SetSingleThreadedExecution (void)
 For debugging purposes, set single threaded execution. More...
 
- Public Member Functions inherited from itk::ImageProjectionBaseClass2D3D< Image< IntensityType, 3 >, Image< IntensityType, 2 > >
 itkStaticConstMacro (InputImageDimension, unsigned int, Image< IntensityType, 3 >::ImageDimension)
 
 itkStaticConstMacro (OutputImageDimension, unsigned int, Image< IntensityType, 2 >::ImageDimension)
 
virtual void SetAffineTransform (EulerAffineTransformType *_arg)
 Set the affine transformation. More...
 
virtual EulerAffineTransformTypeGetAffineTransform ()
 Get the affine transformation. More...
 
virtual void SetPerspectiveTransform (PerspectiveProjectionTransformType *_arg)
 Set the perspective transformation. More...
 
virtual
PerspectiveProjectionTransformType
GetPerspectiveTransform ()
 Get the perspective transformation. More...
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ForwardImageProjector3Dto2D< IntensityType >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageProjectionBaseClass2D3D< Image< IntensityType, 3 >, Image< IntensityType, 2 > >
static Pointer New ()
 

Protected Member Functions

 SimulateMammogramFromMRI ()
 
virtual ~SimulateMammogramFromMRI (void)
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void BeforeThreadedGenerateData (void)
 
virtual void AfterThreadedGenerateData (void)
 
void GenerateData ()
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
- Protected Member Functions inherited from itk::ForwardImageProjector3Dto2D< IntensityType >
 ForwardImageProjector3Dto2D ()
 
virtual ~ForwardImageProjector3Dto2D (void)
 
void PrintSelf (std::ostream &os, Indent indent) const
 
void GenerateData ()
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
- Protected Member Functions inherited from itk::ImageProjectionBaseClass2D3D< Image< IntensityType, 3 >, Image< IntensityType, 2 > >
 ImageProjectionBaseClass2D3D ()
 
virtual ~ImageProjectionBaseClass2D3D ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 

Additional Inherited Members

- Protected Attributes inherited from itk::ForwardImageProjector3Dto2D< IntensityType >
OutputImageSizeType m_OutputImageSize
 The size of the output projected image. More...
 
OutputImageSpacingType m_OutputImageSpacing
 The resolution of the output projected image. More...
 
OutputImagePointType m_OutputImageOrigin
 The origin of the output projected image. More...
 
double m_Threshold
 The threshold above which voxels along the ray path are integrated. More...
 
bool m_FlagMultiThreadedExecution
 Flag to turn multithreading on or off. More...
 
- Protected Attributes inherited from itk::ImageProjectionBaseClass2D3D< Image< IntensityType, 3 >, Image< IntensityType, 2 > >
EulerAffineTransformType::Pointer m_AffineTransform
 The affine transform. More...
 
PerspectiveProjectionTransformType::Pointer m_PerspectiveTransform
 

Detailed Description

template<class IntensityType = float>
class itk::SimulateMammogramFromMRI< IntensityType >

Class to project a 3D image into 2D.

Member Typedef Documentation

template<class IntensityType = float>
typedef SmartPointer<const Self> itk::SimulateMammogramFromMRI< IntensityType >::ConstPointer
template<class IntensityType = float>
typedef Superclass::InputImageConstPointer itk::SimulateMammogramFromMRI< IntensityType >::InputImageConstPointer
template<class IntensityType = float>
typedef Superclass::InputImagePixelType itk::SimulateMammogramFromMRI< IntensityType >::InputImagePixelType
template<class IntensityType = float>
typedef Superclass::InputImagePointer itk::SimulateMammogramFromMRI< IntensityType >::InputImagePointer
template<class IntensityType = float>
typedef Superclass::InputImageRegionType itk::SimulateMammogramFromMRI< IntensityType >::InputImageRegionType
template<class IntensityType = float>
typedef Superclass::InputImageType itk::SimulateMammogramFromMRI< IntensityType >::InputImageType

Some convenient typedefs.

template<class IntensityType = float>
typedef Superclass::OutputImageIndexType itk::SimulateMammogramFromMRI< IntensityType >::OutputImageIndexType
template<class IntensityType = float>
typedef Superclass::OutputImagePixelType itk::SimulateMammogramFromMRI< IntensityType >::OutputImagePixelType
template<class IntensityType = float>
typedef Superclass::OutputImagePointer itk::SimulateMammogramFromMRI< IntensityType >::OutputImagePointer
template<class IntensityType = float>
typedef Superclass::OutputImagePointType itk::SimulateMammogramFromMRI< IntensityType >::OutputImagePointType
template<class IntensityType = float>
typedef Superclass::OutputImageRegionType itk::SimulateMammogramFromMRI< IntensityType >::OutputImageRegionType
template<class IntensityType = float>
typedef Superclass::OutputImageSizeType itk::SimulateMammogramFromMRI< IntensityType >::OutputImageSizeType
template<class IntensityType = float>
typedef Superclass::OutputImageSpacingType itk::SimulateMammogramFromMRI< IntensityType >::OutputImageSpacingType
template<class IntensityType = float>
typedef Superclass::OutputImageType itk::SimulateMammogramFromMRI< IntensityType >::OutputImageType
template<class IntensityType = float>
typedef SmartPointer<Self> itk::SimulateMammogramFromMRI< IntensityType >::Pointer
template<class IntensityType = float>
typedef SimulateMammogramFromMRI itk::SimulateMammogramFromMRI< IntensityType >::Self

Standard class typedefs.

template<class IntensityType = float>
typedef ForwardImageProjector3Dto2D< IntensityType > itk::SimulateMammogramFromMRI< IntensityType >::Superclass

Constructor & Destructor Documentation

template<class IntensityType = float>
itk::SimulateMammogramFromMRI< IntensityType >::SimulateMammogramFromMRI ( )
protected
template<class IntensityType = float>
virtual itk::SimulateMammogramFromMRI< IntensityType >::~SimulateMammogramFromMRI ( void  )
inlineprotectedvirtual

Member Function Documentation

template<class IntensityType = float>
virtual void itk::SimulateMammogramFromMRI< IntensityType >::AfterThreadedGenerateData ( void  )
protectedvirtual

If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.

Reimplemented from itk::ForwardImageProjector3Dto2D< IntensityType >.

template<class IntensityType = float>
virtual void itk::SimulateMammogramFromMRI< IntensityType >::BeforeThreadedGenerateData ( void  )
protectedvirtual

If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.

Reimplemented from itk::ForwardImageProjector3Dto2D< IntensityType >.

template<class IntensityType = float>
void itk::SimulateMammogramFromMRI< IntensityType >::GenerateData ( )
protected

Single threaded execution, for debugging purposes ( call SetSingleThreadedExecution() )

template<class IntensityType = float>
virtual const char* itk::SimulateMammogramFromMRI< IntensityType >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ForwardImageProjector3Dto2D< IntensityType >.

template<class IntensityType = float>
static Pointer itk::SimulateMammogramFromMRI< IntensityType >::New ( )
static

Method for creation through the object factory.

template<class IntensityType = float>
void itk::SimulateMammogramFromMRI< IntensityType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class IntensityType = float>
void itk::SimulateMammogramFromMRI< IntensityType >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protected

SimulateMammogramFromMRI can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"

See also
ImageToImageFilter::ThreadedGenerateData(), ImageToImageFilter::GenerateData()

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