CN100351769C - High speed color matching processing system and method - Google Patents

High speed color matching processing system and method Download PDF

Info

Publication number
CN100351769C
CN100351769C CNB200410074447XA CN200410074447A CN100351769C CN 100351769 C CN100351769 C CN 100351769C CN B200410074447X A CNB200410074447X A CN B200410074447XA CN 200410074447 A CN200410074447 A CN 200410074447A CN 100351769 C CN100351769 C CN 100351769C
Authority
CN
China
Prior art keywords
conversion
module
keyword
rgb
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB200410074447XA
Other languages
Chinese (zh)
Other versions
CN1749948A (en
Inventor
周兴平
顾强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing De Xing Electronic Technology Co., Ltd.
Original Assignee
Primax Electronics Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Primax Electronics Ltd filed Critical Primax Electronics Ltd
Priority to CNB200410074447XA priority Critical patent/CN100351769C/en
Publication of CN1749948A publication Critical patent/CN1749948A/en
Application granted granted Critical
Publication of CN100351769C publication Critical patent/CN100351769C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Processing (AREA)

Abstract

The present invention relates to a high-speed color matching and processing system and a method. A digital element image is converted from an RGB mode into a CMYK mode in high speed. The system comprises a conversion and preprocessing module, a storage module, a conversion and control module and an extraction module, wherein the conversion and preprocessing module converts key words of all RGB values into CMYK color values, the storage module is used for storing the CMYK color values, the conversion and control module is used for receiving the conversion starting instruction and controlling the conversion starting, and the extraction module is used for extracting the key words of the RGB values of the pixel points in the present digital image according to the conversion starting instruction. According to the key words searching the corresponding CMYK color values in the storage module, the RGB values are converted into the CMYK color values. The present invention can raise the processing speed of the color matching of the digital element image, and simultaneously reduce the memory occupation of the system. Thus, the operation performance of the entire system is not affected, lots of conversion operation can be saved, and the present invention can ensure users to keep the color consistency in most of application.

Description

A kind of high speed color matching processing system and method
Technical field
The present invention relates to a kind of color matching processing system and method, particularly relate to a kind of high speed color matching processing system and method.
Background technology
In computing machine, the color of each point generally need get up with one 24 RGB (red/green/indigo plant) information stores on the image, 8 bit representation redness wherein, 8 bit representation greens, 8 bit representation bluenesss.RGB color on the screen can not directly print, this is because luminaire (for example graphoscope) is to use the additional process of Red Green Blue to produce color by one, the color procedure for displaying then is that the color of various wavelength is stacked up with different ratios, thereby produce various color, for example, produce blank screen without light, all wavelengths is superimposed and just produces white.In contrast, reflecting device (for example a piece of paper) produces color by negative process, and a paper of not printing will reflect the light that all wavelengths is formed, thereby present white, the colour print process has been used blueness/magenta/yellow mode (CMY), and absorbing wavelength produces different colors.Blue ink absorbs red wavelength, makes the image that prints be blue-green; Similarly, magenta red ink absorbs green wavelength, makes the image that prints be blue red.Computing machine must be printed with the CMY pattern with RGB pattern page displayed, this just need be color from the RGB mode switch to the CMY pattern.When increasing black in the CMY pattern, this pattern just is called the CMYK pattern, and wherein " K " just is meant black.Software driver is represented computer picture to convert to monochromatic and employed 4 CMYK order of color print head from 24 RGB by " color conversion " and " shadow tone conversion " two steps.In color management, this disposal route is called the match colors method, i.e. CMM (Color Match Method).
Because there is difference miscellaneous in color printing apparatus, original figure, image then adopt special matching algorithm by the RGB color space to the conversion of CMYK color space, rather than traditional mathematical theory algorithm carries out.In the match colors process, for common color laser printing, if comprise significantly coloured image in the page, because each pixel in the page all needs to carry out translation operation, therefore add up and to reach several hundred million times computing, thereby make the processing time long, and can cause the decline of system performance.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of high speed color matching processing system and method, to improve the processing speed of digital element image color coupling, reduces taking of Installed System Memory simultaneously, thereby does not influence the runnability of total system.
To achieve these goals, the invention provides a kind of high speed color matching processing system, in order to the digital element image is converted to the CMYK pattern fast by the RGB pattern, its characteristics are, comprise: a conversion pretreatment module, its keyword with rgb value is converted to the cmyk color value; One storage module is in order to store this cmyk color value; One conversion and control module, it is in order to receive the conversion enabled instruction, and control transformation starts; And an extraction module, it changes enabled instruction according to this, extracts the keyword of the rgb value of pixel in current this digital element image, searches for corresponding cmyk color value according to this keyword in this storage module, and this rgb value is converted to this cmyk color value; And
One stores update module, when this extraction module does not search the corresponding cmyk color value of keyword with this rgb value of current pixel point in this storage module, this keyword is sent to this conversion pretreatment module changes, and in this storage module, store the cmyk color value after changing.
Above-mentioned high speed color matching processing system, its characteristics are that this storage module is a high-speed cache.
Above-mentioned high speed color matching processing system, its characteristics are that the keyword of this rgb value is respectively to get low 4 compositions in the rgb value.
Above-mentioned high speed color matching processing system, its characteristics are that the keyword of this rgb value is respectively to get low 5 compositions in the rgb value.
The present invention also provides a kind of high speed match colors disposal route, and in order to the digital element image is converted to the CMYK pattern fast by the RGB pattern, its characteristics are that this method comprises the steps: and will use frequent rgb value to be converted to the cmyk color value; In storage module, store this cmyk color value; Receive the conversion enabled instruction; According to this conversion enabled instruction, extract the keyword of the rgb value of all pixels in current this digital element image, in this storage module, extract the cmyk color value corresponding with this keyword; And when not searching the cmyk color value corresponding, this keyword is converted to the cmyk color value, and store the cmyk color value after the conversion with current keyword.
Above-mentioned high speed match colors disposal route, its characteristics are that this storage module is a high-speed cache.
Above-mentioned high speed match colors disposal route, its characteristics are that the keyword of this rgb value is respectively to get low 4 compositions in the rgb value.
Above-mentioned high speed match colors disposal route, its characteristics are that the keyword of this rgb value is respectively to get low 5 compositions in the rgb value.
Above-mentioned high speed match colors disposal route, its characteristics are, also comprise the storage updating steps, when not searching the cmyk color value corresponding with current keyword, this keyword are converted to the cmyk color value, and store the cmyk color value after the conversion.
Effect of the present invention, be to improve the processing speed of digital element image color coupling, reduce taking of Installed System Memory simultaneously, thereby do not influence the runnability of total system, and can save a large amount of translation operation, can guarantee that the user keeps the consistance of color in the overwhelming majority uses, save time and cost greatly.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is the structural drawing of the high speed color matching processing system that the present invention carried;
Fig. 2 is the structural drawing of the embodiment of the invention;
Fig. 3 is the overview flow chart of the high speed match colors disposal route that the present invention carried; And
Fig. 4 is the process flow diagram of the embodiment of the invention.
Wherein, Reference numeral:
110-changes pretreatment module, 120-storage module
130-conversion and control module, the 140-extraction module
150-stores update module
Step 310-is converted to the cmyk color value with rgb value
Step 320-stores the cmyk color value in storage module
Step 330-receives the conversion enabled instruction
Step 340-changes enabled instruction according to this, extracts the keyword of the rgb value of all pixels in current this digital picture, extracts the cmyk color value corresponding with this keyword in this storage module
The initialization of step 410-buffer memory
Step 420-receives keyword, the search buffer memory
Whether step 430-hits
Step 440-extracts CMYK from buffer memory
Step 450-carries out conversion
Step 460-upgrades buffer memory
Embodiment
At first by Fig. 1 system of the present invention is described, this figure is the modular structure figure of the high speed color matching processing system that the present invention carried, and is described as follows:
(1) conversion pretreatment module 110, it is converted to the used color-values of the actual printing of CMYK in order to the rgb value with pixel.
(2) storage module 120, and in order to store this cmyk color value, it is preferably a high-speed cache (Cache).
(3) the conversion and control module 130, and it is in order to receive the conversion enabled instruction, and control transformation starts.
(4) extraction module 140, and it changes enabled instruction according to this, extract the keyword of the rgb value of pixel in current this digital picture, and wherein the keyword of this rgb value also can respectively be got low 5 numerical value for respectively get low 4 compositions in rgb value.In this storage module, search for corresponding cmyk color value according to this keyword, this rgb value is converted to this cmyk color value.
Wherein the present invention comprises that also one stores update module 150, see also Fig. 2, when this extraction module does not search the corresponding cmyk color value of keyword with this rgb value of current pixel point in this storage module, this keyword is sent to this modular converter 110 to be changed, and the cmyk color value after storage is changed in this storage module 120, thereby with the data updating in the storage module.
Then, by Fig. 3 flow process of the present invention is described, this figure is the operation workflow figure of the high speed match colors disposal route that the present invention carried, be described as follows: step 310, at first rgb value is converted to the cmyk color value, step 320, in storage module, store this cmyk color value then, step 330 receives the conversion enabled instruction, step 340 in real time, according to this conversion enabled instruction, extract the keyword of the rgb value of all pixels in current this digital picture, the search cmyk color value corresponding with this keyword is converted to the cmyk color value with this rgb value in this storage module.
At first to set up the data cached structure of color-values, because there is the gray scale type in image, two kinds of patterns of color-type, so the color-values buffer memory also will be set up two covers, a cover storage gray scale color-values, a cover storage colour tint value.Data structure is as follows:
The data structure of each color-values:
struct_CMM_PIXEL
{
unsigned?long?RGBcolor;
unsigned?long?CMYKcolor;
};
The metadata cache of colour tint value keeps 4096 altogether.
#define_CMM_CACHE_SIZE 256*4*4
struct_CMM_CACHE
{
struct_CMM_PIXEL?cmm_pixel[_CMM_CACHE_SIZE];
};
Take the internal memory of 32K byte altogether.
The metadata cache of gray scale color-values keeps 768 altogether
#define_CMM_GRAPHICSCACHE_SIZE 256*3
struct_CMM_GRAPHICSCACHE
{
struct_CMM_PIXEL?cmm_pixel[_CMM_GRAPHICSCACHE_SIZE];
};
Take the internal memory of 6K byte altogether.
The setting of cache size will be considered the performance impact to total system, and buffer memory is big more to improve the color-values cache hit rate more, but may reduce the runnability of total system.
Because rgb color value scope 0-2 24, and the scope of buffer memory is less than 2 24Therefore can not all rgb colors all be buffered and record, buffer memory can only write down the frequent color-values of nearest use, so the calculating of coupling keyword is key, respectively get low 4 keywords of forming 12 according to analyzing RGB, can reach reasonable performance and improve and the memory consumption ratio.At first committed memory is little, writes down 2 altogether 12=4096, every contains RGB, and the unit of two 4 bytes of CMYK takies the internal memory of 32K byte altogether; If respectively getting low 5, RGB just can write down 2 15=32768, but to take the internal memory of 256K byte, memory consumption is big.Respectively get low 4 reason as for RGB, the value that derives from RGB comprises low level basically, and is high-order less, if get high 4 then cache hit rate less than 10%.
See also Fig. 4, this figure is the process flow diagram of the embodiment of the invention.Step 410, initialization high-speed cache at first, then according to the conversion enabled instruction, extract the keyword of the rgb value of current pixel point, step 420, the search cmyk color value corresponding in this storage module with this keyword, step 430 judges whether to exist the color-values of mating with this keyword again, step 440, if exist, then from buffer memory, extract CMYK, step 450, if do not search the cmyk color value corresponding with keyword, then current rgb value is converted to the cmyk color value, step 460 is upgraded storage module again.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of claim of the present invention.

Claims (4)

1, a kind of high speed color matching processing system in order to the digital element image is converted to the CMYK pattern fast by the RGB pattern, is characterized in that, comprising:
One conversion pretreatment module, its keyword with rgb value is converted to the cmyk color value;
One storage module is in order to store this cmyk color value;
One conversion and control module, it is in order to receive the conversion enabled instruction, and control transformation starts;
One extraction module, it changes enabled instruction according to this, extracts the keyword of the rgb value of pixel in current this digital element image, searches for corresponding cmyk color value according to this keyword in this storage module, and this rgb value is converted to this cmyk color value; And
One stores update module, when this extraction module does not search the corresponding cmyk color value of keyword with this rgb value of current pixel point in this storage module, this keyword is sent to this conversion pretreatment module changes, and in this storage module, store the cmyk color value after changing.
2, high speed color matching processing system according to claim 1 is characterized in that, this storage module is a high-speed cache.
3, high speed color matching processing system according to claim 1 is characterized in that, the keyword of this rgb value is respectively to get low 4 compositions in the rgb value.
4, high speed color matching processing system according to claim 1 is characterized in that, the keyword of this rgb value is respectively to get low 5 compositions in the rgb value.
CNB200410074447XA 2004-09-15 2004-09-15 High speed color matching processing system and method Expired - Fee Related CN100351769C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200410074447XA CN100351769C (en) 2004-09-15 2004-09-15 High speed color matching processing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200410074447XA CN100351769C (en) 2004-09-15 2004-09-15 High speed color matching processing system and method

Publications (2)

Publication Number Publication Date
CN1749948A CN1749948A (en) 2006-03-22
CN100351769C true CN100351769C (en) 2007-11-28

Family

ID=36605417

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200410074447XA Expired - Fee Related CN100351769C (en) 2004-09-15 2004-09-15 High speed color matching processing system and method

Country Status (1)

Country Link
CN (1) CN100351769C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103765418B (en) * 2011-08-05 2017-03-08 国际商业机器公司 Information search system and method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011023991A (en) * 2009-07-16 2011-02-03 Konica Minolta Business Technologies Inc Information processor and program
CN114268704A (en) * 2021-12-20 2022-04-01 北京镁伽科技有限公司 Image data conversion method, conversion device, signal generator, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1057121A (en) * 1990-06-04 1991-12-18 国际商业机器公司 Bi-directional graphics attribute conversion profile
CN1219256A (en) * 1996-03-15 1999-06-09 微米技术有限公司 Method and apparatus for performing color space conversion using blend logic
JP2000106631A (en) * 1998-09-29 2000-04-11 Fuji Photo Film Co Ltd Color converter
US6225974B1 (en) * 1997-06-19 2001-05-01 Electronics For Imaging, Inc. Gamut correction with color separation and methods and apparatuses for performing same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1057121A (en) * 1990-06-04 1991-12-18 国际商业机器公司 Bi-directional graphics attribute conversion profile
CN1219256A (en) * 1996-03-15 1999-06-09 微米技术有限公司 Method and apparatus for performing color space conversion using blend logic
US6225974B1 (en) * 1997-06-19 2001-05-01 Electronics For Imaging, Inc. Gamut correction with color separation and methods and apparatuses for performing same
JP2000106631A (en) * 1998-09-29 2000-04-11 Fuji Photo Film Co Ltd Color converter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103765418B (en) * 2011-08-05 2017-03-08 国际商业机器公司 Information search system and method

Also Published As

Publication number Publication date
CN1749948A (en) 2006-03-22

Similar Documents

Publication Publication Date Title
CN1182486C (en) Picture data processing method, apparatus thereof and storage medium and programme
CN1278533C (en) Handset capable of automatically recording characters and images, and method of recording and processing thereof
CN1251474C (en) Digital scenery camera having image characteristics analysis function
CN1207924C (en) Method for testing face by image
CN1200385C (en) Machine readable code and method and device of encoding and decoding same
CN1302373C (en) Method for sharing color reference table and device for pattern sample memory
US20070035780A1 (en) System and method for defining characteristic data of a scanned document
CN108364010A (en) A kind of licence plate recognition method, device, equipment and computer readable storage medium
US20080025647A1 (en) Image management methods, image management systems, and articles of manufacture
CN1432947A (en) Multimedia object searchine device and method
CN101576896A (en) Retrieval system and retrieval method for similar pictures
CN1237821C (en) Image information transfer method and image information processor
JP2009207146A (en) System and method for artistic scene image detection
CN1900933A (en) Image search system, image search method, and storage medium
CN1241758A (en) Image processing apparatus and method, and computer-readable memory
JPH07104922B2 (en) Graphics attribute conversion system and method
CN110188217A (en) Image duplicate checking method, apparatus, equipment and computer-readable storage media
CN1282109C (en) Image research method and device not affected by light change
CN1513256A (en) Embedding color profiles in raster image data using data hiding techniques
CN1199435C (en) Image processing system, image processing apparatus, image processing method and memory medium
CN1941839A (en) Image processing apparatus and control method for the image processing apparatus
JP2001511612A (en) Method and system for image format conversion
CN1710946A (en) Method for overlaying character on digital picture
CN100351769C (en) High speed color matching processing system and method
CN1621942A (en) Method for color separation page description grey scale grating

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: ZHISHEN SCIENCE & TECHNOLOGY CO. LTD.

Free format text: FORMER OWNER: DEXIN SCIENCE + TECHNOLOGY CO., LTD.

Effective date: 20061110

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20061110

Address after: Taipei city of Taiwan Province

Applicant after: Zhishen Science and Technology Co., Ltd.

Address before: Taipei city of Taiwan Province

Applicant before: Destiny Technology Corporation

C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: BEIJING DESTINY ELECTRONIC TECHNOLOGY CORPORATION

Free format text: FORMER OWNER: ZHISHEN SCIENCE AND TECHNOLOGY CO LTD

Effective date: 20140219

COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: TAIWAN, CHINA TO: 100080 HAIDIAN, BEIJING

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20140219

Address after: Beijing City 100080 square Haidian District Road No. 10 Building 2 layer 1+1

Patentee after: Beijing De Xing Electronic Technology Co., Ltd.

Address before: Taipei City, Taiwan, China

Patentee before: Zhishen Science and Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071128

Termination date: 20150915

EXPY Termination of patent right or utility model