Scratch detection and removal from static images using simple statistics and genetic algorithms