core/vil/vil_load.h File Reference


Detailed Description

read an image from a file

vil_load returns a pointer to the base class of an vil_image_view object. You can then cast, or assign it to the appropriate type. You must not forget to delete the created view.

vil_load_image_resource() returns a smart pointer to vil_image_resource which will "read an image from a file". In practice it may or may not read the image on creation, but a disk read will take place at some point before get_view() returns.

Author:
awf@robots.ox.ac.uk
    Modifications
       011002 Peter Vanroose - vil_load now respects top-is-first; vil_load_raw not
       24 Sep 2002 Ian Scott - converted to vil
  

Definition in file vil_load.h.

#include <vil/vil_fwd.h>
#include <vil/vil_image_resource.h>
#include <vil/vil_pyramid_image_resource.h>

Go to the source code of this file.


Functions

vil_image_resource_sptr vil_load_image_resource_raw (vil_stream *)
 Load from a stream.
vil_image_resource_sptr vil_load_image_resource_raw (char const *)
 Load an image resource object from a file.
vil_image_resource_sptr vil_load_image_resource_plugin (char const *)
 Load from a filename with a plugin.

Function Documentation

vil_image_resource_sptr vil_load_image_resource_plugin ( char const *   ) 

Load from a filename with a plugin.

Definition at line 61 of file vil_load.cxx.

vil_image_resource_sptr vil_load_image_resource_raw ( char const *   ) 

Load an image resource object from a file.

Won't use plugins.

Definition at line 41 of file vil_load.cxx.

vil_image_resource_sptr vil_load_image_resource_raw ( vil_stream  ) 

Load from a stream.

Won't use plugins.

Definition at line 18 of file vil_load.cxx.


Generated on Sat Nov 22 05:07:56 2008 for core/vil by  doxygen 1.5.1