Senior Fitness - Exercise and Nutrition for Aging Men and Women
FREE Article Feed for your website.
Home Ownership Magazine
Party Planning Information
Article Marketing Resources
Bio-Medical Research Article Database
Informative Articles on Life, Love and Happiness
Tutorials on Business to Writing
Famous Quotes from Famous People
Song Lyric Information
New US Patent Information
Comprehensive List of Content by Category
Online Auctions and Shopping Related Articles
Article Search
Most Recent Articles
 

aspen nightlife the ultimate taxi
Category:
Travel  

Ideas for Deck Designs
Category:
Home And Family  

How Your Bank Can Save You Money
Category:
Marketing  

Best Destinations For Florida Family Vacations
Category:
Travel  

The Success of British Airways
Category:
Travel  

How Does Cosmetic Dentistry Work
Category:
Health / Fitness  

Essential Elements the Perfect Opportunity must Possess
Category:
Marketing  

Two Important Questions Every Network Marketer Must Know How To ...
Category:
Business  

Selling software online How do you present your software
Category:
Marketing  

Important Information on Sleep Disorders
Category:
Health / Fitness  

Stamps Collecting has Never Been So Easy
Category:
Entertainment / Television  

Myths and Misconceptions About Starting an Online Business
Category:
Marketing  

Break Into the High Flying Crowd
Category:
Marketing  

Attending Camp with a Friend
Category:
Sports  

Coping with the pain
Category:
Home And Family  

Perinate Herpes Simplex Viral Infection
Category:
Health / Fitness  

Off Line Marketing Secrets to Getting More Customers
Category:
Marketing  

Baby Shower Poems How to Write Baby Poems Like a Pro
Category:
Home And Family  

Simple Ways To Debt Relief
Category:
Finance / Investment  

From Domain s Purchase To The Real Gain
Category:
Business  

South Africa s Convenience Store Market A Toddler Amongst Sprint...
Category:
Business  

Does Your Online Copy Talk
Category:
Marketing  

Your Home Is Your Sanctuary
Category:
Home And Family  

Acne Prevention Do and Dont s
Category:
Health / Fitness  

Sarcopenia As we Age Muscle Loss Occurs
Category:
Health / Fitness  

Looking For A Home Based Business Opportunity K I S S
Category:
Business  

Cialis
Category:
Self Help  

How To Drop Your Weight and Become Healthier Using These 7 Every...
Category:
Health / Fitness  

EMPLOYEE ENGAGEMENT AND MENTAL HEALTH
Category:
Business  

Eating Out and Loosing Weight
Category:
Health / Fitness  

The Surefire Increase To Your Traffic From Yesterday
Category:
Marketing  

When To Use A Collection Agency
Category:
Finance / Investment  

Pakistan Pharma Industry going International
Category:
Business  

6 Secret Signs of an Easy Home Business
Category:
Business  

How old should you be before buying a loft bed
Category:
Home And Family  

Using Autoresponders To Multiply Marketing Power Save Time
Category:
Marketing  

Health Insurance Quotes
Category:
Finance / Investment  

Informative Free Report Guides You To Antenna Cell Flashing Phon...
Category:
Business  

Cruise stocks a risk vs reward analysis
Category:
Business  

Instant Lottery Tickets How To Make Money With Losing Lottery Ti...
Category:
Entertainment / Television  

Bird Flu Vaccines What is Taking So Long
Category:
Health / Fitness  

A Solid Choice for Business cards
Category:
Business  

Secured loans for unemployed tone down the bitterness of unemplo...
Category:
Finance / Investment  

Cashing in on Coca Cola Memorabilia New Ideas for Old Art
Category:
Home And Family  

10 Skin Care Tips Look Stunning in Your 40s
Category:
Health / Fitness  

5 Ways to Manage your Diet for Diabetes
Category:
Health / Fitness  

Marquis Theater A Modern Musical Experience
Category:
Entertainment / Television  

Get Online Knowledge About Alcoholism Treatment
Category:
Health / Fitness  

Kissing Tips Make a Kiss More Passionate
Category:
Self Help  

Make Your Office a Paper Free Zone
Category:
Business  

How to Submit Articles on the Internet
Category:
Business  

Mutual Funds and Their Risks
Category:
Business  

The Cost of Diabetes and Free Diabetic Supplies
Category:
Health / Fitness  

When You Go On Vacation This Summer
Category:
Travel  

6 Simple Ways to Create the Best Most Fantastic Valentines
Category:
Home And Family  

Type of computer games
Category:
Entertainment / Television  

Pregnancy and Diabetes What You Should Know
Category:
Health / Fitness  

Chew slowly and digest the rules
Category:
Business  

An Introduction to CD Mastering
Category:
Hobbies / Pastimes  

WiMAX to constitute a major share of wireless broadband market
Category:
Marketing  

Acne Products The Different Categories
Category:
Home And Family  

Trading the Forex Markets with the Forex Trading Machine
Category:
Finance / Investment  

Energy Savings by Use of the Correct Spray Nozzle
Category:
Business  

Digging Deep To Get The Most From RSS Technology for Marketing
Category:
Marketing  

If You Want To Be Successful in Trading There s Only One Thing Y...
Category:
Finance / Investment  

Choosing the Right Wedding Music
Category:
Home And Family  

The Truth About Vitamin Deficiencies
Category:
Health / Fitness  

Online Casino Gamble
Category:
Hobbies / Pastimes  

Plasma Television Myths and Facts
Category:
Home And Family  

Generate MEANINGFUL Traffic to Your Site
Category:
Marketing  

Understanding Legal Advice
Category:
Real Estate  

Where adsense should appear
Category:
Marketing  

The process of buying a new home from a home builder
Category:
Real Estate  

How to sell property to overseas property buyers
Category:
Finance / Investment  

SELLING INFORMATION PRODUCTS What Sells What Doesn t
Category:
Marketing

Color conversion device and color conversion method Number:6,795,086 from the United States Patent and Trademark Office (PTO) owispatent

Home    Author Login    Submit Article    Article Search    Add Your Link    Edit Your Link    Contact Us    Advertising    Disclaimer

   

 
Web LinkGrinder.com

Top Breaking News
     Greek, Cypriot Leaders Resume Unification Talks in Nicosia by Nathan Morley
     Indonesia Tobacco Sales Grow, Raising Health Fears
     South Korea Allows Top Defector to Travel Overseas by VOA News

Title: Color conversion device and color conversion method

Abstract: After applying gray scale conversion to image data of three colors, six hue data are obtained, and then first comparison-result data and second-order terms each relating to one of the six hues, and second comparison-result data each relating to one of the six inter-hue areas are obtained. Matrix calculation is performed on the first comparison-result data, the second comparison-result data, and the second-order terms, using coefficients. By varying the coefficients, adjustment can be made to only the target hue or inter-hue area, without affecting other hues and inter-hue areas. Thus, the six hues and six inter-hue areas can be varied independently, and the large-capacity memory is not required. Moreover, by the use of the gray scale conversion, the effects of the non-linear characteristics of the input signals are removed.

Patent Number: 6,795,086 Issued on 09/21/2004 to Sugiura,   et al.


