Functions
contrib/mul/vimt3d/vimt3d_image_3d.cxx File Reference

A base class for arbitrary 3d images+transform. More...

#include "vimt3d_image_3d.h"
#include <vgl/vgl_point_3d.h>
#include <vgl/vgl_vector_3d.h>

Go to the source code of this file.

Functions

vgl_box_3d< double > world_bounding_box (const vimt3d_image_3d &img)
 Return bounding box containing image in world co-ords 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.

Detailed Description

A base class for arbitrary 3d images+transform.

Author:
Tim Cootes

Definition in file vimt3d_image_3d.cxx.


Function Documentation

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 image in world co-ords as a box.

Return bounding box containing input image in world co-ords, but more conveniently as a box.

Definition at line 65 of file vimt3d_image_3d.cxx.