/** * Construct with the given support region for selecting pixels to take the * median from. The support mask is a set of <code>n</code> relative x, y * offsets from the pixel currently being processed, and can be created * using the methods or constants in the {@link FilterSupport} class. * * @param support * the support coordinates */ public MinMaxAnalyser(Set<Pixel> support) { this.support = support; if (FilterSupport.isBlockSupport(support)) { blockWidth = FilterSupport.getSupportWidth(support); blockHeight = FilterSupport.getSupportHeight(support); } }
/** * Construct with the given support region for selecting pixels to take the * median from. The support mask is a set of <code>n</code> relative x, y * offsets from the pixel currently being processed, and can be created * using the methods or constants in the {@link FilterSupport} class. * * @param support * the support coordinates */ public MaxFilter(Set<Pixel> support) { this.support = support; if (FilterSupport.isBlockSupport(support)) { blockWidth = FilterSupport.getSupportWidth(support); blockHeight = FilterSupport.getSupportHeight(support); } }
/** * Construct with the given support region for selecting pixels to take the * median from. The support mask is a set of <code>n</code> relative x, y * offsets from the pixel currently being processed, and can be created * using the methods or constants in the {@link FilterSupport} class. * * @param support * the support coordinates */ public MaxFilter(Set<Pixel> support) { this.support = support; if (FilterSupport.isBlockSupport(support)) { blockWidth = FilterSupport.getSupportWidth(support); blockHeight = FilterSupport.getSupportHeight(support); } }
/** * Construct with the given support region for selecting pixels to take the * median from. The support mask is a set of <code>n</code> relative x, y * offsets from the pixel currently being processed, and can be created * using the methods or constants in the {@link FilterSupport} class. * * @param support * the support coordinates */ public MinFilter(Set<Pixel> support) { this.support = support; if (FilterSupport.isBlockSupport(support)) { blockWidth = FilterSupport.getSupportWidth(support); blockHeight = FilterSupport.getSupportHeight(support); } }
/** * Construct with the given support region for selecting pixels to take the * median from. The support mask is a set of <code>n</code> relative x, y * offsets from the pixel currently being processed, and can be created * using the methods or constants in the {@link FilterSupport} class. * * @param support * the support coordinates */ public MinMaxAnalyser(Set<Pixel> support) { this.support = support; if (FilterSupport.isBlockSupport(support)) { blockWidth = FilterSupport.getSupportWidth(support); blockHeight = FilterSupport.getSupportHeight(support); } }
/** * Construct with the given support region for selecting pixels to take the * median from. The support mask is a set of <code>n</code> relative x, y * offsets from the pixel currently being processed, and can be created * using the methods or constants in the {@link FilterSupport} class. * * @param support * the support coordinates */ public MinFilter(Set<Pixel> support) { this.support = support; if (FilterSupport.isBlockSupport(support)) { blockWidth = FilterSupport.getSupportWidth(support); blockHeight = FilterSupport.getSupportHeight(support); } }