ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType > Class Template Reference

#include <rtkSpectralForwardModelImageFilter.h>

Detailed Description

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
class rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >

Forward model for the decomposition of spectral projection images into material projections.

Computes the photon counts from the decomposed projections, the incident spectrum, the detector response and the material attenuation curves. See the reference paper: "Experimental feasibility of multi-energy photon-counting K-edge imaging in pre-clinical computed tomography", Schlomka et al, PMB 2008

Author
Cyril Mory

Definition at line 49 of file rtkSpectralForwardModelImageFilter.h.

+ Inheritance diagram for rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >:
+ Collaboration diagram for rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >:

Public Types

using ConstPointer = itk::SmartPointer<const Self>
 
using DecomposedProjectionsDataType = typename DecomposedProjectionsType::PixelType::ValueType
 
using DetectorResponseType = vnl_matrix<double>
 
using InputImageType = MeasuredProjectionsType
 
using MaterialAttenuationsType = vnl_matrix<double>
 
using MeasuredProjectionsDataType = typename MeasuredProjectionsType::PixelType::ValueType
 
using OutputImageType = MeasuredProjectionsType
 
using Pointer = itk::SmartPointer<Self>
 
using Self = SpectralForwardModelImageFilter
 
using Superclass = itk::ImageToImageFilter<MeasuredProjectionsType, MeasuredProjectionsType>
 
using ThresholdsType = itk::VariableLengthVector<double>
 
- Public Types inherited from itk::InPlaceImageFilter< MeasuredProjectionsType, MeasuredProjectionsType >
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
 
- Public Types inherited from itk::ImageToImageFilter< MeasuredProjectionsType, MeasuredProjectionsType >
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
 
- Public Types inherited from itk::ImageSource< MeasuredProjectionsType >
using ConstPointer
 
using DataObjectIdentifierType
 
using DataObjectPointer
 
using DataObjectPointerArraySizeType
 
using OutputImagePixelType
 
using OutputImagePointer
 
using OutputImageRegionType
 
using OutputImageType
 
using Pointer
 
using Self
 
using Superclass
 
- Public Types inherited from itk::ProcessObject
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
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = LightObject
 

Public Member Functions

virtual::itk::LightObject::Pointer CreateAnother () const
 
virtual bool GetComputeCramerRaoLowerBound ()
 
virtual bool GetComputeVariances ()
 
DetectorResponseImageType::ConstPointer GetDetectorResponse ()
 
DecomposedProjectionsType::ConstPointer GetInputDecomposedProjections ()
 
IncidentSpectrumImageType::ConstPointer GetInputIncidentSpectrum ()
 
MeasuredProjectionsType::ConstPointer GetInputMeasuredProjections ()
 
MaterialAttenuationsImageType::ConstPointer GetMaterialAttenuations ()
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfEnergies ()
 
virtual unsigned int GetNumberOfMaterials ()
 
virtual unsigned int GetNumberOfSpectralBins ()
 
DecomposedProjectionsType::ConstPointer GetOutputCramerRaoLowerBound ()
 
MeasuredProjectionsType::ConstPointer GetOutputVariances ()
 
virtual ThresholdsType GetThresholds ()
 
virtual void SetComputeCramerRaoLowerBound (bool _arg)
 
virtual void SetComputeVariances (bool _arg)
 
void SetDetectorResponse (const DetectorResponseImageType *DetectorResponse)
 
void SetInputDecomposedProjections (const typename itk::ImageBase< DecomposedProjectionsType::ImageDimension > *DecomposedProjections)
 
template<unsigned int VNumberOfMaterials>
void SetInputFixedVectorLengthDecomposedProjections (const itk::Image< itk::Vector< DecomposedProjectionsDataType, VNumberOfMaterials >, DecomposedProjectionsType::ImageDimension > *DecomposedProjections)
 
template<unsigned int VNumberOfSpectralBins>
void SetInputFixedVectorLengthMeasuredProjections (const itk::Image< itk::Vector< MeasuredProjectionsDataType, VNumberOfSpectralBins >, MeasuredProjectionsType::ImageDimension > *MeasuredProjections)
 
