pub struct IssKeypointDetector { /* private fields */ }Expand description
Intrinsic Shape Signatures keypoint detector.
Implementations§
Source§impl IssKeypointDetector
impl IssKeypointDetector
Sourcepub const fn new(config: IssKeypointConfig) -> Self
pub const fn new(config: IssKeypointConfig) -> Self
Creates a detector from config.
Sourcepub const fn config(&self) -> IssKeypointConfig
pub const fn config(&self) -> IssKeypointConfig
Returns the detector config.
Sourcepub fn detect(&self, input: &PointCloud) -> SpatialResult<IssKeypointResult>
pub fn detect(&self, input: &PointCloud) -> SpatialResult<IssKeypointResult>
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.
Sourcepub fn detect_with_gpu(
&self,
runtime: &WgpuRuntime,
input: &PointCloud,
salient_capacity: u32,
non_max_capacity: u32,
) -> SpatialResult<GpuIssKeypointResult>
pub fn detect_with_gpu( &self, runtime: &WgpuRuntime, input: &PointCloud, salient_capacity: u32, non_max_capacity: u32, ) -> SpatialResult<GpuIssKeypointResult>
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§
Source§impl Clone for IssKeypointDetector
impl Clone for IssKeypointDetector
Source§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 more