Simple image denoising using Ising model