Functions
contrib/mul/vimt/vimt_image_2d.cxx File Reference

A base class for arbitrary 2D images+transform. More...

#include "vimt_image_2d.h"
#include <vgl/vgl_point_2d.h>
#include <vgl/vgl_vector_2d.h>

Go to the source code of this file.

Functions

vgl_box_2d< double > world_bounding_box (const vimt_image_2d &img)
 Related Functions.
void vimt_centre_image_at_origin (vimt_image_2d &image)
 Translate the image so that its centre is at the origin of the world coordinate system.
vgl_vector_2d< double > vimt_pixel_size_from_transform (const vimt_image_2d &image)
 Calculate the pixel dimensions from the image transform.

Detailed Description

A base class for arbitrary 2D images+transform.

Author:
Tim Cootes

Definition in file vimt_image_2d.cxx.


Function Documentation

void vimt_centre_image_at_origin ( vimt_image_2d image)

Translate the image so that its centre is at the origin of the world coordinate system.

Definition at line 69 of file vimt_image_2d.cxx.

vgl_vector_2d<double> vimt_pixel_size_from_transform ( const vimt_image_2d image)

Calculate the pixel dimensions from the image transform.

Definition at line 79 of file vimt_image_2d.cxx.

vgl_box_2d<double> world_bounding_box ( const vimt_image_2d img)

Related Functions.

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 60 of file vimt_image_2d.cxx.