Functions
contrib/mul/vimt3d/vimt3d_load.h File Reference
#include <vil3d/vil3d_image_resource.h>
#include <vimt3d/vimt3d_transform_3d.h>
#include <vimt3d/vimt3d_image_3d_of.h>
#include <vil3d/vil3d_load.h>
#include <vil3d/vil3d_convert.h>

Go to the source code of this file.

Functions

vimt3d_transform_3d vimt3d_load_transform (const vil3d_image_resource_sptr &im, bool use_millimetres=false)
 Create a transform from the properties of image resource.
template<class T >
void vimt3d_load (const vcl_string &path, vimt3d_image_3d_of< T > &image, bool use_millimetres=false)
 Load image from path into given image (forcing to given pixel type).

Detailed Description

Author:
Ian Scott

Definition in file vimt3d_load.h.


Function Documentation

template<class T >
void vimt3d_load ( const vcl_string &  path,
vimt3d_image_3d_of< T > &  image,
bool  use_millimetres = false 
)

Load image from path into given image (forcing to given pixel type).

Definition at line 22 of file vimt3d_load.h.

vimt3d_transform_3d vimt3d_load_transform ( const vil3d_image_resource_sptr im,
bool  use_millimetres 
)

Create a transform from the properties of image resource.

The following parameters allow the use of this method in legacy code:

Parameters:
use_millimetresif true load transform in millimetres (uses metres by default)

The transform will be from world co-ordinates in metres to image co-ordinates (or mm if requested).

Definition at line 11 of file vimt3d_load.cxx.