摘要 |
An image processing device includes an initialization module, an optical black detection module, a calculation module, an image capturing module, a gain-value acquiring module, a gain adjusting module, and a pixel value adjusting module. The calculation module is configured for calculating the gain-coefficient. The image capturing module is configured for capturing an image of an object and acquiring the pixel value of each pixel of the image. The gain-value acquiring module is configured for acquiring a gain value according to the pixel values of the image. The gain adjusting module is configured for multiplying the gain value by the gain-coefficient to obtain an adjusted-gain value. The pixel value adjusting module is configured for multiplying the pixel values by the adjusted-gain value to adjust the pixel values.
|