Chan-Vese level-sets in Python
=============================
Numpy adaptation of the Chan-Vese level-sets code from creaseg
(http://www.creatis.insa-lyon.fr/~bernard/creaseg/). The relevant file from the
original source code is in the ``creaseg/`` folder.
The code from Burak Bayramli
(http://ascratchpad.blogspot.com/2011/03/image-segmentation-using-active.html)
has been useful when performing this adaptation.
The Chan-Vese level sets model aims at minimizing the energy:
![Chan-Vese equation](equation/equation.png)
where I is the image, C is the boundary of the segmented region, c_1 and c_2 are
the averages of I respectively inside and outside C, and kappa is the curvature
of C.
Example
-------
``python chanvese.py``
<img src="levelset.gif" height="200">
Reference
---------
T. Chan and L. Vese. "Active contours without edges".
IEEE Transactions on Image Processing. Volume 10, pp. 266-277, February 2001.
Airva128
- 粉丝: 24
- 资源: 4670
最新资源
- 计算机毕业设计:python+爬虫+cnki网站爬
- nyakumi-lewd-snack-3-4k_720p.7z.002
- 现在微信小程序能用的mqtt.min.js
- 基于MPC的非线性摆锤系统轨迹跟踪控制matlab仿真,包括程序中文注释,仿真操作步骤
- shell脚本入门-变量、字符串, Shell脚本中变量与字符串的基础操作教程
- 基于MATLAB的ITS信道模型数值模拟仿真,包括程序中文注释,仿真操作步骤
- 基于Java、JavaScript、CSS的电子产品商城设计与实现源码
- 基于Vue 2的zjc项目设计源码,适用于赶项目需求
- 基于跨语言统一的C++头文件设计源码开发方案
- 基于MindSpore 1.3的T-GCNTemporal Graph Convolutional Network设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
评论0