CN101729743B - Method of image trapping - Google Patents

Method of image trapping Download PDF

Info

Publication number
CN101729743B
CN101729743B CN2008101199888A CN200810119988A CN101729743B CN 101729743 B CN101729743 B CN 101729743B CN 2008101199888 A CN2008101199888 A CN 2008101199888A CN 200810119988 A CN200810119988 A CN 200810119988A CN 101729743 B CN101729743 B CN 101729743B
Authority
CN
China
Prior art keywords
area
trap
printing ink
pixel
image
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.)
Active
Application number
CN2008101199888A
Other languages
Chinese (zh)
Other versions
CN101729743A (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.)
Fangzhu Wuhan Technology Co ltd
Original Assignee
Founder International Beijing 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 Founder International Beijing Co Ltd filed Critical Founder International Beijing Co Ltd
Priority to CN2008101199888A priority Critical patent/CN101729743B/en
Publication of CN101729743A publication Critical patent/CN101729743A/en
Application granted granted Critical
Publication of CN101729743B publication Critical patent/CN101729743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention belongs to the technical field of packaging and printing and particularly relates to a method of image trapping. The method comprises the following steps: firstly, determining an entering part, an entered part and a trapping area according to trapping conditions; secondly, extracting pixel coordinates of an image and oil ink of each pixel coordinate of the trapping area based on an area dividing method; and finally, filling the oil ink in the trapping area and performing subtractive process. The method of image trapping can solve the problem of leaky white which is caused by poor multicolour chromatography when images and patterns are adjacent.

Description

