[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111277723B - Optimized processing method and device for trapping area - Google Patents

Optimized processing method and device for trapping area Download PDF

Info

Publication number
CN111277723B
CN111277723B CN202010023571.2A CN202010023571A CN111277723B CN 111277723 B CN111277723 B CN 111277723B CN 202010023571 A CN202010023571 A CN 202010023571A CN 111277723 B CN111277723 B CN 111277723B
Authority
CN
China
Prior art keywords
trapping
boundary
intersection
boundaries
color blocks
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
CN202010023571.2A
Other languages
Chinese (zh)
Other versions
CN111277723A (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.)
Fangzheng Zhushi Wuhan Technology Development Co ltd
Original Assignee
Fangzheng Zhushi Wuhan Technology Development 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 Fangzheng Zhushi Wuhan Technology Development Co ltd filed Critical Fangzheng Zhushi Wuhan Technology Development Co ltd
Priority to CN202010023571.2A priority Critical patent/CN111277723B/en
Publication of CN111277723A publication Critical patent/CN111277723A/en
Application granted granted Critical
Publication of CN111277723B publication Critical patent/CN111277723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/58Edge or detail enhancement; Noise or error suppression, e.g. colour misregistration correction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Color Image Communication Systems (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a trapping area optimization processing method and a device, wherein the method comprises the following steps: scanning all color blocks to be printed in advance, and determining the common boundary of the adjacent color blocks; judging whether each trapping boundary of the public boundary meets a trapping condition or not, and acquiring a trapping direction corresponding to each trapping boundary meeting the trapping condition; connecting adjacent trapping boundaries with the same trapping direction; analyzing whether overflow exists at the intersection of the plurality of trapping boundaries, and deleting trapping boundaries with certain lengths at the intersection ports where the overflow exists; and performing boundary optimization processing on the processed trapping boundaries at the intersection to obtain an optimized trapping region. The method solves the problem that the labor cost is high in the existing method for preventing the trapping area from overflowing, can effectively reduce the labor cost, improves the trapping efficiency, and can prevent the trapping area from overflowing to the narrow color block.

Description

Optimized processing method and device for trapping area
Technical Field
The invention relates to the technical field of package printing, in particular to a method and a device for optimizing a trapping area.
Background
In the printing process, the phenomenon of misregistration often occurs. Due to inaccurate overprint, fine white leakage can occur at the boundary of two adjacent color blocks, and the color block is not beautiful. In order to avoid missing white, a tiny overprint region needs to be generated at the edge of different objects, so that people can not easily perceive the missing white part, and the process is the trapping.
However, in some special cases, for example, a certain color block is trapped between a plurality of color blocks at the same time, which results in a phenomenon of one step more, the boundary of the entered color block is relatively deformed (such as a narrow strip), after the color block is connected for trapping, a trapping region may overflow a narrow color block, and at this time, manual secondary correction is required, and although manual correction can prevent the overflow of the trapping region, the manual cost in the general printing process is high.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for optimizing a trapping area, so as to solve the problem of high labor cost in the conventional method for preventing the trapping area from overflowing.
In a first aspect of the embodiments of the present invention, there is provided a trapping area optimization processing method, including:
scanning all color blocks to be printed in advance, and determining the common boundary of the adjacent color blocks;
judging whether each trapping boundary of the public boundary meets a trapping condition or not, and acquiring a trapping direction corresponding to each trapping boundary meeting the trapping condition;
connecting adjacent trapping boundaries with the same trapping direction;
analyzing whether overflow exists at the intersection of the plurality of trapping boundaries, and deleting trapping boundaries with certain lengths at the intersection ports where the overflow exists;
and performing boundary optimization processing on the processed trapping boundaries at the intersection to obtain an optimized trapping region.
In a second aspect of the embodiments of the present invention, there is provided a trapping region optimization processing apparatus, including:
the confirming module is used for scanning all color blocks to be printed and confirming the common boundary of the adjacent color blocks;
the acquisition module is used for judging whether each trapping boundary of the public boundary meets a trapping condition or not and acquiring a trapping direction corresponding to each trapping boundary meeting the trapping condition;
the connecting module is used for connecting adjacent trapping boundaries with the same trapping direction;
the deleting module is used for analyzing whether overflow exists at the intersection of the plurality of trapping boundaries and deleting the trapping boundaries with certain length at the intersection ports where the overflow exists;
and the optimization module is used for carrying out boundary optimization processing on the processed trapping boundaries at the intersection to obtain an optimized trapping region.
In the embodiment of the invention, all color blocks to be printed are scanned, and the common boundary of the adjacent color blocks is determined; judging whether each trapping boundary of the common boundary meets a trapping condition or not, and acquiring a trapping direction corresponding to each trapping boundary meeting the trapping condition; connecting adjacent trapping boundaries with the same trapping direction; analyzing whether overflow exists at the intersection of the plurality of trapping boundaries, and deleting trapping boundaries with certain lengths at the intersection ports where the overflow exists; and performing boundary optimization processing on the processed trapping boundaries at the intersection to obtain an optimized trapping region. Can solve when polychrome piece trapping, the trapping region can spill over certain narrow color lump, needs the problem of artifical correction, after to the regional optimization processing of trapping, can effectively avoid the trapping region to spill over certain narrow color lump, does not need artifical secondary to rectify, can reduce the human cost, and the material resources of using manpower sparingly improve printing efficiency, have stronger practicality and reliability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a trapping area optimization processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating the effect of generating a trapping region according to the prior art according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating an effect of an optimization processing method using a trapping region according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a trapping region optimization processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons skilled in the art without any inventive work shall fall within the protection scope of the present invention, and the principle and features of the present invention shall be described below with reference to the accompanying drawings.
The terms "comprises" and "comprising," when used in this specification and claims, and in the accompanying drawings and figures, are intended to cover non-exclusive inclusions, such that a process, method or system, or apparatus that comprises a list of steps or elements is not limited to the listed steps or elements.
Referring to fig. 1, a schematic flow chart of a trapping area optimization processing method according to an embodiment of the present invention includes:
s101, scanning all color blocks to be printed in advance, and determining the common boundary of the adjacent color blocks;
and analyzing the pre-printed picture to determine whether a plurality of adjacent color blocks have a common boundary, namely a trapping boundary. Generally, when a plurality of color patches (at least three) form a common boundary, there is an overflow of a trapping region for a narrow color patch.
As shown in fig. 2, at the common boundaries formed by the color patches 21, 22, 23, the trapping region generated according to the prior art may overflow to the narrow color patches 23, resulting in missing or misshapen boundaries of the color patches 23 at the intersections.
S102, judging whether each trapping boundary of the public boundary meets a trapping condition or not, and acquiring a trapping direction corresponding to each trapping boundary meeting the trapping condition;
and acquiring a common boundary of adjacent color blocks, judging whether a trapping condition is met, and determining a trapping direction if the trapping condition is met. The trapping condition is the condition that the adjacent color blocks need to be trapped, and can be generally determined according to the printing condition, the quality of a printed product, the color difference of the color blocks and the like, for example, trapping is needed when the overprinting error of a printing machine is large, the color difference of the adjacent color blocks is large, the adjacent color blocks do not belong to the same color, and trapping is needed.
As shown in fig. 2, based on the trapping condition judgment, it is determined that the patch 21 is trapped to the patch 22, and the patch 21 is trapped to the patch 23.
S103, connecting adjacent trapping boundaries with the same trapping direction;
and carrying out boundary connection on the color blocks trapped in the same direction to ensure that no fracture occurs between the trapping boundaries.
In fig. 2, when it is determined that the patch 21 is trapped to the patch 22 and the patch 23, the patch 21 may be connected to the trapping boundary of the patch 22 and the patch 23.
S104, analyzing whether overflow exists at the intersection of the plurality of trapping boundaries, and deleting trapping boundaries with certain lengths at the intersection ports where the overflow exists;
when the trapping area is determined at the intersection of the color blocks, the narrow color blocks are covered to a certain degree, and the printing effect of the narrow color blocks is influenced. In this embodiment, in order to eliminate the trapping overflow effect, a distance on the trapping boundary of the narrow color block may be cut and deleted. Specifically, the boundary of the intersection port with a certain distance is selected for deletion, and the length of the deletion can be determined according to the trapping distance and the distortion degree of the narrow color block. The final trapping effect is influenced by the deleted amount, the connection of the trapping boundary is not smooth due to less deletion, the effect is poor, and the problem that the overflowing of the trapping cannot be solved due to more deletion is solved.
And S105, performing boundary optimization processing on the processed trapping boundary at the intersection to obtain an optimized trapping region.
For the intersection of adjacent color blocks, after a port with a certain distance from the narrow color block is deleted, boundary connection can be carried out and smooth processing can be carried out on the basis of a new trapping boundary, the trapping boundary connection effect is optimized, and the influence of trapping on the narrow color block is reduced. Wherein a narrow tile is a tile of a narrow border relative to other tiles.
In fig. 2, the color patches 21 are trapped to the color patches 22 and 23, and the hatched areas formed by the dotted lines represent the trapping areas, which are shown to cover the color patches 23.
In one embodiment of the present invention, as shown in fig. 3, it represents that the color block 21 is trapped to the color block 22 and the color block 23. Deleting the border 2301 of the color block 23 for a distance, performing intermediate processing on the intersection border of the color blocks 21, 22 and 23, optimizing the border of the color block 21 for trapping to the color blocks 22 and 23, and smoothing the trapping border. In the figure, the hatched area formed by the dotted line represents the trapping area, and it can be seen that the optimized trapping area can effectively affect the narrow color blocks 23, and the deformity of the entered narrow color blocks is avoided.
By the method provided by the embodiment, the public boundary is analyzed, the boundary which is malformed and possibly causes errors is processed, the condition of preventing the trapping area from overflowing is achieved on the basis of keeping the original trapping connection effect, the trapping effect can meet the requirement once, manual second correction is not needed, and manpower and material resources are saved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 4 is a schematic structural diagram of an optimized processing apparatus for a trapping area according to an embodiment of the present invention, where the apparatus includes:
a confirmation module 410, configured to scan all color patches of the pre-print, and determine a common boundary between adjacent color patches;
an obtaining module 420, configured to determine whether each trapping boundary of the common boundary meets a trapping condition, and obtain a trapping direction corresponding to each trapping boundary meeting the trapping condition;
a connecting module 430, configured to connect adjacent trapping boundaries with the same trapping direction;
a deleting module 440, configured to analyze whether an overflow exists at an intersection of the plurality of trapping boundaries, and delete a trapping boundary with a certain length at an intersection where the overflow exists;
optionally, the deleting a length of the trapping boundary at the intersection port where the overflow exists includes:
and setting the length of the deleted trapping boundary according to the color block malformation degree and the trapping distance.
And an optimizing module 450, configured to perform boundary optimization processing on the processed trapping boundaries at the intersection to obtain an optimized trapping region.
Optionally, the performing boundary optimization processing on the processed trapping boundary at the intersection to obtain an optimized trapping region includes:
and connecting and smoothing trapping boundaries at the intersection to determine a trapping area so as to prevent the trapping area from overflowing the narrow color blocks at the intersection.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (4)

1. A trapping area optimization processing method is characterized by comprising the following steps:
scanning all color blocks to be printed in advance, and determining the common boundary of the adjacent color blocks;
judging whether each trapping boundary of the common boundary meets a trapping condition or not, and acquiring a trapping direction corresponding to each trapping boundary meeting the trapping condition;
connecting adjacent trapping boundaries with the same trapping direction;
analyzing whether overflow exists at the intersection of the plurality of trapping boundaries, and deleting trapping boundaries with certain lengths at the intersection ports where the overflow exists;
setting the length of a deleted trapping boundary according to the color block malformation degree and the trapping distance;
and performing boundary optimization processing on the processed trapping boundaries at the intersection to obtain an optimized trapping region.
2. The method of claim 1, wherein the performing a boundary optimization process on the processed trapping boundaries at the intersection to obtain an optimized trapping region comprises:
and connecting and smoothing trapping boundaries at the intersection to determine a trapping area so as to prevent the trapping area from overflowing the narrow color blocks at the intersection.
3. A trapping region optimization processing apparatus, comprising:
the confirming module is used for scanning all color blocks to be printed and confirming the common boundary of the adjacent color blocks;
the acquisition module is used for judging whether each trapping boundary of the public boundary meets a trapping condition or not and acquiring a trapping direction corresponding to each trapping boundary meeting the trapping condition;
the connecting module is used for connecting adjacent trapping boundaries with the same trapping direction;
the deleting module is used for analyzing whether overflow exists at the intersection of the plurality of trapping boundaries and deleting the trapping boundaries with certain length at the intersection ports where the overflow exists;
setting the length of a deleted trapping boundary according to the color block malformation degree and the trapping distance;
and the optimization module is used for carrying out boundary optimization processing on the processed trapping boundaries at the intersection to obtain an optimized trapping region.
4. The apparatus of claim 3, wherein the boundary optimization processing of the processed trapping boundaries at the intersection to obtain the optimized trapping region comprises:
and connecting and smoothing trapping boundaries at the intersection to determine a trapping area so as to prevent the trapping area from overflowing the narrow color blocks at the intersection.
CN202010023571.2A 2020-01-09 2020-01-09 Optimized processing method and device for trapping area Active CN111277723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010023571.2A CN111277723B (en) 2020-01-09 2020-01-09 Optimized processing method and device for trapping area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010023571.2A CN111277723B (en) 2020-01-09 2020-01-09 Optimized processing method and device for trapping area

Publications (2)

Publication Number Publication Date
CN111277723A CN111277723A (en) 2020-06-12
CN111277723B true CN111277723B (en) 2022-03-15

Family

ID=71001586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010023571.2A Active CN111277723B (en) 2020-01-09 2020-01-09 Optimized processing method and device for trapping area

Country Status (1)

Country Link
CN (1) CN111277723B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114385294A (en) * 2021-12-30 2022-04-22 方正株式(武汉)科技开发有限公司 Interactive trapping method and system
CN115782434A (en) * 2022-11-28 2023-03-14 湖南鼎一致远科技发展有限公司 Printing method for preventing white leakage at thermal transfer printing junction

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0996282A2 (en) * 1998-10-22 2000-04-26 Xerox Corporation Printing system and method
CN102088540A (en) * 2009-12-02 2011-06-08 北京大学 Trapping method and device
CN102104708A (en) * 2009-12-17 2011-06-22 北大方正集团有限公司 Method and device for generating image path trapping effects
CN102316243A (en) * 2010-06-30 2012-01-11 北京大学 Image trapping method and device
CN102801898A (en) * 2012-06-13 2012-11-28 方正国际软件有限公司 Interactive trapping method
US10249334B1 (en) * 2018-02-28 2019-04-02 Western Digital Technologies, Inc. Slider air-bearing surface designs with side particle-trapping structures

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610343B (en) * 2008-06-16 2011-05-11 北京大学 Method and system for automatic trapping
JP6381183B2 (en) * 2013-07-09 2018-08-29 キヤノン株式会社 Apparatus, method, and program for extending object included in image data
JP2015211375A (en) * 2014-04-28 2015-11-24 キヤノン株式会社 Image processing device, image forming apparatus, image processing method and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0996282A2 (en) * 1998-10-22 2000-04-26 Xerox Corporation Printing system and method
CN102088540A (en) * 2009-12-02 2011-06-08 北京大学 Trapping method and device
CN102104708A (en) * 2009-12-17 2011-06-22 北大方正集团有限公司 Method and device for generating image path trapping effects
CN102316243A (en) * 2010-06-30 2012-01-11 北京大学 Image trapping method and device
CN102801898A (en) * 2012-06-13 2012-11-28 方正国际软件有限公司 Interactive trapping method
US10249334B1 (en) * 2018-02-28 2019-04-02 Western Digital Technologies, Inc. Slider air-bearing surface designs with side particle-trapping structures

Also Published As

Publication number Publication date
CN111277723A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
CN111277723B (en) Optimized processing method and device for trapping area
US7397583B2 (en) Method and device for proofing raster print data while maintaining the raster information
EP0952548A3 (en) Method and apparatus for multi-level rounding and pattern inspection
JPH0458672A (en) Method for correcting contour of picture
US7864349B2 (en) Immediate verification of printed copy
CN104966092A (en) Image processing method and device
US7277579B2 (en) Smart scan
CN110853055A (en) Continuous grain image processing method and device for ceramic tile production
CN111145305A (en) Document image processing method
CN102088540B (en) Trapping method and device
CN112150365B (en) Expansion and shrinkage processing method of jet printing image and jet printing equipment
JP2008022062A (en) Image reading apparatus
AU2009270534A1 (en) Method and apparatus for imaging of features on a substrate
CN113139399A (en) Image line frame identification method and server
CN102404491B (en) Trapping method and trapping system including gradient blocks
JP3378439B2 (en) Form image creation device
CN109859108B (en) Image processing clipping method convenient for adjusting image size
CN102316243B (en) Image trapping method and device
CN115511738A (en) Automatic color homogenizing processing method for local color difference area of image
CN108823942B (en) Cutting bed self-adaptive waste material cutting method
CN112700457A (en) Image seam processing method and device and medium during conversion of color separation chart into 3D printed file
CN113706556B (en) Rapid detection and replacement method for image slice edge fragments
CN1405726A (en) Method for automatic identifying scanning area
CN113066043A (en) Defect detection method and device and computer readable storage medium
CN110555803A (en) Method for judging whether patterns in printing can be spliced or not and pattern splicing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant