OpenCV  2.4.13.5
Open Source Computer Vision
CvCalibFilter Class Reference

#include <legacy.hpp>

Public Member Functions

 CvCalibFilter ()
 
virtual ~CvCalibFilter ()
 
virtual bool SetEtalon (CvCalibEtalonType etalonType, double *etalonParams, int pointCount=0, CvPoint2D32f *points=0)
 
virtual CvCalibEtalonType GetEtalon (int *paramCount=0, const double **etalonParams=0, int *pointCount=0, const CvPoint2D32f **etalonPoints=0) const
 
virtual void SetCameraCount (int cameraCount)
 
int GetCameraCount () const
 
virtual bool SetFrames (int totalFrames)
 
virtual void Stop (bool calibrate=false)
 
bool IsCalibrated () const
 
virtual bool FindEtalon (IplImage **imgs)
 
virtual bool FindEtalon (CvMat **imgs)
 
virtual bool Push (const CvPoint2D32f **points=0)
 
virtual int GetFrameCount (int *framesTotal=0) const
 
virtual const CvCameraGetCameraParams (int idx=0) const
 
virtual const CvStereoCameraGetStereoParams () const
 
virtual bool SetCameraParams (CvCamera *params)
 
virtual bool SaveCameraParams (const char *filename)
 
virtual bool LoadCameraParams (const char *filename)
 
virtual bool Undistort (IplImage **src, IplImage **dst)
 
virtual bool Undistort (CvMat **src, CvMat **dst)
 
virtual bool GetLatestPoints (int idx, CvPoint2D32f **pts, int *count, bool *found)
 
virtual void DrawPoints (IplImage **dst)
 
virtual void DrawPoints (CvMat **dst)
 
virtual bool Rectify (IplImage **srcarr, IplImage **dstarr)
 
virtual bool Rectify (CvMat **srcarr, CvMat **dstarr)
 

Protected Types

enum  { MAX_CAMERAS = 3 }
 

Protected Attributes

CvCalibEtalonType etalonType
 
int etalonParamCount
 
double * etalonParams
 
int etalonPointCount
 
CvPoint2D32fetalonPoints
 
CvSize imgSize
 
CvMatgrayImg
 
CvMattempImg
 
CvMemStoragestorage
 
int cameraCount
 
CvCamera cameraParams [MAX_CAMERAS]
 
CvStereoCamera stereo
 
CvPoint2D32fpoints [MAX_CAMERAS]
 
CvMatundistMap [MAX_CAMERAS][2]
 
CvMatundistImg
 
int latestCounts [MAX_CAMERAS]
 
CvPoint2D32flatestPoints [MAX_CAMERAS]
 
CvMatrectMap [MAX_CAMERAS][2]
 
int maxPoints
 
int framesTotal
 
int framesAccepted
 
bool isCalibrated
 

Member Enumeration Documentation

§ anonymous enum

anonymous enum
protected
Enumerator
MAX_CAMERAS 

Constructor & Destructor Documentation

§ CvCalibFilter()

CvCalibFilter::CvCalibFilter ( )

§ ~CvCalibFilter()

virtual CvCalibFilter::~CvCalibFilter ( )
virtual

Member Function Documentation

§ DrawPoints() [1/2]

virtual void CvCalibFilter::DrawPoints ( IplImage **  dst)
virtual

§ DrawPoints() [2/2]

virtual void CvCalibFilter::DrawPoints ( CvMat **  dst)
virtual

§ FindEtalon() [1/2]

virtual bool CvCalibFilter::FindEtalon ( IplImage **  imgs)
virtual

§ FindEtalon() [2/2]

virtual bool CvCalibFilter::FindEtalon ( CvMat **  imgs)
virtual

§ GetCameraCount()

int CvCalibFilter::GetCameraCount ( ) const
inline

§ GetCameraParams()

virtual const CvCamera* CvCalibFilter::GetCameraParams ( int  idx = 0) const
virtual

§ GetEtalon()

virtual CvCalibEtalonType CvCalibFilter::GetEtalon ( int paramCount = 0,
const double **  etalonParams = 0,
int pointCount = 0,
const CvPoint2D32f **  etalonPoints = 0 
) const
virtual

