Image.functionImage

Applies a value to the image with an arithmetic, relational, or logical operator to an image. Use these operations to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image.

This method is equivalent to the convert -function option.

class Image
void
functionImage

Parameters

params double[]

An array of values to be used by the function.

    channel ChannelType

    The channels this funtion aplies to.

    Meta