Struct IssKeypointDetector
pub struct IssKeypointDetector { /* private fields */ }Expand description
Intrinsic Shape Signatures keypoint detector.
Implementations§
§impl IssKeypointDetector
impl IssKeypointDetector
pub const fn new(config: IssKeypointConfig) -> IssKeypointDetector
pub const fn new(config: IssKeypointConfig) -> IssKeypointDetector
Creates a detector from config.
pub const fn config(&self) -> IssKeypointConfig
pub const fn config(&self) -> IssKeypointConfig
Returns the detector config.
pub fn detect(
&self,
input: &PointCloud,
) -> Result<IssKeypointResult, SpatialError>
pub fn detect( &self, input: &PointCloud, ) -> Result<IssKeypointResult, SpatialError>
Detects keypoints and returns their indices and a keypoint sub-cloud.
Shares one KD-tree across bounded scoped CPU workers. Saliency completes before local-maximum selection reads it. Small/one-worker calls run on the caller; neighborhood arithmetic, ties and point order are preserved.
pub fn detect_with_gpu(
&self,
runtime: &WgpuRuntime,
input: &PointCloud,
salient_capacity: u32,
non_max_capacity: u32,
) -> Result<GpuIssKeypointResult, SpatialError>
pub fn detect_with_gpu( &self, runtime: &WgpuRuntime, input: &PointCloud, salient_capacity: u32, non_max_capacity: u32, ) -> Result<GpuIssKeypointResult, SpatialError>
Explicitly uploads input and computes radius graphs, covariance, eigenvalue saliency and non-maximum suppression on the supplied GPU. CPU tree construction, ordered flag compaction and attribute gathering remain host operations; no automatic CPU fallback occurs. Both capacities include self and must fit ALL radius matches. Overflow rejects instead of silently using truncated rows. Positions/extents must be finite, radii must have positive finite nonzero f32 squares, and gamma values must be finite in [0,1]. These checks are stricter than CPU ISS. GPU f32 covariance/eigen arithmetic can change selection near threshold and NMS ties compared with the CPU’s f64 arithmetic. A nonzero evaluated local extent whose f32 square underflows the normal range returns a numerical error; no approximate zero-variance fallback.
Trait Implementations§
§impl Clone for IssKeypointDetector
impl Clone for IssKeypointDetector
§fn clone(&self) -> IssKeypointDetector
fn clone(&self) -> IssKeypointDetector
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for IssKeypointDetector
§impl Debug for IssKeypointDetector
impl Debug for IssKeypointDetector
§impl PartialEq for IssKeypointDetector
impl PartialEq for IssKeypointDetector
impl StructuralPartialEq for IssKeypointDetector
Auto Trait Implementations§
impl Freeze for IssKeypointDetector
impl RefUnwindSafe for IssKeypointDetector
impl Send for IssKeypointDetector
impl Sync for IssKeypointDetector
impl Unpin for IssKeypointDetector
impl UnsafeUnpin for IssKeypointDetector
impl UnwindSafe for IssKeypointDetector
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more