Article View: rec.games.programmer
Article #322Re: Random-dot stereograms...
From: michael.w.burns
Date: Thu, 09 Apr 1992 03:09
Date: Thu, 09 Apr 1992 03:09
34 lines
1882 bytes
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
Technical Details
Message-ID:
<1992Apr9.030938.16983@cbfsb.cb.att.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbfsb!cbnewsf.cb.att.com!sphinxReferences:
<1992Apr8.095211.5840@bsu-ucs.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbfsb!cbnewsf.cb.att.com!sphinx From: sphinx@cbnewsf.cb.att.com (michael.w.burns) Newsgroups: rec.games.programmer Subject: Re: Random-dot stereograms... Message-ID: <1992Apr9.030938.16983@cbfsb.cb.att.com> Date: 9 Apr 92 03:09:38 GMT References: <1992Apr8.095211.5840@bsu-ucs.uucp> Sender: news@cbfsb.cb.att.com Organization: AT&T Lines: 34