38 #ifndef VP_DISK_GRABBER_H
39 #define VP_DISK_GRABBER_H
43 #include <visp3/core/vpFrameGrabber.h>
44 #include <visp3/core/vpRGBa.h>
45 #include <visp3/io/vpImageIo.h>
112 long m_image_number_next;
114 unsigned int m_number_of_zero;
117 std::string m_directory;
118 std::string m_base_name;
119 std::string m_extension;
121 bool m_use_generic_name;
122 std::string m_generic_name;
123 std::string m_image_name;
152 VP_EXPLICIT
vpDiskGrabber(
const std::string &dir,
const std::string &basename,
long number,
int step,
unsigned int noz,
153 const std::string &ext);
259 void setGenericName(
const std::string &genericName);
264 void setImageNumber(
long number);
274 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