Beispiel #1
0
 public GLGrabber()
     : base(1100, 600)
 {
     spreadingFilter = new RectangleSpreadingFilter();
     thinLensBlur = new ThinLensDepthMapBlur(2, 10, 1, -1, 0);
     spreadingFilter.Blur = thinLensBlur;
 }
 public HybridSpreadingFilter(AbstractSpreadingFilter rectangleFilter, AbstractSpreadingFilter perimeterFilter)
 {
     Filters = new AbstractSpreadingFilter[] {
         rectangleFilter,
         perimeterFilter,
     };
     activeFilterIndex = 0;
     criterion         = new FilterSelectionCriterion();
 }