🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: rec.games.programmer
2 messages
2 total messages Started by Matthew J. Stum Wed, 08 Apr 1992 14:52
Random-dot stereograms...
#315
Author: Matthew J. Stum
Date: Wed, 08 Apr 1992 14:52
12 lines
878 bytes
Does anyone have an algorithm for generating the random-dot stereograms
as seen in the April issue of GAMES Magazine?

thanx...

-- 
Matt Stum                                      /             SCA:
VAX Systems Programmer                        /        Matheus Arcuarius
Ball State University, Muncie IN USA       /\/  Golden Arrow Company of Archers
00MJSTUM@BSUVAX1.BITNET    (Bitnet)       /            College of Afonlyn
00MJSTUM@bsu-ucs.bsu.edu   (UUCP)        /               Middle Kingdom
00MJSTUM@LEO.BSUVC.BSU.EDU (Internet)   /
Re: Random-dot stereograms...
#322
Author: michael.w.burns
Date: Thu, 09 Apr 1992 03:09
34 lines
1882 bytes
In article <1992Apr8.095211.5840@bsu-ucs.uucp> 00mjstum@bsu-ucs.uucp (Matthew J. Stum) writes:
>Does anyone have an algorithm for generating the random-dot stereograms
>as seen in the April issue of GAMES Magazine?
>
>thanx...
>
>-- 
>Matt Stum                                      /             SCA:

Well, I don't have the article from GAMES magazine, but I did take a
class in computer vision, which talked about random-dot sterograms.
So I dug out my vision book, and the way the book describes it as:

For the left-eye image:  Start with a completely white background.
Generate a series of random (x,y) points and plot them in black.
Do this until the white background is well-covered.  

For the right-eye image: Copy the exact image as the left-eye
image, then copy the bitmap of a small square image from the center
of the square.  Now copy the bitmap slightly offset some small number
of pixels back onto the right-eye image (displace it slightly).

Now, if the images are binoculary fused together, you will get the
sensation that the small square is 'floating' in front of the background.

I took this from __VISION: A Computational Investigation into
the Human Representation and Processing of Visual Information__
by David Marr, (Freeman and Company, Publishers)

You might also want to check out the work by a vision researcher 
named Bela Julesz.  He did a lot of work with random-dot
stereograms.

Mike
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads