CN111105468B - Printing processing method, device and storage medium - Google Patents

Printing processing method, device and storage medium Download PDF

Info

Publication number
CN111105468B
CN111105468B CN201911235254.0A CN201911235254A CN111105468B CN 111105468 B CN111105468 B CN 111105468B CN 201911235254 A CN201911235254 A CN 201911235254A CN 111105468 B CN111105468 B CN 111105468B
Authority
CN
China
Prior art keywords
page
graphic object
gray value
printed
document
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
CN201911235254.0A
Other languages
Chinese (zh)
Other versions
CN111105468A (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.)
Beijing Founder Easiprint Co ltd
New Founder Holdings Development Co ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Beijing Founder Easiprint Co ltd
Peking University Founder Group Co Ltd
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 Beijing Founder Easiprint Co ltd, Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Beijing Founder Easiprint Co ltd
Priority to CN201911235254.0A priority Critical patent/CN111105468B/en
Publication of CN111105468A publication Critical patent/CN111105468A/en
Application granted granted Critical
Publication of CN111105468B publication Critical patent/CN111105468B/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/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1208Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1254Automatic configuration, e.g. by driver
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The printing processing method, the printing processing device and the storage medium adopted by the embodiment of the invention divide the page into three types, and set different mapping relations between gray values and calibration gray values for different types of pages. Therefore, when the document is printed, the gray value of the page can be calibrated based on the mapping relation corresponding to the page type of each page of the document to be printed, so that the differential calibration of the gray values of the pages can be realized. Compared with the prior art that the gray value calibration is carried out by using the same mapping relation for the whole document, the invention can avoid the problem of ink accumulation when the back page of the printed document is printed because the same mapping relation is adopted for calibration and the dark graphic objects or large-area dark graphic objects exist on the same or similar positions on the front and back sides of the printed document, so that the absorption of the printing ink by paper is saturated.

Description

