NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
itkSimulateMammogramFromMRI.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef itkSimulateMammogramFromMRI_h
16 #define itkSimulateMammogramFromMRI_h
17 
19 
20 namespace itk
21 {
22 
27 template <class IntensityType = float>
28 class ITK_EXPORT SimulateMammogramFromMRI :
29  public ForwardImageProjector3Dto2D< IntensityType >
30 {
31 public:
34  typedef SmartPointer<Self> Pointer;
35  typedef SmartPointer<const Self> ConstPointer;
37 
39  itkNewMacro(Self);
40 
43 
47  typedef typename Superclass::InputImageConstPointer InputImageConstPointer;
50 
54  typedef typename Superclass::OutputImageSizeType OutputImageSizeType;
55  typedef typename Superclass::OutputImageSpacingType OutputImageSpacingType;
56  typedef typename Superclass::OutputImagePointType OutputImagePointType;
58  typedef typename Superclass::OutputImageIndexType OutputImageIndexType;
59 
60 protected:
62  virtual ~SimulateMammogramFromMRI(void) {};
63  void PrintSelf(std::ostream& os, Indent indent) const;
64 
75  virtual void BeforeThreadedGenerateData(void);
76 
87  virtual void AfterThreadedGenerateData(void);
88 
91  void GenerateData();
92 
103  void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread,
104  ThreadIdType threadId );
105 
106 private:
107  SimulateMammogramFromMRI(const Self&); //purposely not implemented
108  void operator=(const Self&); //purposely not implemented
109 
110 };
111 
112 } // end namespace itk
113 
114 #ifndef ITK_MANUAL_INSTANTIATION
115 #include "itkSimulateMammogramFromMRI.txx"
116 #endif
117 
118 #endif
Superclass::InputImagePointer InputImagePointer
Definition: itkSimulateMammogramFromMRI.h:46
InputImageType::PixelType InputImagePixelType
Definition: itkImageProjectionBaseClass2D3D.h:51
Superclass::OutputImageIndexType OutputImageIndexType
Definition: itkSimulateMammogramFromMRI.h:58
Superclass::InputImageConstPointer InputImageConstPointer
Definition: itkSimulateMammogramFromMRI.h:47
Superclass::InputImageType InputImageType
Definition: itkSimulateMammogramFromMRI.h:42
Superclass::InputImageRegionType InputImageRegionType
Definition: itkSimulateMammogramFromMRI.h:48
Superclass::OutputImageRegionType OutputImageRegionType
Definition: itkSimulateMammogramFromMRI.h:53
InputImageType::RegionType InputImageRegionType
Definition: itkImageProjectionBaseClass2D3D.h:50
Superclass::OutputImagePointType OutputImagePointType
Definition: itkSimulateMammogramFromMRI.h:56
ForwardImageProjector3Dto2D< IntensityType > Superclass
Definition: itkSimulateMammogramFromMRI.h:36
SimulateMammogramFromMRI Self
Definition: itkSimulateMammogramFromMRI.h:33
InputImageType::Pointer InputImagePointer
Definition: itkImageProjectionBaseClass2D3D.h:49
Definition: niftkITKAffineResampleImage.cxx:74
Superclass::OutputImageSizeType OutputImageSizeType
Definition: itkSimulateMammogramFromMRI.h:54
Superclass::OutputImagePixelType OutputImagePixelType
Definition: itkSimulateMammogramFromMRI.h:57
SmartPointer< const Self > ConstPointer
Definition: itkSimulateMammogramFromMRI.h:35
Class to project a 3D image into 2D.
Definition: itkSimulateMammogramFromMRI.h:28
Superclass::OutputImageSpacingType OutputImageSpacingType
Definition: itkSimulateMammogramFromMRI.h:55
Superclass::InputImagePixelType InputImagePixelType
Definition: itkSimulateMammogramFromMRI.h:49
Class to project a 3D image into 2D.
Definition: itkForwardImageProjector3Dto2D.h:29
OutputImageType::RegionType OutputImageRegionType
Definition: itkImageProjectionBaseClass2D3D.h:55
Superclass::OutputImageType OutputImageType
Definition: itkSimulateMammogramFromMRI.h:51
Simultaneous itk::Image and itk::Array (and hence vnl_vector) class.
virtual ~SimulateMammogramFromMRI(void)
Definition: itkSimulateMammogramFromMRI.h:62
OutputImageType::Pointer OutputImagePointer
Definition: itkImageProjectionBaseClass2D3D.h:54
SmartPointer< Self > Pointer
Definition: itkSimulateMammogramFromMRI.h:34
Superclass::OutputImagePointer OutputImagePointer
Definition: itkSimulateMammogramFromMRI.h:52
OutputImageType::PixelType OutputImagePixelType
Definition: itkImageProjectionBaseClass2D3D.h:56