Skip to main content

score_planar

Function score_planar 

Source
pub fn score_planar<M: PlanarMetric + ?Sized>(
    metric: &mut M,
    reference: &PlanarView<'_>,
    candidate: &PlanarView<'_>,
    opts: EvalOpts<'_>,
) -> MetricResult<M::Output>
Expand description

Checked native planar pair scoring. Color/encoding support is decided by the metric, which must refuse unsupported interpretation explicitly.