Skip to main content

find_corners_u8

Function find_corners_u8 

Source
pub fn find_corners_u8(
    img: &[u8],
    w: usize,
    h: usize,
    params: &ChessParams,
) -> Vec<CornerDescriptor>
Expand description

Compute corners starting from an 8-bit grayscale image.

This is a convenience that combines:

  • chess_response_u8 (dense response map)
  • thresholding + NMS
  • subpixel refinement driven by ChessParams::refiner

ยงPanics

Panics if img.len() != w * h.