Camouflage evolution simulation with Genetic algorithm

4x4 images dissapear on background.
709 Downloads
Updated 26 Feb 2011

View License

http://simulations.narod.ru/

run camouflage_ga.m

See how it works here:
http://www.youtube.com/watch?v=MGdDRJlMRbY

There are 5000 images 4x4 size (population) over background that is changed from time to time. Each image has 16 color levels in each of R G B channel. Background is also 4x4 image repeated. Fitness is 1/(1+ds) where ds mean difference between a image and background image. For crossover is used method when child is random part of one parent and another part from second parent. It is horizontal dividing to the parts. Elitism applied when best image keep unchanged to next generation. There are 2 king of mutation. Absolute mutation when some pixels get random colors. Relative mutation when some pixels get random increments to colors. Best image is on first row and last column. Worst image is second row and last column. Also shown some another 7 images. Rest 4991 images are not shown. This is Matlab program.

Cite As

Maxim Vedenyov (2024). Camouflage evolution simulation with Genetic algorithm (https://www.mathworks.com/matlabcentral/fileexchange/30544-camouflage-evolution-simulation-with-genetic-algorithm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0