A base class for arbitrary 2D images+transform. More...
#include <vimt/vimt_image.h>
#include <vimt/vimt_transform_2d.h>
#include <vil/vil_image_view_base.h>
#include <vgl/vgl_box_2d.h>
Go to the source code of this file.
Classes | |
class | vimt_image_2d |
A base class for arbitrary 2D images. More... | |
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. |
A base class for arbitrary 2D images+transform.
Definition in file vimt_image_2d.h.
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.