This application claims priority from Korean Patent Application No. 10-2006-0001023 filed on Jan. 4, 2006 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety.
1. Field of the Invention
Methods and apparatuses consistent with the present invention relate to editing an optimized color preference, and more particularly, to editing an optimized color preference of an input image by educating a user about color preference patterns by using a neural network when correcting the color information of a color preference area.
2. Description of the Related Art
Digital devices that reproduce color, such as a monitor, a scanner, a printer and others have diversified their functions and enhanced their quality so as to satisfy various requests of users, and are using different color spaces or color models, depending on the field each device is used in. Color models are divided into a device-dependent model and a device-independent model. The device-dependent models include the RGB model, which is an additive color space model, and the CMYK color model, which is a subtractive color space model. And the device-independent models include the CIE L*a*b model, CIE XYZ model, CIE LUV model, and others. For example, the CMYK color space is used in the printing field, and the RGB color space is used in computer monitors.
Further, color preference refers to colors stochastically having a high preference in a color space. The color preference greatly influences the image output performance of the printer or the display device. Therefore, many inventions for editing and correcting the color preference have been disclosed.
However, color transformation appropriate for an individual preference of a user is difficult because the related art inventions provide general color preference transformation functions, and it takes significant time for color preferences to be edited by providing a preference area on a predefined color space to a user, which are problems.
The present invention provides an apparatus and method for editing an optimized color preference, which can teach a neural network about a preference by extracting data about an individual user's preference in reproducing color preferences, and can predict color information variation by using the neural network.
According to an exemplary embodiment of the present invention, there is provided an apparatus for editing an optimized color preference, the apparatus including a color information controlling unit which extracts data about a preference by comparing color information of a transformed image generated by transforming color information of an original image and the original image according to a user preference; a learning unit in which a neural network learns about the preference, based on the extracted data, and which predicts color information variation by the neural network; and an image correcting unit which corrects color information of an input image according to the predicted color information variation.
According to another exemplary embodiment of the present invention, there is provided a method for an editing optimized color preference, the method including extracting data about a preference by comparing color information of a transformed image generated by transforming color information of an original image and the original image according to a user preference; teaching a neural network about the preference, based on the extracted data; predicting color information variation by the neural network; and correcting color information of an input image according to the predicted color information variation.
The above and other aspects of the present invention will become more apparent by describing in detail certain exemplary embodiments thereof with reference to the attached drawings in which:
Exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Aspects of the present invention and methods of accomplishing the same may be understood more readily by reference to the following detailed description of exemplary embodiments and the accompanying drawings. The present inventive concept may, however, be embodied in many different forms and should not be construed as being limited to the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of the invention to those skilled in the art, and the present invention will only be defined by the appended claims. Like reference numerals refer to like elements throughout the specification.
First, if color information of an original image is input to the color-information-controlling unit 100, a user transforms the color information according to his preference, and the color-information-controlling unit 100 extracts data about a user's preference by comparing the color information of the original image and the color information of the transformed image. The color information about the original image is expressed in
The role of the color-information-controlling unit 100 is specifically described with reference to
In
The color preference denotes a color effectively responding to the visual sense of a user, and in the present invention, the color preference can refer to, for example, skin color, sky blue or grass green, or the like. Because the color preference has the largest effect on the quality of a printed image, the color preference becomes an object for editing according to the preference pattern of the user among various colors.
A process where the color information controlling unit 100 extracts data through a user interface is described with reference to
An original image and a preview image transformed by a user preference are displayed at the left side of
Further, the color information controlling unit 100 repeatedly extracts data (Δ L*, Δ C*, and Δ h) about a preference pattern of the user by the above process, and outputs information about coordinates (TL, TC, Th) of color information of a certain target point and a determination variable P on a color preference area constituting the original image together to the learning unit 200.
The learning unit 200 educates (i.e., teaches) the neural network 210 on the preference by using the extracted data (Δ L*, Δ C*, and Δ h), coordinates (TL, TC, Th) of a certain target point, and the determination variable P information on the color preference area, and the learning unit 200 predicts color information variation (Δ Lo*, Δ Co*, Δ ho) in advance by using the educated neural network. The neural network 210 is described with reference to
To the input layer is input color information (Li*, Ci*, and hi) of the original image, color information (TL, TC, Th) of a certain target point specified according to a user preference, and determination variable information P to determine one area among color preference areas comprising the original image. Here, the determination variable information grants different determination variables by color preference areas. For example, 0 is granted for skin color, 1 for sky blue, and 2 for grass green.
If such information is input to the input layer 211, the neural network 210 uses a connection weight so as to reflect connection of layers, and the output layer 213 of the neural network 210 calculates an input value by using the transmitted input information and the connection weight, then predicts color information variation (indicated as Δ Lo*, Δ Co*, Δ ho in
The neural network 210, which predicts color information variation of the input image by the above method in advance, can be learned by applying a back-propagation algorithm. The back-propagation algorithm is a multilayer algorithm and a learning algorithm used in a feed forward neural network, and because a supervised learning is used for learning, there should be input data and wanted output data in order to extract data. First, if a process of multiplying and adding input data (for example, in the exemplary embodiment of the present invention, seven units of data) of the input layer is repeated, an output, a result value, is the outcome. Here, because the output is different from a wanted output value given in data, a target error, which is a difference between the output, a result of the input, and an output value, is generated, and the weight of the output layer 213 is updated in proportion to the error, then the weight of the middle layer 212 is updated. For all data, the weight is updated until the error becomes smaller than a critical value. The critical value may be predetermined. In other words, the direction of updating the weight is opposite to the processing direction. If the weight is continually updated like the above, it becomes possible for the neural network 210 to predict in advance how much color information needs to be corrected on a new input image. The predicted value is indicated as Δ Lo*, Δ Co*, Δ ho, which are color information variation, in
If a new input image is input to an optimized color preference editing apparatus, as the image correcting unit 300 reflects the predicted color information variation (Δ Lo*, Δ Co*, Δ ho) on color information (Linew*, Cinew*, and hinew) of the new input image, a new image, which is a correction of the input image, is output. The color information corrected by the image correcting unit 300 is indicated as Lo*, Co*, ho, showing that the information is toward the output image.
Further,
The term “unit” used in this exemplary embodiment refers to a hardware element such as a Field Programmable Gate Array (FPGA) or an Application Specific Integrated Circuit (ASIC), and “unit” executes certain roles. “Unit” can exist in addressable storage media, or regenerate one or more processors. For example, “unit” can include software elements, object-oriented software elements, class elements, task elements, processes, functions, attributes, procedures, circuits, data, database, data structures, tables, arrays, and/or variables. Elements and functions provided in “units” can be combined into fewer elements or “units”, or can be divided into additional elements and ‘units’.
Hereinafter, an exemplary embodiment of the present invention is described with reference to
First, the color information controlling unit 100 extracts data (Δ L*, Δ C*, Δ h) on preference by comparing color information (Li*, Ci*, and hi) of an original image and color information of a transformed image made by transforming the original image according to the a user preference S100.
In step S100, if the color preference area selecting unit 110 selects a certain color preference area of the original image, the color information transforming unit 120 selects and transforms at least one set of information among color information of the selected color preference area, thereby generating the transformed image. And the data extracting unit 130 compares color information of the transformed image and color information of the original image, and then produces the difference, thereby extracting the data.
It is advantageous that the color preference area includes a skin color area, a sky blue area, or a grass green area, and the color information includes luminance, chroma and hue.
Using the extracted data, the learning unit 200 educates (i.e., teaches) the neural network about a user preference, and color information variation (Δ Lo*, Δ Co*, Δ ho) is predicted by using the educated neural network 210 S200.
The neural network comprises the input layer 211 having seven input units, the middle layer having six units, and the output layer having three output units, and is educated using a back-propagation algorithm. To the input layer 211 is input color information (Li*, Ci*, and hi) of the original image, color information of a certain target point (TL, TC, Th) specified according to a user preference, and a determination variable information P to determine one area among color preference areas constituting the original image, and the output layer 213 outputs information about the predicted color information variation (Δ Lo*, Δ Co*, Δ ho). Because the back-propagation algorithm and the learning process of the neural network 210 have been described before, the detailed description is omitted here.
Finally, the image correcting unit 300 corrects color information of an input image (Linew*, Cinew*, and hinew) by using color information variation (Δ Lo*, Δ Co*, Δ ho) predicted by the learning unit 200 S300. The input image is a newly input image.
It is clear that the range of rights of an optimized color preference editing apparatus according to an exemplary embodiment of the present invention includes a computer-readable recording medium that records program code to execute such a method in a computer.
It will be understood by those of ordinary skill in the art that various replacements, modifications and changes may be made in the form and details without departing from the spirit and scope of the present inventive concept as defined by the following claims. Therefore, it is to be appreciated that the above described exemplary embodiments are for purposes of illustration only and are not to be construed as limitations of the invention.
According to an apparatus and method for editing optimized color preference according to exemplary embodiments of the present invention, data about an individual user preference is extracted, then a neural network is educated on preference, and then color information variation can be predicted by using the educated neural network.
Number | Date | Country | Kind |
---|---|---|---|
10-2006-0001023 | Jan 2006 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
5638496 | Sato | Jun 1997 | A |
5687303 | Motamed et al. | Nov 1997 | A |
5761327 | Papritz | Jun 1998 | A |
5828780 | Suzuki et al. | Oct 1998 | A |
6006013 | Rumph et al. | Dec 1999 | A |
6480299 | Drakopoulos et al. | Nov 2002 | B1 |
6701010 | Katsuyama | Mar 2004 | B1 |
6961462 | Watanabe et al. | Nov 2005 | B2 |
20050185837 | Takano et al. | Aug 2005 | A1 |
20070070364 | Henley | Mar 2007 | A1 |
20070154084 | Kang et al. | Jul 2007 | A1 |
20100008568 | Curti et al. | Jan 2010 | A1 |
Number | Date | Country |
---|---|---|
06-311353 | Nov 1994 | JP |
11-017963 | Jan 1999 | JP |
Number | Date | Country | |
---|---|---|---|
20070154084 A1 | Jul 2007 | US |