Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
This distribution contains the KDTREE, KDTREEIDX, and KDRANGEQUERY functions.
-----
KDTREE Find closest points using a k-D tree.
CP = KDTREE( REFERENCE, MODEL ) finds the closest points in
REFERENCE for each point in MODEL. The search is performed in an efficient manner by building a k-D tree from the datapoints in REFERENCE, and querying the tree for each datapoint in MODEL.
IDX = KDTREEIDX( REFERENCE, MODEL ) finds the closest points in REFERENCE for each point in MODEL. The search is performed in an efficient manner by building a k-D tree from the datapoints in REFERENCE, and querying the tree for each datapoint in MODEL.
PTS = KDRANGEQUERY( ROOT, QUERYPT, DISTLIM ) finds all the points stored in the k-D tree ROOT that are within DISTLIM units from the QUERYPT. Proximity is quantified using a D-dimensional Euclidean (2-norm) distance.
-----
Two demo scripts are provided (kdtree_demo.m & kdrange_demo.m).
You will need to compile the code in the kdtree/src library using the
MATLAB mex compiler. Place the compiled mex files in the kdtree/lib directory. Finally, add the kdtree/lib directory to your MATLAB path.
** Refer to the README file for more detailed instructions.
Citation pour cette source
Guy Shechter (2026). k-D tree (https://fr.mathworks.com/matlabcentral/fileexchange/4586-k-d-tree), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : Iterative Closest Point Method, C++, ataiya/kdtree, Kdtree implementation in matlab, Measures of Analysis of Time Series toolkit (MATS)
Catégories
En savoir plus sur Cluster Analysis and Anomaly Detection dans Help Center et MATLAB Answers
Informations générales
- Version 1.2.0.0 (15,4 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.2.0.0 | More detailed instructions on how to create the mex runtimes. |
||
| 1.1.0.0 | More detailed instructions on how to create the mex runtimes. |