Printing processing method, device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a printing processing method, a printing processing device and a storage medium.
Background
During the printing process, the colors of the printed documents cannot reach the desired colors due to ink expansion, differences in printer characteristics, and the like on different printers. To address this problem, a file-level linearization calibration technique is typically employed. The linearization calibration technology firstly prints a preset test file through a printer, and then generates a mapping relation between gray values conforming to the characteristics of the printer and calibration gray values based on the test file. All documents printed by the printer are printed after being calibrated according to the mapping relation between the gray value and the calibration gray value, so that the printed documents with the expected colors are obtained.
However, in the above method, if the front and back sides of a printed document are the same or similar, and there is a dark graphic object, ink is absorbed by the paper already in saturation, and ink is accumulated during the back printing, so that problems of ink bleeding and ink rubbing occur.
Disclosure of Invention
The embodiment of the invention provides a printing processing method, a printing processing device and a storage medium, which are used for solving the problems of ink bleeding and ink rubbing when graphic objects with deeper colors exist on the same or similar positions on the front side and the back side of a printed document.
In a first aspect, the present invention provides a print processing method, the method comprising:
acquiring a graphic object list of a document to be printed, wherein the graphic object list comprises position information and gray information of at least one graphic object, the position information is used for representing page numbers of pages of the graphic object in the document to be printed, and the position of the graphic object in the pages;
determining the mapping relation between the gray value corresponding to each page in the document to be printed and the calibration gray value according to the graphic object list, wherein the mapping relation between the gray value corresponding to different types of pages and the calibration gray value is different; the types of the pages include: a page without a target graphic object, a page with the target graphic object exists, no target graphic object exists at a position corresponding to a back page of the page, the page with the target graphic object exists at a position corresponding to the back page of the page, and the gray average value of the target graphic object is smaller than or equal to a first preset threshold value or the gray average value is smaller than or equal to a second preset threshold value;
calibrating the gray value of each page by using the mapping relation between the gray value corresponding to each page and the calibrated gray value;
and printing the document to be printed on two sides by using the calibrated gray value of each page.
Optionally, the page without the target graphic object has a first mapping relationship between the gray value and the calibration gray value, the page with the target graphic object has no target graphic object at a position corresponding to the back page of the page, the page with the target graphic object has a second mapping relationship between the gray value and the calibration gray value, the page with the target graphic object has a third mapping relationship between the gray value and the calibration gray value;
and for the same gray value, the calibration gray value obtained based on the first mapping relation is smaller than the calibration gray value obtained based on the second mapping relation, and the calibration gray value obtained based on the second mapping relation is smaller than the calibration gray value obtained based on the third mapping relation.
Optionally, the graphic object list further includes: size information of the at least one graphical object;
the area of the target graphic object is larger than or equal to a third preset threshold value, and the area of the target graphic object is determined according to the size information of the target graphic object.
Optionally, determining, according to the graphic object list, a mapping relationship between a gray value corresponding to each page in the document to be printed and a calibration gray value, specifically includes:
identifying each target graphic object according to the graphic object list;
identifying back pages of all pages in the document to be printed;
determining the type of each page in the document to be printed according to the position information of each target graphic object and the back page of each page;
and determining the mapping relation between the gray value corresponding to each page in the document to be printed and the calibration gray value according to the type of each page in the document to be printed and the mapping relation between the page type, the gray value and the calibration gray value.
Optionally, the identifying the back page of each page in the document to be printed specifically includes:
and identifying the back page of each page in the document to be printed according to the page number of the initial page of the document to be printed.
In a second aspect, the present invention also provides a print processing apparatus, the apparatus comprising:
the system comprises an acquisition module, a printing module and a printing module, wherein the acquisition module is used for acquiring a graphic object list of a document to be printed, the graphic object list comprises position information and gray information of at least one graphic object, the position information is used for representing page numbers of pages of the graphic object in the document to be printed, and the position of the graphic object in the pages;
the processing module is used for determining the mapping relation between the gray value corresponding to each page in the document to be printed and the calibration gray value according to the graphic object list, and the mapping relation between the gray value corresponding to different types of pages and the calibration gray value is different; the types of the pages include: a page without a target graphic object, a page with the target graphic object exists, no target graphic object exists at a position corresponding to a back page of the page, the page with the target graphic object exists at a position corresponding to the back page of the page, and the gray average value of the target graphic object is smaller than or equal to a first preset threshold value or the gray average value is smaller than or equal to a second preset threshold value;
the calibration module is used for calibrating the gray values of the pages by using the mapping relation between the gray values corresponding to the pages and the calibration gray values;
and the printing module is used for printing the document to be printed on both sides by using the calibrated gray values of the pages.
Optionally, the page without the target graphic object has a first mapping relationship between the gray value and the calibration gray value, the page with the target graphic object has no target graphic object at a position corresponding to the back page of the page, the page with the target graphic object has a second mapping relationship between the gray value and the calibration gray value, the page with the target graphic object has a third mapping relationship between the gray value and the calibration gray value;
and for the same gray value, the calibration gray value obtained based on the first mapping relation is smaller than the calibration gray value obtained based on the second mapping relation, and the calibration gray value obtained based on the second mapping relation is smaller than the calibration gray value obtained based on the third mapping relation.
Optionally, the graphic object list further includes: size information of the at least one graphical object;
the area of the target graphic object is larger than or equal to a third preset threshold value, and the area of the target graphic object is determined according to the size information of the target graphic object.
Optionally, the processing module is specifically configured to identify each target graphic object according to the graphic object list; identifying back pages of all pages in the document to be printed; determining the type of each page in the document to be printed according to the position information of each target graphic object and the back page of each page; and determining the mapping relation between the gray value corresponding to each page in the document to be printed and the calibration gray value according to the type of each page in the document to be printed and the mapping relation between the page type, the gray value and the calibration gray value.
Optionally, the processing module is specifically configured to identify a back page of each page in the document to be printed according to a page number of the start page of the document to be printed.
In a third aspect, the present invention also provides another print processing apparatus, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the apparatus to perform the method of any one of the first aspects.
In a fourth aspect, the present invention also provides a computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, implement the method of any of the first aspects.
The printing processing method, the printing processing device and the storage medium adopted by the embodiment of the invention divide pages into the following three types: the method comprises the steps that a page without a target graphic object exists, the page with the target graphic object exists at the position corresponding to the back page of the page, and the mapping relation between different gray values and calibration gray values is set for different types of pages. Therefore, when the document is printed, the gray value of the page can be calibrated based on the mapping relation corresponding to the page type of each page of the document to be printed, so that the differential calibration of the gray values of the pages can be realized. Compared with the prior art that the gray value calibration is carried out by using the same mapping relation for the whole document, the invention can avoid the problem of ink accumulation when the back page of the printed document is printed because the same mapping relation is adopted for calibration and the dark graphic objects or large-area dark graphic objects exist on the same or similar positions on the front and back sides of the printed document, so that the absorption of the printing ink by paper is saturated.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic flow chart of a printing processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of three page types provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of a one-dimensional gray value mapping curve according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a printing processing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another printing processing apparatus according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of 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 apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the printing process, the colors of the printed documents cannot reach the expected colors due to ink expansion, differences of the characteristics of printer equipment and the like on different printers, and a file-level linearization calibration technology is generally adopted in the prior art. The file-level linearization calibration technique is generally divided into the following stages: in the first stage, a preset test file is printed by using a printer, and then a mapping relation between gray values conforming to the characteristics of the printer and calibration gray values is generated based on the printed test file by a device characterization system on the printer, wherein the mapping relation can be represented by a mapping curve. And a second stage, wherein a raster image processor (Raster Image Processor, RIP) on the printer performs gray value calibration on the dot matrix of each page of the document to be printed based on the mapping relation between the gray value obtained in the first stage and the calibrated gray value, so as to obtain the calibrated document to be printed. And a third stage, printing the calibrated document to be printed by the printer, and enabling the color of the obtained printed document to reach the expected color.
In the prior art, a file-level linearization calibration technology is adopted in the gray value calibration process of the raster image processor. The document-level linearization calibration technique is essentially based on printing a preset test document by the printer, and thus, for all documents printed by the printer, is based on the same gray value-to-gray value mapping. And, for the same document to be printed, some pages only contain text, some pages contain dark graphic objects, and corresponding positions of some pages and back pages contain dark graphic objects. And (3) calibrating all pages of the document to be printed by adopting a mapping relation of a uniform gray value and a calibration gray value, or carrying out moderate text color but indistinct overlooking of graphic object ink, or carrying out moderate text color but indistinct overlooking of the graphic object color and indistinct text color, wherein both the two cannot be considered. Especially when dark graphic objects on the front and back sides of a printed document overlap, the ink absorption of the paper is saturated due to the superposition of the ink amounts at the overlapping positions, thereby causing problems of ink bleeding and ink rubbing.
The printing processing method, the printing processing device and the storage medium adopted by the embodiment of the invention divide pages into the following three types: the method comprises the steps that a page without a target graphic object exists, the page with the target graphic object exists at the position corresponding to the back page of the page, and the mapping relation between different gray values and calibration gray values is set for different types of pages. Therefore, when the document is printed, the gray value of the page can be calibrated based on the mapping relation corresponding to the page type of each page of the document to be printed, so that the differential calibration of the gray values of the pages can be realized. Compared with the prior art that the gray value calibration is carried out by using the same mapping relation for the whole document, the invention can avoid the problem of ink accumulation when the back page of the printed document is printed because the same mapping relation is adopted for calibration and the dark graphic objects or large-area dark graphic objects exist on the same or similar positions on the front and back sides of the printed document, so that the absorption of the printing ink by paper is saturated.
The technical scheme of the printing processing method provided by the invention is described in detail below with reference to several specific embodiments. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 1 is a schematic flow chart of a printing processing method according to an embodiment of the present invention. In the printing processing method of the present embodiment, the execution subject to execute the method may be a printing apparatus. As shown in fig. 1, the method of the present invention may include:
s101, a graphic object list of a document to be printed is obtained, wherein the graphic object list comprises position information and gray information of at least one graphic object.
The position information of the graphic object is used for representing the page number of the page of the graphic object in the document to be printed and the position of the graphic object in the page. For example, the location information of the graphical object may include: some or all of the points on the boundary of the graphical object are located in the page. Illustrating:
if there is a rectangular graphic object on page 13 of the document to be printed, the coordinates of the four corners of the rectangle (i.e., points on the boundary) are divided into (a 1, b 1), (a 2, b 2), (a 3, b 3), and (a 4, b 4), the position information of the graphic object may include: "page 13, (a 1, b 1), (a 2, b 2), (a 3, b 3), and (a 4, b 4)", may also include the coordinates of the page number and other points of the graphical object boundary.
If the shape of the graphic object is an irregular graph, the coordinates of partial points on the boundary of the irregular graph can be extracted to describe the coordinates of the graphic object on the page, and then the position information of the graphic object is represented by the page number and the coordinates of the points of the graphic object.
It should be understood that the above description is only an example, and the embodiment of the present invention may also describe the position information of the graphic object in other manners, so long as the page number of the graphic object and the position of the graphic object in the page number can be identified, which is not limited.
For black and white graphic objects, the gray information of the graphic object may be a gray value lattice of one dimension of the graphic object. For a color graphic object, the gray information of the graphic object may be a multi-dimensional gray value dot matrix of the graphic object, and for example, a three-dimensional gray value (optical three primary colors) dot matrix may be used to represent the gray information of the color graphic object.
Alternatively, in one possible implementation manner, the graphic object list may further include size information of at least one graphic object. The size information of the graphical object is used to characterize the area of the graphical object.
The method for obtaining the graphic object list of the document to be printed can be any method in the prior art, for example, the method for identifying the position information, the gray information and the like of the graphic object in the document to be printed can be used for identifying the position information, the gray information and the like of the graphic object in the document to be printed, and the graphic object list of the document to be printed is obtained.
S102, determining the mapping relation between gray values corresponding to pages in a document to be printed and calibration gray values according to a graphic object list, wherein the mapping relation between gray values corresponding to different types of pages and the calibration gray values is different; the types of pages include: the method comprises the steps that a page without a target graphic object exists, the position corresponding to the back page of the page is without a target graphic object, the position corresponding to the back page of the page is with a target graphic object, the gray average value of the target graphic object is smaller than or equal to a first preset threshold value, or the gray average value is smaller than or equal to a second preset threshold value.
The gray average value of the graphic object is calculated based on gray information of the graphic object. For example, when the gradation information of the graphic object is a one-dimensional gradation value lattice, the average gradation value of the graphic object is obtained by calculating the arithmetic average of the gradation values of the gradation value lattice. For example, when the gray information of the graphic object is a multi-dimensional gray value lattice, an arithmetic average of a plurality of gray values of each point in the gray value lattice can be calculated first, and then the gray average of the graphic object can be obtained by carrying out the arithmetic average on all points in the gray value lattice.
When the gray mean square value of the graphic object is smaller than or equal to a second preset threshold, for example, when the gray information of the graphic object is a one-dimensional gray value dot matrix, the gray mean square value of the graphic object is calculated, for example, when the gray information of the graphic object is a multi-dimensional gray value dot matrix, the arithmetic mean value of a plurality of gray values of each point in the gray value dot matrix can be calculated first, and then the gray mean square value of the graphic object is calculated by calculating the mean square value of all points in the gray value dot matrix.
The gray mean value or the gray mean square value can represent the color depth of the graphic object, and when the gray mean value of the graphic object is smaller than or equal to a first preset threshold value or the gray mean square value is smaller than or equal to a second preset threshold value, the graphic object is indicated to be a darker graphic object, and more ink is needed to be used when the graphic object is printed. When any of the above conditions is not satisfied, it is indicated that the graphic object is a graphic object having a lighter color, and when the graphic object is printed, a large amount of ink is not required. Therefore, based on the gray average value or the gray mean square value of the graphic objects, which graphic objects need to use more ink can be identified, and the graphic objects are used as target graphic objects.
Optionally, the area of the graphic objects can be further combined to screen which graphic objects need more ink more accurately, so that the screened target graphic objects are more accurate. For example, when the area of the graphic object is greater than or equal to the third preset threshold, even if the color of the graphic object is darker, the area is smaller during printing, the paper is not easy to be saturated with ink, and the problems of ink bleeding and ink rubbing are avoided, so that the graphic object with dark color and smaller area can be ignored. The area of the graphic object may be determined based on the size information of the graphic object, and specifically, the area may be calculated by referring to the existing method using the size. The third preset threshold is set according to practical situations, and the invention is not limited.
In this embodiment, by whether the page includes the target graphic object and whether the target graphic object exists on the back page of the page, the page may be divided into three types, and fig. 2 is a schematic diagram of three types of pages provided in the embodiment of the present invention, and as shown in fig. 2, the three types are respectively: type one, no pages of the target graphical object. And the second type is that a page of the target graphic object exists, and no target graphic object exists at a position corresponding to the back page of the page. Type three, a page with a target graphic object exists, and a target graphic object exists at a position corresponding to a back page of the page, wherein the position corresponding to the back page of the page is that: the two target graphical objects present in the page and the back page appear to overlap partially or fully (fig. 2 illustrates a partial overlap).
The mapping relation between the gray values corresponding to different types of pages and the calibration gray values is different. For example: the method comprises the steps that a first mapping relation between a gray value corresponding to a page without a target graphic object and a calibration gray value exists, a second mapping relation between the corresponding gray value and the calibration gray value exists at a position corresponding to a page with the back of the page, a third mapping relation between the corresponding gray value and the calibration gray value exists at a position corresponding to the page with the target graphic object and the back of the page.
And for the same gray value, the calibration gray value obtained based on the first mapping relation is smaller than the calibration gray value obtained based on the second mapping relation, and the calibration gray value obtained based on the second mapping relation is smaller than the calibration gray value obtained based on the third mapping relation. The first, second, and third mappings may be represented by first, second, and third mappings. Taking one-dimensional gray values as an example, fig. 3 is a schematic diagram of a one-dimensional gray value mapping curve provided by an embodiment of the present invention, as shown in fig. 3, for an arbitrary gray value x before calibration, a calibration gray value x1 corresponding to the first mapping curve is smaller than a calibration gray value x2 corresponding to the second mapping curve, and a calibration gray value x2 corresponding to the second mapping curve is smaller than a calibration gray value x3 corresponding to the third mapping curve.
When a page without a target graphic object exists, a page with the target graphic object exists at a position corresponding to a back page of the page, the page with the target graphic object exists at a position corresponding to the back page of the page, and the target graphic object is calibrated by adopting a first mapping curve, a second mapping curve and a third mapping curve respectively, the calibration amplitude meets the following conditions,
|x3-x|>|x2-x|>|x1-x|
when the page is a page without a target graphic object, the page does not have a graphic object with a darker color, and the first mapping relation with a smaller calibration amplitude is adopted for calibration; when the page is a page with target graphic objects and no target graphic objects exist at the position corresponding to the back page of the page, the page is only provided with graphic objects with darker colors on one side, and the second mapping relation with moderate calibration amplitude is adopted for calibration; when the page is a page with the target graphic object, the target graphic object exists at the position corresponding to the back page of the page, the graphic objects with deeper colors exist at the same or similar positions of the front and back sides of the page, and the third mapping relation with higher calibration amplitude is adopted for calibration. The characteristics of dark graphic objects included in different pages are different, and after calibration is performed by adopting different mapping relations, compared with the prior art, the printed document is calibrated by adopting the same mapping relation, and each page can reach the expected color.
In another possible implementation manner, there is no page of the target graphic object, and there is no target graphic object at a position corresponding to a back page of the page where the target graphic object exists, there is a first mapping relationship between the corresponding gray value and the calibration gray value, there is a page of the target graphic object, there is a target graphic object at a position corresponding to a back page of the page where the target graphic object exists, and there is a third mapping relationship between the corresponding gray value and the calibration gray value. The method adopts two mapping relations, is mainly used for calibrating the overlapped pages of two target graphic objects with front and back surfaces, and adopts the first mapping relation for calibration in other two conditions, thereby reducing the complexity of calibration.
The mapping relation between the gray value corresponding to each page in the document to be printed and the calibration gray value can be determined in the following manner:
implementation 1:
first, each target graphic object is identified from a list of graphic objects.
For example, a darker target graphic object may be identified from among the graphic objects based on the gray information of the graphic objects included in the graphic object list.
Second, the back page of each page in the document to be printed is identified.
Alternatively, in one possible implementation manner, the back page of each page in the document to be printed may be identified according to the page number of the start page of the document to be printed. If the starting page is an odd page, then the current page, if it is an odd page, is an even page that is one page larger than the odd page; if the current page is an even page, then the "back page" is an odd page that is one page smaller than the even page. Similarly, if the starting page is an even page, the current page is an even page that is one page smaller than the current page if it is an odd page, and if it is an even page, the "back page" is an odd page that is one page larger than the current page. In another possible implementation manner, the document to be printed already provides the back page corresponding to each page, and the printing device can also directly obtain the back page information of each page from the document to be printed.
Thirdly, determining the type of each page in the document to be printed according to the position information of each target graphic object and the back page of each page.
When a certain page does not comprise the target graphic object, the type of the page is 'page without the target graphic object'; when a certain page comprises a target graphic object and the position corresponding to the back page of the page does not have the target graphic object, namely, the front and back sides of the page do not have the target graphic object overlapping, the type of the page is that the page with the target graphic object exists and the position corresponding to the back page of the page does not have the target graphic object; when a certain page comprises a target graphic object and a position corresponding to a back page of the page is provided with the target graphic object, namely, the front side and the back side of the page are overlapped with each other, the type of the page is that the page provided with the target graphic object and the position corresponding to the back page of the page are provided with the target graphic object.
Fourth, according to the type of each page in the document to be printed and the mapping relation of the page type, the gray value and the calibration gray value, the mapping relation of the gray value corresponding to each page in the document to be printed and the calibration gray value is determined.
Implementation 2:
first, each target graphic object is identified from a list of graphic objects.
Second, it is identified whether the back page including each target graphic object page includes overlapping target graphic objects and the type of each page in the document to be printed is determined.
Thirdly, determining the mapping relation between the gray value corresponding to each page in the document to be printed and the calibration gray value according to the type of each page in the document to be printed and the mapping relation between the page type, the gray value and the calibration gray value.
Compared with the prior art that the same mapping relation is used for carrying out gray value calibration on the whole document, the method can avoid the problem of ink accumulation when printing the back page of the document caused by saturated absorption of ink by paper due to the fact that the dark graphic objects or large-area dark graphic objects exist on the same or similar positions on the front and back sides of the printed document simultaneously due to the fact that the same mapping relation is used for carrying out calibration.
S103, calibrating the gray value of each page by using the mapping relation between the gray value corresponding to each page and the calibrated gray value.
When three mapping relations are used for calibration, when a certain page corresponds to a first mapping relation, each gray value of the gray dot matrix in the page is calibrated according to the first mapping relation. When a certain page corresponds to the second mapping relation, calibrating each gray value of the gray dot matrix in the page according to the second mapping relation. When a certain page corresponds to the third mapping relation, calibrating each gray value of the gray dot matrix in the page according to the third mapping relation.
When the two mapping relations are used for calibration, when a certain page corresponds to the first mapping relation, each gray value of the gray dot matrix in the page is calibrated according to the first mapping relation. When a certain page corresponds to the third mapping relation, calibrating each gray value of the gray dot matrix in the page according to the third mapping relation.
S104, printing the document to be printed on the two sides by using the gray value calibrated by each page.
The printing processing method adopted by the embodiment of the invention is characterized in that the page is divided into the following three types: the method comprises the steps that a page without a target graphic object exists, the page with the target graphic object exists at the position corresponding to the back page of the page, and the mapping relation between different gray values and calibration gray values is set for different types of pages. Therefore, when the document is printed, the gray value of the page can be calibrated based on the mapping relation corresponding to the page type of each page of the document to be printed, so that the differential calibration of the gray values of the pages can be realized. Compared with the prior art that the gray value calibration is carried out by using the same mapping relation for the whole document, the invention can avoid the problem of ink accumulation when the back page of the printed document is printed because the same mapping relation is adopted for calibration and the dark graphic objects or large-area dark graphic objects exist on the same or similar positions on the front and back sides of the printed document, so that the absorption of the printing ink by paper is saturated.
Although the above embodiments take printing apparatus as an example, the method of the embodiment of the present invention is described and illustrated. However, it should be understood that the above method may also be implemented by an electronic device that is independent of the printing device, such that the electronic device, after calibrating the gray values of the pages in the document to be printed, controls the printing device to print the document on both sides based on the calibrated gray values.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Fig. 4 is a schematic structural diagram of a printing processing apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus may include an acquisition module 11, a processing module 12, a calibration module 13, and a printing module 14.
Wherein, the liquid crystal display device comprises a liquid crystal display device,
the obtaining module 11 is configured to obtain a graphic object list of a document to be printed, where the graphic object list includes position information and gray information of at least one graphic object, and the position information is used to represent a page number of a page of the graphic object in the document to be printed, and a position of the graphic object in the page;
the processing module 12 is configured to determine, according to the graphic object list, a mapping relationship between a gray value corresponding to each page in the document to be printed and a calibration gray value, where the mapping relationship between gray values corresponding to different types of pages and the calibration gray value is different; the types of pages include: a page without a target graphic object, a page with the target graphic object exists, no target graphic object exists at a position corresponding to a back page of the page, the page with the target graphic object exists at a position corresponding to the back page of the page, and the gray average value of the target graphic object is smaller than or equal to a first preset threshold value or the gray average value is smaller than or equal to a second preset threshold value;
the calibration module 13 is configured to calibrate the gray value of each page by using a mapping relationship between the gray value corresponding to each page and the calibration gray value;
and the printing module 14 is used for printing the document to be printed on two sides by using the gray values after the calibration of each page.
Optionally, in some embodiments, there is no first mapping relation between the gray value corresponding to the page of the target graphic object and the calibration gray value, there is a page of the target graphic object, and there is no target graphic object at a position corresponding to the back page of the page, there is a second mapping relation between the corresponding gray value and the calibration gray value, there is a page of the target graphic object, there is a target graphic object at a position corresponding to the back page of the page, and there is a third mapping relation between the corresponding gray value and the calibration gray value;
and for the same gray value, the calibration gray value obtained based on the first mapping relation is smaller than the calibration gray value obtained based on the second mapping relation, and the calibration gray value obtained based on the second mapping relation is smaller than the calibration gray value obtained based on the third mapping relation.
Optionally, in some embodiments, the graphical object list further comprises: size information of at least one graphic object;
the area of the target graphic object is larger than or equal to a third preset threshold value, and the area of the target graphic object is determined according to the size information of the target graphic object.
Optionally, in some embodiments, the processing module 12 is specifically configured to identify each target graphical object according to a list of graphical objects; identifying back pages of pages in a document to be printed; determining the type of each page in the document to be printed according to the position information of each target graphic object and the back page of each page; and determining the mapping relation between the gray value corresponding to each page in the document to be printed and the calibration gray value according to the type of each page in the document to be printed and the mapping relation between the page type, the gray value and the calibration gray value.
Optionally, in some embodiments, the processing module 12 is specifically further configured to identify a back page of each page in the document to be printed according to the page number of the start page of the document to be printed.
The printing processing device provided by the embodiment of the invention can execute the action of the printing equipment in the embodiment of the method, and the implementation principle and the technical effect are similar, and are not repeated here.
Fig. 5 is a schematic structural diagram of another printing processing apparatus according to an embodiment of the present invention, as shown in fig. 5, the apparatus includes: a memory 301 and at least one processor 302.
Memory 301 for storing program instructions.
The processor 302 is configured to implement the print processing method in the embodiment of the present invention when the program instructions are executed, and the specific implementation principle can be referred to the above embodiment, which is not described herein again.
The print processing device may also include an input/output interface 303.
The input/output interface 303 may include a separate output interface and an input interface, or may be an integrated interface that integrates input and output. The output interface is used for outputting data, the input interface is used for acquiring input data, the output data is the generic name output in the method embodiment, and the input data is the generic name input in the method embodiment.
The present application also provides a readable storage medium having stored therein execution instructions which, when executed by at least one processor of a print processing apparatus, when executed by the processor, implement the print processing method in the above embodiment.
The present application also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the print processing apparatus may read the execution instruction from the readable storage medium, and execution of the execution instruction by the at least one processor causes the print processing apparatus to implement the print processing method provided in the above-described various embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the 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 scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (12)

