Class WholeImageFilter

    • Constructor Detail

    • Method Detail

      • transformSpace

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

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