Functions
contrib/mul/vil3d/vil3d_load.cxx File Reference

Functions to read an image from a file. More...

#include "vil3d_load.h"
#include <vil/vil_exception.h>
#include <vil3d/vil3d_file_format.h>
#include <vcl_sstream.h>

Go to the source code of this file.

Functions

vil3d_image_resource_sptr vil3d_load_image_resource (char const *filename)
 Load image from named path.
vil3d_image_view_base_sptr vil3d_load (const char *file)
 Convenience function for loading an image into an image view.

Detailed Description

Functions to read an image from a file.

Author:
Ian Scott

Definition in file vil3d_load.cxx.


Function Documentation

vil3d_image_view_base_sptr vil3d_load ( const char *  file)

Convenience function for loading an image into an image view.

Load a 3D image off file fully into memory.

Definition at line 33 of file vil3d_load.cxx.

vil3d_image_resource_sptr vil3d_load_image_resource ( char const *  filename)

Load image from named path.

Attempts to load with each of available file format readers Use vil3d_file_format::add_format() to add additional format options.

Definition at line 11 of file vil3d_load.cxx.