Inventors: Sugiura; Hiroaki (Tokyo, JP), Kagawa; Shuichi (Tokyo, JP)
Assignee: Mitsubishi Denki Kabushiki Kaisha (Tokyo, JP)
Appl. No.: 09/689,600
Filed: October 13, 2000


Foreign Application Priority Data

Oct 14, 1999 [JP] 11/291894

Current U.S. Class: 345/600 ; 345/591; 345/597; 345/604; 382/162; 382/167
Field of Search: 345/591-3,604,600,597 358/535 382/162,167


References Cited [Referenced By]

U.S. Patent Documents
5107332 April 1992 Chan
5588050 December 1996 Kagawa et al.
5809213 September 1998 Bhattacharjya
6434268 August 2002 Asamura et al.
6621497 September 2003 Sugiura et al.
Primary Examiner: Bella; Matthew C.
Assistant Examiner: Caschera; Antonio
Attorney, Agent or Firm: Birch, Stewart, Kolasch & Birch, LLP

Claims



What is claimed is:

1. A color conversion device for performing pixel-by-pixel color conversion from a first set of three color data representing red, green and blue, or cyan, magenta and yellow, into a second set of three color data representing red, green and blue, or cyan, magenta, and yellow, said device comprising: gray scale conversion means for converting the gray scale of said first set of three color data to produce a third set of three color data representing red, green and blue, or cyan, magenta, and yellow; first calculation means for calculating a minimum value .alpha. and a maximum value .beta. of said third set of three color data for each pixel; hue data calculating means for calculating hue data r, g, b, y, m and c based on said third set of three color data, and said minimum and maximum values .alpha. and .beta. outputted from said calculating means; means for generating first comparison-result data based on the hue data outputted from said hue data calculating means; means for generating second comparison-result data based on said first comparison-result data; coefficient generating means for generating specified matrix coefficients for the hue data, the first comparison-result data and the second comparison-result data; and second calculation means responsive to said hue data, said first comparison-result data, said second comparison-result data, and the coefficients from said coefficient generating means for calculating said second set of three color data, said second calculation means performing calculation including matrix calculation performed at least on said hue data, said first comparison-result data, said second comparison-result data, and the coefficients from said coefficient generating means.

2. The color conversion device according to claim 1, wherein said second calculation means performs said matrix calculation on said hue data, said first comparison-result data, said second comparison-result data, and the coefficients from said coefficient generating means, and further includes synthesizing means for adding said minimum value .alpha. from said first calculation means to the results of said matrix calculation.

3. The color conversion device according to claim 2, wherein said coefficient generating means generates predetermined matrix coefficients Eij (i=1 to 3, j=1 to 3), and Fij (i=1 to 3, j=1 to 12), and said second calculation means performs the calculation using the hue data, said first comparison-result data, said second comparison-result data, said minimum value .alpha. from said calculating means, and said matrix coefficients to determine the second set of three color data representing red, green and blue, denoted by Ro, Go and Bo, in accordance with the following formula (1): ##EQU20## wherein h1r, h1g, h1b, h1c, h1m and h1y denote said first comparison-result data, and h2ry, h2rm, h2gy, h2gc, h2bm and h2bc denote said second comparison result data.

4. The color conversion device according to claim 2, wherein said coefficient generating means generates predetermined matrix coefficients Eij (i=1 to 3, j=1 to 3), and Fij (i=1 to 3, j=1 to 12), and said second calculation means performs the calculation using the hue data, said first comparison-result data, said second comparison-result data, said minimum value .alpha. from said calculating means, and said matrix coefficients to determine the second set of three color data representing cyan, magenta and yellow denoted by Co, Mo and Yo, in accordance with the following formula (2): ##EQU21## wherein h1r, h1g, h1b, h1c, h1m and h1y denote said first comparison-result data, and h2ry, h2rm, h2gy, h2gc, h2bm and h2bc denote said second comparison result data.

5. The color conversion device according to claim 1, wherein said second calculation means performs said matrix calculation on said hue data, said first comparison-result data, said second comparison-result data, the coefficients from said coefficient generating means, and said minimum value .alpha. from said first calculation means.

6. The color conversion device according to claim 5, wherein said coefficient generating means generates predetermined matrix coefficients Eij (i=1 to 3, j=1 to 3), and Fij (i=1 to 3, j=1 to 13), and said second calculation means performs the calculation using the hue data, said first comparison-result data, said second comparison-result data, said minimum value .alpha. from said calculating means, and said matrix coefficients to determine the second set of three color data representing red, green and blue, denoted by Ro, Go and Bo, in accordance with the following formula (3): ##EQU22## wherein h1r, h1g, h1b, h1c, h1m and h1y denote said first comparison-result data, and h2ry, h2rm, h2gy, h2gc, h2bm and h2bc denote said second comparison result data.

7. The color conversion device according to claim 5, wherein said coefficient generating means generates predetermined matrix coefficients Eij (i=1 to 3, j=1 to 3), and Fij (i=1 to 3, j=1 to 13), and said second calculation means performs the calculation using the hue data, said first comparison-result data, said second comparison-result data, said minimum value .alpha. from said calculating means, and said matrix coefficients to determine the second set of three color data representing cyan, magenta and yellow denoted by Co, Mo and Yo, in accordance with the following formula (4): ##EQU23## wherein h1r, h1g, h1b, h1c, h1m and h1y denote said first comparison-result data, and h2ry, h2rm, h2gy, h2gc, h2bm and h2bc denote said second comparison result data.

8. The color conversion device according to claim 1, wherein said third set of three color data represent red, green and blue, said second set of three color data represent red, green and blue, and said hue data calculation means calculates the hue data r, g, b, y, m, c by subtraction in accordance with:

9. The color conversion device according to claim 1, wherein said third set of three color data represent cyan, magenta and yellow, said second set of three color data represent red, green and blue, said device further comprises means for determining complement of said third set of three color data, and said hue data calculation means calculates the hue data r, g, b, y, m, c-by subtraction in accordance with:

r=Ri-.alpha.,

10. The color conversion device according to claim 1, wherein said third set of three color data represent cyan, magenta and yellow, said second set of three color data represent cyan, magenta and yellow, and said hue data calculation means calculates the hue data r, g, b, y, m, c by subtraction in accordance with:

11. The color conversion device according to claim 1, wherein said third set of three color data represent red, green and blue, said second set of three color data represent cyan, magenta and yellow, said device further comprises means for determining complement of said third set of three color data, and said hue data calculation means calculates the hue data r, g, b, y, m, c by subtraction in accordance with:

12. The color conversion device according to claim 1, wherein said first comparison-result data generating means determines the comparison-result data among the hue data r, g and b, and the comparison-result data among the hue data y, m and c, and said second comparison-result data generating means comprises multiplying means for multiplying the first comparison-result data outputted from said first comparison-result data generating means with specific calculation coefficients, and means for determining the comparison-result data based on the outputs of said multiplication means.

13. The color conversion device according to claim 12, wherein said first comparison-result data generating means determines the first comparison-result data:

14. The color conversion device according to claim 12, wherein said multiplying means in said second comparison-result data generating means performs calculation on said first comparison result-data and said calculation coefficients by setting said calculation coefficients aq1 to aq6 and ap1 to ap6 to integral values of 2.sup.n, with n being an integer, and by bit shifting.

