Computer readable storage medium, image correction apparatus, and image correction method
AssigneeFujitsu Limited
InventorMasahiro Watanabe
Life of this patent
Estimating the term…
Abstract
An image correction apparatus includes a color temperature calculating unit that calculates a color temperature of a highlighted portion of image data captured with an image capturing unit, a distance determining unit that determines whether the color temperature calculated by the color temperature calculating unit is within a certain distance with respect to a value on a daylight locus, and an image correction unit that corrects the image data using color balance correction when the color temperature is determined to be within the certain distance with respect to the value on the daylight locus by the distance determining unit.
Claims7
A non-transitory computer readable storage medium having stored therein an image correction program, the image correction program causing a computer to execute a process comprising:
- calculating a color temperature of a highlighted portion of image data captured with an image capturing unit;
- determining whether the color temperature calculated in the calculating is within a certain distance with respect to a value on a daylight locus;
- and
- rewriting a conversion table that represents correlation between input levels and output levels of color components in accordance with the color temperature calculated in the calculating, and correcting, with reference to the conversion table, the image data using color balance correction when the color temperature is determined to be within the certain distance with respect to the value on the daylight locus in the determining, and
- obtaining a histogram of brightness upon receiving the image data, extracting, as the highlighted portion of the image data representing a portion irradiated with a light source, pixels ranking in a top 1% of brightness luminance in the image data, and calculating, as a pixel statistic which is an average value of the pixels in the highlighted portion, the average value being input levels of each of RGB components of the extracted pixels,
- wherein the determining includes measuring a distance between a plotted point of the color temperature and a point having the color temperature on the daylight locus, and determining whether the distance is within the certain distance.
An image correction apparatus comprising:
- a color temperature calculating unit that calculates a color temperature of a highlighted portion of image data captured with an image capturing unit;
- a distance determining unit that determines whether the color temperature calculated by the color temperature calculating unit is within a certain distance with respect to a value on a daylight locus;
- and
- an image correction unit that that rewrites a conversion table that represents correlation between input levels and output levels of color components in accordance with the color temperature calculated by the color temperature calculating unit, and corrects, with reference to the conversion table, the image data using color balance correction when the color temperature is determined to be within the certain distance with respect to the value on the daylight locus by the distance determining unit, and
- a pixel statistical information calculating unit that obtains a histogram of brightness upon receiving the image data, extracts, as the highlighted portion of the image date representing a portion irradiated with a light source, pixels ranking in a top 1% of brightness luminance in the image data, and calculates, as a pixel statistic which is an average value of the pixels in the highlighted portion, the average value being input levels of each of RGB components of the extracted pixels,
- wherein the distance determining unit measures a distance between a plotted point of the color temperature and a point having the color temperature on the daylight locus, and determines whether the distance is within the certain distance.
An image correction method comprising:
- calculating a color temperature of a highlighted portion of image data captured with an image capturing unit;
- determining whether the color temperature calculated in the calculating is within a certain distance with respect to a value on a daylight locus;
- and
- rewriting a conversion table that represents correlation between input levels and output levels of color components in accordance with the color temperature calculated in the calculating, and correcting, with reference to the conversion table, the image data using color balance correction when the color temperature is determined to be within the certain distance with respect to the value on the daylight locus in the determining, and
- obtaining a histogram of brightness upon receiving the image data, extracting, as the highlighted portion of the image date representing a portion irradiated with a light source, pixels ranking in a top 1% of brightness luminance in the image data, and calculating, as a pixel statistic which is an average value of the pixels in the highlighted portion, the average value being input levels of each of RGB components of the extracted pixels,
- wherein the determining includes measuring a distance between a plotted point of the color temperature and a point having the color temperature on the daylight locus, and determining whether the distance is within the certain distance.
A non-transitory computer readable storage medium having stored therein an image correction program, the image correction program causing a computer to execute a process comprising:
- calculating a color temperature of a highlighted portion of image data captured with an image capturing unit;
- determining whether the color temperature calculated in the calculating is within a certain distance with respect to a value on a daylight locus;
- and
- rewriting a conversion table that represents correlation between input levels and output levels of color components in accordance with the color temperature calculated in the calculating, and correcting, with reference to the conversion table, the image data using color balance correction when the color temperature is determined to be within the certain distance with respect to the value on the daylight locus in the determining, and
- obtaining a histogram of brightness upon receiving the image data, extracting, as the highlighted portion of the image date representing a portion irradiated with a light source, pixels ranking in a top 1% of brightness luminance in the image data, and calculating, as a pixel statistic which is an average value of the pixels in the highlighted portion, the average value being input levels of each of RGB components of the extracted pixels,
- wherein the correcting includes converting, for the color balance correction, a bright point, where colors are unnatural and biased, to white, and performing the same process on other pixels proportionately.
Dependencies are inferred from the claim text.