Вы находитесь на странице: 1из 21

Stereo Vision

An anaglyph is an image made up of two color layers mainly red and cyan which is observed by
the use of a particular type of colored red/cyan glass.

Colored RED/CYAN glass


The red filter blocks the blue/green components of the anaglyph image, so
the left eye sees only the red image formed from the left image.
Similarly the blue/green filter blocks the red component of the anaglyph and
thus the right eye sees only the blue/green component formed from the right
image

Types of Anaglyph

True
Anaglyph

Gray
Anaglyph

Color
Anaglyph

Half Color
Anaglyph

Dark Image

Not Dark Image

Not Dark Image

Not Dark Image

No Color
reproduction

No Color reproduction

Partinal Color
reproduction

Partial Color
reproduction

Little ghosting

More ghosting then


true anaglyph

Retinal rivalry

Less retinal rivalry


than color anaglyphs.

Generation of Anaglyph Image

Firstly we need to calibrate the two cameras by encapsulating


geometrical relationship between positions for the two cameras.

the

Rectification of the pair of images where we get a image which have no


rotation in them.
Finally generate the anaglyph image by encoding the left and right rectified
images using red and cyan filters and merging them into a single picture.

Flow Chart
STEREO CAMERA

Left Raw Image

Right Raw Image

Calibration

Calibration

Rectification

Rectification
Right Rectified Image

Left Rectified Image

Select Blue/Green Channel

Select Red Channel

Merges these two


Channels = Multichannel
Images

Anaglyph Image

Experimental result:
The figure shows the raw image:

Experimental result:
The figure shows the rectified image:

Experimental Result
The figure shows the generated Color anaglyph image:

Experimental Result
The figure shows the generated Color anaglyph image:

Experimental Result
The figure shows the generated Half Color anaglyph image:

Experimental Result
The figure shows the generated True anaglyph image:

Advantages of anaglyph image

Anybody with normal vision can see 3D in anaglyph.

Red-cyan stereoscopic glasses are common and cheap.


A singe digital projector can show anaglyphs on a screen for a
large audience, who see three dimensions through the same,
cheap, coloured glasses used for computer or print viewing.

Disadvantages

Ghosting : Major problem of anaglyph image is ghosting effect where each


eye perceives the view of other eye. It is due to the type of glasses used or
due to the display used.
Retinal rivalry : If the brightness of the two image is not the same in each
eye the effect is unpleasant.

Вам также может понравиться