15. The color conversion device according to claim 1, wherein each of said first comparison-result data is determined from two of the hue data and is effective for only one of the six hues of red, green, blue, cyan, magenta and yellow.

16. The color conversion device according to claim 1, wherein each of said second comparison-result data is determined from two of the first comparison-result data and is effective for only one of the six inter-hue areas of red-yellow, yellow-green, green-cyan, cyan-blue, blue-magenta, and magenta-red.

17. The color conversion device according to claim 1, wherein said coefficient generating means generates specified matrix coefficients Eij (i=1 to 3, j=1 to 3) based on a formula (5) below: ##EQU24##

18. The color conversion device according to claim 1, wherein said first calculation means calculates a maximum value .beta. and a minimum value .alpha. using said third set of three color data, and generates an identification code indicating the hue data which is of a value zero, and said coefficient generating means generates said matrix coefficients based on the identification code outputted from said first calculation means, and said second calculation means performs matrix calculation using the coefficient from said coefficient generating means to produce said second set of three color data based on the identification code outputted from said first calculation means.

19. The color conversion device according to claim 1, wherein the gray scale conversion means is utilized for linearization.

20. A color conversion method of performing pixel-by-pixel color conversion from a first set of three color data representing red, green and blue, or cyan, magenta and yellow, into a second set of three color data representing red, green and blue, or cyan, magenta, and yellow, said method comprising the steps of: (a) converting the gray scale of the first set of three color data to produce a third set of three color data representing red, green and blue, or cyan, magenta and yellow; (b) calculating a minimum value .alpha. and a maximum value .beta. of said third set of three color data for each pixel; (c) calculating hue data r, g, b, y, m and c based on said third set of three color data, and said minimum and maximum values .alpha. and .beta. obtained at said step (b); (d) generating first comparison-result data based on the hue data obtained at said step (c); (e) generating second comparison-result data based on said first comparison-result data; (f) generating specified matrix coefficients for the hue data, the first comparison-result data and the second comparison-result data; and (g) calculating, responsive to said hue data, said first comparison-result data, said second comparison-result data, and the coefficients generated at said step (f), said second set of three color data; said step (g) comprising the step of performing matrix calculation on at least said hue data, said first comparison-result data, said second comparison-result data, and the coefficients obtained at said step (f).

21. A machine-readable recording medium that stores a computer program for implementing the method as set forth in claim 20.

22. The color conversion method according to claim 20, wherein the step of converting the gray scale is utilized for linearization.
Description



BACKGROUND OF THE INVENTION

The present invention relates to data processing used for a full-color printing related equipment such as a printer, a video printer, a scanner or the like, an image processor for forming computer graphic images or a display device such as a monitor. More specifically, the invention relates to a color conversion device and a color conversion method for performing color conversion from image data in the form of a first set of three color data of red, green and blue, or cyan, magenta and yellow, to a second set of three color data of red, green and blue, or cyan, magenta and yellow.

Color conversion in printing is an indispensable technology for compensating deterioration of image quality due to color mixing property due to the fact that the ink is not of a pure color, or the non-linearity (in the hue) of the image-printing, and to output a printed image with a high color reproducibility. Also, in a display device such as a monitor or the like, color conversion is performed in order to output (display) an image having desired color reproducibility in accordance with conditions under which the device is used or the like when an inputted color signal is to be displayed.

Conventionally, two methods have been available for the foregoing color conversion: a table conversion method and a matrix calculation method.

A representative example of the table conversion method is a three-dimensional look-up table method, in which the image data represented by red, green and blue (hereinafter referred to as R, G, and B) are input, to output an image data of R, G, and B stored in advance in a memory, such as a ROM, or complementary color data of yellow, cyan and magenta (hereinafter referred to as Y, M, and C). Because any desired conversion characteristics can be achieved, color conversion with a good color reproducibility can be performed.

However, in a simple structure for storing data for each combination of image data, a large-capacity memory of about 400 Mbit must be used. For example, even in the case of a compression method for memory capacity disclosed in Japanese Patent Kokai Publication No. S63-227181, memory capacity is about 5 Mbit. Therefore, a problem inherent in the table conversion system is that since a large-capacity memory is necessary for each conversion characteristic, it is difficult to implement the method by means of an LSI, and it is also impossible to deal with changes in the condition under which the conversion is carried out.

On the other hand, in the case of the matrix calculation method, for example, for obtaining printing data of Y, M and C from image data of R, G and B, the following formula (11) is used as a basic calculation formula. ##EQU1##

Here, Aij represents coefficients, with i=1 to 3, and j=1 to 3.

However, by the simple linear calculation of the formula (11), it is impossible to provide a good conversion characteristic because of a non-linearity of an image-printing or the like.

A method has been proposed for providing a conversion characteristic to improve the foregoing characteristic. This method is disclosed in Japanese Patent Application Kokoku Publication H2-30226, directed to a color correction calculation device, and employs a matrix calculation formula (12) below. ##EQU2##

Here, N is a constant, i=1 to 3, and j 1 to 10.

In the foregoing formula (12), since image data having a mixture of an achromatic component and a color component is directly used, mutual interference occur in computation. In other words, if one of the coefficients is changed, influence is given to the components or hues other than the target component or hue (the component or hue for which the coefficient is changed). Consequently, a good conversion characteristic cannot be realized.

A color conversion method disclosed in Japanese Patent Application Kokai Publication H7-170404 is a proposed solution to this problem. FIG. 20 is a block circuit diagram showing the color conversion method for conversion of image data of R, G and B into printing data of C, M and Y, disclosed in Japanese Patent Application Kokai Publication H7-170404. In the drawing, reference numeral 100 denotes a complement calculator; 101, a minimum and maximum calculator; 102, a hue data calculator; 103, a polynomial calculator; 104, a matrix calculator; 105, a coefficient generator; and 106, a synthesizer.

Next, the operation will be described. The complement calculator 100 receives image data R, G and B, and outputs complementary color data Ci, Mi and Yi which have been obtained by determining 1's complements.

The determination of 1's complement of an input data can be achieved by subtracting the value of the input data of n bits (n being an integer) from (2.sup.n -1). For example, in the case of 8-bit data, the value of the input data is deducted from "255".

The minimum and maximum calculator 101 outputs a maximum value .beta. and a minimum value .alpha. of this complementary color data and an identification code S for indicating, among the six hue data, data which are zero.

The hue data calculator 102 receives the complementary color data Ci, Mi and Yi and the maximum and minimum values .beta. and .alpha., and outputs six hue data r, g, b, y, m and c which are obtained by executing the following subtraction:

Here, among the six hue data, at least two assume the value zero.

The polynomial calculator 103 receives the hue data and the identification code S, selects, from r, g and b, two data Q1 and Q2 which are not zero and, from y, in and c, two data P1 and P2 which are not zero. Based on these data, the polynomial calculator 103 computes polynomial data:

and then outputs the results of the calculation.

It is noted that asterisks "*" are sometimes used in this specification to indicate multiplication.

