Functions
contrib/mul/vimt/vimt_save.h File Reference
#include <vcl_string.h>
#include <vil/vil_fwd.h>

Go to the source code of this file.

Functions

void vimt_save_transform (vil_image_resource_sptr &ir, const vimt_transform_2d &trans, bool use_millimetres=false)
 Save values from a transform to an image resource.
bool vimt_save (const vcl_string &path, const vimt_image_2d &image, bool use_millimetres=false)
 Save image from path into given image (forcing to given pixel type).

Detailed Description

Author:
Ian Scott, Kevin de Souza
Note:
Adapted from vimt3d_save

Definition in file vimt_save.h.


Function Documentation

bool vimt_save ( const vcl_string &  path,
const vimt_image_2d image,
bool  use_millimetres = false 
)

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

Definition at line 55 of file vimt_save.cxx.

void vimt_save_transform ( vil_image_resource_sptr ir,
const vimt_transform_2d trans,
bool  use_millimetres 
)

Save values from a transform to an image resource.

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

Save values from a transform to an image resource.

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

Definition at line 25 of file vimt_save.cxx.