CN1307484C - Method for color separation page description grey scale grating - Google Patents

Method for color separation page description grey scale grating Download PDF

Info

Publication number
CN1307484C
CN1307484C CNB2005100005881A CN200510000588A CN1307484C CN 1307484 C CN1307484 C CN 1307484C CN B2005100005881 A CNB2005100005881 A CN B2005100005881A CN 200510000588 A CN200510000588 A CN 200510000588A CN 1307484 C CN1307484 C CN 1307484C
Authority
CN
China
Prior art keywords
color
page
color separation
page description
grating
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
CNB2005100005881A
Other languages
Chinese (zh)
Other versions
CN1621942A (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.)
Peking University
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University
Beijing Founder Electronics Co 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 Peking University, Beijing Founder Electronics Co Ltd filed Critical Peking University
Priority to CNB2005100005881A priority Critical patent/CN1307484C/en
Publication of CN1621942A publication Critical patent/CN1621942A/en
Application granted granted Critical
Publication of CN1307484C publication Critical patent/CN1307484C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a method for color separation page description grey scale gratings, which belongs to the existing pattern, image and word processing techniques. In the prior art, the gray scale grating processing of color separation page description can generate a plurality of grating images, each image is corresponding to an output result of one color part, and users can not visually know contents of the entire page. The method of the present invention adopts a color separation image synthesizing technique. The method of the present invention not only can make the users visually know the contents of the entire page, but also can obtain correct superimposition effects for the grey scale grating processing of color covering page description. Finally, the output results of the color separation page description and the color covering page description are visually the same.

Description

