STIR
6.2.0
|
Implementations of the stir::zoom functions. More...
#include "stir/interpolate.h"
#include "stir/zoom.h"
#include "stir/DataProcessor.h"
#include "stir/DiscretisedDensity.h"
#include "stir/VoxelsOnCartesianGrid.h"
#include "stir/PixelsOnCartesianGrid.h"
#include "stir/Viewgram.h"
#include "stir/RelatedViewgrams.h"
#include "stir/ProjDataInfoCylindricalArcCorr.h"
#include "stir/IndexRange3D.h"
#include "stir/IndexRange2D.h"
#include "stir/error.h"
#include <cmath>
Namespaces | |
stir | |
Namespace for the STIR library (and some/most of its applications) | |
Functions | |
Functions for interpolating data to new pixel/bin sizes | |
void | stir::zoom_viewgrams (RelatedViewgrams< float > &viewgrams, const float zoom, const int min_tang_pos_num, const int max_tang_pos_num, const float x_offset_in_mm=0, const float y_offset_in_mm=0) |
zoom a RelatedViewgrams object, replacing it with the new data More... | |
void | stir::zoom_viewgram (Viewgram< float > &viewgram, const float zoom, const int min_tang_pos_num, const int max_tang_pos_num, const float x_offset_in_mm=0, const float y_offset_in_mm=0) |
zoom viewgram, replacing it with the new data More... | |
void | stir::zoom_viewgram (Viewgram< float > &out_viewgram, const Viewgram< float > &in_viewgram, const float x_offset_in_mm=0, const float y_offset_in_mm=0) |
zoom in_viewgram, replacing out_viewgram with the new data More... | |
void | stir::zoom_image_in_place (VoxelsOnCartesianGrid< float > &image, const float zoom, const float x_offset_in_mm, const float y_offset_in_mm, const int new_size, const ZoomOptions=ZoomOptions::preserve_sum) |
zoom image, replacing the first argument with the new data More... | |
VoxelsOnCartesianGrid< float > | stir::zoom_image (const VoxelsOnCartesianGrid< float > &image, const float zoom, const float x_offset_in_mm, const float y_offset_in_mm, const int new_size, const ZoomOptions=ZoomOptions::preserve_sum) |
zoom image, replacing the first argument with the new data More... | |
void | stir::zoom_image_in_place (VoxelsOnCartesianGrid< float > &image, const CartesianCoordinate3D< float > &zooms, const CartesianCoordinate3D< float > &offsets_in_mm, const BasicCoordinate< 3, int > &new_sizes, const ZoomOptions=ZoomOptions::preserve_sum) |
zoom image, replacing the first argument with the new data. Full 3D shifts and zooms. More... | |
VoxelsOnCartesianGrid< float > | stir::zoom_image (const VoxelsOnCartesianGrid< float > &image, const CartesianCoordinate3D< float > &zooms, const CartesianCoordinate3D< float > &offsets_in_mm, const BasicCoordinate< 3, int > &new_sizes, const ZoomOptions=ZoomOptions::preserve_sum) |
zoom image, returning the new image More... | |
void | stir::zoom_image (VoxelsOnCartesianGrid< float > &image_out, const VoxelsOnCartesianGrid< float > &image_in, const ZoomOptions=ZoomOptions::preserve_sum) |
zoom image_in according to dimensions, origin and voxel_size of image_out. More... | |
void | stir::zoom_image (PixelsOnCartesianGrid< float > &image2D_out, const PixelsOnCartesianGrid< float > &image2D_in, const ZoomOptions=ZoomOptions::preserve_sum) |
zoom image2D_in according to dimensions, origin and pixel_size of image2D_out. More... | |
Implementations of the stir::zoom functions.