Skip to main content

detect_peaks_from_radon

Function detect_peaks_from_radon 

Source
pub fn detect_peaks_from_radon(
    resp: &RadonResponseView<'_>,
    params: &RadonDetectorParams,
) -> Vec<Corner>
Expand description

Stage 1 of Radon detection: threshold + NMS + cluster-filter + 3-point Gaussian peak-fit on the response map.

The 3-point Gaussian peak-fit is a response-map subpixel operation (not image-domain refinement), so it stays inside this stage. The output is already subpixel in the input-image frame (positions are divided by image_upsample). Image-domain refinement against the input pixels is the caller’s choice and lives in crate::refine_corners_on_image.