Patent ID: 8890967

Claim:
An apparatus comprising: at least one memory storing instructions; and at least one processor executing the instructions to provide: a calculator configured to obtain block brightness-values of a plurality of blocks from pixel values of a plurality of pixels that is included in imaged data of a frame having the plurality of pixels, the frame being divided into the plurality of blocks; a limiter configured to substitute, for a first limit brightness-value, a block brightness-value which is more than the first limit brightness-value among the plurality of block brightness-values when the minimum value of the block brightness-values is equal to or less than the first limit brightness-value, and to substitute, for a second limit brightness-value being more than the first limit brightness-value, the block brightness-value which is more than the first limit brightness-value among the plurality of block brightness-values when the minimum value of the block brightness-values is more than the first limit brightness-value; and a controller configured to generate an average value or a median value of the plurality of block brightness-values that are substituted and not substituted by the limiter, and to control an exposure amount of an imaging device as a basis of the average value or the median value and a smaller value which is less than the first limit brightness-value.