A kind of method of color separation page description grey scale grating
Technical field
The invention belongs to figure, image and the word processing technology in the preceding field of seal, be specifically related to a kind of method of color separation page description grey scale grating.
Background technology
All figures, image, the literal object of forming the page are referred to as Drawing Object.Page-describing is the set of Drawing Object, and the describing method of Drawing Object is divided into color separation (Separated) and covers look (Composite) two kinds.All Drawing Objects are being a color value that need specify in now under the given color space on the page.In most of color spaces, color value is made up of a plurality of color components, for example: white R=255 in red, green, blue (being called for short RGB) color space, G=255, B=255 represents, and white is expressed as C=0, M=0 in green grass or young crops, product, Huang, black (being called for short CMYK) color space, Y=0, K=0.So-called color separation page description refers to be deposited in each color part of the Drawing Object in the same logical page (LPAGE) in a plurality of Physical Page in the mode of gray scale Drawing Object.Deposit in the same Physical Page in the mode of color graphics object and cover all colours part that the look page-describing refers to the Drawing Object in the same logical page (LPAGE).
Fig. 1 represents a logical page (LPAGE), also is the page result who covers the look page-describing accordingly simultaneously.The illiteracy look page-describing of a logical page (LPAGE) has only a Physical Page.
Fig. 2 to Fig. 5 represents logical page (LPAGE) shown in Figure 1 color separation page description result under the CMYK color space.It has four Physical Page, respectively blue or green (Cyan), product (Magenta), yellow (Yellow), black (Black) four color parts in the presentation logic page or leaf.
If the color space of output does not change in real work, the rasterization process of color separation page description file does not rely on raster image processor (Raster Image Processor fully so, be called for short RIP) inner color space conversion ability and double exposure processing power, so just can access reliable and stable color output result and double exposure effect, so color separation page description is widely used in (Prepress) field before the seal both domestic and external.
The rasterization process of color separation page description, known method is at present: be the least unit of rasterisation and output with the Physical Page.For example, if the color separation page description of the page shown in Figure 1 outputs on the black-and-white printer, the result will be that four images of Fig. 2 to Fig. 5 print to respectively on the print media so, form four pages.The shortcoming of this method is: this color separation way of output makes the user can't understand the content of full page intuitively, so and be not suitable for some application, for example: proof, promptly check the page, this moment, the result that wishes of user was as Fig. 6, and just the color value of each Drawing Object is converted into the result of imaging behind the gray-scale value.
When needing gray scale output as a result if the user need understand the content of full page intuitively, unique way is to be forced to regenerate cover the look page description file at present, and then carries out grey scale grating, driving printer output.But this way also has shortcoming, and promptly when the Drawing Object double exposure of the page, it is incorrect to cover the look output effect, as Fig. 8 to shown in Figure 10.
In the prior art, also do not relate to the disposal route of color separation page description grey scale grating at present, do not find that any product provides this function yet.
Summary of the invention
At the defective that exists in the prior art, the objective of the invention is: the method that proposes a kind of color separation page description grey scale grating, can make the user understand the content of full page intuitively when color separation page description grey scale grating, the while can be reflected the double exposure effect of Drawing Object very exactly.
For reaching above purpose, the technical solution used in the present invention is: a kind of method of color separation page description grey scale grating may further comprise the steps:
(1) logical page (LPAGE) identification, Physical Page rasterisation: input color separation page description, at first determine the color attribute of current Physical Page and affiliated logical page (LPAGE) according to the colorant information in the color separation page description, then Physical Page is rasterized into the image gray data, the grey-scale raster images data of exporting Physical Page at last with and logical page (LPAGE) and color attribute;
(2) color is synthetic: find all grey-scale raster images data that belong to same logical page (LPAGE), then in conjunction with the synthetic chromatic grating data of its color attribute;
(3) colour changes gray scale: the chromatic grating data-switching after step (2) is synthesized becomes the gray scale raster data, finishes the grey scale grating of color separation page description.
Further, has better effect: add processing when color is synthetic in step (2), make that final gray scale output result and print result are more approaching to special look for making the present invention.
Further, has better effect for making the present invention: in step (3), the chromatic grating data are carried out color correction earlier, and then convert the gray scale raster data to.Add colour correction (abbreviation color correction) link two purposes arranged: make that final gray scale output result is more accurate on color, with make final gray scale output result on color and illiteracy look page-describing visually reach consistent.The most frequently used color calibrating method is the color calibrating method that international color consortium is recommended, and is called for short the ICC color correction.
Further, in step 3, utilize a multidimensional lookup table to carry out interpolation calculation, finish color correction process and the colored gray scale process of changeing simultaneously.This method not only can reach the effect of color correction, and can also improve the speed of processing greatly.
Effect of the present invention is: the user can understand the content of full page intuitively when color separation page description grey scale grating, simultaneously can also simulate the double exposure effect of Drawing Object in the page well, but also can so that the color separation page description of the same page and Meng Se page-describing when gray scale is exported visually color be consistent.
Description of drawings
Fig. 1 is a common color page synoptic diagram;
Fig. 2 is a cyan part among Fig. 1, i.e. first Physical Page synoptic diagram in the color separation page description;
Fig. 3 is a product color part among Fig. 1, i.e. second Physical Page synoptic diagram in the color separation page description;
Fig. 4 is a yl moiety among Fig. 1, i.e. the 3rd Physical Page synoptic diagram in the color separation page description;
Fig. 5 is a black part among Fig. 1, i.e. the 4th Physical Page synoptic diagram in the color separation page description;
Fig. 6 is the rasterisation effect synoptic diagram of color separation page description file;
Fig. 7 is a processing flow chart of the present invention;
Fig. 8 is the double exposure effect synoptic diagram of color page;
Fig. 9 is the grey scale grating effect synoptic diagram of user expectation;
Figure 10 is to use the effect synoptic diagram that covers the actual output of look file.
Embodiment
Below in conjunction with description of drawings, the invention will be further described:
As shown in Figure 7, a kind of method of color separation page description grey scale grating may further comprise the steps:
(1) logical page (LPAGE) identification, Physical Page rasterisation: input color separation page description, at first determine the color attribute of current Physical Page and affiliated logical page (LPAGE) according to the colorant in the color separation page description (Colorant) information and other accessory informations, this is owing to the Drawing Object of each Physical Page in color separation is described is all described with gray scale, then Physical Page is generated and is rasterized into the image gray data, the output of this processing procedure be Physical Page the raster image data with and logical page (LPAGE) and color attribute;
Here color attribute have two kinds may: the one, the processing look the CMYK color space under promptly is green grass or young crops, product, Huang, in deceiving one; The 2nd, non-processing look, promptly special look, need obtain its alternative look information under the CMYK color space this moment.
(2) color is synthetic: find all raster image data that belong to same logical page (LPAGE), then in conjunction with its color attribute combined color image data.For non-special color image, be example with the CYMK color space, false coordinate (x, y) locate, the pixel value of cyan image be C (x, y), the pixel value of product color image is M (x, y), the pixel value of yellow image be Y (x, y), the pixel value of black image is K (x, y), so synthetic back coloured image (x, the pixel value of y) locating is:
(C(x,y),M(x,y),Y(x,y),K(x,y))
Wherein, and 0<=C (x, y), M (x, y), y (x, y), K (x, y)<=1.
Because when color separation page description generated, the effect of double exposure was processed, so the simple synthetic effect that just can reflect page double exposure exactly of color separation dot matrix.
(3) colour changes gray scale, and the chromatic grating data-switching after step (2) is synthesized becomes the gray scale raster data, and the conversion formula that adopts in the present embodiment is as follows: supposition coordinate (x, y) the pixel value of locating after synthetic is (c, m, y, k), so the conversion after gray scale raster data G be
G(x,y)=1.0-F(k+0.3×c+0.59×m+0.11×y),
Wherein, if F (x)=x wherein is 0<=x<=1; If F (x)=1 is x>1.Note gray-scale value 0 expression black this moment.
Above-mentioned disposal route has been ignored special look information fully.This disposal route for scarcely comprise special look information or specially the look information page seldom be acceptable.But the special look information of some page can not be ignored, and we need add the synthetic processing links of color of special look in above-mentioned steps 2 for this reason.Disposal route is as follows:
For special color image, the effect that contains the color separation page description grey scale grating output of special look for acquisition correctly, can in the color building-up process, add special look processing links, if the color attribute of certain gray scale dot array data is the special look of handling outside the look, should at first find the processing of this special look to substitute look so, for example: under the CMYK color space, specially the look redness is expressed as (C=0, M=100, Y=100, K=100), and then and the gray-scale value of each pixel multiply each other, last result is added on the respective pixel of coloured image.The final output result of this processing is that color space is generally the color image data under the CMYK color space.Computing method are as follows:
Suppose original coordinate (x, y) locate the special look pixel value before merging for (C (and x, y), M (x, y), Y (x, y), K (x, y)); (x, the grey scale pixel value of y) locating are g to coordinate, 0<g<1 on special color image; The alternative look of this special look be (c, m, y, k), 0<=c wherein, m, y, k<=1, merge so the back image coordinate (x, y) locate the pixel value and be: (F (C (x, y)+c * g), F (M (x, y)+m * g), F (Y (x, y)+y * g), F (K (x, y)+k * g))
If F (x)=x wherein is 0<=x<=1; If F (x)=1 is x>1.
Same, the transparent effect when specially the look synthesis step has been simulated special look double exposure has well been eradicated the problem that look is printed special secondary school look double exposure of covering.
For making the present invention have better effect: in step (3), can carry out color correction earlier, and then convert the gray scale raster data to the chromatic grating data.Add colour correction (abbreviation color correction) link two purposes are arranged: make that final gray scale output result is more accurate on color, and make final gray scale output result on color and cover the result that the look page description grey scale exports and visually reach consistent.The most frequently used color calibrating method is the color calibrating method that international color consortium is recommended, and is called for short the ICC color correction.
ICC color correction specific implementation method is as follows:
1) each color of pixel value (y k) carries out the ICC color correction for c, m, obtain a new color value (c1, m1, y1, k1)
2) then (y1 k1) carries out the colored conversion of changeing gray scale for c1, m1, and the description in the above-mentioned steps (3) is seen in concrete operations.
Though the ICC color correction can obtain color simulation effect preferably,, make that the processing speed of above-mentioned steps 3 is slack-off owing to added the link of ICC color correction.We propose a kind of new disposal route for this reason: utilize a multidimensional lookup table to carry out interpolation calculation, finish color correction process and the colored gray scale process of changeing simultaneously.This method not only can reach the effect of color correction, and the speed of the processing that improves greatly.
The formation of multidimensional lookup table at first is described: we suppose (c, m, y, k), 0<=c wherein, m, y, k<=1, constituted a unit cube of four-dimentional space, we are divided into n part to every limit of this unit cube, have promptly obtained n+1 sampled point, so just this unit cube have been divided into n * n * n * impartial small cubes of n size.These cubes have (n+1) * (n+1) * (n+1) * (n+1) individual summit.These summits are: (k1/n, k2/n, k3/n, k4/n), 0<=k<=n wherein.We will preestablish the gray-scale value after these color value conversions, and these color values are saved as table, just a multidimensional lookup table.
For any one (c, m, y, k), 0<=c, m, y, k<=1, it necessarily drops in certain small cubes so.We amplify n to each dimension of this small cubes doubly, become unit cube then and by translation, and the computing method of interpolation are as follows so:
Suppose pixel value (c, m, y, k) value after the color correction be C (c, m, y, k), 0<=c wherein, m, y, k<=1,0<=C (c, m, y, k)<=1 (value of function is a gray-scale value); Known C (m1, m2, m3, m4), and m1 wherein, m2, m3, m4=0 or 1 (the summit corresponding gray of unit cube in the four-dimentional space), so:
C(c,m,y,k)=C(1,1,1,1)×c×m×y×k+C(1,1,1,0)×c×m×y×(1-k)
+C(1,1,0,1)×c×m×(1-y)×k+C(1,1,0,0)×c×m×(1-y)×(1-k)
+C(1,0,1,1)×c×(1-m)×y×k+C(1,0,1,0)×c×(1-m)×y×(1-k)
+C(1,0,0,1)×c×(1-m)×(1-y)×k+C(1,0,0,0)×c×(1-m)×(1-y)×(1-k)
+C(0,1,1,1)×(1-c)×m×y×k+C(0,1,1,0)×(1-c)×m×y×(1-k)
+C(0,1,0,1)×(1-c)×m×(1-y)×k+C(0,1,0,0)×(1-c)×m×(1-y)×(1-k)
+C(0,0,1,1)×(1-c)×(1-m)×y×k+C(0,0,1,0)×(1-c)×(1-m)×y×(1-k)
+C(0,0,0,1)×(1-c)×(1-m)×(1-y)×k+C(0,0,0,0)×(1-c)×(1-m)×(1-y)×(1-k)
The C that notes occurring in the formula (c, m, y, k), c wherein, m, y, k=0 or 1 are the gray-scale values after the summit conversion of this unit cube, they leave in the aforesaid multidimensional lookup table in advance.Like this, just obtained the gray-scale value after the color correction by multidimensional lookup table and top computing formula.
By above embodiment, can find out that effect of the present invention is: the user not only can be intuitively Separate the content of whole color separation page, process but also can make illiteracy look page-describing carry out grey scale grating The time double exposure effect very correct, can also be so that the Output rusults of color separation page description and Meng Se page-describing Visually reach consistent. Make like this color separation page description before seal in the technology flow process more unobstructed, the knot The uniformity of fruit is better.

