Functions
contrib/mul/vimt/vimt_load.cxx File Reference
#include "vimt_load.h"
#include <vil/vil_property.h>

Go to the source code of this file.

Functions

vimt_transform_2d vimt_load_transform (const vil_image_resource_sptr &im, float unit_scaling)
 Create a transform from the properties of image resource.
vimt_transform_2d vimt_load_transform_right_hand (const vil_image_resource_sptr &im, float unit_scaling)
 Create a transform from the properties of image resource, assuming a right-hand world frame.

Detailed Description

Author:
Martin Roberts

Definition in file vimt_load.cxx.


Function Documentation

vimt_transform_2d vimt_load_transform ( const vil_image_resource_sptr im,
float  unit_scaling = 1.0f 
)

Create a transform from the properties of image resource.

Parameters:
unit_scalingis to convert from metres to desired world units (e.g. 1000 for mm)

Definition at line 12 of file vimt_load.cxx.

vimt_transform_2d vimt_load_transform_right_hand ( const vil_image_resource_sptr im,
float  unit_scaling = 1.0f 
)

Create a transform from the properties of image resource, assuming a right-hand world frame.

Parameters:
unit_scalingis to convert from metres to desired world units (e.g. 1000 for mm)
Note:
This version incorporates a reflection through the x-axis so that the transform is put into a right-handed coordinate frame (with y increasing from bottom to top of image).

Definition at line 54 of file vimt_load.cxx.