ImFusion SDK 4.3

#include <ImFusion/CT/ProjectionSets.h>

Computation of projection subsets for iterative reconstruction. More...

Detailed Description

Computation of projection subsets for iterative reconstruction.

Generates ordered subsets for ordered-subset iterative algorithms like OS-EM.

Public Types

enum class  SetMode { Orthogonal = 0 , Random = 1 , Special = 2 }
 

Public Member Functions

 ProjectionSets (const ConeBeamGeometry *geom)
 Constructor.
 
void setMode (SetMode mode)
 Set the subset mode.
 
void compute (int numProj, int setSize)
 Compute subsets given number of projections and desired set size.
 
int size () const
 Returns the number of sets.
 
const std::vector< int > & operator[] (int i) const
 Returns a chosen set.
 

Protected Attributes

const ConeBeamGeometrym_geom
 Geometry of the ConeBeamData.
 
SetMode m_mode = SetMode::Orthogonal
 Sub-set mode.
 
std::vector< std::vector< int > > m_sets
 Indices of the projection image sets.
 

Member Enumeration Documentation

◆ SetMode

enum class SetMode
strong
Enumerator
Orthogonal 

Orthogonal subset generation (maximally separated angles)

Random 

Random subset generation.

Special 

Special subset generation mode.

Constructor & Destructor Documentation

◆ ProjectionSets()

Constructor.

Parameters
geomCone-beam geometry for angle information

Member Function Documentation

◆ setMode()

void setMode ( SetMode mode)
inline

Set the subset mode.

Parameters
modeSubset generation mode

◆ compute()

void compute ( int numProj,
int setSize )

Compute subsets given number of projections and desired set size.

Parameters
numProjTotal number of projections
setSizeDesired size of each subset

◆ size()

int size ( ) const
inline

Returns the number of sets.

Returns
Number of computed subsets

◆ operator[]()

const std::vector< int > & operator[] ( int i) const
inline

Returns a chosen set.

Parameters
iIndex of the subset
Returns
Vector of projection indices in the subset

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close