point_contour¶
-
glue.utils.matplotlib.
point_contour
(x, y, data)[source]¶ Calculate the contour that passes through (x,y) in data
- Parameters
x – x location
y – y location
data (
numpy.ndarray
) – 2D image
Returns:
A (nrow, 2column) numpy array. The two columns give the x and y locations of the contour vertices