A method to enhance detail of an image based on noise elimination includes
calculating a noise weight corresponding to a probability that a center
pixel, located in a block of pixels of a region of the image, is noise by
using a difference between the center pixel and a surrounding pixel
located in the block of pixels, calculating a first substitution value
for the center pixel based on the noise weight; and calculating a second
substitution value for the center pixel by using the noise weight and a
sharpen filter.