15 #ifndef itkForwardImageProjector3Dto2D_h
16 #define itkForwardImageProjector3Dto2D_h
28 template <
class IntensityType =
float>
31 Image< IntensityType, 2> >
64 itkStaticConstMacro(InputImageDimension,
unsigned int, 3);
65 itkStaticConstMacro(OutputImageDimension,
unsigned int, 2);
74 virtual void GenerateOutputInformation(
void);
83 virtual void GenerateInputRequestedRegion(
void);
84 virtual void EnlargeOutputRequestedRegion(DataObject *output);
90 m_OutputImageSpacing = outImageSpacing;
91 this->GetOutput()->SetSpacing(m_OutputImageSpacing);
95 m_OutputImageOrigin = outImageOrigin;
96 this->GetOutput()->SetOrigin(m_OutputImageOrigin);
108 void PrintSelf(std::ostream& os, Indent indent)
const;
120 virtual void BeforeThreadedGenerateData(
void);
132 virtual void AfterThreadedGenerateData(
void);
148 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread,
149 ThreadIdType threadId );
166 void operator=(
const Self&);
172 #ifndef ITK_MANUAL_INSTANTIATION
173 #include "itkForwardImageProjector3Dto2D.txx"
Image< IntensityType, 2 > OutputImageType
Definition: itkForwardImageProjector3Dto2D.h:54
OutputImageType::PixelType OutputImagePixelType
Definition: itkForwardImageProjector3Dto2D.h:60
OutputImagePointType m_OutputImageOrigin
The origin of the output projected image.
Definition: itkForwardImageProjector3Dto2D.h:156
ImageType::SizeType SizeType
Definition: niftkMakeLapUSProbeBasicModel.cxx:31
OutputImageType::SpacingType OutputImageSpacingType
Definition: itkForwardImageProjector3Dto2D.h:58
The base class for 2D-3D forward and back projection.
Definition: itkImageProjectionBaseClass2D3D.h:31
SmartPointer< Self > Pointer
Definition: itkForwardImageProjector3Dto2D.h:36
void SetProjectedImageOrigin(OutputImagePointType &outImageOrigin)
Set the origin of the output projected image.
Definition: itkForwardImageProjector3Dto2D.h:94
InputImageType::RegionType InputImageRegionType
Definition: itkForwardImageProjector3Dto2D.h:51
Definition: niftkITKAffineResampleImage.cxx:74
ImageType::IndexType IndexType
Definition: niftkMakeLapUSProbeBasicModel.cxx:32
void SetRayIntegrationThreshold(double threshold)
Set the ray integration threshold.
Definition: itkForwardImageProjector3Dto2D.h:100
OutputImageType::Pointer OutputImagePointer
Definition: itkForwardImageProjector3Dto2D.h:55
InputImageType::Pointer InputImagePointer
Definition: itkForwardImageProjector3Dto2D.h:49
OutputImageSizeType m_OutputImageSize
The size of the output projected image.
Definition: itkForwardImageProjector3Dto2D.h:152
OutputImageType::RegionType OutputImageRegionType
Definition: itkForwardImageProjector3Dto2D.h:56
OutputImageType::IndexType OutputImageIndexType
Definition: itkForwardImageProjector3Dto2D.h:61
float PixelType
Definition: niftkBreastDCEandADC.cxx:88
double m_Threshold
The threshold above which voxels along the ray path are integrated.
Definition: itkForwardImageProjector3Dto2D.h:159
ImageProjectionBaseClass2D3D< Image< IntensityType, 3 >, Image< IntensityType, 2 > > Superclass
Definition: itkForwardImageProjector3Dto2D.h:39
ImageType::RegionType RegionType
Definition: niftkMakeLapUSProbeBasicModel.cxx:30
InputImageType::PixelType InputImagePixelType
Definition: itkForwardImageProjector3Dto2D.h:52
Class to project a 3D image into 2D.
Definition: itkForwardImageProjector3Dto2D.h:29
void SetProjectedImageSize(OutputImageSizeType &outImageSize)
Set the size in pixels of the output projected image.
Definition: itkForwardImageProjector3Dto2D.h:87
OutputImageSpacingType m_OutputImageSpacing
The resolution of the output projected image.
Definition: itkForwardImageProjector3Dto2D.h:154
OutputImageType::PointType OutputImagePointType
Definition: itkForwardImageProjector3Dto2D.h:59
bool m_FlagMultiThreadedExecution
Flag to turn multithreading on or off.
Definition: itkForwardImageProjector3Dto2D.h:162
InputImageType::ConstPointer InputImageConstPointer
Definition: itkForwardImageProjector3Dto2D.h:50
Simultaneous itk::Image and itk::Array (and hence vnl_vector) class.
void SetSingleThreadedExecution(void)
For debugging purposes, set single threaded execution.
Definition: itkForwardImageProjector3Dto2D.h:103
Image< IntensityType, 3 > InputImageType
Definition: itkForwardImageProjector3Dto2D.h:45
virtual ~ForwardImageProjector3Dto2D(void)
Definition: itkForwardImageProjector3Dto2D.h:107
OutputImageType::SizeType OutputImageSizeType
Definition: itkForwardImageProjector3Dto2D.h:57
SmartPointer< const Self > ConstPointer
Definition: itkForwardImageProjector3Dto2D.h:37
void SetProjectedImageSpacing(OutputImageSpacingType &outImageSpacing)
Set the resolution in mm of the output projected image.
Definition: itkForwardImageProjector3Dto2D.h:89
ForwardImageProjector3Dto2D Self
Definition: itkForwardImageProjector3Dto2D.h:35