码迷,mamicode.com
首页 > 其他好文 > 详细

CV toolbox(3) - grab cut

时间:2019-12-15 00:46:51      阅读:163      评论:0      收藏:0      [点我收藏+]

标签:lock   put   res   round   view   idle   str   inpu   review   

grab cut



\(1.\) segmentation

1. learning source related to interactive segmentation on github

2. project (latest achievement on CVPR2018) : Interactive Image Segmentation with Latent Diversity

3. project (latest achievement on CVPR2018) : Deep Extreme Cut: From Extreme Points to Object Segmentation

4. project (latest achievement on CVPR2019) : Curve-GCN

\(2.\) grab cut

Review of segmentation based on this blog
Learning on graph cut is based on this blog.
Learning on grab cut is based on this blog and paper.

\(2.1.\) graph cut

To help myself understand grab cut, I turn my head to learning something related to grab cut. Graph cut is one of them.

To segment a image into a object which is in our selection and the background, we can use the method of graph cut which is based on graph theory.

技术图片

\(fig2.1.1\) original image is the input image as show in the left, every pixel in which can be seen as a node. Add paths to neighbor nodes, add paths to every node and s/t node, as show in the right.

As our destination is to separate object that is in our selection areas and background. In \(fig2.1.1.R\) the paths record the value of the similarity of each pixels, which is the standard of our segmentation. When the value of a path is large, it shows that it has similarity between the pixels side of the path, which is the object we are trying to preserve. Raise a method is to find the min cut of a subgraph \(fig2.1.1.R\), then separate the subgraph, we can get the objection selection.

Now, raised a issue, how to define the similarity of each pixels.

\(2.2.\) code of grab cut in opencv

\(2.3.\) understand algorithm

Based on this blog.

\(2.4.\) deep grab cut

CV toolbox(3) - grab cut

标签:lock   put   res   round   view   idle   str   inpu   review   

原文地址:https://www.cnblogs.com/litun/p/12041458.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!