Stereogram Solver Katya Groisman
What is stereogram? Two-dimensional image, with an optic illusion of depth.
The other is based on random dot stereogram.Sometimes using repeating pattern instead.
The other is based on single image dot stereogram.Sometimes using repeating pattern instead.
Needed: 1. Pattern Image
The mask is black & white image.The background is black, and as whiter the points of the figure are, as closer they are to you.
How can I see that? There are two possible techniques
Approach Letting the program resemble the function of human eyes, in other words, perform the parallel viewing technique.
Method 1. Receives stereogram image as input, and duplicates it, to two identical images, A and B. 2. (n-0.35n +1) iterations : Takes k columns of pixels from the right side of image A, and the same amount of columns from the left side of B and calculates |A – B|. 3. Searches through the differences for the optimal difference m (which has the maximum of pixels, closest to black (0)). 4. Displays it to the user.