I want to see the GA application when processing images. I did not get how to write a fitness function for any image. Let's say I have an image in gray, which is not very clear, now if I continue to compare my generated solution with this image value, then my solution will be better, since better clarity will increase contrast / brightness, etc.
source
share