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
.- Author:
- Pete Bankhead
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Interpolation
public Interpolation()
-
-
Method Details
-
interp2D
Request a value from anIndexer
using 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 anIndexer
using 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
-