1. An image processing apparatus, comprising: detecting means configured to detect a target object image region from a first image; setting means configured such that, when one or more predetermined parameters are applicable to a target object within the region detected by the detecting means, the relevant target object image region is set as a first region; and generating means configured to generate a second image by applying predetermined processing to either the image portion within the first region, or to the image portions in a second region containing image portions within the first image that are not contained in the first region.