RTK
2.6.0
Reconstruction Toolkit
|
#include <rtkIterativeConeBeamReconstructionFilter.h>
Public Types | |
using | BackProjectionFilterType = rtk::BackProjectionImageFilter< ProjectionStackType, VolumeType > |
using | BackProjectionPointerType = typename BackProjectionFilterType::Pointer |
enum | BackProjectionType { BP_VOXELBASED = 0, BP_JOSEPH = 1, BP_CUDAVOXELBASED = 2, BP_CUDARAYCAST = 4, BP_JOSEPHATTENUATED = 5, BP_ZENG = 6 } |
using | ConstPointer = itk::SmartPointer< const Self > |
using | ForwardProjectionFilterType = rtk::ForwardProjectionImageFilter< VolumeType, ProjectionStackType > |
using | ForwardProjectionPointerType = typename ForwardProjectionFilterType::Pointer |
enum | ForwardProjectionType { FP_JOSEPH = 0, FP_CUDARAYCAST = 2, FP_JOSEPHATTENUATED = 3, FP_ZENG = 4 } |
using | Pointer = itk::SmartPointer< Self > |
using | Self = IterativeConeBeamReconstructionFilter |
using | Superclass = itk::ImageToImageFilter< TOutputImage, TOutputImage > |
using | TClipImageType = itk::Image< double, VolumeType::ImageDimension > |
using | VolumeType = ProjectionStackType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
const char * | GetNameOfClass () const override |
virtual void | SetForwardProjectionFilter (ForwardProjectionType fwtype) |
ForwardProjectionType | GetForwardProjectionFilter () |
virtual void | SetBackProjectionFilter (BackProjectionType bptype) |
BackProjectionType | GetBackProjectionFilter () |
void | SetAttenuationMap (const VolumeType *attenuationMap) |
VolumeType::ConstPointer | GetAttenuationMap () |
void | SetInferiorClipImage (const TClipImageType *inferiorClipImage) |
TClipImageType::ConstPointer | GetInferiorClipImage () |
void | SetSuperiorClipImage (const TClipImageType *superiorClipImage) |
TClipImageType::ConstPointer | GetSuperiorClipImage () |
virtual double | GetSigmaZero () |
virtual void | SetSigmaZero (double _arg) |
virtual double | GetAlphaPSF () |
virtual void | SetAlphaPSF (double _arg) |
virtual double | GetStepSize () const |
virtual void | SetStepSize (double _arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Types | |
using | CPUImageType = typename itk::Image< typename ProjectionStackType::PixelType, ProjectionStackType::ImageDimension > |
template<typename ImageType > | |
using | EnableCudaScalarAndVectorType = typename std::enable_if< !std::is_same< CPUImageType, ImageType >::value &&std::is_same< typename itk::PixelTraits< typename ImageType::PixelType >::ValueType, float >::value &&(itk::PixelTraits< typename ImageType::PixelType >::Dimension==1||itk::PixelTraits< typename ImageType::PixelType >::Dimension==2||itk::PixelTraits< typename ImageType::PixelType >::Dimension==3)>::type |
template<typename ImageType > | |
using | DisableCudaScalarAndVectorType = typename std::enable_if< std::is_same< CPUImageType, ImageType >::value||!std::is_same< typename itk::PixelTraits< typename ImageType::PixelType >::ValueType, float >::value||(itk::PixelTraits< typename ImageType::PixelType >::Dimension !=1 &&itk::PixelTraits< typename ImageType::PixelType >::Dimension !=2 &&itk::PixelTraits< typename ImageType::PixelType >::Dimension !=3)>::type |
template<typename ImageType > | |
using | EnableCudaScalarType = typename std::enable_if< !std::is_same< CPUImageType, ImageType >::value &&std::is_same< typename itk::PixelTraits< typename ImageType::PixelType >::ValueType, float >::value &&itk::PixelTraits< typename ImageType::PixelType >::Dimension==1 >::type |
template<typename ImageType > | |
using | DisableCudaScalarType = typename std::enable_if< std::is_same< CPUImageType, ImageType >::value||!std::is_same< typename itk::PixelTraits< typename ImageType::PixelType >::ValueType, float >::value||itk::PixelTraits< typename ImageType::PixelType >::Dimension !=1 >::type |
template<typename ImageType > | |
using | EnableVectorType = typename std::enable_if< itk::PixelTraits< typename ImageType::PixelType >::Dimension !=1 >::type |
template<typename ImageType > | |
using | DisableVectorType = typename std::enable_if< itk::PixelTraits< typename ImageType::PixelType >::Dimension==1 >::type |
Protected Member Functions | |
virtual BackProjectionPointerType | InstantiateBackProjectionFilter (int bptype) |
template<typename ImageType , EnableCudaScalarAndVectorType< ImageType > * = nullptr> | |
BackProjectionPointerType | InstantiateCudaBackProjection () |
template<typename ImageType , DisableCudaScalarAndVectorType< ImageType > * = nullptr> | |
BackProjectionPointerType | InstantiateCudaBackProjection () |
template<typename ImageType , EnableCudaScalarAndVectorType< ImageType > * = nullptr> | |
ForwardProjectionPointerType | InstantiateCudaForwardProjection () |
template<typename ImageType , DisableCudaScalarAndVectorType< ImageType > * = nullptr> | |
ForwardProjectionPointerType | InstantiateCudaForwardProjection () |
template<typename ImageType , EnableCudaScalarType< ImageType > * = nullptr> | |
BackProjectionPointerType | InstantiateCudaRayCastBackProjection () |
template<typename ImageType , DisableCudaScalarType< ImageType > * = nullptr> | |
BackProjectionPointerType | InstantiateCudaRayCastBackProjection () |
virtual ForwardProjectionPointerType | InstantiateForwardProjectionFilter (int fwtype) |
template<typename ImageType , EnableVectorType< ImageType > * = nullptr> | |
BackProjectionPointerType | InstantiateJosephBackAttenuatedProjection () |
template<typename ImageType , DisableVectorType< ImageType > * = nullptr> | |
BackProjectionPointerType | InstantiateJosephBackAttenuatedProjection () |
template<typename ImageType , EnableVectorType< ImageType > * = nullptr> | |
ForwardProjectionPointerType | InstantiateJosephForwardAttenuatedProjection () |
template<typename ImageType , DisableVectorType< ImageType > * = nullptr> | |
ForwardProjectionPointerType | InstantiateJosephForwardAttenuatedProjection () |
template<typename ImageType , EnableVectorType< ImageType > * = nullptr> | |
BackProjectionPointerType | InstantiateZengBackProjection () |
template<typename ImageType , DisableVectorType< ImageType > * = nullptr> | |
BackProjectionPointerType | InstantiateZengBackProjection () |
template<typename ImageType , EnableVectorType< ImageType > * = nullptr> | |
ForwardProjectionPointerType | InstantiateZengForwardProjection () |
template<typename ImageType , DisableVectorType< ImageType > * = nullptr> | |
ForwardProjectionPointerType | InstantiateZengForwardProjection () |
IterativeConeBeamReconstructionFilter () | |
~IterativeConeBeamReconstructionFilter () override=default | |
Protected Attributes | |
double | m_AlphaPSF { 0.016241189545787734 } |
BackProjectionType | m_CurrentBackProjectionConfiguration |
ForwardProjectionType | m_CurrentForwardProjectionConfiguration |
std::default_random_engine | m_DefaultRandomEngine = std::default_random_engine{} |
double | m_SigmaZero { 1.5417233052142099 } |
double | m_StepSize { 1.0 } |
Mother class for cone beam reconstruction filters which need runtime selection of their forward and back projection filters.
IterativeConeBeamReconstructionFilter defines methods to set the forward and/or back projection filter(s) of a IterativeConeBeamReconstructionFilter at runtime
Definition at line 57 of file rtkIterativeConeBeamReconstructionFilter.h.
using rtk::IterativeConeBeamReconstructionFilter< TOutputImage, ProjectionStackType >::BackProjectionFilterType = rtk::BackProjectionImageFilter<ProjectionStackType, VolumeType> |
Definition at line 91 of file rtkIterativeConeBeamReconstructionFilter.h.
using rtk::IterativeConeBeamReconstructionFilter< TOutputImage, ProjectionStackType >::BackProjectionPointerType = typename BackProjectionFilterType::Pointer |
Definition at line 93 of file rtkIterativeConeBeamReconstructionFilter.h.
using rtk::IterativeConeBeamReconstructionFilter< TOutputImage, ProjectionStackType >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 67 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
Instantiate forward and back projectors using SFINAE.
Definition at line 212 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
Instantiate forward and back projectors using SFINAE.
Definition at line 226 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
Instantiate forward and back projectors using SFINAE.
Definition at line 236 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
Instantiate forward and back projectors using SFINAE.
Definition at line 242 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
Instantiate forward and back projectors using SFINAE.
Definition at line 219 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
Instantiate forward and back projectors using SFINAE.
Definition at line 231 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
Instantiate forward and back projectors using SFINAE.
Definition at line 239 of file rtkIterativeConeBeamReconstructionFilter.h.
using rtk::IterativeConeBeamReconstructionFilter< TOutputImage, ProjectionStackType >::ForwardProjectionFilterType = rtk::ForwardProjectionImageFilter<VolumeType, ProjectionStackType> |
Typedefs of each subfilter of this composite filter
Definition at line 90 of file rtkIterativeConeBeamReconstructionFilter.h.
using rtk::IterativeConeBeamReconstructionFilter< TOutputImage, ProjectionStackType >::ForwardProjectionPointerType = typename ForwardProjectionFilterType::Pointer |
Definition at line 92 of file rtkIterativeConeBeamReconstructionFilter.h.
using rtk::IterativeConeBeamReconstructionFilter< TOutputImage, ProjectionStackType >::Pointer = itk::SmartPointer<Self> |
Definition at line 66 of file rtkIterativeConeBeamReconstructionFilter.h.
using rtk::IterativeConeBeamReconstructionFilter< TOutputImage, ProjectionStackType >::Self = IterativeConeBeamReconstructionFilter |
Standard class type alias.
Definition at line 64 of file rtkIterativeConeBeamReconstructionFilter.h.
using rtk::IterativeConeBeamReconstructionFilter< TOutputImage, ProjectionStackType >::Superclass = itk::ImageToImageFilter<TOutputImage, TOutputImage> |
Definition at line 65 of file rtkIterativeConeBeamReconstructionFilter.h.
using rtk::IterativeConeBeamReconstructionFilter< TOutputImage, ProjectionStackType >::TClipImageType = itk::Image<double, VolumeType::ImageDimension> |
Definition at line 71 of file rtkIterativeConeBeamReconstructionFilter.h.
using rtk::IterativeConeBeamReconstructionFilter< TOutputImage, ProjectionStackType >::VolumeType = ProjectionStackType |
Convenient type alias
Definition at line 70 of file rtkIterativeConeBeamReconstructionFilter.h.
enum rtk::IterativeConeBeamReconstructionFilter::BackProjectionType |
Enumerator | |
---|---|
BP_VOXELBASED | |
BP_JOSEPH | |
BP_CUDAVOXELBASED | |
BP_CUDARAYCAST | |
BP_JOSEPHATTENUATED | |
BP_ZENG |
Definition at line 79 of file rtkIterativeConeBeamReconstructionFilter.h.
enum rtk::IterativeConeBeamReconstructionFilter::ForwardProjectionType |
Enumerator | |
---|---|
FP_JOSEPH | |
FP_CUDARAYCAST | |
FP_JOSEPHATTENUATED | |
FP_ZENG |
Definition at line 72 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
|
overrideprotecteddefault |
|
virtual |
Reimplemented from itk::Object.
|
virtual |
Get / Set the alpha of the PSF. Default is 0.016241189545787734
|
inline |
Set/Get the attenuation map for SPECT reconstruction.
Definition at line 127 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inline |
Accessors to forward and backprojection types.
Definition at line 112 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inline |
Accessors to forward and backprojection types.
Definition at line 105 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inline |
Set/Get the inferior clip image. Each pixel of the image corresponds to the value of the inferior clip of the ray emitted from that pixel.
Definition at line 143 of file rtkIterativeConeBeamReconstructionFilter.h.
|
overridevirtual |
Runtime information support.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Get / Set the sigma zero of the PSF. Default is 1.5417233052142099
|
virtual |
Get / Set step size along ray (in mm). Default is 1 mm.
|
inline |
Set/Get the superior clip image. Each pixel of the image corresponds to the value of the superior clip of the ray emitted from that pixel.
Definition at line 159 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protectedvirtual |
Creates and returns an instance of the back projection filter. To be used in SetBackProjectionFilter.
|
inlineprotected |
Definition at line 336 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inlineprotected |
Definition at line 348 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inlineprotected |
Definition at line 247 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inlineprotected |
Definition at line 261 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inlineprotected |
Definition at line 358 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inlineprotected |
Definition at line 371 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protectedvirtual |
Creates and returns an instance of the forward projection filter. To be used in SetForwardProjectionFilter.
|
inlineprotected |
Definition at line 380 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inlineprotected |
Definition at line 389 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inlineprotected |
Definition at line 271 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inlineprotected |
Definition at line 280 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inlineprotected |
Definition at line 407 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inlineprotected |
Definition at line 416 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inlineprotected |
Definition at line 310 of file rtkIterativeConeBeamReconstructionFilter.h.
|
inlineprotected |
Definition at line 319 of file rtkIterativeConeBeamReconstructionFilter.h.
|
static |
Standard New method.
|
virtual |
Get / Set the alpha of the PSF. Default is 0.016241189545787734
|
inline |
Set/Get the attenuation map for SPECT reconstruction.
Definition at line 121 of file rtkIterativeConeBeamReconstructionFilter.h.
|
virtual |
Accessors to forward and backprojection types.
|
virtual |
Accessors to forward and backprojection types.
|
inline |
Set/Get the inferior clip image. Each pixel of the image corresponds to the value of the inferior clip of the ray emitted from that pixel.
Definition at line 137 of file rtkIterativeConeBeamReconstructionFilter.h.
|
virtual |
Get / Set the sigma zero of the PSF. Default is 1.5417233052142099
|
virtual |
Get / Set step size along ray (in mm). Default is 1 mm.
|
inline |
Set/Get the superior clip image. Each pixel of the image corresponds to the value of the superior clip of the ray emitted from that pixel.
Definition at line 153 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
Definition at line 205 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
Definition at line 197 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
Internal variables storing the current forward and back projection methods
Definition at line 196 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
A random generating engine is needed to use the C++17 comliant code for std::shuffle.
Definition at line 201 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
PSF correction coefficients
Definition at line 204 of file rtkIterativeConeBeamReconstructionFilter.h.
|
protected |
Step size along ray (in mm).
Definition at line 208 of file rtkIterativeConeBeamReconstructionFilter.h.