The minimum cut principle is used in image segmentation, which leads to the maximum flow minimum cut algorithm, and mainly refers to the PPT "Introduction to Min-cut/max-flow algorithms" from the UCLA CIVs, Hong Chen.
First, to borrow the two pictures of PPT to tell the application of both
1. Maximum flow for network transmission
2. Minimum cut applied to bridge problems
Second, the basic concept of the S-t map
1. Source node and sink node (sink node)
2. Forward Edge (ARC) <i from junction I to Node J, j>
3. <i per Edge, j> with non-negative capacity cap (I, J)
4. Cap (i, j) = 0 indicates no edge
Three, the flow concept in S-t diagram
The stream is a real number function, for each edge <i, j> assignment F (i, j), the stream has some of the following properties:
1. Capacity limit: F (i, J) <= Cap (i, J)
2. Mass Balance constraint (mass conservation constraints, for the time being translated), the following formula indicates:
- Sum of all traffic from the edge of the source point-all traffic to the edge of the source point = the value of the traffic
- Sum of all traffic from the edge of the meeting point-all traffic to the edge of the meeting point = negative Traffic value
- Sum of traffic of all non-source and non-sink-out edges-the sum of traffic to the edges of these points = 0
The following is an example of traffic, the source point of the 2+3, to the source point of 0, then the traffic is 5, similar to other points of inference
Introduces the concept of the maximum flow, the flow with the largest value in all possible stream functions
Iv. s-t Cut of the basic concept
The concept of cut (cut) is introduced to divide the node set with the source point S and meeting point T into two subsets of S and T, when and only if s belongs to S and T belongs to T, it is called cut. If the picture in the left is cut, the right picture is not.
V. Capacity of S-T cut
The capacity of the s-t cap ([S, T]) refers to the capacity of all the boundaries from S to T, and the specific formula is as follows:
The following is an example of how to calculate only from S to T, not counting T to S
Leads to the concept of minimum cut (minimum cut), all possible s-t cut in the smallest s-t cut.
Vi. flow of basic concepts Across s-t cut (understood as cross-flow s-t cut)
All the sum from the nodes in S to the nodes in T and the sum of the flows from the nodes in T to the nodes in S.
is an example where the calculations are from S to T and T to S.
Seven, the nature of the S-T chart
1. For arbitrary s-t cut and flow, the s-t cut capacity is the upper bound of the S-t cross flow (that is, the maximum), the reasoning process is very simple.
2. For arbitrary s-t cut, the value of cross flow of cut is equal to the value of S-t stream, this reasoning is slightly troublesome, the main idea is to divide the end of the previous item into S and T, the beginning of the latter is divided into S and T, then add and merge the previous item.
Third, for arbitrary s-t cut and flow, the capacity of S-T cut is the upper bound of the value of the stream, which is inferred from the nature and nature of the two.
Maximum flow minimum cut algorithm