Estimating error diffusion kernel from error diffused images