void SetInputIncidentSpectrum (const IncidentSpectrumImageType *IncidentSpectrum)
 
void SetInputMeasuredProjections (const typename itk::ImageBase< MeasuredProjectionsType::ImageDimension > *MeasuredProjections)
 
void SetMaterialAttenuations (const MaterialAttenuationsImageType *MaterialAttenuations)
 
virtual void SetNumberOfEnergies (unsigned int _arg)
 
virtual void SetNumberOfMaterials (unsigned int _arg)
 
virtual void SetNumberOfSpectralBins (unsigned int _arg)
 
virtual void SetThresholds (ThresholdsType _arg)
 
- Public Member Functions inherited from itk::InPlaceImageFilter< MeasuredProjectionsType, MeasuredProjectionsType >
virtual bool CanRunInPlace () const
 
virtual void SetInPlace (bool _arg)
 
virtual bool GetInPlace () const
 
virtual void InPlaceOn ()
 
virtual void InPlaceOff ()
 
- Public Member Functions inherited from itk::ImageToImageFilter< MeasuredProjectionsType, MeasuredProjectionsType >
const InputImageType * GetInput () const
 
const InputImageType * GetInput () const
 
const InputImageType * GetInput (unsigned int idx) const
 
const InputImageType * GetInput (unsigned int idx) const
 
void PopBackInput () override
 
void PopBackInput () override
 
void PopFrontInput () override
 
void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *input)
 
virtual void PushBackInput (const InputImageType *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInput (unsigned int, const MeasuredProjectionsType *image)
 
virtual void SetInput (unsigned int, const MeasuredProjectionsType *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< MeasuredProjectionsType >
OutputImageType * GetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
OutputImageType * GetOutput ()
 
const OutputImageType * GetOutput () const
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *output)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderBase * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderBase *threader)
 
virtual void SetNumberOfWorkUnitsFromThreadRatio (ThreadIdType ratio)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType numberOfWorkUnits)
 
virtual ThreadIdType GetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
Command * GetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionary & GetMetaDataDictionary ()
 
const MetaDataDictionary & GetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStamp & GetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToImageFilter< MeasuredProjectionsType, MeasuredProjectionsType >
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Types

using DataObjectPointerArraySizeType = itk::ProcessObject::DataObjectPointerArraySizeType
 
- Protected Types inherited from itk::ImageToImageFilter< MeasuredProjectionsType, MeasuredProjectionsType >
using InputToOutputRegionCopierType
 
using OutputToInputRegionCopierType
 

Protected Member Functions

void BeforeThreadedGenerateData () override
 
void DynamicThreadedGenerateData (const typename OutputImageType::RegionType &outputRegionForThread) override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
 SpectralForwardModelImageFilter ()
 
void VerifyInputInformation () const override
 
 ~SpectralForwardModelImageFilter () override=default
 
- Protected Member Functions inherited from itk::InPlaceImageFilter< MeasuredProjectionsType, MeasuredProjectionsType >
void AllocateOutputs () override
 
virtual bool GetRunningInPlace () const
 
 InPlaceImageFilter ()=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void ReleaseInputs () override
 
 ~InPlaceImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageToImageFilter< MeasuredProjectionsType, MeasuredProjectionsType >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
 ImageToImageFilter ()
 
 ~ImageToImageFilter () override=default
 
 ~ImageToImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageSource< MeasuredProjectionsType >
virtual void AfterThreadedGenerateData ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
void GenerateData () override
 
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 &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- Protected Member Functions inherited from itk::ProcessObject
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 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 &)
 
virtual void VerifyPreconditions () const
 
 ~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)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
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 ()
 

Protected Attributes

itk::ImageSource< DecomposedProjectionsType >::Pointer m_CastDecomposedProjectionsPointer
 
itk::ImageSource< MeasuredProjectionsType >::Pointer m_CastMeasuredProjectionsPointer
 
bool m_ComputeCramerRaoLowerBound
 
bool m_ComputeVariances
 
DetectorResponseType m_DetectorResponse
 