A kind of method of image trapping
Technical field
The invention belongs to technical field of packaging and printing, particularly a kind of image trapping method.
Background technology
In printing process, chromatography is meant the printing of under the situation of the respective regions hollow out (Knockout) of preceding version of the same colour, carrying out, and the situation of register trouble appears in multicolor overprint regular meeting often.Because register trouble, it is white, very not attractive in appearance some tiny leakages to occur at two adjacent graphic limit places.Leak white generation for fear of these, need between different target edges, generate some tiny double exposure zones, be also referred to as area of trap, it is white that human eye is leaked less than these.
When continuous-tone image and figure are adjacent in the prior art; Fall into and be printed on two kinds: the one, the expansion figure is in image; The 2nd, the expanded images edge can amplify a dot image according to reality during the expanded images edge slightly in figure, or utilizes image editing software that the image masking-out is strengthened.Research about color gradient; Some relevant patents are also arranged both at home and abroad; Like U.S. Patent Publication US7123381; Name is called the trapping method and the system of overprint error " revise colored printing ", discloses a kind ofly to judge whether to do and fall into seal through creating the visual module of an overprint error, and the method for definite trapping color and trap placement.Above-mentioned trapping method, when the area of trap between image and the figure with when being got into the zone and containing certain identical printing ink, can't be to the printing ink that area of trap the is filled processing of losing lustre, thus reduced the image trapping effect.
Summary of the invention
To the defective that exists in the prior art, the purpose of this invention is to provide between a kind of image and the figure based on the trapping method of Region Segmentation, solve and occur leaking white problem in the printing.This method realizes the extraction of area of trap image pixel coordinate and printing ink based on Region Segmentation, thereby judges the printing ink that this pixel of pixel printing ink concentration difference decision need be filled between image and the figure.
For realizing above-mentioned purpose, the technical scheme that the present invention adopts is: a kind of method of image trapping may further comprise the steps:
(1) confirms entering side and quilt entering side and area of trap;
(2), extract the coordinate and the printing ink of each image slices vegetarian refreshments of area of trap based on region segmentation method;
(3) fill area of trap printing ink and losing lustre: the printing ink of filling each pixel of area of trap; Wherein if image is entering side; Then fill the printing ink that printing ink is this pixel in the image, if figure is entering side, filling printing ink is the printing ink of this pixel in the figure; If area of trap and got into the zone and contain printing ink of the same race, and area of trap printing ink site percentage then loses lustre less than the printing ink site percentage that is got into the zone, removes this kind printing ink of this pixel in the area of trap.
Further, in step (1), through extracting the brightness that falls into seal boundary image and figure, confirm that the high side of brightness is entering side, the low side of brightness is by entering side.
Further, in step (2), described region segmentation method comprises the steps:
A. calculate area of trap boundary rectangle and outwards adjustment, it is alignd with pixel boundary, utilize the horizontal pixel boundary line in the circumscribed rectangular region to cut apart area of trap;
B. obtain the area of trap block, and calculate each area of trap block boundary rectangle, and outwards adjustment makes it align with pixel boundary;
C. each boundary rectangle among the width perpendicular cuts step b according to pixels finally obtains the coordinate and the printing ink of each pixel of area of trap.
Further, in step (2), described region segmentation method comprises the steps:
A. calculate area of trap boundary rectangle and outwards adjustment, it is alignd with pixel boundary, utilize the vertical pixel boundary line in the circumscribed rectangular region to cut apart area of trap;
B. obtain the area of trap block, and calculate each area of trap block boundary rectangle, and outwards adjustment makes it align with pixel boundary;
C. each boundary rectangle among the width levels cutting step b according to pixels finally obtains the coordinate and the printing ink of each pixel of area of trap;
Further again, in step (2), the printing ink of each image slices vegetarian refreshments of described area of trap is the printing ink of pixel of the area of trap respective coordinates of original image; Surpassed the original image border area of trap the image slices vegetarian refreshments printing ink for the printing ink of the nearest pixel of image distance.
Beneficial effect of the present invention is following: it is white to solve the leakage that multicolor overprint forbidden to cause through method of the present invention.Based on region segmentation method area of trap is differentiated more easily, and then judged the printing ink that to fill of the concentration difference decision filler pixels point of pixel printing ink between image and figure
Description of drawings
Fig. 1 is the method flow diagram of image trapping of the present invention;
Fig. 2 is original image and a clipping region sketch map in the present embodiment;
Fig. 3 is the adjacent sketch map with figure of image in the present embodiment;
Fig. 4 is an area of trap sketch map in the present embodiment;
Fig. 5 be in the present embodiment area of trap at the opposed area sketch map of original image;
Fig. 6 is an area of trap boundary rectangle sketch map in the present embodiment;
Fig. 7 is cut apart the area of trap sketch map for utilizing the interior horizontal pixel boundary line of circumscribed rectangular region in the present embodiment;
Fig. 8 is an area of trap block boundary rectangle sketch map in the present embodiment;
Fig. 9 outwards adjusts for area of trap block boundary rectangle in the present embodiment and makes its sketch map that aligns with pixel boundary;
Figure 10 is each pixel sketch map of area of trap in the present embodiment.
Embodiment
Below in conjunction with Figure of description and specific embodiment the present invention is described in further detail.
A kind of method of image trapping, flow process is as shown in Figure 1, comprises the steps:
(1) confirms entering side and quilt entering side and area of trap S11;
As shown in Figures 2 and 3, on original image 21, confirm clip path, the image 31 that obtains, it is adjacent with figure 32 in the layout, need fall into seal.In the step (1), through extracting the brightness that falls into seal boundary image and figure, confirm that the high side of brightness is entering side, the low side of brightness is by entering side.The brightness that falls into seal boundary image 31 in the present embodiment is higher than the brightness of figure 32, so image 31 is the side of enteringing, and figure 32 is quilt entering side, and area of trap is among Fig. 4 42.
(2), extract the coordinate and the printing ink S12 of each image slices vegetarian refreshments of area of trap based on region segmentation method;
As shown in Figure 5, area of trap is 51 in the opposed area of original image.In step (2), described region segmentation method, the coordinate and the printing ink of each pixel comprise the steps: in the image 51 of extraction area of trap
A. as shown in Figure 6, calculate the area of trap boundary rectangle, as shown in Figure 7 then, outwards adjust the area of trap boundary rectangle, it is alignd with pixel boundary, utilize the horizontal pixel boundary line in the circumscribed rectangular region to cut apart area of trap;
B. like Fig. 8 and shown in Figure 9, obtain the area of trap block, and calculate each area of trap block boundary rectangle, and outwards adjustment makes it align with pixel boundary;
C. shown in figure 10, each boundary rectangle among the width perpendicular cuts step b according to pixels finally obtains the coordinate and the printing ink of each pixel of area of trap;
In step (2), described region segmentation method can also realize through following steps:
A. calculate area of trap boundary rectangle and outwards adjustment, it is alignd with pixel boundary, utilize the vertical pixel boundary line in the circumscribed rectangular region to cut apart area of trap;
B. obtain the area of trap block, and calculate each area of trap block boundary rectangle, and outwards adjustment makes it align with pixel boundary;
C. each boundary rectangle among the width levels cutting step b according to pixels finally obtains each pixel coordinate of area of trap and the printing ink of each pixel coordinate;
In step (2); The printing ink of each pixel of image of described area of trap is the printing ink of pixel of the area of trap respective coordinates of original image; If area of trap surpassed the original image border, the printing ink that then surpasses the image slices vegetarian refreshments of area of trap is the printing ink with the nearest pixel of image distance.
(3) fill the area of trap printing ink and the S13 of losing lustre: the printing ink of filling each pixel of area of trap; Wherein if image is entering side; Then fill the printing ink that printing ink is this pixel in the image,, then fill the printing ink that printing ink is this pixel in the figure if figure is entering side; If area of trap and got into the zone and contain printing ink of the same race, and area of trap printing ink site percentage then loses lustre less than the printing ink site percentage that is got into the zone, removes this kind printing ink of this pixel in the area of trap.
The invention belongs to technical field of packaging and printing, particularly a kind of method of image trapping.This method at first according to falling into seal condition and trap width, is confirmed entering side and quilt entering side and area of trap; Secondly based on region segmentation method, extract the image pixel coordinate of area of trap and the printing ink of each pixel coordinate; Fill area of trap printing ink at last and lose lustre.It is white to solve the leakage that multicolor overprint forbidden to cause through method of the present invention.
Consider the description of this invention disclosed herein and special embodiment, other embodiment of the present invention are conspicuous for a person skilled in the art.These explanations and embodiment only consider as an example that they all belong to by within the indicated protection scope of the present invention and spirit of accompanying claims.