The coefficient generator 105 generates calculation coefficients U(Fij) and fixed coefficients U(Eij) for the polynomial data based on information of the identification code S. The matrix calculator 104 receives the hue data y, m and c, the polynomial data T1 to T4 and the coefficients U, and outputs the result of the following formula (13) as color ink data C1, M1 and Y1. ##EQU3##

The synthesizer 106 adds together the color ink data C1, M1 and Y1 and data a which is the achromatic data, and outputs printing data C, M and Y. Accordingly, the following formula (14) is used for obtaining printing data. ##EQU4##

The formula (14) shows a general formula for a group of pixels.

FIG. 21A to FIG. 21F, which are schematic diagrams, show relations between six hues of red (R), green (G), blue (B), yellow (Y), cyan (C) and magenta (M), and hue data y, m, c, r, g and b. As shown, each hue data relates to three hues (i.e., extends over the range of three hues). For instance the hue data c relates to the hues g, c and b.

FIG. 22A to FIG. 22F, which are schematic diagrams, show relations between the six hues and product terms y*m, r*g, c*y, g*b, m*c and b*r.

As shown, each of the six product terms y*m, m*c, c*y, r*g, g*b and b*r in the formula (14) relates to only one hue among the six hues of red, blue, green, yellow, cyan and magenta. That is, only y*m is an effective product term for red; m*c for blue; c*y for green; r*g for yellow; g*b for cyan; and b*r for magenta.

Also, each of the six fraction terms y*m/(y+m), m*c/(m+c), c*y/(c+y), r*g/(r+g), g*b/(g+b) and b*r/(b+r) in the formula (14) relates to only one hue among the six hues.

As apparent from the foregoing, according to the color conversion method shown in FIG. 20, by changing coefficients for the product terms and the fraction terms regarding the specific hue, only the target hue can be adjusted without influencing other hues.

Each of the foregoing product terms is determined by a second-order computation for chroma, and each of the fraction terms is determined by a first-order computation for chroma. Thus, by using both of the product terms and the fraction terms, the non-linearity of an image-printing for chroma can be adjusted.

However, this color conversion method cannot satisfy a certain desire. That is, depending on the user's preference, if an area in a color space occupied by specific hues is to be expanded or reduced, e.g., specifically, if expansion or reduction in an area of red in a color space including magenta, red and yellow is desired, the conventional color conversion method of the matrix computation type could not meet such a desire.

The problems of the conventional color conversion method or color conversion device are summarized as follows. Where the color conversion device is of a table conversion method employing a memory such as ROM, a large-capacity memory is required, and a conversion characteristic cannot be flexibly changed. Where the color conversion device is of a type using a matrix calculation method, although it is possible to change only a target hue, it is not possible to vary the color in the inter-hue areas between adjacent ones of the six hues of red, blue, green, yellow, cyan and magenta, and good conversion characteristics cannot be realized throughout the entire color space. Moreover, with the matrix conversion method shown in FIG. 20, when the image data input to color conversion device has a non-linear gray scale characteristics due to gamma correction processing, or highlight compression, the effect of the color conversion is influenced according to the level of the input image data.

SUMMARY OF THE INVENTION

The present invention was made to solve the foregoing problems.

An object of the present invention is to provide a color conversion device and a color conversion method for performing color-conversion wherein independent adjustment is performed not only for six hues of red, blue, green, yellow, cyan and magenta but also six inter-hue areas of red-yellow, yellow-green, green-cyan, cyan-blue, blue-magenta and magenta-red, and a conversion characteristic can be flexibly changed, and a good conversion can be achieved without being influenced by the non-linearity of the input image data, and no large-capacity memories are necessary.

According to a first aspect of the invention, there is provided a color conversion device for performing pixel-by-pixel color conversion from a first set of three color data representing red, green and blue, or cyan, magenta and yellow, into a second set of three color data representing red, green and blue, or cyan, magenta, and yellow, said device comprising: gray scale conversion means for converting the gray scale of said first set of three color data to produce a third set of three color data representing red, green and blue, or cyan, magenta, and yellow; first calculation means for calculating a minimum value .alpha. and a maximum value .beta. of said third set of three color data for each pixel; hue data calculating means for calculating hue data r, g, b, y, m and c based on said third set of three color data, and said minimum and maximum values .alpha. and .beta. outputted from said calculating means; means for generating first comparison-result data based on the hue data outputted from said hue data calculating means; means for generating second comparison-result data based on said first comparison-result data; coefficient generating means for generating specified matrix coefficients for the hue data, the first comparison-result data and the second comparison-result data; and second calculation means responsive to said hue data, said first comparison-result data, said second comparison-result data, and the coefficients from said coefficient generating means for calculating said second set of three color data, said second calculation means performing calculation including matrix calculation performed at least on said hue data, said first comparison-result data, said second comparison-result data, and the coefficients from said coefficient generating means.

Since the third set of three color data is obtained by gray scale conversion of the first set, of three color data, the third set are of the same combination of colors as the first set. That is, if the first set comprises red, green and blue, the third set also comprises red, green and blue. If the first set comprises cyan, magenta and yellow, the third set also comprises cyan, magenta and yellow.

With the above arrangement, it is possible to independently vary not only the colors of the six hues of red, blue, green, yellow, cyan and magenta, but also the colors in the six inter-hue areas of red-yellow, yellow-green, green-cyan, cyan-blue, blue-magenta, and magenta-red, without being influenced by the non-linearity of the input signals. Accordingly, it is possible to obtain color conversion methods or color conversion devices which can change the conversion characteristics flexibly, without requiring a large-capacity memory.

It is noted that the gray scale conversion means can be realized by a one-dimensional look-up table, and its size is much smaller than the three-dimensional look-up table.

Moreover, because the second comparison-result data calculated from the first comparison-result data are used as calculation term relating to the inter-hue areas in the matrix calculation, the number of calculation steps required can be reduced than if they are calculated from the hue data r, g, b, y, m, c.

It may be so configured that said second calculation means performs said matrix calculation on said hue data, said first comparison-result data, said second comparison-result data, and the coefficients from said coefficient generating means, and further includes synthesizing means for adding said minimum value .alpha. from said first calculation means to the results of said matrix calculation.

It may be so configured that said coefficient generating means generates predetermined matrix coefficients Eij (i=1 to 3, j=1 to 3), and Fij (i=1 to 3, j=1 to 12), and said second calculation means performs the calculation using the hue data, said said first comparison-result data, said second comparison-result data, said minimum value .alpha. from said calculating means, and said matrix coefficients to determine the third set of three color data representing red, green and blue, denoted by Ro, Go and Bo, in accordance with the following formula (1): ##EQU5##

wherein h1r, h1g, h1b, h1c, h1m and h1y denote said first comparison-result data, and h2ry, h2rm, h2gy, h2gc, h2bm and h2bc denote said second comparison result data.

It may be so configured that said coefficient generating means generates predetermined matrix coefficients Eij (i=1 to 3, j=1 to 3), and Fij (i=1 to 3, j=1 to 12), and said second calculation means performs the calculation using the hue data, said said first comparison-result data, said second comparison-result data, said minimum value .alpha. from said calculating means, and said matrix coefficients to determine the third set of three color data representing cyan, magenta and yellow denoted by Co, Mo and Yo, in accordance with the following formula (2): ##EQU6##

