260 likes | 424 Vues
This project presents a system designed to convert 2D videos into Anaglyph 3D equivalents. Utilizing an algorithm by Eric Dubois, the conversion process involves separating video into frames, generating depth maps, and producing stereoscopic pairs to create a cohesive 3D experience. Implemented on Ubuntu 12.04 with C++ and OpenCV, the project addresses challenges such as foreground extraction and depth determination. A demonstration showcases the capabilities of the system, emphasizing its utility for transforming standard videos into immersive 3D formats.
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 • DESIGN DECISIONS AND SYSTEM CHANGES • IMPLEMENTATION • TOOLS USED • PROJECT PLAN • DEMO
Recap A system which allows users to convert 2D videos into an Anaglyph 3D equivalent.
Recap We were able to convert a stereoscopic 2D image into a 3D equivalent using an algorithm by Eric Dubois.
Design Decisions And System Changes • Disseminate video into frames. • Use a depth map to produce left and right frame. • Feed left and right frame into Dubois algorithm to produce 3D frame. • Put frames back together to create 3D video
Implementation • Get the frame
Implementation • Each frame we want to produce a depth map
Implementation • Foreground extraction • 4th order moments
Implementation • Fill holes
Implementation • Determine background depth by creating a similar image but for blurred regions.
Implementation • Generate stereoscopic pair Left Right
Tools Used • Ubuntu 12.04 • C/C++ • OpenCV 2.4
References • Bradski, G., & Kaehler, A., 2008. “Learning OpenCV. United States of America: O’Reilly Media, Inc.”, pp. 8-30 • Changick, K., Jungwoo, P., Jaeho, L. & Jenq-Neng, H., 2007. Fast Extraction of Objects of Interest from Images with Low Depth of Field. ETRI, 29(3), pp. 353-363. • Jaeseung, K., Manbae, K. & Changick, K., 2007. 2D-To-3D Stereoscopic Conversion: Depth-Map Estimation in a 2D Single-View Image. Applications of Digital Image Processing XXX, pp. 1-9.