Camouflage evolution simulation with Genetic algorithm

版本 1.0.0.0 (36.2 KB) 作者: Maxim Vedenyov
4x4 images dissapear on background.
710.0 次下载
更新时间 2011/2/26

查看许可证

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.

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Genetic Algorithm 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0