The present invention discloses an
image segmentation algorithm based on an ALR (Automatic Local Ratio)-CV (Chan Vese) model and edge transition. The
algorithm comprises the following steps of: 1) obtaining
image edge information; 2) calculating and obtaining a distance map of a binary
system edge
mask according to the binary
system edge
mask of the edge information; 3) constructing an ETM (Edge Conversion Map) (x, y) according to the distance map; 4) minimizing an
energy functional ECV of a CV model, obtaining an equation (2) of a
level set function, removing regular terms in the equation (2)to obtain an equation (3), dividing the sides of the equal sign of the equation (3) by an energy item
weight coefficient [
Lambda]1, performing normalization in the execution process, obtaining an equation (6), replacing a general ratio of the energy item
weight coefficient in the original CV model with a local ratio of the energy item
weight coefficient, and obtaining an ALR-CV model; and 5) employing the ALR-CV model to segment the edge conversion map ETM (x, y). The automatic local ratio is introduced to automatically perform parameter regulation of the CV model to enhance segmentation performances of the CV model, so that
curve evolution cannot be forced to always stay at a
fixed position, and part of boundaries can be flexibly neglected.