Research Article
Multiobjective Image Color Quantization Algorithm Based on Self-Adaptive Hybrid Differential Evolution
Pseudocode 1
The pseudocode of MoDE-CIQ.
Input color image ; | Set parameters , , , , , ; | Initialize two populations , ; | Initialize Pareto-optimal solutions set , and all individuals in POS are set to | be enough large initial values of MSE; | for to | for to | Update the first population by SaDE-CIQ (the pseudo-code is shown in [15]) with | as its objective; | Update the second population by SaDE-CIQ with as its objective; | Exchange the best solutions of the two populations; | | for to | If is a non-dominated solution and its MSE value is less than POS, | then POS; | If is a non-dominated solution and its MSE value is less than POS[], | then POS[]; | | | Output all the nonzero individuals in Pareto-optimal solutions set POS, their values of MSE, the | quantized image with the smallest value of MSE. |
|