Cooperative algorithm for solving random-dot stereograms
Version 1.0.2 (3.29 KB) by
Nuno De Sá Teixeira
Solves random-dot stereograms based on Marr & Poggio (1976) cooperative algorithm
This function solves random dot stereograms (based on two pictures, one for each eye) using an implementarion of Marr and Poggio (1976; 10.1126/science.968482) cooperative algorithm. It is chiefly meant to be used as an educational tool for courses on topics related to visual perception.
The function outputs a plot with the amount of disparities relative to the horopter (0 on the Z axes): Positive/negative values indicate surfaces closer/farther away to the observer (resulting, respectively, from crossed or uncrossed binocular disparities). It also saves the state of the disparities for each iteration on a 4D matrix (Image width × Image height × Disparity × Iteration).
Cite As
Nuno De Sá Teixeira (2026). Cooperative algorithm for solving random-dot stereograms (https://in.mathworks.com/matlabcentral/fileexchange/180833-cooperative-algorithm-for-solving-random-dot-stereograms), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
