Interface PixelFunction

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface PixelFunction

    Function which is applied for a given pixel in the given image

    Since:
    1.0
    Author:
    Christoph Praschl
    • Method Detail

      • apply

        void apply​(ImageWrapper<?> image,
                   int x,
                   int y,
                   int c)
        Method which is applied for a given pixel in the given image
        Parameters:
        image - image
        x - x coordinate
        y - y coordinate
        c - channel