Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Calculate distance based on stereo vision

I am studying about a problem what the distance from the camera to the object. I intend to resolve it by below method:

  1. Get images from 2 cameras and then convert them to grayscale images.

  2. Use cv::StereoBM to create disparity map.

  3. Calculate distance from disparity map.

Is my resolution right? Is it necessary to use calibration (from information in the Internet)? I don’t know why and when I must use it.

P/s: By the way how is the step 3 above?

Calculate distance based on stereo vision

I am studying about a problem what the distance from the camera to the object. I intend to resolve it by below method:

  1. Get images from 2 cameras and then convert them to grayscale images.

  2. Use cv::StereoBM to create disparity map.

  3. Calculate distance from disparity map.

Is my resolution right? Is it necessary to use calibration (from by chessboard(from information in the Internet)? I don’t know why and when I must use it.

P/s: By the way how is the step 3 above?

Calculate distance based on stereo vision

I am studying about a problem what the distance from the camera to the object. I intend to resolve it by below method:

  1. Get images from 2 cameras and then convert them to grayscale images.

  2. Use cv::StereoBM to create disparity map.

  3. Calculate distance from disparity map.

Is my resolution right? Is it necessary to use calibration by chessboard(from calibrate the camera(from information in the Internet)? I don’t know why and when I must use it.

P/s: By the way how is the step 3 above?