38 #ifndef vpDiskGrabber_hh
39 #define vpDiskGrabber_hh
43 #include <visp3/core/vpDebug.h>
44 #include <visp3/core/vpFrameGrabber.h>
45 #include <visp3/core/vpRGBa.h>
46 #include <visp3/io/vpImageIo.h>
107 long m_image_number_next;
109 unsigned int m_number_of_zero;
112 std::string m_directory;
113 std::string m_base_name;
114 std::string m_extension;
116 bool m_use_generic_name;
117 std::string m_generic_name;
118 std::string m_image_name;
141 explicit vpDiskGrabber(
const std::string &dir,
const std::string &basename,
long number,
int step,
unsigned int noz,
142 const std::string &ext);
254 void setGenericName(
const std::string &genericName);
259 void setImageNumber(
long number);
269 void setStep(
long step) { m_image_step = step; }
Class to grab (ie. read) images from the disk.
void setDirectory(const std::string &dir)
void setExtension(const std::string &ext)
std::string getImageName() const
void setNumberOfZero(unsigned int noz)
void setBaseName(const std::string &name)
long getImageNumber() const
Base class for all video devices. It is designed to provide a front end to video sources.
virtual void open(vpImage< unsigned char > &I)=0
virtual void acquire(vpImage< unsigned char > &I)=0