类 ReduceNoiseFilter

  • 所有已实现的接口:
    BufferedImageOp, Cloneable

    public class ReduceNoiseFilter
    extends WholeImageFilter
    A filter which performs reduces noise by looking at each pixel's 8 neighbours, and if it's a minimum or maximum, replacing it by the next minimum or maximum of the neighbours.
    • 构造器详细资料

      • ReduceNoiseFilter

        public ReduceNoiseFilter()
    • 方法详细资料

      • filterPixels

        protected int[] filterPixels​(int width,
                                     int height,
                                     int[] inPixels,
                                     Rectangle transformedSpace)
        从类复制的说明: WholeImageFilter
        Actually filter the pixels.
        指定者:
        filterPixels 在类中 WholeImageFilter
        参数:
        width - the image width
        height - the image height
        inPixels - the image pixels
        transformedSpace - the output bounds
        返回:
        the output pixels