1. An image processing method comprising the steps of: setting a threshold value in accordance with the properties of an objective trash image to be detected; calculating the quadratic differential value of the pixel value of inputted image data; comparing said quadratic differential value and said threshold value; and detecting the trash image candidate contained in said inputted image data in accordance with the result of said comparison.