类 WholeImageFilter

    • 字段详细资料

      • transformedSpace

        protected Rectangle transformedSpace
        The output image bounds.
      • originalSpace

        protected Rectangle originalSpace
        The input image bounds.
    • 构造器详细资料

      • WholeImageFilter

        public WholeImageFilter()
        Construct a WholeImageFilter.
    • 方法详细资料

      • transformSpace

        protected void transformSpace​(Rectangle rect)
        Calculate output bounds for given input bounds.
        参数:
        rect - input and output rectangle
      • filterPixels

        protected abstract int[] filterPixels​(int width,
                                              int height,
                                              int[] inPixels,
                                              Rectangle transformedSpace)
        Actually filter the pixels.
        参数:
        width - the image width
        height - the image height
        inPixels - the image pixels
        transformedSpace - the output bounds
        返回:
        the output pixels