2.1.2   Interpolation Methods for Measure Objects and the Determination of Gray Values at Specific Positions

Table 2.2 list the interpolation methods that are provided for measure objects (see Solution Guide III-A: 1D Measuring) and the determination of gray values at specific positions (e.g., get_grayval_interpolated, get_grayval_contour_xld).


Interpolation method Quality Runtime
(relative to nearest_neighbor)
Recommended usage
Measure Det. gray values

nearest_neighbor low 1 1 For time-critical applications

bilinear high 1.3 3 Standard case

bicubic /
bicubic_clipped
very high 1.8 6 For highest accuracy

Table 2.2: Interpolation methods for measure objects and the determination of gray values at specific positions and their characteristics with respect to quality, runtime, and recommended usage. Note that the runtime factors may vary depending on your hardware.