CN1621942A - 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
CN1621942A
CN1621942A CN 200510000588 CN200510000588A CN1621942A CN 1621942 A CN1621942 A CN 1621942A CN 200510000588 CN200510000588 CN 200510000588 CN 200510000588 A CN200510000588 A CN 200510000588A CN 1621942 A CN1621942 A CN 1621942A
Authority
CN
China
Prior art keywords
color
page
grating
color separation
page description
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.)
Granted
Application number
CN 200510000588
Other languages
Chinese (zh)
Other versions
CN1307484C (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

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

The present invention relates to color separating page frame describing gray grating method in pre-printing graph, image and text processing technology. In available technology, the gray grating treatment of color separating page frame description generates several grating images corresponding to the output result of one color separately, and this makes it impossible to understand the complete page frame content intuitively. The present invention adopts color separating image synthesizing technology to makes it possible to understand the complete page frame content intuitively, to obtain correct superimposing effect for grey grating process of color page frame and to reach the identical visual effect of the color separating page frame description and the color page frame description.

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, effect of the present invention as can be seen is: the user not only can understand the content of whole color separation page intuitively, but also can make cover the look page-describing carry out grey scale grating when handling the double exposure effect very correct, can also make the output result 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, result's consistance 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 true CN1621942A (en) 2005-06-01
CN1307484C 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008040185A1 (en) * 2006-09-30 2008-04-10 Peking University Founder Group Co., Ltd. Raster image process method and device
WO2008040188A1 (en) * 2006-09-27 2008-04-10 Peking University Founder Group Co., Ltd. Grating-type treatment method and device for transparent page
CN101431686B (en) * 2008-12-17 2011-06-01 北大方正集团有限公司 Method and device for converting colored plate into gray plate
CN108621590A (en) * 2017-03-21 2018-10-09 海德堡印刷机械股份公司 The method of black structures for keeping object
CN109274858A (en) * 2018-07-05 2019-01-25 北京钰洲科技有限公司 A kind of color separated image restoring method
CN110097147A (en) * 2018-01-29 2019-08-06 北大方正集团有限公司 Setting method, system, computer equipment and the storage medium of pel rendering attribute

Family Cites Families (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
US7256910B2 (en) * 2002-04-23 2007-08-14 Weyerhaeuser Company Color separation method and printed product of the method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008040188A1 (en) * 2006-09-27 2008-04-10 Peking University Founder Group Co., Ltd. Grating-type treatment method and device for transparent page
JP2010505162A (en) * 2006-09-27 2010-02-18 北大方正集▲団▼有限公司 Lattice type processing method and apparatus for transparent pages
US8368969B2 (en) 2006-09-27 2013-02-05 Peking University Founder Group Co., Ltd Methods and devices for rasterizing transparent pages
WO2008040185A1 (en) * 2006-09-30 2008-04-10 Peking University Founder Group Co., Ltd. Raster image process method and device
US8446423B2 (en) 2006-09-30 2013-05-21 Peking University Founder Group Co., Ltd. Methods and devices for processing a raster image
CN101431686B (en) * 2008-12-17 2011-06-01 北大方正集团有限公司 Method and device for converting colored plate into gray plate
CN108621590A (en) * 2017-03-21 2018-10-09 海德堡印刷机械股份公司 The method of black structures for keeping object
CN110097147A (en) * 2018-01-29 2019-08-06 北大方正集团有限公司 Setting method, system, computer equipment and the storage medium of pel rendering attribute
CN109274858A (en) * 2018-07-05 2019-01-25 北京钰洲科技有限公司 A kind of color separated image restoring method
CN109274858B (en) * 2018-07-05 2020-04-03 北京钰洲科技有限公司 Color separation image restoration method

Also Published As

Publication number Publication date
CN1307484C (en) 2007-03-28

Similar Documents

Publication Publication Date Title
CN1621942A (en) Method for color separation page description grey scale grating
US20060153441A1 (en) Scaling an array of luminace values
EP1873720A8 (en) Method, system and software product for color image encoding
CN1178459C (en) Method for compressing image data for bicolor images
CN1237821C (en) Image information transfer method and image information processor
EP2472505A3 (en) Improved gamut mapping and subpixel rendering systems and methods
CN102857674A (en) Method for processing high dynamic range images using tone mapping to extended RGB space
CN103617596A (en) Image color style transformation method based on flow pattern transition
CN102945556B (en) Seven look algorithm of color separations of Neugebauer equation are divided based on cell element
US6348978B1 (en) Method and system for image format conversion
US8634105B2 (en) Three color neutral axis control in a printing device
CN101277369A (en) Image forming apparatus and control method thereof
CN1753453A (en) Color image processor
US9374502B2 (en) Method for converting a full colour image to a monochrome image
CN102496139A (en) Image processing-based method for transforming photo to digital oil painting
CN1599412A (en) Method of processing color image data
CN1640677A (en) Color printing method
CN1809118A (en) Method of creating color-mapping lookup table and color-mapping method using the same
DE102011079513B4 (en) Stain codes using a neighborhood array
CN1878316A (en) Image color adjusting method
EP0989516B1 (en) Image data processing method and corresponding device
CN110689860A (en) Image representation method, device and computer storage medium
CN1150747C (en) Color matching method between image processors for inserting less quantitatice color data groups
CN1220960C (en) Colour signal processing device and method for efficient storage colour gamut
CN1704891A (en) Computer color handling method and use thereof

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

Granted publication date: 20070328

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