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