#include <rtkPhasesToInterpolationWeights.h>
Parses csv file containing the cardiac or respiratory phases of each projection, and generates interpolation weights for 4D reconstruction.
Useful for 4D reconstruction of beating heart or breathing thorax
Definition at line 40 of file rtkPhasesToInterpolationWeights.h.
Inheritance diagram for rtk::PhasesToInterpolationWeights:
Collaboration diagram for rtk::PhasesToInterpolationWeights:Public Types | |
| using | Array2DType = itk::Array2D<float> |
| using | ConstPointer = itk::SmartPointer<const Self> |
| using | Pointer = itk::SmartPointer<Self> |
| using | Self = PhasesToInterpolationWeights |
| using | Superclass = CSVFileReaderBase |
| using | ValueType = float |
Public Types inherited from itk::CSVFileReaderBase | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = CSVFileReaderBase |
| using | Superclass = LightProcessObject |
Public Types inherited from itk::LightProcessObject | |
| using | ConstPointer = SmartPointer<const Self> |
| using | Pointer = SmartPointer<Self> |
| using | Self = LightProcessObject |
| 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 const char * | GetNameOfClass () const |
| virtual int | GetNumberOfReconstructedFrames () |
| virtual Array2DType | GetOutput () |
| virtual std::vector< bool > | GetSelectedProjections () |
| virtual bool | GetUnevenTemporalSpacing () |
| void | Parse () override |
| virtual void | SetNumberOfReconstructedFrames (int _arg) |
| void | SetSelectedProjections (std::vector< bool > sprojs) |
| virtual void | SetUnevenTemporalSpacing (bool _arg) |
| virtual void | Update () |
Public Member Functions inherited from itk::CSVFileReaderBase | |
| template<typename TData> | |
| TData | ConvertStringToValueType (const std::string &str) |
| void | GetDataDimension (SizeValueType &rows, SizeValueType &cols) |
| virtual char | GetFieldDelimiterCharacter () |
| virtual bool | GetHasColumnHeaders () const |
| virtual bool | GetHasRowHeaders () const |
| void | GetNextField (std::string &) |
| virtual char | GetStringDelimiterCharacter () |
| virtual bool | GetUseStringDelimiterCharacter () const |
| virtual void | SetFieldDelimiterCharacter (char _arg) |
| virtual void | SetFileName (const char *_arg) |
| virtual void | SetHasColumnHeaders (bool _arg) |
| virtual void | SetHasRowHeaders (bool _arg) |
| virtual void | SetStringDelimiterCharacter (char _arg) |
| virtual void | SetUseStringDelimiterCharacter (bool _arg) |
| virtual void | HasRowHeadersOn () |
| virtual void | HasRowHeadersOff () |
| virtual void | HasColumnHeadersOn () |
| virtual void | HasColumnHeadersOff () |
| virtual void | UseStringDelimiterCharacterOn () |
| virtual void | UseStringDelimiterCharacterOff () |
Public Member Functions inherited from itk::LightProcessObject | |
| virtual void | AbortGenerateDataOff () |
| virtual void | AbortGenerateDataOn () |
| virtual const bool & | GetAbortGenerateData () const |
| virtual void | SetAbortGenerateData (bool _arg) |
| virtual void | UpdateOutputData () |
| void | UpdateProgress (float amount) |
| virtual void | SetProgress (float _arg) |
| virtual const float & | GetProgress () 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::LightProcessObject | |
| 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 Member Functions | |
| PhasesToInterpolationWeights () | |
| void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
| ~PhasesToInterpolationWeights () override=default | |
Protected Member Functions inherited from itk::CSVFileReaderBase | |
| CSVFileReaderBase () | |
| void | PrepareForParsing () |
| ~CSVFileReaderBase () override=default | |
Protected Member Functions inherited from itk::LightProcessObject | |
| virtual void | GenerateData () |
| LightProcessObject () | |
| ~LightProcessObject () override | |
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 () |
Private Attributes | |
| Array2DType | m_Array2D |
| int | m_NumberOfReconstructedFrames |
| std::vector< bool > | m_SelectedProjections |
| bool | m_UnevenTemporalSpacing |
Additional Inherited Members | |
Protected Attributes inherited from itk::CSVFileReaderBase | |
| std::streamoff | m_EndOfColumnHeadersLine {} |
| char | m_FieldDelimiterCharacter {} |
| std::string | m_FileName {} |
| bool | m_HasColumnHeaders {} |
| bool | m_HasRowHeaders {} |
| std::ifstream | m_InputStream {} |
| std::string | m_Line {} |
| char | m_StringDelimiterCharacter {} |
| bool | m_UseStringDelimiterCharacter {} |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
| using rtk::PhasesToInterpolationWeights::Array2DType = itk::Array2D<float> |
DataFrame Object types
Definition at line 58 of file rtkPhasesToInterpolationWeights.h.
| using rtk::PhasesToInterpolationWeights::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 49 of file rtkPhasesToInterpolationWeights.h.
Definition at line 48 of file rtkPhasesToInterpolationWeights.h.
Standard class type alias
Definition at line 46 of file rtkPhasesToInterpolationWeights.h.
Definition at line 47 of file rtkPhasesToInterpolationWeights.h.
| using rtk::PhasesToInterpolationWeights::ValueType = float |
The value type of the dataset.
Definition at line 61 of file rtkPhasesToInterpolationWeights.h.
|
protected |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
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::LightProcessObject.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::CSVFileReaderBase.
References PhasesToInterpolationWeights().
|
virtual |
|
virtual |
Aliased to the GetDataFrameObject() method to be consistent with the rest of the pipeline
|
virtual |
|
virtual |
|
static |
Standard New method.
|
overridevirtual |
This method can be used to get the data frame object once the data from the file has been parsed. Parses the data from the file. Gets the phases of the projections into a vector, then generate an Array2D object containing the interpolation weights
Implements itk::CSVFileReaderBase.
|
overrideprotectedvirtual |
Print the reader.
Reimplemented from itk::CSVFileReaderBase.
|
virtual |
Configure the filter to use uneven temporal spacing (finer temporal resolution during systole)
| void rtk::PhasesToInterpolationWeights::SetSelectedProjections | ( | std::vector< bool > | sprojs | ) |
Set/Get for a list of booleans indicating whether or not each projection must be selected
|
virtual |
Configure the filter to use uneven temporal spacing (finer temporal resolution during systole)
|
virtual |
Aliased to the Parse() method to be consistent with the rest of the pipeline.
|
private |
Definition at line 104 of file rtkPhasesToInterpolationWeights.h.
|
private |
Definition at line 105 of file rtkPhasesToInterpolationWeights.h.
|
private |
Definition at line 107 of file rtkPhasesToInterpolationWeights.h.
|
private |
Definition at line 106 of file rtkPhasesToInterpolationWeights.h.