这学期的计算机视觉有一个非常有趣的project:实现PhotoShop中的智能套索~在此做个记录和总结。
GitHub仓库地址:https://github.com/djybbb/Intelligent-Scissors
Intelligent Scissors 介绍
PhotoShop中磁力套索,可以用来“抠出”指定图片中想要的部分。
使用的时候,边界会“自动”地贴合到边缘,达到只需少量的人工操作就可以迅速分割出物体边界的功能。
Intelligent Scissors 资料索引
论文
论文1:Intelligent Scissors for Image Composition
(或许需要翻墙)https://dl.acm.org/citation.cfm?id=218442
论文2:Interactive Segmentation with Intelligent Scissors
(或许需要翻墙)https://www.sciencedirect.com/science/article/pii/S1077316998904804
论文1有些地方没有讲述清楚,建议综合两篇论文来看。
国外的CS project
国外的CS project页面老师会给一些资源和讲解,会有一定帮助:
http://www.cs.cornell.edu/courses/cs4670/2012fa/projects/p1_iscissors/project1.html
课程project的最终效果
在这次课程project中我最终实现了最基本的三种边缘特征,未能实现Path Cooling,也没有实现论文2中提到的桶排序和训练,故算法实现程序的Release的平均响应约2秒左右,无法达到PhotoShop中的实时效果,这有待后面的进一步实现和优化。
系列博客与总结
Intelligent Scissors 介绍 :https://blog.csdn.net/DdogYuan/article/details/80371070
Intelligent Scissors 绘图功能的构建:https://blog.csdn.net/DdogYuan/article/details/80371116
Intelligent Scissors 原理与实现:https://blog.csdn.net/DdogYuan/article/details/80554873