1. An imaging apparatus comprising: a capturing section which captures images; a detection section which detects an image capturing direction of the capturing section; a setting section which sets a plurality of image capturing directions of the images for use in a composite necessary to generate a wide-angle image, based on a reference image which is a first image captured by the capturing section; a judgment section which judges whether or not the image capturing direction detected by the detection section coincides with any one of the plurality of image capturing directions set by the setting section; and an imaging control section which controls to capture an image for use in the composite by the capturing section in the image capturing direction detected by the detection section, when the judgment section judges that mutual directions coincide.