IVT
COpenCVCapture Class Reference

#include <OpenCVCapture.h>

Inheritance diagram for COpenCVCapture:
CVideoCaptureInterface

Public Member Functions

 COpenCVCapture (int nIndex, const char *pFilename=0)
 
 ~COpenCVCapture ()
 
bool OpenCamera ()
 
void CloseCamera ()
 
bool CaptureImage (CByteImage **ppImages)
 
int GetWidth ()
 
int GetHeight ()
 
CByteImage::ImageType GetType ()
 
int GetNumberOfCameras ()
 
- Public Member Functions inherited from CVideoCaptureInterface
virtual ~CVideoCaptureInterface ()
 
virtual bool SetExposureTime (int nExposureInUS)
 

Additional Inherited Members

- Public Types inherited from CVideoCaptureInterface
enum  VideoMode {
  e320x240, e640x480, e800x600, e768x576,
  e1024x768, e1280x960, e1600x1200, eNone
}
 
enum  ColorMode { eRGB24, eBayerPatternToRGB24, eGrayScale, eYUV411ToRGB24 }
 
enum  FrameRate {
  e60fps, e30fps, e15fps, e7_5fps,
  e3_75fps, e1_875fps
}
 

Detailed Description

Definition at line 68 of file OpenCVCapture.h.

Constructor & Destructor Documentation

COpenCVCapture::COpenCVCapture ( int  nIndex,
const char *  pFilename = 0 
)

Definition at line 58 of file OpenCVCapture.cpp.

COpenCVCapture::~COpenCVCapture ( )

Definition at line 69 of file OpenCVCapture.cpp.

Member Function Documentation

bool COpenCVCapture::CaptureImage ( CByteImage **  ppImages)
virtual

Implements CVideoCaptureInterface.

Definition at line 105 of file OpenCVCapture.cpp.

void COpenCVCapture::CloseCamera ( )
virtual

Implements CVideoCaptureInterface.

Definition at line 99 of file OpenCVCapture.cpp.

int COpenCVCapture::GetHeight ( )
virtual

Implements CVideoCaptureInterface.

Definition at line 155 of file OpenCVCapture.cpp.

int COpenCVCapture::GetNumberOfCameras ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 86 of file OpenCVCapture.h.

CByteImage::ImageType COpenCVCapture::GetType ( )
virtual

Implements CVideoCaptureInterface.

Definition at line 160 of file OpenCVCapture.cpp.

int COpenCVCapture::GetWidth ( )
virtual

Implements CVideoCaptureInterface.

Definition at line 150 of file OpenCVCapture.cpp.

bool COpenCVCapture::OpenCamera ( )
virtual

Implements CVideoCaptureInterface.

Definition at line 79 of file OpenCVCapture.cpp.


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