MaterialAttenuationsType m_MaterialAttenuations
 
unsigned int m_NumberOfEnergies
 
unsigned int m_NumberOfIterations
 
unsigned int m_NumberOfMaterials
 
unsigned int m_NumberOfSpectralBins
 
bool m_OptimizeWithRestarts
 
ThresholdsType m_Thresholds
 
- Protected Attributes inherited from itk::ImageSource< MeasuredProjectionsType >
bool m_DynamicMultiThreading
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Additional Inherited Members

- Static Public Attributes inherited from itk::InPlaceImageFilter< MeasuredProjectionsType, MeasuredProjectionsType >
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< MeasuredProjectionsType, MeasuredProjectionsType >
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< MeasuredProjectionsType >
static constexpr unsigned int OutputImageDimension
 
- Static Protected Member Functions inherited from itk::ImageSource< MeasuredProjectionsType >
static const ImageRegionSplitterBase * GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ProcessObject
template<typename TSourceObject>
static void MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs)
 
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 

Member Typedef Documentation

◆ ConstPointer

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
using rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::ConstPointer = itk::SmartPointer<const Self>

Definition at line 59 of file rtkSpectralForwardModelImageFilter.h.

◆ DataObjectPointerArraySizeType

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
using rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::DataObjectPointerArraySizeType = itk::ProcessObject::DataObjectPointerArraySizeType
protected

Create the Output

Definition at line 160 of file rtkSpectralForwardModelImageFilter.h.

◆ DecomposedProjectionsDataType

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
using rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::DecomposedProjectionsDataType = typename DecomposedProjectionsType::PixelType::ValueType

Definition at line 69 of file rtkSpectralForwardModelImageFilter.h.

◆ DetectorResponseType

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
using rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::DetectorResponseType = vnl_matrix<double>

Definition at line 67 of file rtkSpectralForwardModelImageFilter.h.

◆ InputImageType

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
using rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::InputImageType = MeasuredProjectionsType

Some convenient type alias.

Definition at line 62 of file rtkSpectralForwardModelImageFilter.h.

◆ MaterialAttenuationsType

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
using rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::MaterialAttenuationsType = vnl_matrix<double>

Definition at line 68 of file rtkSpectralForwardModelImageFilter.h.

◆ MeasuredProjectionsDataType

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
using rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::MeasuredProjectionsDataType = typename MeasuredProjectionsType::PixelType::ValueType

Definition at line 70 of file rtkSpectralForwardModelImageFilter.h.

◆ OutputImageType

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
using rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::OutputImageType = MeasuredProjectionsType

Definition at line 63 of file rtkSpectralForwardModelImageFilter.h.

◆ Pointer

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
using rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::Pointer = itk::SmartPointer<Self>

Definition at line 58 of file rtkSpectralForwardModelImageFilter.h.

◆ Self

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
using rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::Self = SpectralForwardModelImageFilter

Standard class type alias.

Definition at line 56 of file rtkSpectralForwardModelImageFilter.h.

◆ Superclass

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
using rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::Superclass = itk::ImageToImageFilter<MeasuredProjectionsType, MeasuredProjectionsType>

Definition at line 57 of file rtkSpectralForwardModelImageFilter.h.

◆ ThresholdsType

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
using rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::ThresholdsType = itk::VariableLengthVector<double>

Convenient information

Definition at line 66 of file rtkSpectralForwardModelImageFilter.h.

Constructor & Destructor Documentation

◆ SpectralForwardModelImageFilter()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SpectralForwardModelImageFilter ( )
protected

Referenced by GetNameOfClass().

◆ ~SpectralForwardModelImageFilter()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::~SpectralForwardModelImageFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ BeforeThreadedGenerateData()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::BeforeThreadedGenerateData ( )
overrideprotectedvirtual

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::ImageSource< MeasuredProjectionsType >.

◆ CreateAnother()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual::itk::LightObject::Pointer rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

◆ DynamicThreadedGenerateData()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::DynamicThreadedGenerateData ( const typename OutputImageType::RegionType & outputRegionForThread)
overrideprotected

