Contour extraction method based on Snake model
The invention relates to a contour extraction method based on a Snake model. The method includes: A, obtaining a target color image, and converting the color image to a grayscale image through grayscale transformation; B, performing Gaussian filtering processing on the grayscale image, performing we...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a contour extraction method based on a Snake model. The method includes: A, obtaining a target color image, and converting the color image to a grayscale image through grayscale transformation; B, performing Gaussian filtering processing on the grayscale image, performing weighted average calculation with a Gaussian kernel by regarding a pixel value of the grayscale image as the weight, and outputting a calculation result; C, mapping the grayscale image after Gaussian filtering to a weighted undirected graph through a Graph Cuts algorithm, constructing a weight for each edge, constructing an energy function to express the sum of weights of a cut set of the undirected graph, calculating a minimum value of the energy function, and obtaining a segmentation result of the grayscale image; and D, setting the segmentation result as an initial contour of the Snake model, and extracting an accurate target contour through iteration processing. According to the method, the problems that the Snak |
---|