当前位置:网站首页>Graph cuts learning
Graph cuts learning
2022-07-27 05:26:00 【Colored sponge】
Want to put the picture first , This is drawn after studying , Although the effect is not very good .
Here is how I transformed the original image into HSV and RGB passageway , Then we did it for each single channel Graph Cuts.

1.Graph Cuts It is a method of image segmentation , This method solves the energy function by using the form of graph . Determining the energy function can give corresponding weights to the edges of the graph , Thus, the energy function can be completely converted into a S/T chart , In using the properties of graph to solve the maximum flow of graph / Minimum cut , Find the global optimum, that is, the global energy is minimum .
2.graph cut Is based on graph( graph theory ) Various segmentation algorithms , Such as NCut, Minimum cut ,RatioCut, Graph cut, etc ,graph cuts Is graph cut , Used to solve problems based on MRF A method of the energy equation of .
shortcoming :
The result of the second kind of segmentation is that the global energy function is the smallest , Global optimal solution , Multi class problems cannot be optimized , It can only be a local optimal solution ;
Processing images with obvious differences in pixel values has advantages , High contrast images ,
The segmentation effect is poor when the processed image contains noise or occlusion , Easy to get wrong segmentation ;
You need to manually mark some front and rear pixels , There is human intervention ;
Initialize the foreground and background pixels Different points will lead to different degrees of the final segmentation effect , graphcuts The algorithm is very sensitive to user interaction ;
When the image contains complex background , More user interaction is needed , Use the brush / A brush Mark more backgrounds And foreground pixels .
The code download :GitHub - DamonZCR/GraphCut: Use the maximum flow and minimum cut to realize image segmentation


边栏推荐
- 素数筛选(埃氏筛法,区间筛法,欧拉筛法)
- Create datasource using Druid connection pool
- Mysql速成
- numpy 数据类型转化
- Card drawing program simulation
- SQL数据库→约束→设计→多表查询→事务
- 如何快速上手强化学习?
- JVM Part 1: memory and garbage collection part 8 - runtime data area - Method area
- B1024 scientific counting method
- Sparse array → saving and continuation of Gobang
猜你喜欢

Integrate SSM

Laozi cloud and Fuxin Kunpeng achieved a major breakthrough in 3D ofd 3D format documents for the first time

redis集群

李宏毅机器学习组队学习打卡活动day01---机器学习介绍

2021 OWASP top 6-10 collection

JVM上篇:内存与垃圾回收篇七--运行时数据区-堆

JVM上篇:内存与垃圾回收篇三--运行时数据区-概述及线程

JVM上篇:内存与垃圾回收篇九--运行时数据区-对象的实例化,内存布局与访问定位

JVM上篇:内存与垃圾回收篇五--运行时数据区-虚拟机栈

JVM Part 1: memory and garbage collection part 10 - runtime data area - direct memory
随机推荐
李宏毅机器学习组队学习打卡活动day05---网络设计的技巧
Laozi cloud and Fuxin Kunpeng achieved a major breakthrough in 3D ofd 3D format documents for the first time
Flask登录实现
Interface and abstract class / method learning demo
B1021 个位数统计
B1030 perfect sequence
34. Analyze flexible.js
2022 Zhengzhou light industry Freshmen's competition topic - I won't say if I'm killed
How idea creates a groovy project (explain in detail with pictures and texts)
内部类与静态内部类区别及举例
Three waiting methods of selenium and three processing methods of alert pop-up
The difference between strlen and sizeof
JDBC API 详解
B1030 完美数列
JVM上篇:内存与垃圾回收篇二--类加载子系统
Domestic mainstream ERP software market
李宏毅机器学习组队学习打卡活动day01---机器学习介绍
B1031 check ID card
Notes Series docker installation PostgreSQL 14
JVM上篇:内存与垃圾回收篇三--运行时数据区-概述及线程