SparseColorMethod

Determines how to fill intervening colors.

Values

ValueMeaning
UndefinedColorInterpolatecast(int)DistortImageMethod.UndefinedDistortion
BarycentricColorInterpolatecast(int)DistortImageMethod.AffineDistortion

three point triangle of color given 3 points. Giving only 2 points will form a linear gradient between those points. The gradient generated extends beyond the triangle created by those 3 points.

BilinearColorInterpolatecast(int)DistortImageMethod.BilinearReverseDistortion

Like barycentric but for 4 points. Less than 4 points fall back to barycentric.

PolynomialColorInterpolatecast(int)DistortImageMethod.PolynomialDistortion
ShepardsColorInterpolatecast(int)DistortImageMethod.ShepardsDistortion

Colors points biased on the ratio of inverse distance squared. Generating spots of color in a sea of the average of colors.

VoronoiColorInterpolatecast(int)DistortImageMethod.SentinelDistortion

Simply map each pixel to the to nearest color point given. The result are polygonal cells of solid color.

InverseColorInterpolate

Colors points biased on the ratio of inverse distance. This generates sharper points of color rather than rounded spots of ShepardsColorInterpolate Generating spots of color in a sea of the average of colors.

ManhattanColorInterpolate

Like voronoi, but resulting polygonal 'cells' are mapped to fixed coordinate system.

Meta