1. A method of print processing, the method comprising:
acquiring a graphic object list of a document to be printed, wherein the graphic object list comprises position information and gray information of at least one graphic object, the position information is used for representing page numbers of pages of the graphic object in the document to be printed, and the position of the graphic object in the pages;
determining the mapping relation between the gray value corresponding to each page in the document to be printed and the calibration gray value according to the graphic object list, wherein the mapping relation between the gray value corresponding to different types of pages and the calibration gray value is different; the types of the pages include: a page without a target graphic object, a page with the target graphic object exists, no target graphic object exists at a position corresponding to a back page of the page, the page with the target graphic object exists at a position corresponding to the back page of the page, and the gray average value of the target graphic object is smaller than or equal to a first preset threshold value or the gray average value is smaller than or equal to a second preset threshold value;
calibrating the gray value of each page by using the mapping relation between the gray value corresponding to each page and the calibrated gray value;
and printing the document to be printed on two sides by using the calibrated gray value of each page.
2. The method according to claim 1, wherein the page without the target graphic object has a first mapping relationship between a gray value and a calibration gray value, the page with the target graphic object has no target graphic object at a position corresponding to a back page of the page, the page with the target graphic object has a second mapping relationship between a gray value and a calibration gray value, the page with the target graphic object has a target graphic object at a position corresponding to a back page of the page, and the page with the target graphic object has a third mapping relationship between a gray value and a calibration gray value;
and for the same gray value, the calibration gray value obtained based on the first mapping relation is smaller than the calibration gray value obtained based on the second mapping relation, and the calibration gray value obtained based on the second mapping relation is smaller than the calibration gray value obtained based on the third mapping relation.
3. The method of claim 2, wherein the list of graphical objects further comprises: size information of the at least one graphical object;
the area of the target graphic object is larger than or equal to a third preset threshold value, and the area of the target graphic object is determined according to the size information of the target graphic object.
4. A method according to claim 3, wherein the determining, according to the graphic object list, a mapping relationship between gray values corresponding to pages in the document to be printed and calibration gray values specifically includes:
identifying each target graphic object according to the graphic object list;
identifying back pages of all pages in the document to be printed;
determining the type of each page in the document to be printed according to the position information of each target graphic object and the back page of each page;
and determining the mapping relation between the gray value corresponding to each page in the document to be printed and the calibration gray value according to the type of each page in the document to be printed and the mapping relation between the page type, the gray value and the calibration gray value.
5. The method according to claim 4, wherein the identifying the back page of each page in the document to be printed specifically comprises:
and identifying the back page of each page in the document to be printed according to the page number of the initial page of the document to be printed.
6. A print processing apparatus, the apparatus comprising:
the system comprises an acquisition module, a printing module and a printing module, wherein the acquisition module is used for acquiring a graphic object list of a document to be printed, the graphic object list comprises position information and gray information of at least one graphic object, the position information is used for representing page numbers of pages of the graphic object in the document to be printed, and the position of the graphic object in the pages;
the processing module is used for determining the mapping relation between the gray value corresponding to each page in the document to be printed and the calibration gray value according to the graphic object list, and the mapping relation between the gray value corresponding to different types of pages and the calibration gray value is different; the types of the pages include: a page without a target graphic object, a page with the target graphic object exists, no target graphic object exists at a position corresponding to a back page of the page, the page with the target graphic object exists at a position corresponding to the back page of the page, and the gray average value of the target graphic object is smaller than or equal to a first preset threshold value or the gray average value is smaller than or equal to a second preset threshold value;
the calibration module is used for calibrating the gray values of the pages by using the mapping relation between the gray values corresponding to the pages and the calibration gray values;
and the printing module is used for printing the document to be printed on both sides by using the calibrated gray values of the pages.
7. The apparatus of claim 6, wherein the page without the target graphic object has a first mapping relationship between a gray value and a calibration gray value, the page with the target graphic object has no target graphic object at a position corresponding to a back page of the page, the page with the target graphic object has a second mapping relationship between a gray value and a calibration gray value, the page with the target graphic object has a target graphic object at a position corresponding to a back page of the page, and the page with the target graphic object has a third mapping relationship between a gray value and a calibration gray value;
and for the same gray value, the calibration gray value obtained based on the first mapping relation is smaller than the calibration gray value obtained based on the second mapping relation, and the calibration gray value obtained based on the second mapping relation is smaller than the calibration gray value obtained based on the third mapping relation.
8. The apparatus of claim 7, wherein the list of graphical objects further comprises: size information of the at least one graphical object;
the area of the target graphic object is larger than or equal to a third preset threshold value, and the area of the target graphic object is determined according to the size information of the target graphic object.
9. The apparatus of claim 8, wherein the device comprises a plurality of sensors,
the processing module is specifically configured to identify each target graphic object according to the graphic object list; identifying back pages of all pages in the document to be printed; determining the type of each page in the document to be printed according to the position information of each target graphic object and the back page of each page; and determining the mapping relation between the gray value corresponding to each page in the document to be printed and the calibration gray value according to the type of each page in the document to be printed and the mapping relation between the page type, the gray value and the calibration gray value.
10. The apparatus of claim 9, wherein the device comprises a plurality of sensors,
the processing module is specifically configured to identify a back page of each page in the document to be printed according to the page number of the start page of the document to be printed.
11. A print processing apparatus, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the apparatus to perform the method of any one of claims 1-5.
12. A computer readable storage medium having stored thereon computer executable instructions which, when executed by a processor, implement the method of any of claims 1-5.
CN201911235254.0A 2019-12-05 2019-12-05 Printing processing method, device and storage medium Active CN111105468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911235254.0A CN111105468B (en) 2019-12-05 2019-12-05 Printing processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911235254.0A CN111105468B (en) 2019-12-05 2019-12-05 Printing processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN111105468A CN111105468A (en) 2020-05-05
CN111105468B true CN111105468B (en) 2023-05-26

