STIR  6.2.0
Public Types | Public Member Functions | List of all members
stir::ZoomOptions Class Reference

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
 

Detailed Description

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.

See also
zoom_image

Constructor & Destructor Documentation

◆ ZoomOptions()

stir::ZoomOptions::ZoomOptions ( const Scaling  v = preserve_sum)
inline

constructor from Scaling

calls error() if out-of-range


The documentation for this class was generated from the following file: