template<class TVolumeImage, class TProjectionImage = TVolumeImage>
class rtk::OSEMConeBeamReconstructionFilter< TVolumeImage, TProjectionImage >
Implements the Ordered-Subset Expectation-Maximization algorithm.
OSEMConeBeamReconstructionFilter is a composite filter which combines the different steps of the OSEM cone-beam reconstruction, mainly:
One weighting steps must be applied when processing a given subset:
- each voxel of the back projection must be divided by the value it would take if a projection filled with ones was being reprojected.
By default the quadratic penalization described in [De Pierro, IEEE TMI, 1995] is applied during the iterative process. The hyperparameter for the regularization can be changed using the SetBetaRegularization method. If the hyperparameter is set to 0 the filter behaves like the classic MLEM/OSEM algorithm.
- Test
- rtkosemtest.cxx
- Author
- Antoine Robert
Definition at line 118 of file rtkOSEMConeBeamReconstructionFilter.h.
|
| using | BackProjectionFilterType = rtk::BackProjectionImageFilter<VolumeType, ProjectionType> |
| |
| using | BackProjectionType = typename Superclass::BackProjectionType |
| |
| using | ConstantImageSourceType = rtk::ConstantImageSource<VolumeType> |
| |
| using | ConstantProjectionSourceType = rtk::ConstantImageSource<ProjectionType> |
| |
| using | ConstPointer = itk::SmartPointer<const Self> |
| |
| using | DePierroRegularizationFilterType = rtk::DePierroRegularizationImageFilter<VolumeType, VolumeType> |
| |
| using | DivideProjectionFilterType = itk::DivideOrZeroOutImageFilter<ProjectionType, ProjectionType, ProjectionType> |
| |
| using | DivideVolumeFilterType = itk::DivideOrZeroOutImageFilter<VolumeType, VolumeType, VolumeType> |
| |
| using | ExtractFilterType = itk::ExtractImageFilter<ProjectionType, ProjectionType> |
| |
| using | ForwardProjectionFilterType = rtk::ForwardProjectionImageFilter<ProjectionType, VolumeType> |
| |
| using | ForwardProjectionType = typename Superclass::ForwardProjectionType |
| |
| using | MultiplyFilterType = itk::MultiplyImageFilter<VolumeType, VolumeType, VolumeType> |
| |
| using | Pointer = itk::SmartPointer<Self> |
| |
| using | ProjectionType = TProjectionImage |
| |
| using | Self = OSEMConeBeamReconstructionFilter |
| |
| using | Superclass = IterativeConeBeamReconstructionFilter<TVolumeImage, TProjectionImage> |
| |
| using | VolumeType = TVolumeImage |
| |
| using | BackProjectionFilterType |
| |
| using | BackProjectionPointerType |
| |
| using | BackProjectionType |
| |
| using | ConstPointer |
| |
| using | ForwardProjectionFilterType |
| |
| using | ForwardProjectionPointerType |
| |
| using | ForwardProjectionType |
| |
| using | Pointer |
| |
| using | Self |
| |
| using | Superclass |
| |
| using | TClipImageType |
| |
| using | VolumeType |
| |
| using | ConstPointer |
| |
| using | InputImageConstPointer |
| |
| using | InputImagePixelType |
| |
| using | InputImagePointer |
| |
| using | InputImageRegionType |
| |
| using | InputImageType |
| |
| typedef typename OutputImageType::PixelType | OutputImagePixelType |
| |
| using | OutputImagePixelType |
| |
| typedef typename OutputImageType::RegionType | OutputImageRegionType |
| |
| using | OutputImageRegionType |
| |
| using | Pointer |
| |
| using | Self |
| |
| using | Superclass |
| |
| using | ConstPointer |
| |
| using | DataObjectIdentifierType |
| |
| using | DataObjectPointer |
| |
| using | DataObjectPointerArraySizeType |
| |
| using | OutputImagePixelType |
| |
| using | OutputImagePointer |
| |
| using | OutputImageRegionType |
| |
| using | OutputImageType |
| |
| using | Pointer |
| |
| using | Self |
| |
| using | Superclass |
| |
| using | ConstPointer = SmartPointer<const Self> |
| |
| using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
| |
| using | DataObjectPointer = DataObject::Pointer |
| |
| using | DataObjectPointerArray = std::vector<DataObjectPointer> |
| |
| using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
| |
| using | NameArray = std::vector<DataObjectIdentifierType> |
| |
| using | Pointer = SmartPointer<Self> |
| |
| using | Self = ProcessObject |
| |
| using | Superclass = Object |
| |
| using | ConstPointer = SmartPointer<const Self> |
| |
| using | Pointer = SmartPointer<Self> |
| |
| using | Self = Object |
| |
| using | Superclass = LightObject |
| |
| using | ConstPointer = SmartPointer<const Self> |
| |
| using | Pointer = SmartPointer<Self> |
| |
| using | Self = LightObject |
| |
|
| void | GenerateData () override |
| |
| void | GenerateInputRequestedRegion () override |
| |
| void | GenerateOutputInformation () override |
| |
| | OSEMConeBeamReconstructionFilter () |
| |
| void | VerifyInputInformation () const override |
| |
| void | VerifyPreconditions () const override |
| |
| | ~OSEMConeBeamReconstructionFilter () override=default |
| |
| virtual BackProjectionPointerType | InstantiateBackProjectionFilter (int bptype) |
| |
| BackProjectionPointerType | InstantiateCudaBackProjection () |
| |
| BackProjectionPointerType | InstantiateCudaBackProjection () |
| |
| ForwardProjectionPointerType | InstantiateCudaForwardProjection () |
| |
| ForwardProjectionPointerType | InstantiateCudaForwardProjection () |
| |
| BackProjectionPointerType | InstantiateCudaRayCastBackProjection () |
| |
| BackProjectionPointerType | InstantiateCudaRayCastBackProjection () |
| |
| BackProjectionPointerType | InstantiateCudaWarpBackProjection () |
| |
| BackProjectionPointerType | InstantiateCudaWarpBackProjection () |
| |
| ForwardProjectionPointerType | InstantiateCudaWarpForwardProjection () |
| |
| ForwardProjectionPointerType | InstantiateCudaWarpForwardProjection () |
| |
| BackProjectionPointerType | InstantiateCudaZengBackProjection () |
| |
| BackProjectionPointerType | InstantiateCudaZengBackProjection () |
| |
| ForwardProjectionPointerType | InstantiateCudaZengForwardProjection () |
| |
| ForwardProjectionPointerType | InstantiateCudaZengForwardProjection () |
| |
| virtual ForwardProjectionPointerType | InstantiateForwardProjectionFilter (int fwtype) |
| |
| BackProjectionPointerType | InstantiateJosephBackAttenuatedProjection () |
| |
| BackProjectionPointerType | InstantiateJosephBackAttenuatedProjection () |
| |
| ForwardProjectionPointerType | InstantiateJosephForwardAttenuatedProjection () |
| |
| ForwardProjectionPointerType | InstantiateJosephForwardAttenuatedProjection () |
| |
| BackProjectionPointerType | InstantiateZengBackProjection () |
| |
| BackProjectionPointerType | InstantiateZengBackProjection () |
| |
| ForwardProjectionPointerType | InstantiateZengForwardProjection () |
| |
| ForwardProjectionPointerType | InstantiateZengForwardProjection () |
| |
| | IterativeConeBeamReconstructionFilter () |
| |
| | ~IterativeConeBeamReconstructionFilter () override=default |
| |
| virtual void | CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion) |
| |
| virtual void | CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion) |
| |
| | ImageToImageFilter () |
| |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| |
| | ~ImageToImageFilter () override=default |
| |
| virtual void | AfterThreadedGenerateData () |
| |
| virtual void | AllocateOutputs () |
| |
| virtual void | BeforeThreadedGenerateData () |
| |
| void | ClassicMultiThread (ThreadFunctionType callbackFunction) |
| |
| virtual const ImageRegionSplitterBase * | GetImageRegionSplitter () const |
| |
| | ImageSource () |
| |
| virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion) |
| |
| | ~ImageSource () override=default |
| |
| virtual void | ThreadedGenerateData (const OutputImageRegionType ®ion, ThreadIdType threadId) |
| |
| virtual void | DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) |
| |
| virtual bool | GetDynamicMultiThreading () const |
| |
| virtual void | SetDynamicMultiThreading (bool _arg) |
| |
| virtual void | DynamicMultiThreadingOn () |
| |
| virtual void | DynamicMultiThreadingOff () |
| |
| virtual void | AddInput (DataObject *input) |
| |
| void | AddOptionalInputName (const DataObjectIdentifierType &) |
| |
| void | AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
| |
| virtual void | AddOutput (DataObject *output) |
| |
| bool | AddRequiredInputName (const DataObjectIdentifierType &) |
| |
| bool | AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
| |
| virtual void | CacheInputReleaseDataFlags () |
| |
| virtual void | GenerateOutputRequestedRegion (DataObject *output) |
| |
| DataObject * | GetInput (const DataObjectIdentifierType &key) |
| |
| const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
| |
| virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredInputs () const |
| |
| virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredOutputs () const |
| |
| bool | IsIndexedInputName (const DataObjectIdentifierType &) const |
| |
| bool | IsIndexedOutputName (const DataObjectIdentifierType &) const |
| |
| bool | IsRequiredInputName (const DataObjectIdentifierType &) const |
| |
| DataObjectPointerArraySizeType | MakeIndexFromInputName (const DataObjectIdentifierType &name) const |
| |
| DataObjectPointerArraySizeType | MakeIndexFromOutputName (const DataObjectIdentifierType &name) const |
| |
| DataObjectIdentifierType | MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const |
| |
| DataObjectIdentifierType | MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const |
| |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| |
| | ProcessObject () |
| |
| virtual void | PropagateResetPipeline () |
| |
| virtual void | PushBackInput (const DataObject *input) |
| |
| virtual void | PushFrontInput (const DataObject *input) |
| |
| virtual void | ReleaseInputs () |
| |
| virtual void | RemoveInput (const DataObjectIdentifierType &key) |
| |
| virtual void | RemoveInput (DataObjectPointerArraySizeType) |
| |
| virtual void | RemoveOutput (const DataObjectIdentifierType &key) |
| |
| virtual void | RemoveOutput (DataObjectPointerArraySizeType idx) |
| |
| bool | RemoveRequiredInputName (const DataObjectIdentifierType &) |
| |
| virtual void | RestoreInputReleaseDataFlags () |
| |
| virtual void | SetInput (const DataObjectIdentifierType &key, DataObject *input) |
| |
| virtual void | SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input) |
| |
| virtual void | SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output) |
| |
| void | SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num) |
| |
| void | SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num) |
| |
| virtual void | SetNumberOfRequiredInputs (DataObjectPointerArraySizeType) |
| |
| virtual void | SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg) |
| |
| virtual void | SetOutput (const DataObjectIdentifierType &name, DataObject *output) |
| |
| virtual void | SetPrimaryInput (DataObject *object) |
| |
| virtual void | SetPrimaryOutput (DataObject *object) |
| |
| void | SetRequiredInputNames (const NameArray &) |
| |
| | ~ProcessObject () override |
| |
| DataObject * | GetInput (DataObjectPointerArraySizeType idx) |
| |
| const DataObject * | GetInput (DataObjectPointerArraySizeType idx) const |
| |
| DataObject * | GetPrimaryInput () |
| |
| const DataObject * | GetPrimaryInput () const |
| |
| virtual void | SetPrimaryInputName (const DataObjectIdentifierType &key) |
| |
| virtual const char * | GetPrimaryInputName () const |
| |
| DataObject * | GetOutput (const DataObjectIdentifierType &key) |
| |
| const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
| |
| virtual void | SetPrimaryOutputName (const DataObjectIdentifierType &key) |
| |
| virtual const char * | GetPrimaryOutputName () const |
| |
| DataObject * | GetOutput (DataObjectPointerArraySizeType i) |
| |
| const DataObject * | GetOutput (DataObjectPointerArraySizeType i) const |
| |
| DataObject * | GetPrimaryOutput () |
| |
| const DataObject * | GetPrimaryOutput () const |
| |
| virtual bool | GetThreaderUpdateProgress () const |
| |
| virtual void | ThreaderUpdateProgressOn () |
| |
| virtual void | ThreaderUpdateProgressOff () |
| |
| virtual void | SetThreaderUpdateProgress (bool arg) |
| |
| | Object () |
| |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| |
| virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
| |
| | ~Object () override |
| |
| virtual LightObject::Pointer | InternalClone () const |
| |
| | LightObject () |
| |
| virtual void | PrintHeader (std::ostream &os, Indent indent) const |
| |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| |
| virtual | ~LightObject () |
| |
template<class TVolumeImage, class TProjectionImage = TVolumeImage>
What is the input requested region that is required to produce the output requested region? The base assumption for image processing filters is that the input requested region can be set to match the output requested region. If a filter requires more input (for instance a filter that uses neighborhoods needs more input than output to avoid introducing artificial boundary conditions) or less input (for instance a magnify filter) will have to override this method. In doing so, it should call its superclass' implementation as its first step. Note that imaging filters operate differently than the classes to this point in the class hierarchy. Up till now, the base assumption has been that the largest possible region will be requested of the input.
This implementation of GenerateInputRequestedRegion() only processes the inputs that are a subclass of the ImageBase<InputImageDimension>. If an input is another type of DataObject (including an Image of a different dimension), they are skipped by this method. The subclasses of ImageToImageFilter are responsible for providing an implementation of GenerateInputRequestedRegion() when there are multiple inputs of different types.
- See also
- ProcessObject::GenerateInputRequestedRegion(), ImageSource::GenerateInputRequestedRegion()
Reimplemented from itk::ImageToImageFilter< TVolumeImage, TVolumeImage >.