Family

ID=70421581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911235254.0A Active CN111105468B (en) 2019-12-05 2019-12-05 Printing processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111105468B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002077492A (en) * 2000-06-13 2002-03-15 Canon Inc Method, device, and system for inputting/outputting image, and storage medium
JP2003220737A (en) * 2002-01-29 2003-08-05 Nisca Corp Printing method and printing system
JP2006224562A (en) * 2005-02-21 2006-08-31 Fuji Xerox Co Ltd Print system
CN101132921A (en) * 2005-09-29 2008-02-27 兄弟工业株式会社 Ink cartridge, and mehtod for replacing ink storage element in the ink cartridge
CN101386235A (en) * 2007-09-12 2009-03-18 精工爱普生株式会社 Printing method, printing device, and method of producing printing material
CN101801672A (en) * 2007-08-14 2010-08-11 株式会社理光 Image processing apparatus, image forming apparatus, and image processing method
CN102238299A (en) * 2010-04-23 2011-11-09 株式会社东芝 Printing calibration processing apparatus, image forming apparatus and printing calibration processing method
CN103914496A (en) * 2013-01-09 2014-07-09 北大方正集团有限公司 Page correction method and device
CN104220935A (en) * 2012-03-05 2014-12-17 兰达公司 Control apparatus and method for digital printing system
CN104339841A (en) * 2013-08-06 2015-02-11 北大方正集团有限公司 Double-side printing parameter generation method, double-side printing method, device and system
CN108116059A (en) * 2016-11-30 2018-06-05 佳能株式会社 Printing equipment and Method of printing
CN108621613A (en) * 2017-03-21 2018-10-09 精工爱普生株式会社 Control device and program
CN109086203A (en) * 2018-07-20 2018-12-25 百度在线网络技术(北京)有限公司 The detection method and device of the page
CN110244529A (en) * 2018-03-07 2019-09-17 株式会社理光 Image forming apparatus and image forming method

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002077492A (en) * 2000-06-13 2002-03-15 Canon Inc Method, device, and system for inputting/outputting image, and storage medium
JP2003220737A (en) * 2002-01-29 2003-08-05 Nisca Corp Printing method and printing system
JP2006224562A (en) * 2005-02-21 2006-08-31 Fuji Xerox Co Ltd Print system
CN101132921A (en) * 2005-09-29 2008-02-27 兄弟工业株式会社 Ink cartridge, and mehtod for replacing ink storage element in the ink cartridge
CN101801672A (en) * 2007-08-14 2010-08-11 株式会社理光 Image processing apparatus, image forming apparatus, and image processing method
CN101386235A (en) * 2007-09-12 2009-03-18 精工爱普生株式会社 Printing method, printing device, and method of producing printing material
CN102238299A (en) * 2010-04-23 2011-11-09 株式会社东芝 Printing calibration processing apparatus, image forming apparatus and printing calibration processing method
CN104220935A (en) * 2012-03-05 2014-12-17 兰达公司 Control apparatus and method for digital printing system
CN103914496A (en) * 2013-01-09 2014-07-09 北大方正集团有限公司 Page correction method and device
CN104339841A (en) * 2013-08-06 2015-02-11 北大方正集团有限公司 Double-side printing parameter generation method, double-side printing method, device and system
CN108116059A (en) * 2016-11-30 2018-06-05 佳能株式会社 Printing equipment and Method of printing
CN108621613A (en) * 2017-03-21 2018-10-09 精工爱普生株式会社 Control device and program
CN110244529A (en) * 2018-03-07 2019-09-17 株式会社理光 Image forming apparatus and image forming method
CN109086203A (en) * 2018-07-20 2018-12-25 百度在线网络技术(北京)有限公司 The detection method and device of the page

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张正修 ; .印刷透印的检测与控制研究.包装工程.2006,(第03期),全文. *

