1. An image processing apparatus comprising: decision means for deciding a similarity between a first pixel and a second pixel which constitute an image, by testing; and average means for subjecting the first pixel and the second pixel to weighted averaging on the basis of a decided result by the decision means.