Class DuboisAnaglyphGeneratorNaive

All Implemented Interfaces:
processing.core.PConstants

public class DuboisAnaglyphGeneratorNaive extends AnaglyphGenerator
Unoptimized implementation of the Dubois Anaglyph algorithm. More information can be found here: http://www.site.uottawa.ca/~edubois/anaglyph/ particularly: http://www.site.uottawa.ca/~edubois/anaglyph/LeastSquaresHowToPhotoshop.pdf http://www.site.uottawa.ca/~edubois/icassp01/anaglyphdubois.pdf This generator is slow. Please don't use it. This is here mainly for comparison purposes with the optimized versions.
  • Constructor Details

  • Method Details

    • createRedCyanGenerator

      public static StereoscopicGenerator createRedCyanGenerator()
    • createMagentaGreenGenerator

      public static StereoscopicGenerator createMagentaGreenGenerator()
    • createAmberBlueGenerator

      public static StereoscopicGenerator createAmberBlueGenerator()
    • generateCompositeFrame

      public void generateCompositeFrame(int[] pixelDest, int[][] pixelStorage)
      Description copied from class: Generator
      Combine the component frames into one composite frame.
      Specified by:
      generateCompositeFrame in class Generator