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.


Generated on Sun Nov 22 05:08:39 2009 for core/vil by  doxygen 1.5.1