Introduction - If you have any usage issues, please Google them yourself
1. Extracting the initial boundary of the target region
2. Repeat the following steps
1) Determine whether there is still an area to be filled, and if not, exit.
2) Calculate the priority of each edge pixel block
3) Select the maximum priority point and find the best matching block based on it
4) Copy the value of the best matching block to the corresponding target area
5) Update the boundary and confidence value of the target area