A base class for arbitrary 3D images+transform. More...
#include <vgl/vgl_box_3d.h>
#include <vimt/vimt_image.h>
#include <vimt3d/vimt3d_transform_3d.h>
#include <vil3d/vil3d_image_view_base.h>
Go to the source code of this file.
Classes | |
class | vimt3d_image_3d |
A base class for arbitrary 3D images. More... | |
Functions | |
vgl_box_3d< double > | world_bounding_box (const vimt3d_image_3d &img) |
Return bounding box containing input image in world co-ords, but more conveniently as a box. | |
void | vimt3d_centre_image_at_origin (vimt3d_image_3d &image) |
Translate the image transform so that the image centre is at the world origin. | |
vgl_vector_3d< double > | vimt3d_voxel_size_from_transform (const vimt3d_image_3d &image) |
Calculate the voxel dimensions from the image transform. |
A base class for arbitrary 3D images+transform.
Definition in file vimt3d_image_3d.h.
void vimt3d_centre_image_at_origin | ( | vimt3d_image_3d & | image | ) |
Translate the image transform so that the image centre is at the world origin.
Definition at line 75 of file vimt3d_image_3d.cxx.
vgl_vector_3d<double> vimt3d_voxel_size_from_transform | ( | const vimt3d_image_3d & | image | ) |
Calculate the voxel dimensions from the image transform.
Definition at line 85 of file vimt3d_image_3d.cxx.
vgl_box_3d<double> world_bounding_box | ( | const vimt3d_image_3d & | img | ) |
Return bounding box containing input image in world co-ords, but more conveniently as a box.
This may be more convenient than the similar class method in generic vector form, as the latter is for a general number of dimensions
Definition at line 65 of file vimt3d_image_3d.cxx.