heartcv.detect_largest

heartcv.detect_largest(map)[source]

Detect the largest polygon in a heatmap produced by spectral_map.

Parameters

map (ndarray) – Heatmap produced by spectral_map.

Returns

roi – Bounding box for largest shape detected in the supplied heatmap.

Return type

tuple

See also

segment