角点检测 cornerHarris

OpenCV2  

///

 

OpenCV3

 

//进行角点检测 
cornerHarris( srcImage.clone(), harrisCorner, 2, 5, 0.01, BORDER_DEFAULT );
int deltax, deltay, alpha;
deltax = 50;    //one corner width
deltay = 50;    //height
alpha = 5;



findChessboardCorners 
need Size patternsize(8,6); //interior number of corners!  tt1

 

你可能感兴趣的:(OpenCV)