wherein h1r, h1g, h1b, h1c, h1m and h1y denote said first comparison-result data, and h2ry, h2rm, h2gy, h2gc, h2bm and h2bc denote said second comparison result data.

It may be so configured that said second calculation means performs said matrix calculation on said hue data, said first comparison-result data, said second comparison-result data, the coefficients from said coefficient generating means, and said minimum value .alpha. from said first calculation means.

It may be so configured that said coefficient generating means generates predetermined matrix coefficients Eij (i=1 to 3, j=1 to 3), and Fij (i=1 to 3, j=1 to 13), and said second calculation means performs the calculation using the hue data, said said first comparison-result data, said second comparison-result data, said minimum value .alpha. from said calculating means, and said matrix coefficients to determine the third set of three color data representing red, green and blue, denoted by Ro, Go and Bo, in accordance with the following formula (3): ##EQU7##

wherein h1r, h1g, h1b, h1c, h1m and h1y denote said first comparison-result data, and h2ry, h2rm, h2gy, h2gc, h2bm and h2bc denote said second comparison result data.

It may be so configured that said coefficient generating means generates predetermined matrix coefficients Eij (i=1 to 3, j=1 to 3), and Fij (i=1 to 3, j=1 to 13), and said second calculation means performs the calculation using the hue data, said said first comparison-result data, said second comparison-result data, said minimum value .alpha. from said calculating means, and said matrix coefficients to determine the third set of three color data representing cyan, magenta and yellow denoted by Co, Mo and Yo, in accordance with the following formula (4): ##EQU8##

wherein h1r, h1g, h1b, h1c, h1m and h1y denote said first comparison-result data, and h2ry, h2rm, h2gy, h2gc, h2bm and h2bc denote said second comparison result data.

It may be so configured that said third set of three color data represent red, green and blue, said second set of three color data represent red, green and blue, and said hue data calculation means calculates the hue data r, g, b, y, m, c by subtraction in accordance with:

wherein Ri, Gi and Bi represent said third set of three color data.

It may be so configured that said third set of three color data represent cyan, magenta and yellow, said second set of three color data represent red, green and blue, said device further comprises means for determining complement of said third set of three color data, and said hue data calculation means calculates the hue data r, g, b, y, m, c by subtraction in accordance with:

wherein Ri, Gi and Bi represent data produced by the determination of the complement of said third set of three color data.

It may be so configured that said third set of three color data represent cyan, magenta and yellow, said second set of three color data represent cyan, magenta and yellow, and said hue data calculation means calculates the hue data r, g, b, y, m, c by subtraction in accordance with:

wherein Ci, Mi and Yi represent said third set of three color data.

It may be so configured that said third set of three color data represent red, green and blue, said second set of three color data represent cyan, magenta and yellow, said device further comprises means for determining complement of said third set of three color data, and said hue data calculation means calculates the hue data r, g, b, y, m, c by subtraction :in accordance with:

wherein Ci, Mi and Yi represent data produced by the determination of the complement of said third set of three color data.

With the above arrangement, the hue data calculating means can be configured of means for performing subtraction based on the input image of red, green and blue, or cyan, magenta and yellow and the maximum value .beta. and minimum value .alpha. from the first calculation means.

It may be so configured that said first comparison-result data generating means determines the comparison-result data among the hue data r, g and b, and the comparison-result data among the hue data y, m and c, and said second comparison-result data generating means comprises multiplying means for multiplying the first, comparison-result data outputted from said first comparison-result data generating means with specific calculation coefficients, and means for determining the comparison-result data based on the outputs of said multiplication means.

With the above arrangement, the first comparison-result data generating means and the second comparison-result data generating means are configured of means for performing comparison, and means for performing multiplication.

It may be so configured that said first comparison-result data generating means determines the first comparison-result data:

(with min (A, B) representing the minimum value of A and B), and said second comparison-result data generating means determines the second comparison-result data:

h2bm=min (aq5*h1m, ap5*h1b), and

With the above arrangement, the first comparison-result data generating means can be configured of means for performing minimum value selection, and the second comparison-result data can be configured of means for performing multiplication and means for performing minimum value selection.

It may be so configured that said multiplying means in said second comparison-result data generating means performs calculation on said first comparison result-data and said calculation coefficients by setting said calculation coefficients aq1 to aq6 and ap1 to ap6 to integral values of 2.sup.n, with n being an integer, and by bit shifting.

With the above arrangement, the multiplication can be carried out by means of bit shifting.

It may be so configured that each of said first comparison-result data is determined from two of the hue data and is effective for only one of the six hues of red, green, blue, cyan, magenta and yellow.

With the above arrangement, each of the six hues can be adjusted by varying the coefficients for the first comparison-result data without influencing other hues.

It may be so configured that each of said second comparison-result data is determined from two of the first comparison-result data and is effective for only one of the six inter-hue areas of red-yellow, yellow-green, green-cyan, cyan-blue, blue-magenta, and magenta-red.

With the above arrangement, each of the six inter-hue areas can be adjusted by varying the coefficients for the second comparison-result data without influencing other inter-hue areas.

It may be so configured that said coefficient generating means generates specified matrix coefficients Eij (i=1 to 3, j=1 to 3) based on a formula (5) below: ##EQU9##

With the above arrangement, it is not necessary to multiply the coefficients with the hue data and yet adjustment can be made only to the target hue or inter-hue area (among the six hues of red, blue, green, yellow, cyan and magenta, and six inter-hue areas), without influencing other hues or inter-hue areas.

It may be so configured that said first calculation means calculates a maximum value .beta. and a minimum value .alpha. using said third set of three color data, and generates an identification code indicating the hue data which is of a value zero, and said coefficient generating means generates said matrix coefficients based on the identification code outputted from said first calculation means, and said second calculation means performs matrix calculation using the coefficient from said coefficient generating means to produce the second set of three color data based on the identification code outputted from said first calculation means.

With the above arrangement, the number of steps for performing the matrix calculation can be reduced.

According to another aspect of the invention, there is provided a color conversion method of performing pixel-by-pixel color conversion from a first set of three color data representing red, green and blue, or cyan, magenta and yellow, into a second set of three color data representing red, green and blue, or cyan, magenta, and yellow, said method comprising the steps of: (a) converting the gray scale of the first set of three color data to produce a third set of three color data representing red, green and blue, or cyan, magenta and yellow; (b) calculating a minimum value .alpha. and a maximum value of said third set of three color data for each pixel; (c) calculating hue data r, g, b, y, m and c based on said third set of three color data, and said minimum and maximum values .alpha. and .beta. obtained at said step (b);

(d) generating first comparison-result data based on the hue data obtained at said step (c); (e) generating second comparison-result data based on said first comparison-result data; (f) generating specified matrix coefficients for the hue data, the first comparison-result data and the second comparison-result data; and (g) calculating, responsive to said hue data, said first comparison-result data, said second comparison-result data, and the coefficients generated at said step (f), said second set of three color data; said step (g) comprising the step of performing matrix calculation on at least said hue data, said first comparison-result data, said second comparison-result data, and the coefficients obtained at said step (g).

