CV toolbox - grab cut

Posted litun

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CV toolbox - grab cut相关的知识,希望对你有一定的参考价值。

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 - grab cut的主要内容,如果未能解决你的问题,请参考以下文章

Maxmspjitter实现实时抓取摄像头画面并制成序列图 (定时抓拍)

OpenCV 不会从 MacBook Pro iSight 中捕获

如何在 OSX 上的单独进程中读取网络摄像头?

记一次python屏幕截图写法

使用@Grab 注解编译 Groovy 项目时出错

grab设计难点