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