Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
stacker:docs:syntheticstereo [2017/02/17 01:26] rjlittlefield [Overview] |
stacker:docs:syntheticstereo [2022/02/23 23:26] rjlittlefield [Calculating Shift Based On Viewing Angle] |
||
---|---|---|---|
Line 141: | 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. | ||
+ | |||
+ | Recent versions of Zerene Stacker include a Stereo Shift Calculator, which automates the above computations. | ||
+ | |||
+ | Here is an example of its use, corresponding to the numbers shown above: | ||
+ | {{:stacker:docs:syntheticstereo:image008.jpg}} | ||
===== Other Resources ===== | ===== Other Resources ===== | ||
- | Some additional discussion and more example images can be found at http://www.photomacrography.net/forum/viewtopic.php?t=7819. | + | Some additional discussion and more example images can be found at [[http://www.photomacrography.net/forum/viewtopic.php?t=7819]] . |
+ | |||
+ | For a comparison of synthetic stereo versus true stereo, see [[https://www.photomacrography.net/forum/viewtopic.php?t=33923]] . | ||
===== Limitations ===== | ===== Limitations ===== | ||
Line 166: | Line 197: | ||
- | |||
- | Tools > Stereo... > Make Stereo Pair(s) cannot be used in batch mode at this time. This also will be addressed in a future update. | ||
- | |||
- |