9 #ifndef CImageGrabber_OpenCV_H
10 #define CImageGrabber_OpenCV_H
12 #include <mrpt/config.h>
100 return m_bInitialized;
A class for grabing images from a "OpenCV"-compatible camera, or from an AVI video file.
bool m_bInitialized
Set to false if we could not initialize the camera.
mrpt::utils::void_ptr_noncopy m_capture
Internal use:
bool isOpen() const
Check whether the camera has been open successfully.
Declares a class derived from "CObservation" that encapsules an image from a camera,...
GLsizei const GLchar ** string
OBSERVATION_T::Ptr getObservation(mrpt::obs::CSensoryFramePtr &observations, mrpt::obs::CObservationPtr &observation, bool priority_to_sf=true)
Given an mrpt::obs::CSensoryFrame and a mrpt::obs::CObservation pointer if a OBSERVATION_T type obser...
TCameraType
These capture types are like their OpenCV equivalents.
@ CAMERA_CV_DSHOW
Valid only with OpenCV >= 1.1.0.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Options used when creating an OpenCV capture object Some options apply to IEEE1394 cameras only.
int frame_height
(All cameras) Capture resolution (0: Leave the default)
bool ieee1394_grayscale
(IEEE1394 cameras) Whether to grab grayscale images (Default=false).
double ieee1394_fps
(IEEE1394 cameras) Frame rate for the capture (0: Leave the default).
double gain
(All cameras) Camera gain (0: Leave the default)