What is the definition of a "disparity map"?

Image ProcessingComputer VisionImagingStereo 3dDisparity Mapping

Image Processing Problem Overview


I've been asked to implement an edge-based disparity map, but I fundamentally don't understand what a disparity map is. What is the definition of a "disparity map"?

Image Processing Solutions


Solution 1 - Image Processing

Disparity map refers to the apparent pixel difference or motion between a pair of stereo images. To experience this, try closing one of your eyes and then rapidly close it while opening the other. Objects that are close to you will appear to jump a significant distance while objects further away will move very little. That motion is the disparity.

In a pair of images derived from stereo cameras, you can measure the apparent motion in pixels for every point and make an intensity image out of the measurements.

See this for an example. You can see the objects in the foreground are brighter, denoting greater motion and lesser distance.

Example image here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionjmnwongView Question on Stackoverflow
Solution 1 - Image ProcessingpeakxuView Answer on Stackoverflow