Claims (4)

1. the method for a color separation page description grey scale grating may further comprise the steps:
(1) logical page (LPAGE) identification, Physical Page rasterisation: input color separation page description, at first determine the color attribute of current Physical Page and affiliated logical page (LPAGE) according to the colorant information in the color separation page description, then Physical Page is rasterized into the image gray data, the raster image data of exporting Physical Page at last with and logical page (LPAGE) and color attribute;
(2) color is synthetic: find all grey-scale raster images data that belong to same logical page (LPAGE), then in conjunction with the synthetic chromatic grating data of its color attribute;
(3) colour changes gray scale: the chromatic grating data-switching after step (2) is synthesized becomes the gray scale raster data, finishes the grey scale grating of color separation page description.
2. the method for a kind of color separation page description grey scale grating as claimed in claim 1 is characterized in that: add the processing to special look when color is synthetic in the step (2).
3. the method for a kind of color separation page description grey scale grating as claimed in claim 1 or 2 is characterized in that: in the step (3) the chromatic grating data are carried out color correction earlier, and then convert the gray scale raster data to.
4. the method for a kind of color separation page description grey scale grating as claimed in claim 3 is characterized in that: utilize a multidimensional lookup table to carry out interpolation calculation, finish color correction process and the colored gray scale process of changeing simultaneously.
CNB2005100005881A 2005-01-07 2005-01-07 Method for color separation page description grey scale grating Expired - Fee Related CN1307484C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100005881A CN1307484C (en) 2005-01-07 2005-01-07 Method for color separation page description grey scale grating

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100005881A CN1307484C (en) 2005-01-07 2005-01-07 Method for color separation page description grey scale grating

