# README #
## About
findTheHoles is a 2D mesh reconstruction tool which automatically identifies holes in a point cloud.
![Image](images/Titelbild.png?raw=true)
## Usage
* Input:
+ XY= Nx2 matrix with point coordinates.
* Optional arguments:
+ S = Critical area ratio (real and positive number). Knots with a value higher than the ratio of maximum to minimum neighbouring polygon area are identified as hole-border points. Default value is 3.
+ M = Flag for manual editing. Default value is 0.
+ 0: No manual editing.
+ 1: Manual editing of hole-border points. After the first calculation a figure with the point cloud is opened. Automatically recognized points are marked with an 'x'. The user can add/remove not/wrongly recognized border points selecting them with the brush and clicking the appropiate button.
![Screenshot manual-editing mode](images/ManualMode.png?raw=true)
+ T = Triangulation (Nx3 matrix with polygon vertices). If not given the delaunay triangulation of X,Y is used.
* Output:
* triangulation
+ .Points: nx2 matrix with points' coordinates.
+ .ConnectivityList: nx3 matrix with the triangulation polygons.
* holes: Cell array. Each cell element is an nx1 matrix with ordered hole border point indices.
## Method
To identify the holes a triangulation of the points cloud is needed. If none is given, the delaunay triangulation is used. Points where the ratio between maximum and minimum neighbouring polygon area exceeds a critical value are identified as hole-border points. Polygons for which all vertices are identified as hole-border points are deleted. The adjacency matrix of the resulting mesh is clustered to get the holes.
## Issues
The clustering algorithm isn't fully developed yet and has issues with
interconnected holes among others.
## Examples
See file examples_findTheHoles.m
## Author
https://github.com/Gypaets
钱亚锋
- 粉丝: 107
- 资源: 1万+
最新资源
- 小米官方GitHub开源的米家集成【ha-xiaomi-home】源码
- 2023-2024年中国太阳能热发电技术产业发展现状报告-中国能建(赵晓辉).pdf
- CodeForces算法竞赛:数学、思维题、图论领域的刷题记录与题单汇总
- cefsharp 64位支持mp4,131.4.1版本已在nuget版本131.3.5上测试可用
- Java:编程世界中的强大工具
- EasyRSA-3.2.1.tar.gz
- EPSON L3168 l3160打印机废墨清零软件+教程步骤 某宝买的真实可用
- CSDNApp_242.apk
- 科研统计中有调节的中介和有中介的调节分析方法的R语言代码示例
- 1737209467879.jpg
- 用英语朗诵国学经典诗歌初中篇目
- wsl2.1.5.0.x64.msi安装包
- confluence插件下载
- mysql安装配置教程
- 微机原理课程设计报告:基于AT89C52单片机的智能风扇控制器设计与实现
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