private IEnumerable <Rectangle> GetReductionIdentityRectangles(Rectangle source) { var regionCreationStrategy = new NonOverlappingRegionCreationStrategy(5, 5); return(regionCreationStrategy.GetRegions(source)); }
private IEnumerable <Rectangle> GetLowResRectangles(Rectangle source) { NonOverlappingRegionCreationStrategy regionCreationStrategy = new NonOverlappingRegionCreationStrategy(10, 10); return(regionCreationStrategy.GetRegions(source)); }