Ask Your Question
0

how to find a part of a chessboard

asked 2013-07-15 04:13:59 -0600

engine gravatar image

Hi ! I want to use the cv::findChessboard() function to calibrate my camera. let'S say I've a 4x5 chessboard how can I get information abot the corners if only a a part of my chessboard has been detected say 3x4 or 3x5 or 4x4 etc.

thanks in advance for your help

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-07-15 04:35:00 -0600

Basically the camera calibration uses gradient information to look for interesting points, based on the Harris Corner detector. The function you are citing doesn't exist but I think you want to take a look at findChessboardCorners() which looks for interesting points, which can then be used to calculate the projection matrix.

edit flag offensive delete link more

Comments

so you mean if I want to use this function I can't get a part of the detected chessboard

engine gravatar imageengine ( 2013-07-15 04:46:37 -0600 )edit
1

I just said the function looks for corners, which is essentially each part where 4 white and black squares join together. A half chessboard will reproduce these areas also so they will be detected in fact!

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-15 05:05:22 -0600 )edit

any idea Idea how to get their positions ??

engine gravatar imageengine ( 2013-07-15 05:12:33 -0600 )edit

This seems more and more like a high school project that needs to be solved. I directed you to the functions documentation page, which clearly states that one of the arguments is 'OutputArray corners'. As you could have guessed these will contain the actual information you are looking for. Please, I urge you to put some effort in it :) We all needed to learn to take the first steps sometimes.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-15 05:51:51 -0600 )edit

Question Tools

Stats

Asked: 2013-07-15 04:13:59 -0600

Seen: 893 times

Last updated: Jul 15 '13