Class ColoredToGreyscaleFunction<I,​T>

    • Constructor Detail

      • ColoredToGreyscaleFunction

        public ColoredToGreyscaleFunction()
    • Method Detail

      • apply

        public ImageWrapper<T> apply​(ImageWrapper<I> imageWrapper)
        Converts a given image wrapper into a greyscale image
        Specified by:
        apply in interface Function<I,​T>
        Parameters:
        imageWrapper - the colored input image supported types: see supportedTypes
        Returns:
        a greyscale image