CN112967250B - Trapping area optimization method and device based on non-adjacent color blocks - Google Patents

Trapping area optimization method and device based on non-adjacent color blocks Download PDF

Info

Publication number
CN112967250B
CN112967250B CN202110237299.2A CN202110237299A CN112967250B CN 112967250 B CN112967250 B CN 112967250B CN 202110237299 A CN202110237299 A CN 202110237299A CN 112967250 B CN112967250 B CN 112967250B
Authority
CN
China
Prior art keywords
trapping
color block
color
entered
adjacent
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
CN202110237299.2A
Other languages
Chinese (zh)
Other versions
CN112967250A (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 CN202110237299.2A priority Critical patent/CN112967250B/en
Publication of CN112967250A publication Critical patent/CN112967250A/en
Application granted granted Critical
Publication of CN112967250B publication Critical patent/CN112967250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30144Printing quality

Abstract

The invention relates to a trapping region optimization method and a trapping region optimization device based on non-adjacent color blocks, wherein the method comprises the following steps: acquiring color blocks and color block boundaries of the draft; determining trapping boundaries among the color blocks according to the color blocks and color block boundaries; determining a trapping direction of each trapping boundary; determining an entering color block, an entered color block and an adjacent color block of each trapping boundary according to the trapping direction; judging whether the entered color block and the adjacent color block are fused according to the colors of the entered color block and the adjacent color blocks and the trapping condition; and generating a trapping area according to the entering color block and the fused entered color block. The method judges the non-adjacent trapping areas through the color block which is entered and the color block which is adjacent to the color block and the trapping conditions, and eliminates the trapping gaps through a fusion method, so that the trapping effect is more attractive.

Description

Trapping area optimization method and device based on non-adjacent color blocks
Technical Field
The invention belongs to the technical field of package printing, and particularly relates to a trapping area optimization method and device based on non-adjacent color blocks.
Background
In the printing process, the situation of misregistration often occurs in multicolor overprinting. The overprinting is performed in a state where the corresponding region of the preceding color plate is hollowed out (knock-out), and therefore, the overprinting is liable to be inaccurate. Due to the inaccurate overprint, small white leakage appears at the boundary of two adjacent color blocks, which is not beautiful. In order to avoid such missing white, it is necessary to create small overprint regions (trapping regions) between the edges of different objects, so that the missing white is not perceived by human eyes, and the process is called trapping.
The traditional trapping areas are generated, in order to ensure the attractiveness of the trapping areas, several principles are followed, firstly, the traps in the same direction are connected to make up for gaps among the trapping areas; secondly, light color and dark color are not enlarged. When generating the trapping areas simultaneously, according to the actual situation, the width of the trapping areas is limited by the adjacent areas besides the set value, and cannot exceed the boundary of the adjacent areas or the middle line of the adjacent areas.
However, under the traditional trapping principle, there are some special cases that the effect of trapping is not good. At this time, a common technical solution is to provide an interactive way for an operator to manually solve these problems. A typical description of such a situation is as follows: and trapping the color block A to the color block B, wherein the color block B is locally narrow, the color of the color block B is close to that of the adjacent color block C, and no trapping occurs (the color blocks C and A are not adjacent). At this time, since the trapping region cannot exceed the middle line of the color block B, the trapping region is made to be within a locally narrow range of B, and a significant gap occurs. This gap should not occur because the colors of color lump B and color lump C are close.
Disclosure of Invention
In order to solve the problems of inaccurate overprinting and notch generation of trapping under the non-adjacent condition in the existing trapping technology, the invention provides a trapping area optimization method based on non-adjacent color blocks in a first aspect, which comprises the following steps: acquiring color blocks and color block boundaries of the picture draft; determining trapping boundaries among the color blocks according to the color blocks and color block boundaries; determining a trapping direction of each trapping boundary; determining an entering color block, an entered color block and an adjacent color block of each trapping boundary according to the trapping direction; judging whether the entered color block and the adjacent color block are fused according to the colors of the entered color block and the adjacent color blocks and the trapping condition; and generating a trapping area according to the entering color block and the fused entered color block.
In some embodiments of the present invention, the determining the trapping direction of each trapping boundary comprises: judging whether two adjacent color blocks corresponding to each trapping boundary are subjected to trapping according to the trapping condition: and comparing the gray values of two adjacent color blocks corresponding to each trapping boundary and determining the trapping direction.
Further, the step of determining the entering color block, the entered color block and the adjacent color block of each trapping boundary according to the trapping direction comprises the following steps: determining an entering color block and an entered color block of each trapping boundary according to the trapping direction; taking out the adjacent color blocks of the entered color block; determining one or more adjacent color blocks of the entered color block according to the distance between the adjacent color blocks and the entered color block; the distance between the adjacent color block and the entered color block is larger than a third threshold value and smaller than a first threshold value.
In the above embodiment, the trapping condition includes: the distance between two adjacent color blocks is smaller than a first threshold value; the absolute value of the difference between the gray values of two adjacent color blocks is larger than the second threshold.
Further, the step of judging whether to fuse the entered color block and the adjacent color block according to the colors of the entered color block and the adjacent color blocks thereof and the trapping condition is as follows: judging whether the absolute value of the difference between the gray values of the entered color block and the adjacent color blocks is lower than a fourth threshold value; and judging whether the entered color block and the adjacent color block are subjected to trapping according to the trapping condition.
Further, the generating of the trapping region according to the entering color block and the fused entered color block comprises the following steps: acquiring a judgment result of whether the entered color block and the adjacent color block are fused or not: if yes, merging the entered color block and the adjacent color blocks; and if not, generating a trapping area according to the entering color block and the entered color block.
The invention provides a trapping area optimization device based on non-adjacent color blocks, which comprises an acquisition module, a determination module, a judgment module and a generation module, wherein the acquisition module is used for acquiring the color blocks and the color block boundaries of a picture draft; determining trapping boundaries among the color blocks according to the color blocks and the color block boundaries; a determining module for determining a trapping direction of each trapping boundary; determining an entering color block, an entered color block and an adjacent color block of each trapping boundary according to the trapping direction; the judging module is used for judging whether the entered color block and the adjacent color blocks thereof are fused or not according to the colors of the entered color block and the adjacent color blocks thereof and the trapping condition; and the generation module is used for generating a trapping area according to the entering color block and the fused entered color block.
Further, the judging module comprises a first judging module and a second judging module, wherein the first judging module is used for judging whether the absolute value of the difference between the gray values of the entered color block and the adjacent color blocks is lower than a fourth threshold value; and the second judging module is used for judging whether the entered color block and the color block adjacent to the color block are subjected to trapping according to the trapping condition.
In a third aspect of the present invention, there is provided an electronic apparatus comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the method provided by the first aspect of the invention.
In a fourth aspect of the invention, a computer-readable medium is provided, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method provided in the first aspect of the invention.
The invention has the beneficial effects that:
1. the invention provides a method for optimizing a trapping area under the condition of non-adjacency, which can accurately judge and eliminate gaps when the phenomenon occurs, so that the trapping effect is more attractive;
2. when the trapping area is calculated, non-adjacent color blocks are also considered according to the relation between the color blocks, and the treatment such as combination is carried out, so that the trapping area has no gap, the trapping effect can meet the requirement once, and the manual second correction is not needed; therefore, man-machine interaction operation is reduced, labor cost and trial-and-error cost are reduced, and printing consumables are saved.
Drawings
FIG. 1 is a basic flow chart of a trapping region optimization method based on non-adjacent color blocks in some embodiments of the present invention;
FIG. 2 is a detailed flow chart of a trapping region optimization method based on non-adjacent color blocks in some embodiments of the present invention;
FIG. 3 is a schematic diagram of color block and trapping boundary analysis;
FIG. 4 is a schematic illustration of a trapping direction of a trapping boundary;
FIG. 5 is a diagram illustrating merging of color patches satisfying a condition;
FIG. 6 is a schematic illustration of the generation of a trapping region using the techniques of the present invention;
FIG. 7 is a schematic illustration of a trapping region generated by a conventional trapping technique;
FIG. 8 is a schematic structural view in some embodiments of the present invention;
FIG. 9 is a basic block diagram of an electronic device in some embodiments of the invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1 and 2, a first aspect of the present invention provides a method for optimizing a trapping region based on non-adjacent color blocks, comprising the following steps: s101, acquiring color blocks and color block boundaries of the picture draft; determining trapping boundaries among the color blocks according to the color blocks and the color block boundaries; s102, determining the trapping direction of each trapping boundary; determining an entering color block, an entered color block and an adjacent color block of each trapping boundary according to the trapping direction; s103, judging whether the entered color block and the color blocks adjacent to the entered color block are fused according to the colors of the entered color block and the color blocks adjacent to the entered color block and the trapping condition; and S104, generating a trapping area according to the entering color block and the fused entered color block.
Without loss of generality, five major elements are printed: manuscript, printing plate, ink, printing material and printing machine. Original manuscript: the term "picture", draft, photograph, negative, printed product, etc. to be reproduced in the reproduction technology is a generic term. Printing plate: and the printing image-text carrier is used for transferring the ink to a printing stock. Divided into a graphic part and a non-graphic part. Printing stock: a substance which receives ink or adsorbs a coloring material and presents images and texts. Ink: an imaging substance transferred to a substrate during a printing process. A printing machine: generic term of machine equipment for producing printed products; the drawings include, but are not limited to, images or images corresponding to the actual printed matter of the original and the printing plate and the electronic medium thereof.
Referring to fig. 3 and 4, in S102 according to some embodiments of the present invention, the determining the trapping direction of each trapping boundary includes: judging whether two adjacent color blocks corresponding to each trapping boundary are subjected to trapping according to the trapping condition: and comparing the gray values of two adjacent color blocks corresponding to each trapping boundary and determining the trapping direction.
Further, the step of determining the entering color block, the entered color block and the adjacent color blocks of each trapping boundary according to the trapping direction comprises the following steps: determining an entering color block and an entered color block of each trapping boundary according to the trapping direction; taking out the adjacent color blocks of the entered color block; determining one or more adjacent color blocks of the entered color block according to the distance between the adjacent color blocks and the entered color block; the distance between the adjacent color block and the entered color block is larger than a third threshold value and smaller than a first threshold value.
In the above-described embodiment, the trapping condition includes: the distance between two adjacent color blocks is smaller than a first threshold value; the absolute value of the difference between the gray values of two adjacent color blocks is larger than the second threshold. Generally, the first threshold is equal to or less than twice the minimum trapping precision, and the third threshold is equal to or less than the minimum trapping precision.
The amount of trapping depends on the characteristics of the substrate and the overprinting accuracy of the printing system. The trapping amount of general offset printing is smaller, and the trapping amount of gravure printing and flexo printing is larger, generally 0.2-0.3 mm, and can be determined according to the actual printing precision or requirements. In addition, comparing that the absolute value of the difference between the gray values of two adjacent color blocks is greater than the second threshold value can be realized by the following steps: and comparing the brightness (gray scale), the color value, the tone and the color saturation of the color blocks in one or more of an RGB color mode, a CMYK mode, a Lab mode, a CIE-XYZ mode and an HSV mode so as to determine that the absolute value of the color tolerance of the color blocks is greater than a second threshold value.
The common trapping treatment methods mainly comprise 4 methods: (1) a single color line overprinting method: adding light color lines on the edges of the color blocks, and selecting the attributes of the lines as overprinting; (2) a synthetic line method: adding a synthetic line on the edge of the color block, wherein the line attribute is not selected as overprinting; (3) a layering method: realizing trapping on different layers by shrinking or expanding elements inwards; (4) shift method: retraction or flaring is achieved by shifting the location of the inflection points in the color blocks, typically used in trapping associated with fading.
Referring to fig. 5, further, in S103 of some embodiments of the present invention, the step of determining whether to fuse the entered color block and its neighboring color blocks according to the colors of the entered color block and its neighboring color blocks and the trapping condition includes: judging whether the absolute value of the difference between the gray values of the entered color block and the adjacent color blocks is lower than a fourth threshold value; and judging whether the entered color block and the adjacent color block are trapped according to the trapping condition. When an entered tile and its neighboring tiles simultaneously satisfy the above two conditions, namely: whether the absolute value of the difference between the gray values of the entered color block and the adjacent color blocks is lower than a fourth threshold value or not and the entered color block and the adjacent color blocks do not generate trapping; at this time, the entered patch and its neighboring patches are fused.
Referring to fig. 6, further, in S104 of some embodiments of the present invention, the generating the trapping region according to the entry patch and the fused entry patch includes the following steps: obtaining the judgment result whether the entered color block and the adjacent color block are fused or not: if yes, merging the entered color block and the adjacent color blocks; and if not, generating a trapping area according to the entering color block and the entered color block. Referring to fig. 7, a trapping region generated using a conventional trapping technique cannot process a trapping region of a non-adjacent color patch and causes white exposure; and an effect diagram after solving the problem is shown in fig. 6.
It is understood that the above-described patches are the same color regions formed by one or more minimum pixel units determined by printing accuracy or display accuracy (resolution). The direction of the adjacent color blocks in fig. 3 to 7 is "up and down", and cannot be defined as specific limitation, and those skilled in the art can understand that the adjacent relationship between two color blocks includes, but is not limited to, "front and back", "back left" and the like.
Referring to fig. 8, in a second aspect of the present invention, there is provided a trapping region optimizing apparatus 1 based on non-adjacent color blocks, including an obtaining module 11, a determining module 12, a determining module 13, and a generating module 14, where the obtaining module 11 is configured to obtain color blocks and color block boundaries of a draft; determining trapping boundaries among the color blocks according to the color blocks and color block boundaries; a determining module 12 for determining a trapping direction of each trapping boundary; determining an entering color block, an entered color block and an adjacent color block of each trapping boundary according to the trapping direction; the judging module 13 is used for judging whether the entered color block and the adjacent color blocks thereof are fused according to the colors of the entered color block and the adjacent color blocks thereof and the trapping condition; and a generating module 14 for generating a trapping region according to the entering patch and the fused entered patch.
Further, the determining module 13 includes a first determining module and a second determining module, where the first determining module is configured to determine whether an absolute value of a difference between gray values of an entered color block and an adjacent color block is lower than a fourth threshold; and the second judging module is used for judging whether trapping occurs to the entered color block and the color blocks adjacent to the entered color block according to the trapping condition.
In a third aspect of the present invention, there is provided an electronic apparatus comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the method provided by the first aspect of the invention.
Referring to fig. 9, an electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following devices may be connected to the I/O interface 505 in general: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; a storage device 508 including, for example, a hard disk; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 9 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may be alternatively implemented or provided. Each block shown in fig. 9 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program, when executed by the processing device 501, performs the above-described functions defined in the methods of embodiments of the present disclosure. It should be noted that the computer readable medium described in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more computer programs which, when executed by the electronic device, cause the electronic device to:
computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, python, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (2)

1. A trapping region optimization method based on non-adjacent color blocks is characterized by comprising the following steps:
acquiring color blocks and color block boundaries of the draft; determining trapping boundaries among the color blocks according to the color blocks and color block boundaries;
determining a trapping direction of each trapping boundary: judging whether two adjacent color blocks corresponding to each trapping boundary are subjected to trapping according to the trapping condition: comparing the gray values of two adjacent color blocks corresponding to each trapping boundary and determining the trapping direction; determining an entering color block, an entered color block and an adjacent color block of each trapping boundary according to the trapping direction: determining an entering color block and an entered color block of each trapping boundary according to the trapping direction; taking out the adjacent color blocks of the entered color block; determining one or more neighboring color blocks of the entered color block according to the distance between the neighboring color blocks and the entered color block; the distance between the adjacent color block and the entered color block is larger than a third threshold value and smaller than a first threshold value;
judging whether the entered color block and the adjacent color block are fused according to the colors of the entered color block and the adjacent color blocks and the trapping condition: judging whether the absolute value of the difference between the gray values of the entered color block and the adjacent color blocks is lower than a fourth threshold value; judging whether the entered color block and the adjacent color block are subjected to trapping according to the trapping condition; when the absolute value of the difference between the gray values of the entered color block and the adjacent color block is lower than a fourth threshold value and the entered color block and the adjacent color block are not trapped, fusing the entered color block and the adjacent color block; otherwise, the entered color block and the adjacent color block are not fused; the trapping condition comprises that the distance between two adjacent color blocks is smaller than a first threshold value; the absolute value of the difference between the gray values of two adjacent color blocks is greater than a second threshold value; the first threshold value is less than or equal to twice the minimum trapping precision, and the third threshold value is less than or equal to the minimum trapping precision;
and generating a trapping area according to the entering color block and the fused entered color block.
2. A trapping area optimizing device based on non-adjacent color blocks is characterized by comprising an acquisition module, a determination module, a judgment module and a generation module,
the acquisition module is used for acquiring color blocks and color block boundaries of the draft; determining trapping boundaries among the color blocks according to the color blocks and the color block boundaries;
a determining module for determining a trapping direction of each trapping boundary: judging whether two adjacent color blocks corresponding to each trapping boundary are subjected to trapping according to the trapping condition: comparing the gray values of two adjacent color blocks corresponding to each trapping boundary and determining the trapping direction; determining an entering color block, an entered color block and an adjacent color block of each trapping boundary according to the trapping direction: determining an entering color block and an entered color block of each trapping boundary according to the trapping direction; taking out the adjacent color blocks of the entered color block; determining one or more neighboring color blocks of the entered color block according to the distance between the neighboring color blocks and the entered color block; the distance between the adjacent color block and the entered color block is larger than a third threshold value and smaller than a first threshold value;
the judging module is used for judging whether the entered color block and the adjacent color block are fused according to the colors of the entered color block and the adjacent color blocks and the trapping condition: judging whether the absolute value of the difference between the gray values of the entered color block and the adjacent color blocks is lower than a fourth threshold value; judging whether the entered color block and the adjacent color block are subjected to trapping according to the trapping condition; when the absolute value of the difference between the gray values of the entered color block and the adjacent color blocks is lower than a fourth threshold value and the entered color block and the adjacent color blocks are not subjected to trapping, fusing the entered color block and the adjacent color blocks; otherwise, the entered color block and the adjacent color block are not fused; the trapping condition comprises that the distance between two adjacent color blocks is smaller than a first threshold value; the absolute value of the difference between the gray values of two adjacent color blocks is greater than a second threshold value; the first threshold value is less than or equal to twice the minimum trapping precision, and the third threshold value is less than or equal to the minimum trapping precision;
and the generating module is used for generating a trapping area according to the entering color block and the fused entered color block.
CN202110237299.2A 2021-03-03 2021-03-03 Trapping area optimization method and device based on non-adjacent color blocks Active CN112967250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110237299.2A CN112967250B (en) 2021-03-03 2021-03-03 Trapping area optimization method and device based on non-adjacent color blocks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110237299.2A CN112967250B (en) 2021-03-03 2021-03-03 Trapping area optimization method and device based on non-adjacent color blocks

Publications (2)

Publication Number Publication Date
CN112967250A CN112967250A (en) 2021-06-15
CN112967250B true CN112967250B (en) 2023-02-28

Family

ID=76276870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110237299.2A Active CN112967250B (en) 2021-03-03 2021-03-03 Trapping area optimization method and device based on non-adjacent color blocks

Country Status (1)

Country Link
CN (1) CN112967250B (en)

Families Citing this family (1)

* 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

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5889932A (en) * 1996-05-03 1999-03-30 Barco Graphics N.V. Method of checking graphical data for conformity to graphical design rules
WO2006113989A1 (en) * 2005-04-26 2006-11-02 Kodak Graphic Communications Canada Company Comparison of documents containing graphic elements
CN101583492A (en) * 2007-07-30 2009-11-18 柯尼格及包尔公开股份有限公司 Method for the arrangement of printing blocks on a plate cylinder of a printing machine
CN102088540A (en) * 2009-12-02 2011-06-08 北京大学 Trapping method and device
CN102111529A (en) * 2009-12-25 2011-06-29 北大方正集团有限公司 Method and device for carrying out trapping treatment on gradually changed primitive object
GB201511237D0 (en) * 2015-06-25 2015-08-12 Render Stephen Device for splicing reinforcement cages
CN109816635A (en) * 2018-12-31 2019-05-28 方正株式(武汉)科技开发有限公司 Area of trap optimization method and device, storage medium
CN111045611A (en) * 2019-11-04 2020-04-21 浙江经纬印业有限公司 Four-color high-fidelity printing process capable of realizing network low-precision pictures
CN112437913A (en) * 2019-06-21 2021-03-02 艾司科软件有限公司 System and method for trapping of object annotations

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AT509620B1 (en) * 2010-04-09 2012-12-15 Durst Phototechnik Digital Technology Gmbh METHOD FOR PRODUCING A MULTICOLORED SURFACE ON GLASS
CN102404491B (en) * 2010-09-08 2014-08-27 方正国际软件(北京)有限公司 Trapping method and trapping system including gradient blocks
CN112330602B (en) * 2020-10-15 2022-09-27 方正株式(武汉)科技开发有限公司 Intelligent trapping direction judgment method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5889932A (en) * 1996-05-03 1999-03-30 Barco Graphics N.V. Method of checking graphical data for conformity to graphical design rules
WO2006113989A1 (en) * 2005-04-26 2006-11-02 Kodak Graphic Communications Canada Company Comparison of documents containing graphic elements
CN101583492A (en) * 2007-07-30 2009-11-18 柯尼格及包尔公开股份有限公司 Method for the arrangement of printing blocks on a plate cylinder of a printing machine
CN102088540A (en) * 2009-12-02 2011-06-08 北京大学 Trapping method and device
CN102111529A (en) * 2009-12-25 2011-06-29 北大方正集团有限公司 Method and device for carrying out trapping treatment on gradually changed primitive object
GB201511237D0 (en) * 2015-06-25 2015-08-12 Render Stephen Device for splicing reinforcement cages
CN109816635A (en) * 2018-12-31 2019-05-28 方正株式(武汉)科技开发有限公司 Area of trap optimization method and device, storage medium
CN112437913A (en) * 2019-06-21 2021-03-02 艾司科软件有限公司 System and method for trapping of object annotations
CN111045611A (en) * 2019-11-04 2020-04-21 浙江经纬印业有限公司 Four-color high-fidelity printing process capable of realizing network low-precision pictures

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Research on Dual-eye Color Code Photoelectric Sensor for Overprint Error Detection;Houjie Li 等;《2009 Sixth International Conference on Fuzzy Systems and Knowledge Discovery》;20091228;全文 *
一种基于边界分析的图像陷印方法;张宏志 等;《中国印刷与包装研究》;20101231;第2卷(第S1期);全文 *

Also Published As

Publication number Publication date
CN112967250A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
EP3509034B1 (en) Image filtering based on image gradients
JP4358980B2 (en) How to change the darkness level of a digital image
EP0838942A2 (en) Method and apparatus for area selective exposure adjustment
JP6573375B2 (en) Image processing apparatus, image processing apparatus control method, and program
US11233921B2 (en) Image processing apparatus that specifies edge pixel in target image using single-component image data
JP2008005317A (en) Image processor and image processing method, and computer program and recording medium
US20150178962A1 (en) Image processing apparatus, image forming apparatus, image generating method, and medium
US5200832A (en) Color image recording device with color edit and conversion processing
CN112967250B (en) Trapping area optimization method and device based on non-adjacent color blocks
KR20060104948A (en) Two-dimensional gray component replacement
US7072072B1 (en) Color rendering optimized for text and line art
KR20210138372A (en) Display Driving Device and Driving Method
JP7204402B2 (en) IMAGE PROCESSING DEVICE, CONTROL METHOD THEREOF, AND PROGRAM
US10339636B2 (en) Image processing apparatus that specifies edge pixel in target image by calculating edge strength
CN110555799A (en) Method and apparatus for processing video
JP2005243003A (en) Image processing method and image processor
US10389909B2 (en) Image processing apparatus that specifies edge pixel in target image using minimum and maximum component values of pixel value in target image data
CN117315172B (en) Map page configuration method, map page configuration device, electronic equipment and computer readable medium
JP4134531B2 (en) Image processing apparatus, image processing method, and program
JP2017046343A (en) Information processing apparatus, information processing method, and program
KR920009979B1 (en) Laser beam printer
CN114332306A (en) Method and device for processing map, electronic equipment and storage medium
JPH0313062A (en) Picture processing unit
KR20050053131A (en) Error diffusion method and apparatus using area ratio in cmykrgbw cube
JP2006163557A (en) Apparatus, method and program for image processing, and apparatus, method and program for print control

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