An apparatus to compress a dynamic range of an image, and a method of
compressing the dynamic range. The apparatus includes a periphery value
production unit to calculate periphery information about peripheral
pixels on a polyhedron-by-polyhedron basis using summed area tables
produced form an analog pixel stream of a previous frame of the image,
multiply the periphery information by predetermined weight values, sum
results of the multiplications, and output the sum as a periphery value;
and a pixel value correction unit to correct a pixel value of a target
pixel included in an analog pixel stream of a current frame using the
periphery value; wherein the peripheral pixels are located around the
target pixel and included in the previous frame, and a kernel
distribution expressed in a kernel function, which is a distribution of
weight values dependent on locations of pixels included in the image, is
approximated to a sum of the polyhedrons.