A genetic algorithm for scratch removal from static images