Documentation/4.0/SlicerApplication/StereoViewing

From Slicer Wiki
Revision as of 17:04, 21 November 2019 by Grundlett (talk | contribs) (Text replacement - "slicerWiki/index.php" to "wiki")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < Documentation < 4.0 < SlicerApplication < StereoViewing


For the latest Slicer documentation, visit the read-the-docs.



CURRENTLY UNDER DEVELOPMENT

The Stereo Viewing Icon

Purpose

Slicer has the capability to display data in the 3D Viewer stereoscopically in a number of fashions including Red/Blue, Anaglyphic, Interlaced. These rendering modes are automatically enabled.

The final mode, called ActiveStereo or CrystalEyes mode, requires special display hardware and is not enabled by default. You have to start Slicer from command line and use the --stereo flag when using the ActiveStereo mode. ActiveStereo mode is currently under development.

Stereo Modes Explained

The first two algorithms require only 3D glasses, not any special computer hardware configurations. The last two algorithms require special stereo-ready display systems:

Red/Blue - For use with red/blue glasses commonly available in magazines or on the internet (see http://www.3dglassesdirect.com) The scene is drawn twice (once in each color from the location of each eye). Using the glasses separates the views and recreates perspective. There is some "bleedthrough" of the images to the opposite eye, but users can generally see depth using this algorithm. The drawback to this algorithm is the natural color of objects is lost due to the red & blue only rendering.

Analglyph - This algorithm uses the same glasses as the red/blue algorithm but preserves much of the natural color of rendered objects. In general, this preserves the colors in the rendered scene, but adds depth. Some "bleedthrough" still occurs between the eyes, but there are less visual artifacts compared with the red/blue algorithm.

Interlaced - In this algorithm the pixel lines from each eye are intermixed as the picture is rendered from top to bottom. With an ordinary monitor the lines will seem "jaggy" because we are observing the left and right eye's version of the scene superimposed. However, a stereo image results when interlaced signals are fed to a specially-configured stereo monitor or stereo display panel. The Hyundai S465D is one example of a panel with a vertical interlaced rendering mode.

CrystalEyes - This stereo mode is named after the famous, legacy glasses now sold by RealD (please see the products at the following website: http://www.reald.com/Content/Crystal-Eyes-5.aspx ). This mode is also sometimes called "active stereo" or "frame sequential stereo". In this mode, successive video frames alternate between the left and right eyes as time progresses. A pair of special goggles or a special display route the signals to one eye or the other in quick succession. As long as the framerate is fast enough so the user doesn't see excessive flicker, this is a convincing rendering approach. However, this algorithm makes the most demands on the computing and display systems of all stereo options. Only some GPUs can produce active stereo, as support for OpenGL quad-buffered stereo mode is required. CrystalEyes rendering with 3D Slicer has been tested successfully on NVIDIA FX 1500, FX 4600, and FX 5600 GPUs, though these are not the only GPUs which are capable of frame sequential stereo.The display device (panel, projector, CRT, etc.) attached to the workstation must also be able to handle frame sequential stereo modes as well. Not all display devices support this rendering mode.

For this stereo mode to work it is necessary to start Slicer4 from the command line and using the --stereo option (i.e. open a shell, cd into the folder containing the slicer executable and type ./Slicer --stereo). This is only required for CrystalEyes mode. This option instructs 3D Slicer to configure a window using OpenGL Quad-buffered stereo. If you have troubles with this mode, be sure you are using current drivers for the GPU .

Warning Warning: See http://www.slicer.org/wiki/Modules:StereoViewing-3.6