00001 // This is mul/vil3d/vil3d_load.h 00002 #ifndef vil3d_load_h_ 00003 #define vil3d_load_h_ 00004 00005 //: 00006 // \file 00007 // \brief Functions to read an image from a file 00008 // \author Ian Scott 00009 00010 #include <vil3d/vil3d_image_resource.h> 00011 00012 00013 00014 //: Load image from named path 00015 // Attempts to load with each of available file format readers 00016 // Use vil3d_file_format::add_format() to add additional format options. 00017 vil3d_image_resource_sptr vil3d_load_image_resource(char const* filename); 00018 00019 00020 //: Load a 3D image off file fully into memory. 00021 // Returns empty image if unable to load from named path 00022 // Use vil3d_file_format::add_format() to add additional format options. 00023 vil3d_image_view_base_sptr vil3d_load(const char *); 00024 00025 #endif