Click or drag to resize
Accord.NET (logo)

StereoAnaglyphAlgorithm Enumeration

Enumeration of algorithms for creating anaglyph images.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
Syntax
public enum Algorithm
Request Example View Source
Members
  Member nameValueDescription
TrueAnaglyph0 Creates anaglyph image using the below calculations:
  • Ra=0.299*Rl+0.587*Gl+0.114*Bl;
  • Ga=0;
  • Ba=0.299*Rr+0.587*Gr+0.114*Br.
GrayAnaglyph1 Creates anaglyph image using the below calculations:
  • Ra=0.299*Rl+0.587*Gl+0.114*Bl;
  • Ga=0.299*Rr+0.587*Gr+0.114*Br;
  • Ba=0.299*Rr+0.587*Gr+0.114*Br.
ColorAnaglyph2 Creates anaglyph image using the below calculations:
  • Ra=Rl;
  • Ga=Gr;
  • Ba=Br.
HalfColorAnaglyph3 Creates anaglyph image using the below calculations:
  • Ra=0.299*Rl+0.587*Gl+0.114*Bl;
  • Ga=Gr;
  • Ba=Br.
OptimizedAnaglyph4 Creates anaglyph image using the below calculations:
  • Ra=0.7*Gl+0.3*Bl;
  • Ga=Gr;
  • Ba=Br.
Remarks

See anaglyph methods comparison for descipton of different algorithms.

See Also