Claims (3)

1. the method for an image trapping may further comprise the steps:
(1) confirms entering side and quilt entering side and area of trap; Through extracting the brightness that falls into seal boundary image and figure, confirm that the high side of brightness is entering side, the low side of brightness is by entering side;
(2), extract the coordinate and the printing ink of each image slices vegetarian refreshments of area of trap based on region segmentation method; The printing ink of each image slices vegetarian refreshments of described area of trap is the printing ink of pixel of the area of trap respective coordinates of original image;
Described region segmentation method comprises the steps:
A. calculate area of trap boundary rectangle and outwards adjustment, it is alignd with pixel boundary, utilize the horizontal pixel boundary line in the circumscribed rectangular region to cut apart area of trap;
B. obtain the area of trap block, and calculate each area of trap block boundary rectangle, and outwards adjustment makes it align with pixel boundary;
C. each boundary rectangle among the width perpendicular cuts step b according to pixels finally obtains the coordinate and the printing ink of each pixel of area of trap;
(3) fill area of trap printing ink and losing lustre: the printing ink of filling each pixel of area of trap; Wherein if image is entering side; Then fill the printing ink that printing ink is this pixel in the image,, then fill the printing ink that printing ink is this pixel in the figure if figure is entering side; If area of trap and got into the zone and contain printing ink of the same race, and area of trap printing ink site percentage then loses lustre less than the printing ink site percentage that is got into the zone, removes this kind printing ink of this pixel in the area of trap.
2. the method for image trapping as claimed in claim 1 is characterized in that: in step (2), and described region segmentation method or comprise the steps:
A. calculate area of trap boundary rectangle and outwards adjustment, it is alignd with pixel boundary, utilize the vertical pixel boundary line in the circumscribed rectangular region to cut apart area of trap;
B. obtain the area of trap block, and calculate each area of trap block boundary rectangle, and outwards adjustment makes it align with pixel boundary;
C. each boundary rectangle among the width levels cutting step b according to pixels finally obtains the coordinate and the printing ink of each pixel of area of trap.
3. the method for image trapping as claimed in claim 1 is characterized in that: in step (2), surpassed the original image border area of trap the image slices vegetarian refreshments printing ink for the printing ink of the nearest pixel of image distance.
CN2008101199888A 2008-10-21 2008-10-21 Method of image trapping Active CN101729743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101199888A CN101729743B (en) 2008-10-21 2008-10-21 Method of image trapping

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101199888A CN101729743B (en) 2008-10-21 2008-10-21 Method of image trapping

