How call FindChessboardCorners ()?

ofxOpenCv\libs\opencv\include\opencv2\calib3d\calib3d.hpp

518 line
//! finds checkerboard pattern of the specified size in the image
CV_EXPORTS_W bool findChessboardCorners( InputArray image, Size patternSize,
OutputArray corners,
int flags=CALIB_CB_ADAPTIVE_THRESH+
CALIB_CB_NORMALIZE_IMAGE );

  
  
#include "opencv2/opencv.hpp"  
int found  = FindChessboardCorners(processedImg.getCvImage(), cvSize(nCornersX,nCornersY),p, CV_CALIB_CB_ADAPTIVE_THRESH );  
  

D:\Program Files\of_v0071_win_cb_release\apps\myApps\ytyCalibration\src\testApp.cpp||In member function ‘virtual void testApp::update()’:expressionless:
D:\Program Files\of_v0071_win_cb_release\apps\myApps\ytyCalibration\src\testApp.cpp|48|error: ‘FindChessboardCorners’ was not declared in this scope|

  
using namespace cv;  
  
int found  = cv::FindChessboardCorners(processedImg.getCvImage(), cvSize(nCornersX,nCornersY),p, CV_CALIB_CB_ADAPTIVE_THRESH );  

D:\Program Files\of_v0071_win_cb_release\apps\myApps\ytyCalibration\src\testApp.cpp||In member function ‘virtual void testApp::update()’:expressionless:
D:\Program Files\of_v0071_win_cb_release\apps\myApps\ytyCalibration\src\testApp.cpp|44|error: ‘FindChessboardCorners’ is not a member of ‘cv’|