Cooperative algorithm for solving random-dot stereograms

Solves random-dot stereograms based on Marr & Poggio (1976) cooperative algorithm

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/180833-cooperative-algorithm-for-solving-random-dot-stereograms), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.2

Range of z-axes were changed to reflect disparities relative to the horopter. Description was extended and citation corrected.

1.0.1

Tags updated and description font altered

1.0.0