Thereby, an image including a main object and a background both of which have been properly exposed can be obtained. [0182] As described above, the camera of this embodiment has the following effect in addition to the effects described in Embodiments 1 and 2.