Research Article
Multithreshold Segmentation by Using an Algorithm Based on the Behavior of Locust Swarms
Algorithm 2
Segmentation LS algorithm.
(1) Input: , , , , , , and . | (2) Initialize ( = 0) | (3) until ( = ) | (4) () Solitary operator (Section 3.1) | (5) (, ) Social operator (Section 3.2) | (6) = k + 1 | (7) end until | (8) Obtain | (9) Reduce | (10) Calculate the threshold values from the reduced model | (11) Use to segment the image |
|