Publications (2)

Publication Number Publication Date
CN1621942A CN1621942A (en) 2005-06-01
CN1307484C true CN1307484C (en) 2007-03-28

Family

ID=34777985

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100005881A Expired - Fee Related CN1307484C (en) 2005-01-07 2005-01-07 Method for color separation page description grey scale grating

Country Status (1)

Country Link
CN (1) CN1307484C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100545831C (en) * 2006-09-27 2009-09-30 北京大学 A kind of grating processing method of transparent page and device
CN100576238C (en) 2006-09-30 2009-12-30 北京大学 A kind of grating image processing method and device
CN101431686B (en) * 2008-12-17 2011-06-01 北大方正集团有限公司 Method and device for converting colored plate into gray plate
DE102018201669A1 (en) * 2017-03-21 2018-09-27 Heidelberger Druckmaschinen Ag Method of preserving the blackening of objects
CN110097147B (en) * 2018-01-29 2020-07-14 北大方正集团有限公司 Method and system for setting primitive drawing attribute, computer equipment and storage medium
CN109274858B (en) * 2018-07-05 2020-04-03 北京钰洲科技有限公司 Color separation image restoration method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04181864A (en) * 1990-11-16 1992-06-29 Canon Inc Color picture reader
CN1040799C (en) * 1989-08-25 1998-11-18 株式会社亚玛托亚商会 Converter technique for grey scale hierarchy for drawing reproduction
JPH11220576A (en) * 1998-02-03 1999-08-10 Canon Inc Color image processor and its method and storage medium thereof
CN1077375C (en) * 1989-10-07 2002-01-02 株式会社亚玛托亚商会 Transformation method of picture grey scale for use in the production of copying picture without bias colour
CN1475860A (en) * 2002-04-23 2004-02-18 ��Τ����˹ Colour dichromic method and its printed product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1040799C (en) * 1989-08-25 1998-11-18 株式会社亚玛托亚商会 Converter technique for grey scale hierarchy for drawing reproduction
CN1077375C (en) * 1989-10-07 2002-01-02 株式会社亚玛托亚商会 Transformation method of picture grey scale for use in the production of copying picture without bias colour
JPH04181864A (en) * 1990-11-16 1992-06-29 Canon Inc Color picture reader
JPH11220576A (en) * 1998-02-03 1999-08-10 Canon Inc Color image processor and its method and storage medium thereof
CN1475860A (en) * 2002-04-23 2004-02-18 ��Τ����˹ Colour dichromic method and its printed product

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
印前图像质量控制要素与方法(上) 沈震宇,印刷杂志,2004年02期 2004 *
彩色图像的分色和挂网技术 张惠娟,微机发展,1999年03期 1999 *

