#include <vil/vil_image_resource.h>
#include <vil/vil_convert.h>
#include <vil/vil_load.h>
#include <vimt/vimt_image_2d_of.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=1.0f) |
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=1.0f) |
Create a transform from the properties of image resource, assuming a right-hand world frame. | |
template<class T > | |
void | vimt_load (const vcl_string &path, vimt_image_2d_of< T > &image, float unit_scaling=1.0f) |
Load image from path into given image (forcing to given pixel type). | |
template<class T > | |
void | vimt_load_right_hand (const vcl_string &path, vimt_image_2d_of< T > &image, float unit_scaling=1.0f) |
Load image from path into given image (forcing to given pixel type). |
Definition in file vimt_load.h.
void vimt_load | ( | const vcl_string & | path, |
vimt_image_2d_of< T > & | image, | ||
float | unit_scaling = 1.0f |
||
) | [inline] |
Load image from path into given image (forcing to given pixel type).
unit_scaling | is to convert from metres to desired world units (e.g. 1000 for mm) |
Definition at line 30 of file vimt_load.h.
void vimt_load_right_hand | ( | const vcl_string & | path, |
vimt_image_2d_of< T > & | image, | ||
float | unit_scaling = 1.0f |
||
) | [inline] |
Load image from path into given image (forcing to given pixel type).
unit_scaling | is to convert from metres to desired world units (e.g. 1000 for mm) |
Definition at line 51 of file vimt_load.h.
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.
unit_scaling | is 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.
unit_scaling | is to convert from metres to desired world units (e.g. 1000 for mm) |
Definition at line 54 of file vimt_load.cxx.