Click3dPoint
Lets the user select a point from a 3D point cloud by clicking on it. The selected point is highlighted and its index is printed.
This is a useful tool if you work with 3D point clouds. You can change the mouse click callback function so instead of highlighting the selected point other operations are done.
The math is pretty simple:
First, the transformation between the viewing frame and the point cloud frame is calculated using the camera viewing direction and the 'up' vector. Then, the point cloud is transformed into the viewing frame. Finally, The z coordinate in this frame is ignored and the x and y coordinates of all the points are compared with the mouse click location and the closest point is selected.
Citation pour cette source
Babak Taati (2024). Click3dPoint (https://www.mathworks.com/matlabcentral/fileexchange/7594-click3dpoint), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Image Processing and Computer Vision > Computer Vision Toolbox > Point Cloud Processing >
- Robotics and Autonomous Systems > Automated Driving Toolbox > Detection and Tracking > Lidar Processing >
- Automotive > Automated Driving Toolbox > Detection and Tracking > Lidar Processing >
Tags
Remerciements
A inspiré : Get Rotation Matrix from 2 Orthogonal Planes, portfolio_sortino_ratio
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.5.0.0 | minor change (typo fix) |
||
1.2.0.0 | minor changes (style, wording, etc) |
||
1.0.0.0 | update: use 'dsearchn' for nearest neighbour search. |