Said step (g) may comprise the steps of: (g1) performing said matrix calculation on said hue data, said first comparison-result data, said second comparison-result data, and the coefficients obtained at said step (f), and (g2) adding said minimum value .alpha. calculated at said step (b) to the results of said matrix calculation.

Said step (g) may alternatively comprise the step of performing said matrix calculation on said hue data, said first comparison-result data, said second comparison-result data, the coefficients obtained at said step (f), and said minimum value .alpha. obtained at said step (b).

According to a further aspect of the invention, there is provided a machine-readable recording medium that stores a computer program for implementing the method as described above.

BRIEF DESCRIPTION OF THE DRAWINGS

In the accompanying drawings:

FIG. 1 is a block diagram showing an example of configuration of a color conversion device of Embodiment 1 of the present invention;

FIG. 2 is a block diagram showing an example of configuration of a polynomial calculator included in the color conversion device of Embodiment 1;

FIG. 3 is a table showing an example of the relationship between an identification code S1, and the maximum and minimum values .beta. and .alpha., and hue data whose value is zero, in the color conversion device of Embodiment 1;

FIG. 4 is a table showing the operation of a zero remover of the polynomial calculator in the color conversion device of Embodiment 1;

FIG. 5 is a block diagram showing an example of configuration of a matrix calculator included in the color conversion device of Embodiment 1;

FIG. 6A to FIG. 6F are diagrams schematically showing the relationship between six six hues and hue data;

FIG. 7A to FIG. 7F are diagrams schematically showing the relationship between six hues and first comparison-result data in the color conversion device of Embodiment 1;

FIG. 8A to FIG. 8F are diagrams schematically showing the relationship between six inter-hue areas and second comparison-result data in the color conversion device of Embodiment 1;

FIG. 9A to FIG. 9F are diagrams schematically showing how the range of each inter-hue area is changed with the change of the coefficients multiplied at the polynomial calculator is changed;

FIG. 10A and FIG. 10B are tables showing the relationship between respective hues or inter-hue areas, and effective calculation terms or data which relate to and are effective for each hue or inter-hue area;

FIG. 11 is an xy chromaticity diagram illustrating the gamut of the color reproduction of the input color signals and the gamut of a desired color reproduction, for explaining the operation of Embodiment 1;

FIG. 12 is an xy chromaticity diagram illustrating the gamut of the color reproduction obtained by adjusting the coefficients for the first comparison-result data, together with the gamut of the desired color reproduction, for explaining the operation of Embodiment 1;

FIG. 13 is an xy chromaticity diagram for explaining the gamut of the color reproduction obtained by adjusting the coefficients for the first and second comparison-result data, together with the gamut of the desired color reproduction, for explaining the operation of Embodiment 1;

FIG. 14 is a block diagram showing an example of a system for performing the color conversion by means of software;

FIG. 15 is a block diagram showing an example of configuration of a color conversion device of Embodiment 2 of the present invention;

FIG. 16 is a block diagram showing an example of configuration of Embodiment 3 of the present invention;

FIG. 17 is a block diagram showing part of an example of configuration of a matrix calculator included in the color conversion device of Embodiment 3;

FIG. 18 is a block diagram showing an example of configuration of a color conversion device of Embodiment 4 of the present invention;

FIG. 19 is a block diagram showing an example of configuration of a color conversion device of Embodiment 5 of the present invention;

FIG. 20 is a block diagram showing an example of configuration of a conventional color conversion device;

FIG. 21A to FIG. 21F are diagrams schematically showing the relationship between six hues and hue data in the conventional color conversion device; and

FIG. 22A to FIG. 22F are diagrams schematically showing the relationship between six hues and calculation terms in a matrix calculator included in the conventional color conversion device.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Next, the preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

Embodiment 1

FIG. 1 is a block diagram showing an example of configuration of a color conversion device of Embodiment 1 of the present invention. The illustrated color conversion device is for converting a first set of three color data representing red, green and blue, denoted by Rh, Gh and Bh, into a second set of three color data, also representing red, green and blue, denoted by Ro, Go and Bo. Gray scale converters 15a, 15b and 15c respectively convert the gray scale, i.e., tone of the first set of three color data, also called image data, Rh, Gh and Bh, and output image data Ri, Gi and Bi (also a set of three color data).

A minimum and maximum calculator 1 calculates a maximum value .beta. and a minimum value .alpha. of the image data Ri, Gi and Bi, and generates and outputs an identification code S1 for indicating, among the six hue data, data which are zero, as will be better understood from the following description. A hue data calculator 2 calculates hue data r, g, b, y, m and c from the image data Ri, Gi and Bi and the outputs from the minimum and maximum calculator 1. The color conversion device further comprises a polynomial calculator 3, a matrix calculator 4, a coefficient generator 5, and a synthesizer 6.

FIG. 2 is a block diagram showing an example of configuration of the polynomial calculator 3. In FIG. 2, a zero remover 7 removes, from the inputted hue data, data which are of value zero. Minimum selectors 9a, 9b and 9c select and output the minimum of the input data. A calculation coefficient generator 11 generates and outputs calculation coefficients based on the identification code S1 from the minimum and maximum calculator 1. Arithmetic units 10a and 10b perform multiplication between the calculation coefficients represented by the outputs of the calculation coefficient generator 11 and the outputs from the minimum selectors 9a and 9b.

Next, the operation will be described. The inputted image data Rh, Gh and Bh corresponding to the three colors of red, green and blue are sent to the gray scale converters 15a, 15b and 15c, where gray scale correction is applied. For instance, where the input signals Rh, Gh and Bh are signals which are non-linear because of a gamma correction applied at a digital camera, for the purpose of correcting gamma characteristics of a cathode ray tube, when the input signals are used for display on a cathode ray tube, or the signals having been subjected to highlight compression processing by which the high-luminance part of the subject to be shot is compressed, as in the case of a shooting with a digital camera, the gray scale converters are used for linearization. The gray scale converters 15a, 15b and 15c may be in the form of a one-dimensional look-up table, or a calculation means having the input-output characteristics of a power function. The image data Ri, Gi and Bi which are output from the gray scale converters 15a, 15b and 15c are sent to the minimum and maximum calculator 1 and the hue data calculator 2. The minimum and maximum calculator 1 calculates and outputs a maximum value .beta. and a minimum value .alpha. of the inputted image data Ri, Gi and Bi, and also generates and outputs an identification code S1 for indicating, among the six hue data, data which are zero.

The hue data calculator 2 receives the inputted image data Ri, Gi and Bi and the maximum and minimum values .beta. and .alpha. from the minimum and maximum calculator 1, performs subtraction of

g=Gi-.alpha.,

and outputs six hue data r, g, b, y, m and c thus obtained.

The maximum and minimum values .beta. and .alpha. calculated by the minimum and maximum calculator 1 are respectively represented as follows:

Since the six hue data r, g, b, y, m and c calculated by the hue data calculator 2 are obtained by the subtraction of

