Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
stacker:docs:syntheticstereo [2017/02/17 01:26] rjlittlefield [Overview] |
stacker:docs:syntheticstereo [2017/04/16 17:19] rjlittlefield added "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 | ||
===== Other Resources ===== | ===== Other Resources ===== |