Results 1 to 1 of 1
Thread: Depth Perception with 2 Images
- 02-25-2010, 12:39 AM #1Member
- Join Date
- Mar 2009
- Rep Power
Depth Perception with 2 Images
I am trying to write a program to correlate 2 images from a stereoscopic set of cameras at a known distance and angle, etc. However, i have a question regarding the correlation of objects in the image.
My thought on how to approach this is to have an image, run an edge detect, find which points on each image correlate (i.e, of the same object) and find the total amount these points moved, and calculate the depth. My problem is the correlation.
Image: Flickr Photo Download: 97Edge
The red lines are from one Image, and the White are from the other image.
In gimp, i
1) resized the photo to 800x600 (want it to be fast enough for real time, eventually)
2) converter the image to gray scale
3) ran a Sobel edge detect at 2
4) converter to a binary image
How should i relate x with y? Should i use the surround point's relative/absolute position (e.g, point x also has a point at x+2 and x-4)? Corner Detection? Something else?
If I used relative position, how would i know which points correlate to which points? Should the points be contiguose or separate?.
Any help would be appreciated.
- By Alarmmy in forum SWT / JFaceReplies: 0Last Post: 07-13-2009, 09:51 AM
- By roaan in forum New To JavaReplies: 1Last Post: 07-13-2009, 09:26 AM
- By Bit2_Gosu in forum New To JavaReplies: 0Last Post: 02-16-2009, 02:32 PM
- By poulius in forum New To JavaReplies: 17Last Post: 01-11-2009, 01:38 PM
- By Java Tip in forum java.langReplies: 0Last Post: 04-09-2008, 06:44 PM