§ GetFrameCount()

virtual int CvCalibFilter::GetFrameCount ( int framesTotal = 0) const
virtual

§ GetLatestPoints()

virtual bool CvCalibFilter::GetLatestPoints ( int  idx,
CvPoint2D32f **  pts,
int count,
bool *  found 
)
virtual

§ GetStereoParams()

virtual const CvStereoCamera* CvCalibFilter::GetStereoParams ( ) const
virtual

§ IsCalibrated()

bool CvCalibFilter::IsCalibrated ( ) const
inline

§ LoadCameraParams()

virtual bool CvCalibFilter::LoadCameraParams ( const char *  filename)
virtual

§ Push()

virtual bool CvCalibFilter::Push ( const CvPoint2D32f **  points = 0)
virtual

§ Rectify() [1/2]

virtual bool CvCalibFilter::Rectify ( IplImage **  srcarr,
IplImage **  dstarr 
)
virtual

§ Rectify() [2/2]

virtual bool CvCalibFilter::Rectify ( CvMat **  srcarr,
CvMat **  dstarr 
)
virtual

§ SaveCameraParams()

virtual bool CvCalibFilter::SaveCameraParams ( const char *  filename)
virtual

§ SetCameraCount()

virtual void CvCalibFilter::SetCameraCount ( int  cameraCount)
virtual

§ SetCameraParams()

virtual bool CvCalibFilter::SetCameraParams ( CvCamera params)
virtual

§ SetEtalon()

virtual bool CvCalibFilter::SetEtalon ( CvCalibEtalonType  etalonType,
double *  etalonParams,
int  pointCount = 0,
CvPoint2D32f points = 0 
)
virtual

§ SetFrames()

virtual bool CvCalibFilter::SetFrames ( int  totalFrames)
virtual

§ Stop()

virtual void CvCalibFilter::Stop ( bool  calibrate = false)
virtual

§ Undistort() [1/2]

virtual bool CvCalibFilter::Undistort ( IplImage **  src,
IplImage **  dst 
)
virtual

§ Undistort() [2/2]

virtual bool CvCalibFilter::Undistort ( CvMat **  src,
CvMat **  dst 
)
virtual

Member Data Documentation

§ cameraCount

int CvCalibFilter::cameraCount
protected

§ cameraParams

CvCamera CvCalibFilter::cameraParams[MAX_CAMERAS]
protected

§ etalonParamCount

int CvCalibFilter::etalonParamCount
protected

§ etalonParams

double* CvCalibFilter::etalonParams
protected

§ etalonPointCount

int CvCalibFilter::etalonPointCount
protected

§ etalonPoints

CvPoint2D32f* CvCalibFilter::etalonPoints
protected

§ etalonType

CvCalibEtalonType CvCalibFilter::etalonType
protected

§ framesAccepted

int CvCalibFilter::framesAccepted
protected

§ framesTotal

int CvCalibFilter::framesTotal
protected

§ grayImg

CvMat* CvCalibFilter::grayImg
protected

§ imgSize

CvSize CvCalibFilter::imgSize
protected

§ isCalibrated

bool CvCalibFilter::isCalibrated
protected

§ latestCounts

int CvCalibFilter::latestCounts[MAX_CAMERAS]
protected

§ latestPoints

CvPoint2D32f* CvCalibFilter::latestPoints[MAX_CAMERAS]
protected

§ maxPoints

int CvCalibFilter::maxPoints
protected

§ points

CvPoint2D32f* CvCalibFilter::points[MAX_CAMERAS]
protected

§ rectMap

CvMat* CvCalibFilter::rectMap[MAX_CAMERAS][2]
protected

§ stereo

CvStereoCamera CvCalibFilter::stereo
protected

§ storage

CvMemStorage* CvCalibFilter::storage
protected

§ tempImg

CvMat* CvCalibFilter::tempImg
protected

§ undistImg

CvMat* CvCalibFilter::undistImg
protected

§ undistMap

CvMat* CvCalibFilter::undistMap[MAX_CAMERAS][2]
protected

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