A sparse point inverted distance weighting color gradient interpolation.
The inverted distance weighting method uses a ratio of the inverse distances to each of the given points to determine the color of the pixel at the current point. It is a bit like having spotlights of color at each point which interacts with each other, as the light spreads out to a uniform average of all the given colors at infinity. For a Power of 2 the interpolation is also called Shepards. For lower power will sharpen the points of color, while higher power values approach the TVoronoiSampler sampler.

Figure 1: Output of a TInvertedDistanceWeightingSampler with the underlying polygon vertices marked with circles (power = 1, 2, 4, 8)
| Methods | Properties | Events |
|---|---|---|
| In TInvertedDistanceWeightingSampler: | ||
| Create | Power | |
| FinalizeSampling | ||
| GetSample | ||
| PrepareSampling | ||
| In TCustomArbitrarySparsePointGradientSampler: | ||
| Add | ||
| Clear | ||
| SetColorPoints | ||
| SetPoints | ||
| In TCustomSparsePointGradientSampler: | ||
| Color | ||
| ColorPoint | ||
| Count | ||
| Point | ||
| In TCustomSampler: | ||
| GetSampleBounds | ||
| HasBounds | ||
| In TNotifiablePersistent: | ||
| BeginUpdate | UpdateCount | OnChange |
| Changed | ||
| Destroy | ||
| EndUpdate | ||
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024