ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtk::ProjectionsDecompositionNegativeLogLikelihood Class Reference

#include <rtkProjectionsDecompositionNegativeLogLikelihood.h>

Detailed Description

+ Inheritance diagram for rtk::ProjectionsDecompositionNegativeLogLikelihood:
+ Collaboration diagram for rtk::ProjectionsDecompositionNegativeLogLikelihood:

Public Types

using ConstPointer = itk::SmartPointer<const Self>
 
using DerivativeType = Superclass::DerivativeType
 
using DetectorResponseType = vnl_matrix<double>
 
using IncidentSpectrumType = vnl_matrix<float>
 
using MaterialAttenuationsType = vnl_matrix<double>
 
using MeanAttenuationInBinType = itk::VariableSizeMatrix<double>
 
using MeasuredDataType = itk::VariableLengthVector<double>
 
using MeasureType = Superclass::MeasureType
 
using ParametersType = Superclass::ParametersType
 
using Pointer = itk::SmartPointer<Self>
 
using Self = ProjectionsDecompositionNegativeLogLikelihood
 
using Superclass = itk::SingleValuedCostFunction
 
using ThresholdsType = itk::VariableLengthVector<int>
 
- Public Types inherited from itk::SingleValuedCostFunction
using ConstPointer = SmartPointer<const Self>
 
using DerivativeType = Array<ParametersValueType>
 
using MeasureType = double
 
using ParametersType = Superclass::ParametersType
 
using ParametersValueType = Superclass::ParametersValueType
 
using Pointer = SmartPointer<Self>
 
using Self = SingleValuedCostFunction
 
using Superclass = CostFunction
 
- Public Types inherited from itk::CostFunctionTemplate< double >
using ConstPointer
 
using ParametersType
 
using ParametersValueType
 
using Pointer
 
using Self
 
using Superclass
 
- 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

itk::VariableLengthVector< double > BinwiseLogTransform () const
 
virtual void ComputeFischerMatrix (const ParametersType &lineIntegrals)
 
virtual::itk::LightObject::Pointer CreateAnother () const
 
virtual vnl_vector< double > ForwardModel (const ParametersType &lineIntegrals) const
 
void GetAttenuationFactors (const ParametersType &lineIntegrals, vnl_vector< double > &attenuationFactors) const
 
virtual itk::VariableLengthVector< float > GetCramerRaoLowerBound ()
 
void GetDerivative (const ParametersType &lineIntegrals, DerivativeType &derivatives) const override
 
virtual DetectorResponseType GetDetectorResponse ()
 
virtual itk::VariableLengthVector< float > GetFischerMatrix ()
 
virtual IncidentSpectrumType GetIncidentSpectrum ()
 
virtual itk::VariableLengthVector< float > GetInverseCramerRaoLowerBound ()
 
virtual MaterialAttenuationsType GetMaterialAttenuations ()
 
virtual MeasuredDataType GetMeasuredData ()
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfEnergies ()
 
virtual unsigned int GetNumberOfMaterials ()
 
unsigned int GetNumberOfParameters () const override
 
virtual unsigned int GetNumberOfSpectralBins ()
 
virtual ThresholdsType GetThresholds ()
 
MeasureType GetValue (const ParametersType &parameters) const override
 
virtual vnl_vector< double > GetVariances (const ParametersType &lineIntegrals) const
 
itk::VariableLengthVector< double > GuessInitialization () const
 
virtual void Initialize ()
 
 ProjectionsDecompositionNegativeLogLikelihood ()
 
virtual void SetDetectorResponse (DetectorResponseType _arg)
 
virtual void SetIncidentSpectrum (IncidentSpectrumType _arg)
 
virtual void SetMaterialAttenuations (MaterialAttenuationsType _arg)
 
virtual void SetMeasuredData (MeasuredDataType _arg)
 
virtual void SetNumberOfEnergies (unsigned int _arg)
 
virtual void SetNumberOfMaterials (unsigned int _arg)
 
virtual void SetNumberOfSpectralBins (unsigned int _arg)
 
virtual void SetThresholds (ThresholdsType _arg)
 
 ~ProjectionsDecompositionNegativeLogLikelihood () override=default
 
- Public Member Functions inherited from itk::SingleValuedCostFunction
virtual void GetValueAndDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) 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::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 Attributes

DetectorResponseType m_DetectorResponse
 
itk::VariableSizeMatrix< float > m_Fischer
 
IncidentSpectrumType m_IncidentSpectrum
 
vnl_matrix< double > m_IncidentSpectrumAndDetectorResponseProduct
 
bool m_Initialized
 
MaterialAttenuationsType m_MaterialAttenuations
 
