Package qupath.opencv.tools
Class Interpolation
java.lang.Object
qupath.opencv.tools.Interpolation
Methods to help with requesting interpolated values.
Most commonly used with the indexer for an OpenCV
Mat.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Interpolation
public Interpolation()
-
-
Method Details
-
interp2D
Request a value from anIndexerusing bilinear interpolation. Values requested out of range will be replaced by the closest in-range value.- Parameters:
indexer-i- requested rowj- requested column- Returns:
- the interpolated value
-
interp3D
Request a value from anIndexerusing trilinear interpolation. Values requested out of range will be replaced by the closest in-range value.- Parameters:
indexer-i-j-k-- Returns:
- the interpolated value
-