pub struct PerImageEval {
pub dt_scores: Vec<f64>,
pub dt_matched: Array2<bool>,
pub dt_ignore: Array2<bool>,
pub gt_ignore: Vec<bool>,
}Expand description
Per (image, category, areaRange) slice of evaluation data, in the
shape the accumulator consumes.
Built by the orchestrator from a MatchResult (private to the
crate::matching module) plus the
per-DT areas needed to apply quirk B7. Field orders mirror the
matching engine’s sorted internal orders: dt_* rows are
score-desc (stable mergesort), gt_ignore is ignore-asc.
Fields§
§dt_scores: Vec<f64>Detection scores in sorted-DT order. Length D.
dt_matched: Array2<bool>Per-(T, D) match indicator. true when the DT matched any GT
at this threshold (regardless of whether the matched GT is an
ignore-GT — that distinction is carried by dt_ignore).
dt_ignore: Array2<bool>Per-(T, D) ignore flag. Caller must fold in both B6 (matched
to ignore-GT) and B7 (out-of-area unmatched) before constructing
this struct; the accumulator treats it as authoritative.
gt_ignore: Vec<bool>Per-GT ignore flag in sorted-GT order. Length G.
Trait Implementations§
Source§impl Clone for PerImageEval
impl Clone for PerImageEval
Source§fn clone(&self) -> PerImageEval
fn clone(&self) -> PerImageEval
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for PerImageEval
impl RefUnwindSafe for PerImageEval
impl Send for PerImageEval
impl Sync for PerImageEval
impl Unpin for PerImageEval
impl UnsafeUnpin for PerImageEval
impl UnwindSafe for PerImageEval
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.