◆ GenerateInputRequestedRegion()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GenerateInputRequestedRegion ( )
overrideprotectedvirtual

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< MeasuredProjectionsType, MeasuredProjectionsType >.

◆ GenerateOutputInformation()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GenerateOutputInformation ( )
overrideprotectedvirtual

Generate the information describing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.

Reimplemented from itk::ProcessObject.

◆ GetComputeCramerRaoLowerBound()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual bool rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetComputeCramerRaoLowerBound ( )
virtual

◆ GetComputeVariances()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual bool rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetComputeVariances ( )
virtual

◆ GetDetectorResponse()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
DetectorResponseImageType::ConstPointer rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetDetectorResponse ( )

◆ GetInputDecomposedProjections()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
DecomposedProjectionsType::ConstPointer rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetInputDecomposedProjections ( )

◆ GetInputIncidentSpectrum()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
IncidentSpectrumImageType::ConstPointer rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetInputIncidentSpectrum ( )

◆ GetInputMeasuredProjections()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
MeasuredProjectionsType::ConstPointer rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetInputMeasuredProjections ( )

◆ GetMaterialAttenuations()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
MaterialAttenuationsImageType::ConstPointer rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetMaterialAttenuations ( )

◆ GetNameOfClass()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual const char * rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetNameOfClass ( ) const
virtual

◆ GetNumberOfEnergies()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual unsigned int rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetNumberOfEnergies ( )
virtual

◆ GetNumberOfMaterials()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual unsigned int rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetNumberOfMaterials ( )
virtual

◆ GetNumberOfSpectralBins()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual unsigned int rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetNumberOfSpectralBins ( )
virtual

◆ GetOutputCramerRaoLowerBound()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
DecomposedProjectionsType::ConstPointer rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetOutputCramerRaoLowerBound ( )

◆ GetOutputVariances()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
MeasuredProjectionsType::ConstPointer rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetOutputVariances ( )

◆ GetThresholds()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual ThresholdsType rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::GetThresholds ( )
virtual

◆ MakeOutput()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
itk::DataObject::Pointer rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::MakeOutput ( DataObjectPointerArraySizeType idx)
overrideprotectedvirtual

Make a DataObject of the correct type to used as the specified output. Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a SmartPointer to a DataObject. If a subclass of ImageSource has multiple outputs of different types, then that class must provide an implementation of MakeOutput().

Reimplemented from itk::ImageSource< MeasuredProjectionsType >.

◆ New()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
static Pointer rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::New ( )
static

Standard New method.

◆ SetComputeCramerRaoLowerBound()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetComputeCramerRaoLowerBound ( bool _arg)
virtual

◆ SetComputeVariances()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetComputeVariances ( bool _arg)
virtual

◆ SetDetectorResponse()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetDetectorResponse ( const DetectorResponseImageType * DetectorResponse)

Set/Get the detector response as an image

◆ SetInputDecomposedProjections()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetInputDecomposedProjections ( const typename itk::ImageBase< DecomposedProjectionsType::ImageDimension > * DecomposedProjections)

Set/Get the input material-decomposed stack of projections (only used for initialization)

◆ SetInputFixedVectorLengthDecomposedProjections()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
template<unsigned int VNumberOfMaterials>
void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetInputFixedVectorLengthDecomposedProjections ( const itk::Image< itk::Vector< DecomposedProjectionsDataType, VNumberOfMaterials >, DecomposedProjectionsType::ImageDimension > * DecomposedProjections)

◆ SetInputFixedVectorLengthMeasuredProjections()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
template<unsigned int VNumberOfSpectralBins>
void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetInputFixedVectorLengthMeasuredProjections ( const itk::Image< itk::Vector< MeasuredProjectionsDataType, VNumberOfSpectralBins >, MeasuredProjectionsType::ImageDimension > * MeasuredProjections)

◆ SetInputIncidentSpectrum()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetInputIncidentSpectrum ( const IncidentSpectrumImageType * IncidentSpectrum)

Set/Get the incident spectrum input images

References SetInputIncidentSpectrum().

