OpenCV  2.4.13.3
Open Source Computer Vision
cv::VideoCapture Class Reference

#include <highgui.hpp>

Public Member Functions

 VideoCapture ()
 
 VideoCapture (const string &filename)
 
 VideoCapture (int device)
 
virtual ~VideoCapture ()
 
virtual bool open (const string &filename)
 
virtual bool open (int device)
 
virtual bool isOpened () const
 
virtual void release ()
 
virtual bool grab ()
 
virtual bool retrieve (CV_OUT Mat &image, int channel=0)
 
virtual VideoCaptureoperator>> (CV_OUT Mat &image)
 
virtual bool read (CV_OUT Mat &image)
 
virtual bool set (int propId, double value)
 
virtual double get (int propId)
 

Protected Attributes

Ptr< CvCapturecap
 

Constructor & Destructor Documentation

§ VideoCapture() [1/3]

cv::VideoCapture::VideoCapture ( )

§ VideoCapture() [2/3]

cv::VideoCapture::VideoCapture ( const string &  filename)

§ VideoCapture() [3/3]

cv::VideoCapture::VideoCapture ( int  device)

§ ~VideoCapture()

virtual cv::VideoCapture::~VideoCapture ( )
virtual

Member Function Documentation

§ get()

virtual double cv::VideoCapture::get ( int  propId)
virtual

§ grab()

virtual bool cv::VideoCapture::grab ( )
virtual

§ isOpened()

virtual bool cv::VideoCapture::isOpened ( ) const
virtual

§ open() [1/2]

virtual bool cv::VideoCapture::open ( const string &  filename)
virtual

§ open() [2/2]

virtual bool cv::VideoCapture::open ( int  device)
virtual

§ operator>>()

virtual VideoCapture& cv::VideoCapture::operator>> ( CV_OUT Mat image)
virtual

§ read()

virtual bool cv::VideoCapture::read ( CV_OUT Mat image)
virtual

§ release()

virtual void cv::VideoCapture::release ( )
virtual

§ retrieve()

virtual bool cv::VideoCapture::retrieve ( CV_OUT Mat image,
int  channel = 0 
)
virtual

§ set()

virtual bool cv::VideoCapture::set ( int  propId,
double  value 
)
virtual

Member Data Documentation

§ cap

Ptr<CvCapture> cv::VideoCapture::cap
protected

The documentation for this class was generated from the following file: