主权项 |
1. A scanner system comprising:
a scanning unit configured to scan a document; a processor configured to determine whether to perform a first process or a second process based on whether a color correction process is a contrast or brightness correction, wherein the first process is performed if the color correction process includes a contrast or brightness correction and the second process is performed if the color correction process modifies a color value; and implement at least one of the first process and the second process; wherein the first process comprises:
generating scan image data in accordance with the scanning by the scanning unit, wherein each pixel of the scan image data is defined as a coordinate in an RGB color space;generating a first image data by applying a first input-side color conversion profile to the scan image data, wherein each pixel of the first image data is defined as a coordinate in a second color space different from the RGB color space, wherein the second color space is a L*a*b* color space and each coordinate in the L*a*b* color space corresponds to the associated coordinate in the RGB color space;generating a second image data by correcting at least one of contrast and brightness of the first image data in the L*a*b* color space by changing a value of at least one coordinate within the L*a*b* color space;generating a third image data by applying an output-side color conversion profile to the second image data, wherein each pixel of the third image data is defined as a coordinate in a third color space different from the second color space, wherein the third color space comprises an sRGB color space;generating a first processed image data based on the third image data; andoutputting the first processed image data with a second input-side color conversion profile in the sRGB color space, the second input-side color conversion profile being different from the first input-side color conversion profile; and wherein the second process comprises:
generating the scan image data in accordance with the scanning by the scanning unit, wherein each pixel of the scan image data is defined as a coordinate in the RGB color space;generating the first image data by applying the first input-side color conversion profile to the scan image data, wherein each pixel of the first image data is defined as a coordinate in the L*a*b* color space and each coordinate in the L*a*b* color space corresponds to the associated coordinate in the RGB color space;generating a fourth image data by applying the output-side color conversion profile to the first image data, wherein each pixel of the fourth image data is defined as coordinate in the sRGB color space and converted from the L*a*b* color space without correcting at least one of contrast and brightness of the first image data in the L*a*b* color space;generating a fifth image data by correcting at least one RGB value of the fourth image data within the sRGB color space by changing the at least one RGB value;generating a second processed image data based on the fifth image data; andoutputting the second processed image data with the second input-side color conversion profile. |