Also Published As

Publication number Publication date
CN111105468A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
US8538199B2 (en) Digital image scaling with non integer scaling factors
US8208169B2 (en) Method and system for rendering a transparent object in an image
US20110075165A1 (en) Image processing system, image processing method and computer readable medium
US8229230B2 (en) Method of digital image comparison for imaging software development
JP6978205B2 (en) Print control device, raster data generation method, and raster data generation program
US8660357B2 (en) Image processing apparatus, method, and computer program
CN111105468B (en) Printing processing method, device and storage medium
US20190371048A1 (en) Radial gradient module
JP2007079586A (en) Image processor
US20180343363A1 (en) Image forming apparatus
CN103034460B (en) Method and device for testing printer driver
EP2996029B1 (en) Method for generating a proof of a print job comprising a document to be printed with parameters and system therewith
JP2007079587A (en) Image processor
US10540788B2 (en) Radial gradient module
JP2013026865A (en) Image processing apparatus and image processing method
CN104461406B (en) A kind of print-out method and device
KR101760343B1 (en) Image forming apparatus and method for printing reduction image thereof
US8891130B2 (en) Print control terminal device, image forming apparatus, print control method, and image forming method
US9978005B2 (en) Printer for drawing bold character, method for controlling the same, and storage medium
JP6613871B2 (en) Information processing apparatus, image reading apparatus, and program
US9053409B2 (en) Image forming apparatus, method, and program product determining periodic drawing pattern and thinning an image
CN113448522B (en) Variable data printing output method and device, terminal equipment and readable storage medium
US11526714B2 (en) Method and apparatus for anisotropically modifying text attributes to comply with a resolution limit
US20220207694A1 (en) Image processing apparatus, image processing method, non-transitory computer readable recording medium storing an image processing program
JP2023069216A (en) Image processing device, printer, image processing method, and program

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
TR01 Transfer of patent right

Effective date of registration: 20230609

Address after: 3007, Hengqin International Financial Center Building, No. 58 Huajin Street, Hengqin New District, Zhuhai City, Guangdong Province, 519030

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Patentee after: BEIJING FOUNDER EASIPRINT CO.,LTD.

Address before: 100871, Beijing, Haidian District, Cheng Fu Road, No. 298, Zhongguancun Fangzheng building, 9 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Patentee before: BEIJING FOUNDER EASIPRINT CO.,LTD.

TR01 Transfer of patent right