Changes between Version 1 and Version 2 of doc/app/img2stereo


Ignore:
Timestamp:
Aug 9, 2012 3:28:21 PM (13 years ago)
Author:
maronga
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/img2stereo

    v1 v2  
    1 .
     1= img2stereo =
     2== Overview ==
     3
     4img2stereo is a wrapping tool for converting images for left and right eye into anaglyph images that can be viewed in 3D with standard red/cyan glasses. You find the script in {{{trunk/SCRIPTS/img2video}}} (available since r982).
     5
     6== Requirements ==
     7
     8img2stereo requires the Mencoder package (contained in Mplayer).\\
     9\\
     10== User Instructions for Converting a Single Pair of Images ==
     11
     121. Run img2stereo as follows:{{{img2stereo #1 #2}}}, where {{{#1}}} and {{{#2}}} are the images for the left and right eye, respectively.\\\\'''Example:''' {{{img2stereo /home/username/stereo/lefteye.png /home/username/stereo/righteye.png}}}\\\\You will find the stereo image in the same directory as the left/right eye images are located.
     13
     14== User Instructions for Converting a Series of images ==
     15
     161. Prepare two folders with your input files. \\e.g. “/home/username/stereo/left” containing the files “image_left_0000.png”  to “image_left_3999.png” and  “/home/username/stereo/right/” containing the files “image_right_0000.png”  to “image_right_3999.png”. Make sure that both folders contain the same amount of images.\\\\
     172. Run img2stereo with at least the {{{-n}}} and {{{-l}}}and {{{-r}}} parameters, \\'''Example:''' {{{img2stereo -l /home/username/stereo/left -r  /home/username/stereo/right -n image}}}\\The stereo images will be placed in a directory called {{{stereo}}} in the parent directory of the left/right eye images.
     18
     19== Other parameters ==
     20You can switch on conversion into grayscale, which is highly recommended for anaglyph images by using the option {{{-g}}}.