Applying genetic programming (evolutionary algorithm) to generate an artistic version of a reference input image
- Assignment submission for Artificial Intelligence course
Just replace input.bmp with another image of the same name (respecting the requirements below) then run a.out from the terminal
- Environment: any linux distribution with gcc compiler
- Dependencies: OpenGL Utility Toolkit (GLUT) installed (
GL/has to exist in directory/usr/include/) - Input image: a valid 512x512 RGB bitmap
*.bmpfile (generated by software such as MS-Paint or Pinta)
- Specify the input image file location
INPUT_IMAGE_PATHinmain.cpp - Open terminal, navigate
cdto the directory containingmain.cpp - Run
sh ./compile.shto compile the source files into an output executable - Execute the generated file using
./a.out