Note that it is assumed in this case that the intensity value of a background portion 342 is 0 and the intensity value of a perspective-transformed object portion (rectangular shape) 344 is a value other than 0, in order to distinguish between the perspective-transformed object portion (rectangular shape) 344 and the background portion 342.