at least two among these six hue data are of a value zero. For example, if a maximum value .beta. is Ri and a minimum value .alpha. is Gi (.beta.=Ri, and .alpha.=Gi), g=0 and c=0. If a maximum value .beta. is Ri and a minimum value .alpha. is Bi (.beta.=Ri, and .alpha.=Bi), b=0 and c=0. In other words, in accordance with a combination of Ri, Gi and Bi which are the largest and the smallest, respectively, one of r, g and b, and one of y, m and c, i. e., in total two of them have a value zero.

Thus, in the foregoing minimum and maximum calculator 1, the identification code S1 for indicating, among the six hue data which are zero are generated and outputted. The identification code S1 can assume one of the six values, depending on which of Ri, Gi and Bi are of the maximum and minimum values .beta. and .alpha.. FIG. 3 shows a relationship between the values of the identification code S1 and the maximum and minimum values .beta. and .alpha. of Ri, Gi and Bi and hue data which has a value zero. In the drawing, the values of the identification code S1 represent just an example, and the values may be other than those shown in the drawing.

Then, the six hue data r, g, b, y, m and c outputted from the hue data calculator 2 are sent to the polynomial calculator 3, and the hue data r, g and b are also sent to the matrix calculator 4. The polynomial calculator 3 also receives the identification code S1 outputted from the minimum and maximum calculator 1, and performs calculation by selecting, from the hue data r, g and b, two data Q1 and Q2 which are not of a value zero, and from the hue data y, m and c, two data P1 and P2 which are not of a value zero. Next, this operation will be described by referring to FIG. 2.

The hue data from the hue data calculator 2 and the identification code S1 from the minimum and maximum calculator 1 are inputted to the zero remover 7 in the polynomial calculator 3. The zero remover 7 outputs, based on the identification code S1, the two data Q1 and Q2 which are not of a value zero, among the hue data r, g and b and the two data P1 and P2 which are not of a value zero, among the hue data y, m and c. For instance, Q1, Q2, P1 and P2 are determined as shown in FIG. 4, and then outputted. If, for example, the identification code S1 is of a value zero, Q1 and Q2 are obtained from the hue data r and b, and P1 and P2 are obtained from the hue data y and m, so the outputs are given by Q1=r, Q2=b, P1=m and P2=y. As in the case of FIG. 3, the values of the identification code S1 in FIG. 4 represent just an example, and may be other than those shown in FIG. 4.

The minimum selector 9a selects and outputs the minimum value T4=min (Q1, Q2) among the output data Q1 and Q2 from the zero remover 7. The minimum selector 9b selects and outputs the minimum value T2=min (P1, P2) among the output data P1 and P2 from the zero remover 7. The outputs of the minimum selectors 9a and 9b are the first comparison-result data.

The identification code S1 is inputted from the minimum and maximum calculator 1 to the calculation coefficient generator 11, which generates signals indicating calculation coefficients aq and ap based on the identification code S1, and the coefficient aq is supplied to the arithmetic unit 10a, and the coefficient ap is supplied to the arithmetic unit 10b. These calculation coefficients aq and ap are used for multiplication with the comparison-result data T4 and T2, and each of the calculation coefficients aq and ap can assume one of the six values, corresponding to the value of the identification code S1 shown in FIG. 4. The arithmetic unit 10a receives the comparison-result data T4 from the minimum selector 9a, performs multiplication of aq*T4, and sends the result to the minimum selector 9c. The arithmetic unit 10b receives the comparison-result data T2 from the minimum selector 7, performs multiplication of ap*T2, and sends the result to the minimum selector 9c.

The minimum selector 9c selects and outputs the minimum value T5=min (aq*T2, ap*T4) of the outputs the arithmetic units 10a and 10b. The output of the minimum value selector 9c is a second comparison-result data.

The polynomial data T2, T4 and T5 outputted from the polynomial calculator 3 are supplied to the matrix calculator 4.

The coefficient generator 5 shown in FIG. 1 generates calculation coefficients U (Fij) and fixed coefficients U (Eij) for the polynomial data based on the identification code S1, and sends the same to the matrix calculator 4.

The matrix calculator 4 receives the hue data r, g and b from the hue data calculator 2, the polynomial data T2, T4 and T5 from the polynomial calculator 3 and the coefficients U from the coefficient generator 5, and outputs the results of calculation according to the following formula (6) as image data R1, G1 and B1. ##EQU10##

For (Eij), i=1 to 3 and j=1 to 3, and for (Fij), i=1 to 3 and j=1 to 3.

FIG. 5, which is a block diagram, shows an example of configuration of part of the matrix calculator 4. Specifically, it shows how R1 is calculated and outputted. As shown in FIG. 5, the matrix calculator 4 includes multipliers 12a, 12c, 12e and 12f, and adders 13a, 13d and 13e interconnected as illustrated.

Next, the operation of the matrix calculator 4 of FIG. 5 will be described. The multipliers 12a, 12c, 12e and 12f receive the hue data r, the polynomial data T2, T4 and T5 from the polynomial calculator 3 and the coefficients U (Eij) and U (Fij) from the coefficient generator 5, and then output the products thereof. The adder 13a receives the products outputted from the multipliers 12c and 12e, adds the inputted data and outputs the sum thereof. The adder 13d adds the output from the adder 13a and the product outputted from the multiplier 12f. The adder 13e adds the output from the adder 13d and the output from the multiplier 12a, and outputs the sum total thereof as image data R1. In the example of configuration shown in FIG. 5, if the hue data r is replaced by the hue data g or b, and coefficients suitable for the respective terms (data) T2, T4 and T5 are used in substitution, image data GC or B1 can be calculated.

Where it is desired to increase the calculation speed of the color conversion method or the color conversion device of this embodiment, since parts of the coefficients (Eij) and (Fij) which respectively correspond to the hue data r, g and b are used, the configurations each as shown in FIG. 5 may be used in parallel, so as to perform the matrix calculation at a higher speed.

The synthesizer 6 receives the image data R1, G1 and B1 from the matrix calculator 4 and the minimum value .alpha. outputted from the minimum and maximum calculator 1 representing the achromatic data, performs addition, and outputs image data Ro, Go and Bo. The equation used for obtaining the image data color-converted by the color-conversion method of FIG. 1 is therefore given by the following formula (1). ##EQU11##

Here, for (Eij), i=1 to 3 and j=1 to 3, and for (Fij), i=1 to 3 and j=1 to 12, and

h2bm=min (aq5*h1m, ap5*h1b), and

and aq1 to aq6 and ap1 to ap6 indicate calculation coefficients generated by the calculation coefficient generator 11 of FIG. 2.

The difference between the number of calculation terms in the formula (1) and the number of calculation terms in FIG. 1 is that FIG. 1 shows a method of calculation for each pixel excluding the calculation terms which are of a value zero, while the formula (1) represents a general formula for a set of pixels. In other words, twelve polynomial data for one pixel of the formula (1) can be reduced to three effective data, and this reduction is achieved by exploiting a characteristic of the hue data.

The combination of effective data is changed according to image data of the target pixel. For all image data, all the polynomial data can be effective.

FIG. 6A to FIG. 6F schematically show relations between the six hues (red, yellow, green, cyan, blue, magenta) and the hue data y, m, c, r, g and b. Each hue data relates to, i.e., extends to cover the range of three hues. For example, y as shown in FIG. 6A relates to, or extends to cover three hues of red, yellow and green.