MeasuredDataType m_MeasuredData
 
unsigned int m_NumberOfEnergies
 
unsigned int m_NumberOfMaterials
 
unsigned int m_NumberOfSpectralBins {}
 
ThresholdsType m_Thresholds
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Additional Inherited Members

- Protected Member Functions inherited from itk::SingleValuedCostFunction
 SingleValuedCostFunction ()=default
 
 ~SingleValuedCostFunction () override
 
- Protected Member Functions inherited from itk::CostFunctionTemplate< double >
 CostFunctionTemplate ()=default
 
 CostFunctionTemplate ()=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~CostFunctionTemplate () override=default
 
 ~CostFunctionTemplate () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
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 ()
 

Member Typedef Documentation

◆ ConstPointer

◆ DerivativeType

◆ DetectorResponseType

◆ IncidentSpectrumType

◆ MaterialAttenuationsType

◆ MeanAttenuationInBinType

◆ MeasuredDataType

◆ MeasureType

◆ ParametersType

◆ Pointer

◆ Self

◆ Superclass

◆ ThresholdsType

Constructor & Destructor Documentation

◆ ProjectionsDecompositionNegativeLogLikelihood()

rtk::ProjectionsDecompositionNegativeLogLikelihood::ProjectionsDecompositionNegativeLogLikelihood ( )
inline

◆ ~ProjectionsDecompositionNegativeLogLikelihood()

rtk::ProjectionsDecompositionNegativeLogLikelihood::~ProjectionsDecompositionNegativeLogLikelihood ( )
overridedefault

Member Function Documentation

◆ BinwiseLogTransform()

itk::VariableLengthVector< double > rtk::ProjectionsDecompositionNegativeLogLikelihood::BinwiseLogTransform ( ) const
inline

◆ ComputeFischerMatrix()

virtual void rtk::ProjectionsDecompositionNegativeLogLikelihood::ComputeFischerMatrix ( const ParametersType & lineIntegrals)
inlinevirtual

◆ CreateAnother()

virtual::itk::LightObject::Pointer rtk::ProjectionsDecompositionNegativeLogLikelihood::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.

Reimplemented in rtk::Schlomka2008NegativeLogLikelihood.

◆ ForwardModel()

virtual vnl_vector< double > rtk::ProjectionsDecompositionNegativeLogLikelihood::ForwardModel ( const ParametersType & lineIntegrals) const
inlinevirtual

◆ GetAttenuationFactors()

void rtk::ProjectionsDecompositionNegativeLogLikelihood::GetAttenuationFactors ( const ParametersType & lineIntegrals,
vnl_vector< double > & attenuationFactors ) const
inline

◆ GetCramerRaoLowerBound()

virtual itk::VariableLengthVector< float > rtk::ProjectionsDecompositionNegativeLogLikelihood::GetCramerRaoLowerBound ( )
inlinevirtual

◆ GetDerivative()

void rtk::ProjectionsDecompositionNegativeLogLikelihood::GetDerivative ( const ParametersType & parameters,
DerivativeType & derivative ) const
inlineoverridevirtual

This method returns the derivative of the cost function corresponding to the specified parameters.

Implements itk::SingleValuedCostFunction.

Reimplemented in rtk::Schlomka2008NegativeLogLikelihood.

Definition at line 84 of file rtkProjectionsDecompositionNegativeLogLikelihood.h.

◆ GetDetectorResponse()

virtual DetectorResponseType rtk::ProjectionsDecompositionNegativeLogLikelihood::GetDetectorResponse ( )
virtual

◆ GetFischerMatrix()

virtual itk::VariableLengthVector< float > rtk::ProjectionsDecompositionNegativeLogLikelihood::GetFischerMatrix ( )
inlinevirtual

◆ GetIncidentSpectrum()

virtual IncidentSpectrumType rtk::ProjectionsDecompositionNegativeLogLikelihood::GetIncidentSpectrum ( )
virtual

◆ GetInverseCramerRaoLowerBound()

virtual itk::VariableLengthVector< float > rtk::ProjectionsDecompositionNegativeLogLikelihood::GetInverseCramerRaoLowerBound ( )
inlinevirtual

◆ GetMaterialAttenuations()

virtual MaterialAttenuationsType rtk::ProjectionsDecompositionNegativeLogLikelihood::GetMaterialAttenuations ( )
virtual

◆ GetMeasuredData()

virtual MeasuredDataType rtk::ProjectionsDecompositionNegativeLogLikelihood::GetMeasuredData ( )
virtual

◆ GetNameOfClass()

virtual const char * rtk::ProjectionsDecompositionNegativeLogLikelihood::GetNameOfClass ( ) const
virtual

