The method according to claim 5, wherein the weighting is so performed that a weight of a first area corresponding to the common photographing area in the nearest distance from the camera within a predetermined distance range is set to a maximum value, a weight of a second area corresponding to an area other than the common photographing area in the farthest distance from the camera within the pre