STIR
6.2.0
|
This class enables the user to choose between different zooming optionsThe 3 possible values determine a global scale factor used for the end result: (i) preserve sum (locally) (ii) preserve values (like interpolation) (iii) preserve projections: using a STIR forward projector on the zoomed image will give (approximately) the same projections. More...
#include "stir/ZoomOptions.h"
Public Types | |
enum | Scaling { preserve_sum, preserve_values, preserve_projections } |
Public Member Functions | |
ZoomOptions (const Scaling v=preserve_sum) | |
constructor from Scaling More... | |
Scaling | get_scaling_option () const |
This class enables the user to choose between different zooming options
The 3 possible values determine a global scale factor used for the end result: (i) preserve sum (locally) (ii) preserve values (like interpolation) (iii) preserve projections: using a STIR forward projector on the zoomed image will give (approximately) the same projections.
|
inline |
constructor from Scaling
calls error() if out-of-range