1 #ifndef vidl_pro_utils_h_ 2 #define vidl_pro_utils_h_ 3 //: 4 // \file 5 // \brief Utilities to support image/video I/0 6 // \author J. L. Mundy 7 // \date March 16, 2008 8 // 9 // \verbatim 10 // Modifications 11 // <none yet> 12 // \endverbatim 13 14 #include <iostream> 15 #include <string> 16 #ifdef _MSC_VER 17 # include <vcl_msvc_warnings.h> 18 #endif 19 20 class vidl_pro_utils 21 { 22 public: 23 static bool create_directory(std::string const& path, bool force = true); 24 25 static std::string image_sequence_path(std::string const& dir_path, 26 std::string const& sname, 27 unsigned index, 28 std::string const& format = "tiff"); 29 }; 30 31 #endif 32