ImageJ中的Graph Cut应用


Graph Cut
ProjectFiji
URLhttps://imagej.net/Graph_Cut
Sourceon GitHub
LicenseGPLv3
Release1.0.2
DateSat Apr 29 22:44:45 CDT 2017
Development statusStable
Support statusMinimal
Team
FoundersJan Funke
LeadsJan Funke
Developers-
Debuggers-
ReviewersJan Funke
Support-
MaintainersCurtis Rueden
ContributorsJohannes SchindelinAlbert CardonaJan EglingerMark LongairYili ZhaoIgnacio Arganda-CarrerasMark Hiner

Mito-sample.png

The Graph Cut plugin provides a way to obtain a globally smooth binary segmentation. As input, you have to provide a gray-scale image that represents the pixel affinities for belonging to the foreground. Via a single parameter you can adjust the smoothness of the segmentation.

Publication

This plugin is based on a reimplementation of Kolmogorov's maxflow v3.01 library, which was written in C++. If you intend to use it for a publication, please cite:

Yuri Boykov and Vladimir Kolmogorov, An Experimental Comparison of Min-Cut/Max-Flow Algorithms for Energy Minimization in Computer Vision., In IEEE Transactions on Pattern Analysis and Machine Intelligence, September 2004.

The plugin can be found under Plugins ▶ Segmentation ▶ Graph Cut.

Settings

The only available setting so far is the "smoothness" value. Use it to adjust the penalty for label changes in the segmentation. The higher this value, the less label changes you will have, thus the segmentation gets smoother. A value of zero corresponds to thresholding the input image.

Tutorial

Assume we want to segment the following image into foreground/background, such that the foreground is the mitochondria and the background everything else:

Mito.png

Probability Image

First, we create a probability image that reflects the per-pixel probability of belonging to the foreground. For that, we can use the Trainable Weka Segmentation plugin. We train a classifier for the mitochondria and everything else. Instead of using the classifier directly for the segmentation, however, we create a probability image:

Mito-prob.png

Running Graph Cut

Now we start the Graph Cut plugin on the probability image. With the "smoothness" slider we can adjust the smoothness of the segmentation to avoid some small extrema to corrupt our segmentation. In our example, we found that a value of about 600 gives reasonable results. The outcome of the plugin is a binary image, with white being the foreground segmentation:

Mito-seg.png

Result

Finally, we merge the original image and the segmentation for illustration purposes:

Mito-comp.png

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值