Skip to main content

blob_detection

Function blob_detection 

Source
pub fn blob_detection(
    image: &Array2<f64>,
    min_sigma: f64,
    max_sigma: f64,
    num_sigma: usize,
    threshold: f64,
    overlap: f64,
) -> Result<Vec<Blob>, ErrorsJSL>
Expand description

Detects bright blobs of scale between min_sigma and max_sigma (num_sigma geometrically spaced scales). A detection must be a local maximum over its 3×3×3 neighbourhood in position and scale with a normalised response above threshold; of two detections overlapping by more than overlap (a fraction of the smaller blob’s area, in [0, 1]) only the stronger is kept. The image intensity scale matters for threshold (about 0.1 is reasonable for images in [0, 1]).