Newsgroups: sci.image.processing
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!udel!gatech!swrinde!sdd.hp.com!hp-pcd!hpcvsnz!briand
From: briand@cv.hp.com (Brian Dixon)
Subject: Re: [Help] 2D image --> 3D image (S/W)
Sender: news@hpcvsnz.cv.hp.com (News )
Message-ID: <D7pJ7p.3L@hpcvsnz.cv.hp.com>
Date: Thu, 27 Apr 1995 18:55:01 GMT
References: <3ng5im$fhb@worak.kaist.ac.kr>
Nntp-Posting-Host: hpcvsgen.cv.hp.com
Organization: Hewlett-Packard
X-Newsreader: TIN [version 1.1 PL9.4]
Lines: 60

kwseo@kepsa.kaist.ac.kr wrote:
: Hello, everybody.

: Not being known about image processing, I need some help from you!

: I experimented with laser interferometer to interprete temperature distribution 
: of bubble and took pictures by a high speed camera.

: The images of temperature contour in the picture are very complex, I can't 
: interprete their contour.

: Yes, they are not data but only image as following;

: (Real image is more complex than this!)
: +---------------------------------+
: |               | |               |      
: | -____        /   \              |             
: |      -______/     \_____________|______ fringe                             
: | _             /  \              |       
: |  -___________/    \_       _----|            
: |                     \_____-     |          
: |            _/ _/\_           ___|                  
: |___________/  /    \  ______--   |                               
: |              |     |            |            
: |              \     /            |           
: |-___________    \ /   /----------|        
: |                                         
: >>> bottom of this figure abbreviated <<<


: I want to make 3-D image by our 2-D image on video tape.

: Q.1 : How to convert our 2-D image to 2-D contour data?

: Q.2 : Can I get some free/share software to use in constructing 3-D image       
:       from 2-D?
:       How many 2-D image needed to construct 3-D image by them, at least?

: Thank you in advance.

Not the easiest thing in the world, but here's what we've done.  From the
VCR, we pipe the NTSC video to a color frame grabber and capture the
freeze-framed image.  Then we save the image to a BMP file.  Then we use
our utility called 'bmp2raw' to convert the image to a raw data file that
contains pixel values in rows and columns that match the grabbed image.
Greyscale images get a single table, color images get 3 tables in sequence
(red/green/blue).  A fellow here wrote the program for converting the
data to these tables, i.e. try a good book like "Graphics File Formats" by
D.C. Kay and J.R. Levine, published by McGraw-Hill.  Once we've got the
tables in our ASCII flat files, then we've got numerous off-the-shelf
programs that we can use for producing surface plots.

Hope that helped..clunky, maybe.  But it works.

Brian


--
Brian Dixon, Machine Vision Engineer, Hewlett Packard (Corvallis, Oregon)
503-715-3143 (wk), briand@cv.hp.com (email). "Opinions & attitudes are mine!"