Referenced by SetInputIncidentSpectrum().

◆ SetInputMeasuredProjections()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetInputMeasuredProjections ( const typename itk::ImageBase< MeasuredProjectionsType::ImageDimension > * MeasuredProjections)

Set/Get the input stack of measured projections (to be decomposed in materials)

◆ SetMaterialAttenuations()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetMaterialAttenuations ( const MaterialAttenuationsImageType * MaterialAttenuations)

Set/Get the material attenuations as an image

◆ SetNumberOfEnergies()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetNumberOfEnergies ( unsigned int _arg)
virtual

◆ SetNumberOfMaterials()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetNumberOfMaterials ( unsigned int _arg)
virtual

◆ SetNumberOfSpectralBins()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetNumberOfSpectralBins ( unsigned int _arg)
virtual

◆ SetThresholds()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
virtual void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::SetThresholds ( ThresholdsType _arg)
virtual

◆ VerifyInputInformation()

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
void rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::VerifyInputInformation ( ) const
inlineoverrideprotectedvirtual

The inputs should not be in the same space so there is nothing to verify.

Reimplemented from itk::ImageToImageFilter< MeasuredProjectionsType, MeasuredProjectionsType >.

Definition at line 179 of file rtkSpectralForwardModelImageFilter.h.

Member Data Documentation

◆ m_CastDecomposedProjectionsPointer

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
itk::ImageSource<DecomposedProjectionsType>::Pointer rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::m_CastDecomposedProjectionsPointer
protected

Cast filter pointers required for converting a fixed input length vector to a variable length vector. The pointer is hold to ensure that the pipeline is functional after quitting the SetInputFixedVectorLength* function.

Definition at line 200 of file rtkSpectralForwardModelImageFilter.h.

◆ m_CastMeasuredProjectionsPointer

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
itk::ImageSource<MeasuredProjectionsType>::Pointer rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::m_CastMeasuredProjectionsPointer
protected

Definition at line 201 of file rtkSpectralForwardModelImageFilter.h.

◆ m_ComputeCramerRaoLowerBound

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
bool rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::m_ComputeCramerRaoLowerBound
protected

Definition at line 194 of file rtkSpectralForwardModelImageFilter.h.

◆ m_ComputeVariances

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
bool rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::m_ComputeVariances
protected

Definition at line 193 of file rtkSpectralForwardModelImageFilter.h.

◆ m_DetectorResponse

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
DetectorResponseType rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::m_DetectorResponse
protected

Definition at line 186 of file rtkSpectralForwardModelImageFilter.h.

◆ m_MaterialAttenuations

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
MaterialAttenuationsType rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::m_MaterialAttenuations
protected

Definition at line 185 of file rtkSpectralForwardModelImageFilter.h.

◆ m_NumberOfEnergies

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
unsigned int rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::m_NumberOfEnergies
protected

Definition at line 187 of file rtkSpectralForwardModelImageFilter.h.

◆ m_NumberOfIterations

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
unsigned int rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::m_NumberOfIterations
protected

Parameters

Definition at line 190 of file rtkSpectralForwardModelImageFilter.h.

◆ m_NumberOfMaterials

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
unsigned int rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::m_NumberOfMaterials
protected

Definition at line 191 of file rtkSpectralForwardModelImageFilter.h.

◆ m_NumberOfSpectralBins

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
unsigned int rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::m_NumberOfSpectralBins
protected

Definition at line 183 of file rtkSpectralForwardModelImageFilter.h.

◆ m_OptimizeWithRestarts

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
bool rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::m_OptimizeWithRestarts
protected

Definition at line 192 of file rtkSpectralForwardModelImageFilter.h.

◆ m_Thresholds

template<typename DecomposedProjectionsType, typename MeasuredProjectionsType, typename IncidentSpectrumImageType = itk::Image<float, 3>, typename DetectorResponseImageType = itk::Image<float, 2>, typename MaterialAttenuationsImageType = itk::Image<float, 2>>
ThresholdsType rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >::m_Thresholds
protected

Definition at line 182 of file rtkSpectralForwardModelImageFilter.h.


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