ahmedfgad / GeneticAlgorithmPython

Source code of PyGAD, a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch).
https://pygad.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.79k stars 451 forks source link

Computationally restored image #219

Open 22289 opened 12 months ago

22289 commented 12 months ago

When I have an expression for calculating the restored image and there are two parameters in the expression that vary in a fixed range, I need to calculate the fitness of the restored image using the restored image and determine the values of the two parameters through the genetic algorithm, so as to obtain the restored image corresponding to the maximum fitness.

ahmedfgad commented 5 months ago

Not clear if the image restoration is done using GA or you only need to use the GA to only optimize the 2 parameters.