1. An imaging apparatus, comprising: a transmittance adjusting unit configured to be capable of adjusting a transmittance of light depending on an applied voltage; an image sensor configured to capture an image by exposing light that has been transmitted through the transmittance adjusting unit; and a controller configured to acquire a plurality of pieces of image data by causing the image sensor to capture an image, to determine a cycle of flicker between the plurality of pieces of image data based on the plurality of pieces of image data, to calculate a transmittance for correcting the flicker between the plurality of pieces of image data based on the cycle of the flicker, and to set the transmittance of the transmittance adjusting unit to the calculated transmittance to cause the image sensor to capture an image.