![]() |
ImFusion SDK 4.3
|
#include <ImFusion/CT/ProjectionSets.h>
Computation of projection subsets for iterative reconstruction. More...
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 ConeBeamGeometry * | m_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. | |
|
strong |
| Enumerator | |
|---|---|
| Orthogonal | Orthogonal subset generation (maximally separated angles) |
| Random | Random subset generation. |
| Special | Special subset generation mode. |
| ProjectionSets | ( | const ConeBeamGeometry * | geom | ) |
Constructor.
| geom | Cone-beam geometry for angle information |
|
inline |
Set the subset mode.
| mode | Subset generation mode |
| void compute | ( | int | numProj, |
| int | setSize ) |
Compute subsets given number of projections and desired set size.
| numProj | Total number of projections |
| setSize | Desired size of each subset |
|
inline |
Returns the number of sets.
|
inline |
Returns a chosen set.
| i | Index of the subset |