Citation
BibTEX
@misc { npapadopoulos_generating_stereo_anaglyphs_with_imagemagick,
author = "Nikolaos Papadopoulos",
title = "Generating Stereo Anaglyphs with ImageMagick",
howpublished = "\url{https://www.4rknova.com/blog/2018/07/08/stereo-anaglyphs}",
month = "07",
year = "2018",
}
IEEE
[1] N. Papadopoulos, "Generating Stereo Anaglyphs with ImageMagick",
https://www.4rknova.com, 2018. [Online].
Available: \url{https://www.4rknova.com/blog/2018/07/08/stereo-anaglyphs}.
[Accessed: 01-03-2025].
When generating a pair of stereoscopic images, it’s useful to have a way of testing the disparity and overall quality without having to put on an HMD device. ImageMagick provides a set of tools that allow performing a wide range of image processing. Amongst other things it allows creating Red-Cyan anaglyphs of stereo image pairs.
The tool is very intuitive to use:
$ composite -stereo 0:0 0.png 1.png anaglyph.png
Below, you can see a stereo anaglyph of left and right eye images I generated using my own renderer XTracer, and fused together using ImageMagick.
Red-Cyan stereo glasses are required to properly view the stereo image.