摘要 |
<p>Provided is an image processing apparatus which can prevent deterioration in defect detection accuracy. The image processing apparatus includes an imaging unit and an image processing unit. The imaging unit converts a color image imaged by the imaging element to an HDR image based on a conversion characteristic for expanding a dynamic range, to output the HDR image. The image processing unit inversely converts color component values with respect to each pixel of the HDR image outputted from the imaging unit, based on the conversion characteristic, calculates brightness and a ratio of the color component values with respect to each pixel from the inversely converted color component values, and converts the calculated brightness based on the conversion characteristic, to generate a post-correction HDR image based on a ratio of the converted brightness and the calculated color component values.</p> |