#[non_exhaustive]pub struct ScaledResponse {
pub response: ResponseMap,
pub scale_map: OwnedImage<Scalar>,
}Expand description
FRST response paired with a per-pixel winning-radius map.
Returned by frst_response_scaled. Field access (.response,
.scale_map) is stable; the struct is #[non_exhaustive] to allow future
diagnostic fields.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.response: ResponseMapSummed multi-radius FRST response, bit-for-bit identical to
frst_response.
scale_map: OwnedImage<Scalar>Per-pixel winning radius: the candidate radius whose single-radius
response was largest at that pixel (0.0 where no radius voted). Lets
the pipeline score and refine each proposal at its own scale instead of
a single global radius hint.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScaledResponse
impl RefUnwindSafe for ScaledResponse
impl Send for ScaledResponse
impl Sync for ScaledResponse
impl Unpin for ScaledResponse
impl UnsafeUnpin for ScaledResponse
impl UnwindSafe for ScaledResponse
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.