1. An image processing apparatus comprising: depth value detecting means for detecting depth values of individual pixels of an input image; integrating means for integrating the depth values in each predetermined region of the input image; analyzing means for analyzing the tendency of an integrated result of the depth values in each predetermined region of the input image; and processing means for processing the input image on the basis of an analysis result obtained by the analyzing means.