48 #include <visp3/core/vpConfig.h>
50 #include <visp3/core/vpImage.h>
51 #include <visp3/io/vpDiskGrabber.h>
80 for (
int cpt = 0; cpt < 100; cpt++) {
89 std::cout <<
"Catch an exception: " << e << std::endl;
Class to grab (ie. read) images from the disk.
void setDirectory(const std::string &dir)
void setExtension(const std::string &ext)
void open(vpImage< unsigned char > &I)
void setImageNumber(long number)
void setNumberOfZero(unsigned int noz)
void setBaseName(const std::string &name)
void acquire(vpImage< unsigned char > &I)
error that can be emitted by ViSP classes.