Research Article
A Global Multilevel Thresholding Using Differential Evolution Approach
Algorithm 2
Onlooker and ranking-based vector selection for DE.
(1) Input: The target vector index , the last index of onlooker , and | (2) Output: The selected vector indexes | (3) ; if then ; end if | (4) while //onlooker-like selection | (5) ; if then ; end if | (6) end while | (7) Randomly select terminal vector index | (8) while or or do | (9) Randomly select | (10) end while | (11) Randomly select the other vector index | (12) while or or do | (13) Randomly select | (14) end while |
|