Segmentation with Global Optimal Contour Xizhou Feng 4252003
Segmentation with Global Optimal Contour Xizhou Feng 4/25/2003 1
Outline Image Segmentation Problem Global optimal contour method Find global optimal contour with genetic algorithm Results 2
Image Segmentation Problem Divide an image into a set of disjoint meaningful regions Can be treated as an optimization problem, which consists of three components: n n n =>Representation the partitions =>a set of Optimal Criteria to score partitions =>an Optimization Algorithm to search best partitions These three components are interdependent 3
A major problem of most segmentation methods Highly dependent on the definition of optimal criteria n n n The optimization algorithm is effective for one optimal criteria, but may fail to a slightly modified optimal criteria. The optimal criteria may be not correct It is difficult to incorporate prior knowledge 4
The global optimal contour method Idea: n n n Represent partitions using a set of contours Evaluate each partition to score the contour Search the optimal contour using genetic algorithm Advantage: n n Can choose any optimal criteria Always find regions and boundaries 5
Representation of Contour Point representation n S = {(x 1, y 1), (x 2, y 2), …, (xn, yn)} Path completion using local navigation n n The path between point A and B, SAB minimize k 1·ʃsds+ k 2·ʃswds At point P, two forces: Fs (the shortest path) and Fw (the minimum weight) determine the position of next point Example of local Navigation 6
Search optimal contour The contour can be evaluated using any reasonable optimal criterion combining n n boundary statistics information region statistics information prior information An simple example can be: Search a control point set which optimize the maximize score functions or minimize penalty functions, which can be done by Genetic Algorithms 7
Genetic Algorithm (Holland 1970 s) Framework of Simple GA P_current = init_population(); cal_fitness(P_current); for(g=1; g<=max. Gen; g++) { P_next = reproduction(P_current); P_current = selection(P_candidate); cal_fitness(P_current); statistics(P_current); } initial population candidate population survived population Major idea of GA n n n Population-based stochastic search The optimal solution consists of sub optimal solution Effective reproduction and selection mechanism “best” population 8
Reproduction by mutation Produce a new contour with local change, could be n n n Add a new control point Delete an original control point Change a control point locally Effective to optimize a solution locally 9
Examples of mutation 10
Reproduction by Crossover Select two contour with probability proportional to their fitness Cut each contour into two components Swap one component with each other Recombine the own component and the borrowed component into a new contour 11
Segmentation Results 12
More example 13
Conclusions Proposed global optimal contour for image segmentation n Criteria independent optimization method w Can be used to study the best optimal criteria w Can incorporate prior knowledge n Expected to always give an approximate optimal segmentation, but for current implementation, the result still need improvement 14
- Slides: 14