STIR 6.5.0
extend_projdata.cxx File Reference

Implementation of functions to extension of direct sinograms in view direction. More...

#include "stir/Array.h"
#include "stir/SegmentBySinogram.h"
#include "stir/Sinogram.h"
#include "stir/ProjDataInfo.h"
#include "stir/IndexRange.h"
#include "stir/Bin.h"
#include "stir/round.h"
#include "stir/warning.h"
#include "stir/error.h"

Namespaces

namespace  stir
 Namespace for the STIR library (and some/most of its applications).

Functions

Array< 3, float > stir::extend_segment (const SegmentBySinogram< float > &segment, const int view_extension=5, const int axial_extension=5, const int tangential_extension=5)
 Generic function to extend a segment in any or all directions.Axially and tangentially, the segment is filled with the nearest existing value. In view direction, the function wraps around for stir::ProjData that cover 180° or 360° degrees, and throws an error for other angular coverages.

Detailed Description

Implementation of functions to extension of direct sinograms in view direction.

Author
Kris Thielemans
Charalampos Tsoumpas
Markus Jehl