Research Article
An Adaptive Image Enhancement Technique by Combining Cuckoo Search and Particle Swarm Optimization Algorithm
Pseudocode 2
The pseudocode of CS-PSO based image enhancement.
Begin | Objective function , | Generate initial population | of host nests | and corresponding random velocities | Calculate fitness value | by using the objective function defined in (6) | Obtain and | While ( < MaxGeneration) or (Stop Criterion) | // Original CS algorithm | Generate new position vectors | by using CS algorithm defined in (8) | // Disturbance by PSO | Update velocity and position using (10) and (11) | Calculate fitness value | by using the objective function defined in (6) | Obtain | If ( > ) | | | End if | Compare and obtain the optimal | End while | Output the enhanced image | based on optimal parameter | End |
|