Skip to main content

sharp_core

Function sharp_core 

Source
pub(crate) fn sharp_core(
    field: &[f64],
    mask: &[u8],
    grid: &Grid,
    threshold: f64,
    radius: f64,
) -> (Vec<f64>, Vec<u8>)
Expand description

SHARP with an explicit absolute kernel radius (mm).

Internal entry point shared with V-SHARP; the public sharp wrapper derives the radius from SharpParams.