Each of the foregoing formula (6) and (1) includes a first comparison-result data effective only for one hue. The first comparison-result data are:

FIG. 7A to FIG. 7F schematically show relations between the six hues and first comparison-result data h1r, h1y,h1g, h1c, h1b, and h1m. It is seen that each of the first comparison-result data relates to only one specific hue.

For instance, if W is a constant, for red, r=W, g=b=0, so that y=m=W, and c=0. As a result, min (y, m)=W has a first-order value. The other five first comparison-result data are all of a value zero. That is, for red, h1r=min (y, m) alone is the only effective first comparison-result data. Similarly, h1g=min (c, y) is the only effective first comparison-result data for green; h1b=min (m, c) for blue; h1c=min (g, b) for cyan; h1m=min (b, r) for magenta; and h1y=min (r, g) for yellow.

FIG. 8A to FIG. 8F schematically show relations between the six hues and second comparison-result data:

This is the case in which the coefficients aq1 to aq6 and ap1 to ap6 in

h2bm=min (aq5*h1m, ap5*h1b), and

in the formula (1) above are all of a value "1".

It can be understood from FIG. 8A to FIG. 8F, that each of the second comparison-result data relates to changes in the six inter-hue areas of red-green, yellow-green, green-cyan, cyan-blue, blue-magenta, and magenta-red. In other words, for red-yellow, b=c=0, and the five terms other than h2ry=min (h1y, h1r)=min (min (r, g), min (y, m)) are all zero. Accordingly, only h2ry is an effective second comparison-result data for red-yellow. Similarly, only h2gy is an effective second comparison-result data for yellow-green; h2gc for green-cyan; h2bc for cyan-blue; h2bm for blue-magenta; and h2rm for magenta-red.

Moreover, the range of the inter-hue area to which each of the second comparison-result data relates is half that of the range of the hue to which each of the first comparison-result data relates.

FIG. 9A to FIG. 9F schematically show how the range of the six inter-hue area to which each or the second comparison-result data relate is changed when the coefficients aq1 to aq6 and ap1 to ap6 used for determination of h2ry, h2rm, h2gy, h2gc, h2bm and h2bc according to the foregoing formulae (6) and (1) are changed. The broken lines a1 to a6 shows the characteristics when aq1 to aq6 assume values larger than apt to ap6. The broken lines b1 to b6 shows the characteristics when ap1 to ap6 assume values larger than aq1 to aq6.

Specifically, for inter-hue area red-yellow, only h2ry min (aq1*h1y, ap1*h1r) is an effective second comparison-result data. If, for example, the ratio between aq1 and ap1 is 2:1, the peak value of the second comparison-result data is shifted toward red, as indicated by the broken line al in FIG. 9A, and thus it can be made an effective comparison-result data for an area closer to red in the inter-hue area of red-yellow. On the other hand, for example if the ratio between aq1 and apt is 1:2, the relationship is like that indicated by the broken line b1 in FIG. 9A, the peak value of the second comparison-result data is shifted toward yellow, and thus it can be made an effective comparison-result data for an area closer to yellow in the inter-hue area of red-yellow. Similarly, by respectively changing:

aq3 and ap3 in h2gy for yellow-green,

aq4 and ap4 in h2gc for green-cyan,

aq6 and ap6 in h2bc for cyan-blue,

aq5 and ap5 in h2bm for blue-magenta, and

aq2 and ap2 in h2rm for magenta-red,

in the area for which each second comparison-result data is most effective can be changed.

FIG. 10A and FIG. 10B respectively show relations between the six hues and inter-hue areas and effective calculation terms. Thus, if the coefficient generator 5 changes coefficients for a calculation term effective for a hue or an inter-hue area to be adjusted, only the target hue or inter-hue area can be adjusted. Further, if coefficients generated by the calculation coefficient generator 11 in the polynomial calculator 3 are changed, part of the inter-hue area where a calculation term in the inter-hue area is most effective can be changed without giving any influence to the other hues.

Next, an example of coefficients generated by the coefficient generator 5 of Embodiment 1 described above with reference to FIG. 1 will be described. The following formula (5) shows an example of coefficients U (Eij) generated by the coefficient generator 5. ##EQU12##

If the coefficients U (Fij) in the foregoing formula are all zero this represents the case where color conversion is not executed. The following formula (7) shows the case where, of the coefficients U (Fij), coefficients for first comparison-result data and second comparison-result data, both of which are first-order calculation terms, are represented by, for example Ar1 to Ar3, Ay1 to Ay3, Ag1 to Ag3, Ac1 to Ac3, Ab1 to Ab3, Am1 to Am3, Ary1 to Ary3, Agy1 to Agy3, Agc1 to Agc3, Abc1 to Abc3, Abm1 to Abm3 and Arm1 to Arm3. ##EQU13##

In the foregoing, only a hue or an inter-hue area can be adjusted. If coefficients relating to the calculation term for a hue or an inter-hue area to be adjusted are set to values other than zero, and the other coefficients are made to be zero, only the target hue or inter-hue area can be adjusted. For example, if coefficients Ar1 to Ar3 relating to h1r relating to red are set, the red hue is changed, and to vary the colors in the red-to-yellow inter-hue area, the coefficients Ary1 to Ary3 relating to h2ry are used.

Furthermore, if, in the polynomial calculator 3, the values of calculation coefficients aq1 to aq6 and ap1 to ap6 in

are changed so as to assume integral values of 1, 2, 4, 8, . . . , i.e., 2.sup.n (where n is an integer), multiplication can be achieved in the arithmetic units 10a and 10b by bit shifting.

As apparent from the foregoing, by changing the coefficients for the first comparison-result data relating to specific hues, it is possible to adjust only the target hue among the six hues of red, blue, green, yellow, cyan and magenta, and by changing the coefficients for the second comparison-result data, it is possible to vary the colors in the six inter-hue areas of red-yellow, yellow-green, green-cyan, cyan-blue, blue-magenta, and magenta-red. The adjustment of each hue or int


Free Web Sudoku Puzzles.
Solve with your browser.
  4       2   5 9
    3       6   8
        7 9      
      4   8     6
7               1
8     5   7      
      2 5        
5   6       4    
4 7   6       2  
What is it?



Add Your Site · Terms Of Service · Privacy Policy


DISCLAIMER
Linkgrinder is a free service that searches the Internet and indexes all files found so that you may search quickly and easily for shared files. These files are created and made available individually by users whose identity we are not aware of and who we have no control over. In essence we function like a search engine tool; these files ARE NOT STORED OR SERVED BY OUR NETWORK. We are not responsible for any materials obtained by using our service. We do not monitor any of the contents of these files. These files may contain viruses, illegal materials, materials inappropriate for minors, offensive files and the like. BY USING OUR SERVICE, YOU ASSUME FULL RESPONSIBILITY FOR DOWNLOADING THESE MATERIALS AND WILL INDEMNIFY US FOR ANY DAMAGES THAT MAY BE INCURRED.

For More Specific Information VIEW OUR TERMS OF SERVICE.

Thank you and Enjoy!