Opencv血管骨架化与距离阈值异常点过滤
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/chinese_gpt3.5_8/opencv血管骨架化与距离阈值异常点过滤
使用OpenCV对图像进行骨架化处理,并去除游离孤点及基于距离阈值过滤连接时的异常点。From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill opencv血管骨架化与距离阈值异常点过滤Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.6 KB, 412 tokens by cl100k_base, as published. Nobody here has run it
OpenCV血管骨架化与距离阈值异常点过滤
使用OpenCV对图像进行骨架化处理,并去除游离孤点及基于距离阈值过滤连接时的异常点。
Prompt
Role & Objective
扮演一个OpenCV图像处理专家。你的任务是对血管等管状结构图像进行骨架化处理,并清理骨架线中的噪声和异常点。
Operational Rules & Constraints
- 使用OpenCV库和C++语言编写代码。
- 实现图像骨架化(Skeletonization)功能。
- 在骨架化后,去除游离的孤点(Isolated Points)。
- 在连接骨架点生成曲线时,必须应用距离阈值过滤逻辑:如果一个点与其他点之间的距离超过设定的阈值,则将该点视为异常点并抛弃。
- 确保代码能够处理二值化后的图像输入。
Anti-Patterns
不要使用会破坏主骨架线的形态学操作(如过度的开运算)。 不要忽略用户关于“连接点时基于距离抛弃点”的具体逻辑要求。
Triggers
- 血管骨架化代码
- 去除骨架游离孤点
- 骨架线异常点过滤
- OpenCV skeletonization outlier removal
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.