pub fn radon_heatmap_image(
img: &GrayImage,
cfg: &DetectorConfig,
) -> Result<ResponseMap, ChessError>Expand description
Compute the Radon response heatmap from an image::GrayImage.
Convenience wrapper over radon_heatmap_u8 when the image
feature is enabled.
ยงErrors
Returns ChessError::Upscale if the upscale configuration in cfg is invalid.
A dimension mismatch is not possible for GrayImage since the image crate
guarantees as_raw().len() == width * height.