240 likes | 456 Views
Anaglyph Videos. Student: Jihaad Pienaar Supervisor: Mr Mehrdad Ghaziasgar Co-Supervisor: Mr James Connan Mentors: Mr Roland Foster & Mr Kenzo Abrahams. Overview. RECAP USER INTERFACE SPECIFICATION HIGH LEVEL DESIGN LOW LEVEL DESIGN DEMO REFERENCES QUESTIONS & ANSWERS. Recap.
E N D
Anaglyph Videos Student: Jihaad Pienaar Supervisor: Mr Mehrdad Ghaziasgar Co-Supervisor: Mr James Connan Mentors: Mr Roland Foster & Mr Kenzo Abrahams
Overview • RECAP • USER INTERFACE SPECIFICATION • HIGH LEVEL DESIGN • LOW LEVEL DESIGN • DEMO • REFERENCES • QUESTIONS & ANSWERS
Recap A system which allows users to convert 2D videos into an Anaglyph 3D equivalent. Converted video can then be viewed on any normal TV or monitor, with 3D anaglyph glasses.
User Interface Specification • Graphic User Interface (GUI) • Users will interact by selecting options from menu’s
User Interface Specification • Display Window
User Interface Specification • Opening a file
User Interface Specification • Converting the file
User Interface Specification • Play back of 3D output
User Interface Specification • Saving the 3D output
High Level Design Input Left Image Right Image 6.5 cm Image Processing
High level design Output
High Level Design Input Depth Map of Image Original Image Image Processing
High level design Output
Low Level Design • Video needs to be broken up into frames • cvQueryFrame( capture )
Low Level Design • Convert BGR colour space to RGB colour space • cvtColor(left, left, CV_BGR2RGB);
Low Level Design • Dubois • Least square approximation to produce a matrix • MatrixMultiply(Limage[3][1],Rimage[3][1])
Low Level Design • Depth Map • Using depth map we displace original image by some amount • Displace(Image,DepthMap) • D=30.0*((I-127.5)/(127.5)); • Where D is the amount to displace and I is the current pixel of the depth map
Low Level Design • Output • Display video frames • cvShowImage( “example", frame );
References • Bradski, G., & Kaehler, A., (2008). “Learning OpenCV. United States of America: O’Reilly Media, Inc.”, 8-30 • Doneus, M., & Hanke K., (1997). “Anaglyph images still a good way to look at 3d-objects?”, 2 • Ianir A. I., Leonid P. Y., ; Barak, F., & Roni, V., (2007). "3D from compressed 2D video", Proc. SPIE 6490, Stereoscopic Displays and Virtual Reality Systems XIV, 64901C