类 KFill

    • 构造器详细资料

      • KFill

        public KFill​(int k)
        Construct a Kfill
        参数:
        k - length of side of a window, should be a odd number
      • KFill

        public KFill()
        Construct a Kfill with global settings
    • 方法详细资料

      • getK

        public int getK()
        返回:
        length of size of window
      • preprocess

        public void preprocess​(byte[] from,
                               byte[] to,
                               int width,
                               int height)
        从类复制的说明: SimplePreprocessor
        Perform preprocess operation
        指定者:
        preprocess 在类中 SimplePreprocessor
        参数:
        from - pixel array of the input image
        to - pixel array of the output image
        width - width of the input image
        height - height of the input image