 |
How
do I rotate only one of the two images (left/right) at a time?
If you are creating stereoscopic images from left and right images
taken from a
non-stereoscopic camera, you will probably need to rotate, with a very
small angle, only one of the two images to fine tune the stereoscopic
effect. Since the Rotate tool always applies to both images
at the same time, the only way to make this fine tuning is by doing it in
several operations. First create a stereoscopic image by specifying
your left image file for both left and right images. Rotate it with
the No Resize radio button selected and the Anti-aliasing
check box selected. Save only the left image under a temporary file
name. Create another stereoscopic image by specifying the temporary
image file for the left image and your right image file for the right
image. Use the Align tool to align the left and right
images. If you are not satisfied with the result, close the second
stereoscopic image without saving, then in the first stereoscopic image,
click the Undo button and rotate the image again with another angle
and redo the same other steps.
How do I know if an image file without a stER chunk may be a compatible
stereoscopic image and how do I calculate the real stereoscopic image width
from an image file width?
You can not simply divide the image file width by 2 because some
padding pixels may have been inserted. First thing to do is to
verify that the image file width is 9 or greater. If it is less than
9, then this image file is not a compatible stereoscopic image. Then
we calculate the padding width by doing a modulo 8 on the image file
width. If the result is 0, then the padding width is 0. If the
result is not 0, then subtract it from 8 to get the padding width.
Then subtract the padding pixels width from the image file width, then
divide the result by 2 to get the real stereoscopic image width.
Finally we test the calculated real stereoscopic image width by adding the
padding width to it, then doing a modulo 8 to the sum. If the result
is not 0, then the image file is not a compatible stereoscopic image.
|
|