Local adaptive image restoration and enhancement with the use of DFT and DCT in a running window | Synapse