Also Published As

Publication number Publication date
CN1621942A (en) 2005-06-01

Similar Documents

Publication Publication Date Title
CN104115481B (en) Spectrum picture process
CN1307484C (en) Method for color separation page description grey scale grating
CN102439963B (en) Methods and systems for multicolor process printing employing both process colors and spot colors in the process ink set
CN101652988B (en) Color processor, and color processing method
US20100067056A1 (en) Automated ink color matching of solids and tones
US6657746B1 (en) Look-up table constructing method and color conversion apparatus
CN103931169A (en) Universal gamut mapping and color management method
CN100589521C (en) Method for printing and outputting L*a*b* image with high fidelity
WO2022037023A1 (en) Traceable printing method and system
CN103617596A (en) Image color style transformation method based on flow pattern transition
CN102945556A (en) Seven color separation algorithm based on cellular element partition neugebauer equation
Al-saleem et al. Mathematical representation of color spaces and its role in communication systems
CN102520579A (en) Seven-color separation method for colored images
US20070236737A1 (en) System and method for determination of gray for CIE color conversion using chromaticity
US7679783B2 (en) System and method for extracting grayscale data within a prescribed tolerance
CN103856687A (en) Color converting apparatus and color converting method for designated-color printing
CN101222573A (en) Color commutation method and device
US20030176281A1 (en) Choice of chromophores in two color imaging systems
DE102011079513A1 (en) Stain codes using a neighborhood array
WO2000000922A2 (en) Color data inversion and reconversion
CN103854294B (en) A kind of automatic spot color separating method and system of printed matter based on colour cast analysis
US20070211266A1 (en) System and method for extracting grayscale data in accordance with a prescribed tolerance function
WO2019074467A1 (en) Method for separating the colours of a digital image into two coloured inks and black ink for four or more colour printing
CN112651932B (en) Method for calibrating metamerism maximum gray level equivalent substitution range
JP4498118B2 (en) Image processing apparatus and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070328