PixelInterpolateMethod

enum PixelInterpolateMethod : Enum<PixelInterpolateMethod>

Set the pixel color interpolation method to use when looking up a color based on a floating point or real value.

 

When looking up the color of a pixel using a non-integer floating point value, you typically fall in between the pixel colors defined by the source image. This setting determines how the color is determined from the colors of the pixels surrounding that point. That is how to determine the color of a point that falls between two, or even four different colored pixels.

Entries

Link copied to clipboard

Direct spline curves (colors are blurred)

Link copied to clipboard

The nearest pixel to the lookup point (rounded function)

Link copied to clipboard

Divide area into two flat triangular interpolations

Link copied to clipboard

The color of the top-left pixel (floor function)

Link copied to clipboard

Fitted bicubic-spines of surrounding 16 pixels

Link copied to clipboard
Link copied to clipboard

A double linear interpolation of pixels (the default)

Link copied to clipboard
Link copied to clipboard

The average color of the surrounding sixteen pixels

Link copied to clipboard

The average color of the surrounding nine pixels

Link copied to clipboard

The average color of the surrounding four pixels

Link copied to clipboard

Unset value.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int