Zerene Stacker

Differences

This shows you the differences between two versions of the page.

stacker:docs:syntheticstereo [2012/04/18 13:50]
rjlittlefield [Limitations]
stacker:docs:syntheticstereo [2017/04/16 13:31] (current)
rjlittlefield [Calculating Shift Based On Viewing Angle]
Line 7: Line 7:
    
  
-Stereo and rocking are powerful ways to show off the 3-D structure of your subjects.  With Zerene Stacker, they are now also easy!  Instead of shooting a separate stack for each viewing angle, Zerene Stacker allows you to take a __single__ stack and make multiple images that can become a stereo pair, a rocking animation, even rocking stereo.+Stereo and rocking are powerful ways to show off the 3D structure of your subjects.  With Zerene Stacker, they are now also easy!  Instead of shooting a separate stack for each viewing angle, Zerene Stacker allows you to shoot a __single__ stack and then use synthetic rotation to make multiple images that can become a stereo pair, a rocking animation, even rocking stereo.
  
    
  
-In Zerene Stacker, synthetic stereo and 3-D rocking works well with a wide variety of subjects, including those with transparency, strong overlaps, bristles, and so on, that often cause problems for other packages.+In Zerene Stacker, this capability to do synthetic stereo and 3-D rocking from a single stack works well with a wide variety of subjects, including those with transparency, strong overlaps, bristles, and so on, that often cause problems for other packages.
  
    
Line 47: Line 47:
    
  
-Finally, a side-by-stereo display of a smaller part of the frame (again, crossed-eye layout).+Finally, a side-by-side stereo display of a smaller part of the frame (again, crossed-eye layout).
  
    
Line 80: Line 80:
 Different stacks will need different shifts to make a good looking stereo pair.  To help in finding a good shift, Zerene Stacker provides a simple stereo previewing facility.  Just go to Tools > Stereo... > Start Preview.  This will set up two side-by-side synchronized windows that act like Retouching except that there’s no brush and you can choose whatever output image you want in either window.  Just click on the window, then click on an entry in the Output Images list.  Repeat for the other window, and adjust your selections until the two images work well together.   Different stacks will need different shifts to make a good looking stereo pair.  To help in finding a good shift, Zerene Stacker provides a simple stereo previewing facility.  Just go to Tools > Stereo... > Start Preview.  This will set up two side-by-side synchronized windows that act like Retouching except that there’s no brush and you can choose whatever output image you want in either window.  Just click on the window, then click on an entry in the Output Images list.  Repeat for the other window, and adjust your selections until the two images work well together.  
  
- +Note that for some stacks the images may initially appear in the wrong order, so that depth is inverted.  In that case, you can reverse the order of the images in preview with four mouse clicks: select left window, select the Output Image to appear in the left window, select right window, select Output Image to appear in the right window.  If you consistently find that you need to reverse the order in preview, you can also change Preferences so that the images are created in the opposite order to start with.  Simply go to Options > Preferences > Stereo/Rocking and swap the values for first and last image shifts.  For example if -3,+3 produces images in reversed order, then swap them to be +3,-3. 
  
 Here is what the screen looked like when Stereo Previewing the sample shown above.  The left window is showing image _002, as indicated by the highlighted title bar and highlighted image name.  The right window happens to be showing image _006, although we can’t tell that from this screen capture.   Here is what the screen looked like when Stereo Previewing the sample shown above.  The left window is showing image _002, as indicated by the highlighted title bar and highlighted image name.  The right window happens to be showing image _006, although we can’t tell that from this screen capture.  
Line 116: Line 117:
    
  
-To produce any other format, you must use some external program.  The free software StereoPhoto Maker (http://stereo.jpn.org/eng/stphmkr/) allows cropping and can generate output in a wide variety of formats, including color anaglyphs for viewing with red/cyan or red/green glasses.  Animated GIF images for rocking displays can be generated by programs such as Adobe’s ImageReady and the free GIMP software (http://www.gimp.org/).  Longer sequences can be generated as looping movies by programs such as Apple’s QuickTime Player Pro (http://www.apple.com/quicktime/pro/, for Macintosh or Windows).+To produce any other format, you must use some external program.  The free software StereoPhoto Maker (http://stereo.jpn.org/eng/stphmkr/) allows cropping and can generate output in a wide variety of formats, including color anaglyphs for viewing with red/cyan or red/green glasses.  Animated GIF images for rocking displays can be generated by programs such as Adobe’s ImageReady and the free GIMP software (http://www.gimp.org/).  It can also be done with regular Adobe Photoshop, using Timeline animation as described at [[https://helpx.adobe.com/photoshop/how-to/make-animated-gif.html]].  Longer sequences can be generated as looping moviesby programs such as Apple’s QuickTime Player Pro (http://www.apple.com/quicktime/pro/, for Macintosh or Windows).
  
 ===== Tips For Best Results ===== ===== Tips For Best Results =====
Line 140: Line 141:
 If you are on a Windows computer or have Windows emulation software, you should consider getting a copy of the free StereoPhoto Maker software (http://stereo.jpn.org/eng/stphmkr/).  It provides an excellent viewer that allows displaying a single image in various display formats, including crossed-eye, parallel viewing, red-cyan anaglyphs, and many other less common forms.  It also provides a variety of editing capabilities.  Cropping is especially handy, since this feature is not yet built into Zerene Stacker. If you are on a Windows computer or have Windows emulation software, you should consider getting a copy of the free StereoPhoto Maker software (http://stereo.jpn.org/eng/stphmkr/).  It provides an excellent viewer that allows displaying a single image in various display formats, including crossed-eye, parallel viewing, red-cyan anaglyphs, and many other less common forms.  It also provides a variety of editing capabilities.  Cropping is especially handy, since this feature is not yet built into Zerene Stacker.
  
- +===== Calculating Shift Based On Viewing Angle ===== 
 + 
 +You can calculate the shift percents if you know three things: 
 +  * subjectStackWidth = frame width at the subject 
 +  * subjectStackDepth = stack depth at the subject 
 +  * viewAngle = viewing angle, measured as angular deviation from the usual straight-on view 
 + 
 +Given these values, the calculation is straightforward: 
 + 
 +  * maximumShiftInX = tan(viewAngle) * (subjectStackDepth/subjectStackWidth) * 100% 
 + 
 +For example, if you want a viewing angle that is 4 degrees off-axis, with a stack whose frame width is 10 mm and stack depth is 5 mm, then you would calculate as follows: 
 + 
 +  * subjectStackWidth = 10 
 +  * subjectStackDepth = 5 
 +  * viewAngle = 4 degrees 
 +  * maximumShiftInX = tan(4 degrees) * (5/10) * 100% = 3.4963% 
 + 
 +If you're doing the calculation in Excel, then remember to convert degrees to radians.  The formula in Excel would be: 
 + 
 +  * =TAN(RADIANS(4)) * (5/10) * 100 
 + 
 +For generating stereo pairs, simply use viewAngle = (plus and minus) separationAngle / 2 .
  
 +Viewing angles that are off axis vertically use the same rules, substituting height for width and Y for X.  Note that this means the same angle will require different shift percents for X and Y, in proportion to the frame dimensions.
 ===== Other Resources ===== ===== Other Resources =====
  
stacker/docs/syntheticstereo.1334771444.gz · Last modified: 2012/04/18 13:50
Copyright 2009-2017, Zerene Systems LLC, all rights reserved.