Skip to main content

Module diagnostics

Module diagnostics 

Source
Expand description

Opt-in diagnostic channel for inspecting how a detection was produced.

The items in this module expose intermediate evidence from the detector pipeline — the dense ChESS response map and the Radon heatmap — rather than the detection result itself. They exist for debugging, parameter tuning, and visualization: rendering a response map as an overlay, checking why a corner was or was not seeded, or sweeping a threshold against a heatmap.

These are not part of the normal detection result contract. The supported way to obtain corners is Detector plus DetectorConfig; a typical consumer never needs this module.

§Stability

This channel carries a looser stability promise than Detector and DetectorConfig. The shape of an intermediate response map or heatmap may change as the detector internals evolve, even when the detection result contract does not. Treat anything reachable here as advisory diagnostic data, not a versioned API guarantee.

Structs§

DetectorDiagnostics
Detector-bound accessor for the diagnostic outputs in this module.
ResponseMap
Storage for a dense detector response map (one score per pixel). Dense response map in row-major layout.

Functions§

chess_response_u8
Compute the dense ChESS response map for an 8-bit grayscale image. Compute the dense ChESS response for an 8-bit grayscale image.
radon_heatmap_image
Compute the Radon corner heatmap from an image::GrayImage. Compute the Radon response heatmap from an image::GrayImage.
radon_heatmap_u8
Compute the Radon corner heatmap for an 8-bit grayscale buffer. Compute the whole-image Radon response heatmap from a raw grayscale buffer.