colour.NearestNeighbourInterpolator#
- class colour.NearestNeighbourInterpolator(x: Any, y: Any, *args: Any, **kwargs: Any)[source]#
Bases:
_DispatchingInterpolatorPerform nearest-neighbour interpolation on discrete data.
Resolve the backend from the input data and delegate to the matching backend-specialised implementation, selecting the closest known data point for each query position.