title: calculate Object Points in OpenCV CameraCalibration function
body: <p>I want to use opencv Cameracalibration function (<code>calibrateCamera()</code>) to calibrate my camera.<br>
  According to <a href="http://docs.opencv.org/doc/tutorials/calib3d/camera_calibration/camera_calibration.html">opencv document</a>, I have to take at least 10 shots of my chessboard.<br>
  But when I want to calculate the <code>objectPoints</code> (here, the location of chessboard inner points), I ‎confuse:  ‎</p>
  
  <p>If the origin is the camera and the chessboard is moving, it's easy for me to understand the theoretic ‎base of the concept but hard to calculate the <code>objectPoints</code>.‎<br>
  The second way is to fix the chessboard and move the camera.But in this solution, I don't understand ‎how to apply the distance of camera from the chessboard in calculating <code>objectPoints</code> or any other way ‎to say to opencv camera calibration function this changing in distance and direction.‎</p>
  
  <p>I'll be appreciated if you could help me to solve my problem.‎‎</p>