◆ GetNumberOfEnergies()

virtual unsigned int rtk::ProjectionsDecompositionNegativeLogLikelihood::GetNumberOfEnergies ( )
virtual

◆ GetNumberOfMaterials()

virtual unsigned int rtk::ProjectionsDecompositionNegativeLogLikelihood::GetNumberOfMaterials ( )
virtual

◆ GetNumberOfParameters()

unsigned int rtk::ProjectionsDecompositionNegativeLogLikelihood::GetNumberOfParameters ( ) const
inlineoverridevirtual

Return the number of parameters required to compute this cost function. This method MUST be overloaded by derived classes.

Implements itk::CostFunctionTemplate< double >.

Definition at line 140 of file rtkProjectionsDecompositionNegativeLogLikelihood.h.

References m_NumberOfMaterials.

◆ GetNumberOfSpectralBins()

virtual unsigned int rtk::ProjectionsDecompositionNegativeLogLikelihood::GetNumberOfSpectralBins ( )
virtual

◆ GetThresholds()

virtual ThresholdsType rtk::ProjectionsDecompositionNegativeLogLikelihood::GetThresholds ( )
virtual

◆ GetValue()

MeasureType rtk::ProjectionsDecompositionNegativeLogLikelihood::GetValue ( const ParametersType & parameters) const
inlineoverridevirtual

This method returns the value of the cost function corresponding to the specified parameters.

Implements itk::SingleValuedCostFunction.

Reimplemented in rtk::Schlomka2008NegativeLogLikelihood.

Definition at line 78 of file rtkProjectionsDecompositionNegativeLogLikelihood.h.

◆ GetVariances()

virtual vnl_vector< double > rtk::ProjectionsDecompositionNegativeLogLikelihood::GetVariances ( const ParametersType & lineIntegrals) const
inlinevirtual

◆ GuessInitialization()

◆ Initialize()

virtual void rtk::ProjectionsDecompositionNegativeLogLikelihood::Initialize ( )
inlinevirtual

◆ New()

static Pointer rtk::ProjectionsDecompositionNegativeLogLikelihood::New ( )
static

◆ SetDetectorResponse()

virtual void rtk::ProjectionsDecompositionNegativeLogLikelihood::SetDetectorResponse ( DetectorResponseType _arg)
virtual

◆ SetIncidentSpectrum()

virtual void rtk::ProjectionsDecompositionNegativeLogLikelihood::SetIncidentSpectrum ( IncidentSpectrumType _arg)
virtual

◆ SetMaterialAttenuations()

virtual void rtk::ProjectionsDecompositionNegativeLogLikelihood::SetMaterialAttenuations ( MaterialAttenuationsType _arg)
virtual

◆ SetMeasuredData()

virtual void rtk::ProjectionsDecompositionNegativeLogLikelihood::SetMeasuredData ( MeasuredDataType _arg)
virtual

◆ SetNumberOfEnergies()

virtual void rtk::ProjectionsDecompositionNegativeLogLikelihood::SetNumberOfEnergies ( unsigned int _arg)
virtual

◆ SetNumberOfMaterials()

virtual void rtk::ProjectionsDecompositionNegativeLogLikelihood::SetNumberOfMaterials ( unsigned int _arg)
virtual

◆ SetNumberOfSpectralBins()

virtual void rtk::ProjectionsDecompositionNegativeLogLikelihood::SetNumberOfSpectralBins ( unsigned int _arg)
virtual

◆ SetThresholds()

virtual void rtk::ProjectionsDecompositionNegativeLogLikelihood::SetThresholds ( ThresholdsType _arg)
virtual

Member Data Documentation

◆ m_DetectorResponse

DetectorResponseType rtk::ProjectionsDecompositionNegativeLogLikelihood::m_DetectorResponse
protected

◆ m_Fischer

◆ m_IncidentSpectrum

IncidentSpectrumType rtk::ProjectionsDecompositionNegativeLogLikelihood::m_IncidentSpectrum
protected

◆ m_IncidentSpectrumAndDetectorResponseProduct

vnl_matrix<double> rtk::ProjectionsDecompositionNegativeLogLikelihood::m_IncidentSpectrumAndDetectorResponseProduct
protected

◆ m_Initialized

bool rtk::ProjectionsDecompositionNegativeLogLikelihood::m_Initialized
protected

◆ m_MaterialAttenuations

◆ m_MeasuredData

◆ m_NumberOfEnergies

◆ m_NumberOfMaterials

◆ m_NumberOfSpectralBins

◆ m_Thresholds

ThresholdsType rtk::ProjectionsDecompositionNegativeLogLikelihood::m_Thresholds
protected

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