An automatic image correction circuit automatically performs image
correction on obtained image data. The automatic image correction circuit
includes the following elements. A storage unit stores setting values
used for the image correction. A reading portion reads the setting values
stored in the storage unit every time the image correction is performed
on one frame of the image data. A writing portion writes new setting
values into the storage unit at a timing different from a timing at which
the reading portion reads the new setting values.