Publications (2)

Publication Number Publication Date
CN101729743A CN101729743A (en) 2010-06-09
CN101729743B true CN101729743B (en) 2012-08-08

Family

ID=42449871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101199888A Active CN101729743B (en) 2008-10-21 2008-10-21 Method of image trapping

Country Status (1)

Country Link
CN (1) CN101729743B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572205B (en) * 2011-12-27 2014-04-30 方正国际软件有限公司 Image processing method, device and system
CN106183510B (en) * 2015-05-06 2018-05-04 北大方正集团有限公司 Printing process and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002165104A (en) * 2000-11-22 2002-06-07 Fuji Xerox Co Ltd Trapping processing device, and its method
CN101223771A (en) * 2005-09-01 2008-07-16 佳能株式会社 Image processing apparatus and its method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002165104A (en) * 2000-11-22 2002-06-07 Fuji Xerox Co Ltd Trapping processing device, and its method
CN101223771A (en) * 2005-09-01 2008-07-16 佳能株式会社 Image processing apparatus and its method

Also Published As

Publication number Publication date
CN101729743A (en) 2010-06-09

Similar Documents

Publication Publication Date Title
CN103996382B (en) Improve the method and system of RGBW image saturation
WO2001069529A3 (en) Generalized text localization in images
CN103839062B (en) A kind of pictograph localization method and device
CN101661725A (en) Image display apparatus
CN103778599B (en) A kind of image processing method and system
CN105069808A (en) Video image depth estimation method based on image segmentation
CN104537615A (en) Local Retinex enhancement algorithm based on HSV color spaces
CN106204494B (en) A kind of image defogging method and system comprising large area sky areas
CN103325117B (en) A kind of core image processing method based on MATLAB and system
GB2455955A (en) Improving image mask
CN101510304B (en) Method, device and pick-up head for dividing and obtaining foreground image
CN101729743B (en) Method of image trapping
CN105957023B (en) A kind of enhancing of laser rays stripe pattern and denoising method based on chroma space
CN109815948A (en) A kind of paper partitioning algorithm under complex scene
CN103268472B (en) Lip detection method based on double-colored color space
CN106507079B (en) A kind of color rendition method and device
CN102088540B (en) Trapping method and device
CN102542528B (en) Image conversion processing method and system
CN109389150A (en) Image consistency comparison method, device, storage medium and electronic equipment
CN105718439B (en) A kind of photo automatic composing method based on recognition of face
CN108156397A (en) A kind of method and apparatus for handling monitored picture
US11308373B2 (en) Modifying color planes
ATE418117T1 (en) SEGMENTATION OF AN IMAGE USING A GRAPH
CN102930520B (en) Fragment mosaic image generation method
ATE378648T1 (en) SEGMENTATION OF A COMPOSITE IMAGE USING BASIC RECTANGLES

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
EE01 Entry into force of recordation of patent licensing contract

Assignee: FOUNDER INTERNATIONAL Co.,Ltd.

Assignor: Founder International Co.,Ltd. (Beijing)

Contract record no.: 2010110000043

Denomination of invention: Method of image trapping

License type: Exclusive License

Open date: 20100609

Record date: 20100420

C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230823

Address after: No. 01, 11th Floor, Office Tower Unit, Optics Valley Financial Center Construction Project, No. 668 Gaoxin Avenue, Wuhan Donghu New Technology Development Zone, Hubei Province 430000

Patentee after: Fangzhu (Wuhan) Technology Co.,Ltd.

Address before: 100080, Beijing City, Haidian District, No. 52 West Fourth Ring Road, SMIC building 19

Patentee before: Founder International Co.,Ltd. (Beijing)