Functions
contrib/mul/vimt/vimt_save.cxx File Reference
#include "vimt_save.h"
#include <vil/vil_image_resource.h>
#include <vil/vil_new.h>
#include <vil/vil_save.h>
#include <vimt/vimt_transform_2d.h>
#include <vimt/vimt_image_2d.h>
#include <vimt/vimt_vil_v2i.h>
#include <mbl/mbl_log.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)
 Create a transform from the properties of image resource.
bool vimt_save (const vcl_string &path, const vimt_image_2d &image, bool use_millimetres)
 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.cxx.


Function Documentation

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

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 
)

Create a transform from the properties of image resource.

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.