Skip to main content

find_chess_corners_buff

Function find_chess_corners_buff 

Source
pub fn find_chess_corners_buff(
    base: ImageView<'_>,
    cfg: &ChessConfig,
    buffers: &mut PyramidBuffers,
) -> Vec<CornerDescriptor>
Expand description

Detect corners using a caller-provided pyramid buffer.

  • When cfg.multiscale.pyramid.num_levels <= 1, this behaves as a single-scale detector on base.
  • Otherwise, it builds a pyramid into buffers, runs a coarse detector on the smallest level, refines each coarse seed inside a base-image ROI, merges near-duplicate corners, and finally converts them into CornerDescriptor values sampled at the full resolution.