Functions
contrib/mul/vimt3d/vimt3d_save.cxx File Reference
#include "vimt3d_save.h"
#include <mbl/mbl_log.h>
#include <vil3d/vil3d_image_resource.h>
#include <vil3d/vil3d_new.h>
#include <vil3d/vil3d_save.h>
#include <vil3d/file_formats/vil3d_meta_image_format.h>
#include <vimt3d/vimt3d_transform_3d.h>
#include <vimt3d/vimt3d_image_3d.h>
#include <vimt3d/vimt3d_vil3d_v3i.h>
#include <vimt3d/vimt3d_vil3d_v3m.h>

Go to the source code of this file.

Functions

void vimt3d_save_transform (vil3d_image_resource_sptr &ir, const vimt3d_transform_3d &trans, bool use_millimetres)
 Create a transform from the properties of image resource.
bool vimt3d_save (const vcl_string &path, const vimt3d_image_3d &image, bool use_millimetres)
 Save image from path into given image (forcing to given pixel type).

Detailed Description

Author:
Ian Scott

Definition in file vimt3d_save.cxx.


Function Documentation

bool vimt3d_save ( const vcl_string &  path,
const vimt3d_image_3d image,
bool  use_millimetres 
)

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

Definition at line 76 of file vimt3d_save.cxx.

void vimt3d_save_transform ( vil3d_image_resource_sptr ir,
const vimt3d_transform_3d 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 26 of file vimt3d_save.cxx.