CN113360105B - Laser printer imaging system based on laser unit self-adaptive adjustment - Google Patents

Laser printer imaging system based on laser unit self-adaptive adjustment Download PDF

Info

Publication number
CN113360105B
CN113360105B CN202110697991.3A CN202110697991A CN113360105B CN 113360105 B CN113360105 B CN 113360105B CN 202110697991 A CN202110697991 A CN 202110697991A CN 113360105 B CN113360105 B CN 113360105B
Authority
CN
China
Prior art keywords
laser
type
printing
laser pulse
density
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
CN202110697991.3A
Other languages
Chinese (zh)
Other versions
CN113360105A (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.)
Nanjing Chenguang Rongxin Technology Co ltd
Original Assignee
Nanjing Chenguang Rongxin Technology 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 Nanjing Chenguang Rongxin Technology Co ltd filed Critical Nanjing Chenguang Rongxin Technology Co ltd
Priority to CN202110697991.3A priority Critical patent/CN113360105B/en
Publication of CN113360105A publication Critical patent/CN113360105A/en
Application granted granted Critical
Publication of CN113360105B publication Critical patent/CN113360105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1279Controller construction, e.g. aspects of the interface hardware

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Electronic Switches (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

The invention belongs to the technical field of printers, and particularly relates to a laser printer imaging system, method and device based on self-adaptive adjustment of a laser unit, aiming at solving the problem that the existing laser printer cannot self-adaptively adjust laser pulse array densities corresponding to different printing types, so that the printing robustness is poor. The system of the invention comprises: the system comprises a paper feeding assembly, a laser, a charging roller, a photosensitive drum, a powder bin, a transfer printing assembly, a fixer and a paper discharging assembly, and further comprises an information acquisition module, wherein the information acquisition module is configured to acquire corresponding description information after data to be printed is converted into PCL language or PS language; the type distinguishing module is configured to acquire a printing type contained in the data to be printed as a first type; the type matching module is configured to match the first type with a printing type set by the laser printer; and the self-adaptive adjusting module is configured to adjust the laser pulse array density corresponding to each first type. The invention improves the printing robustness.

Description

Laser printer imaging system based on laser unit self-adaptive adjustment
Technical Field
The invention belongs to the technical field of printers, and particularly relates to a laser printer imaging system, method and device based on self-adaptive adjustment of a laser unit.
Background
Laser photocomposition technology of laser printers, whose pregnancies were late in the 80 s, was popular in the middle of the 90 s. It is a print output device that combines laser scanning technology with electrophotographic technology. The basic working principle is that the binary data information transmitted from computer is converted into video signal by video controller, then the video signal is converted into laser driving signal by video interface/control system, then the laser scanning system generates laser beam with character information, finally the electronic photographic system makes the laser beam image and transfer it onto paper. Compared with other printing equipment, the laser printer has the advantages of high printing speed, high imaging quality and the like.
Semiconductor lasers used in laser printers typically employ laser diodes, and from the point of view of laser light generation, a laser beam includes only light of one predominant wavelength, which is monochromatic. Each ray propagates in one direction and combines in a superimposed manner, which we call "coherence". This feature allows the laser to be directed to a target in a very thin beam with little scattering. Each laser beam acts like a bullet fired from the gun bore, each bullet having only one hole in the target. If a 'one' word is to be punched, a plurality of bullets are shot, a plurality of holes are punched along the 'one' word direction, and a transverse arrangement of 'one' word points is formed, namely 'lattice arrangement'. The graphic information of the laser printer is also composed of dot matrix. The higher the print quality requirement, the more the dot matrix constituting one character, i.e., the different dot matrix densities for printing different content settings. However, when the existing laser printer prints images, characters, tables and other different printing types, different laser pulse array densities or the same laser pulse array density can be fixedly set, and self-adaptive adjustment can not be performed according to the printing quality requirements of different printing types during printing, so that the problem of poor printing robustness is caused. Based on the method, the invention provides a laser printer imaging system based on self-adaptive adjustment of a laser unit.
Disclosure of Invention
In order to solve the above problems in the prior art, that is, to solve the problem that the printing robustness is poor due to the fact that the existing laser printer cannot adaptively adjust the laser pulse array density corresponding to different printing types, the invention provides a laser printer imaging system based on laser unit adaptive adjustment, which comprises a paper feeding assembly, a laser, a charging roller, a photosensitive drum, a powder bin, a transfer assembly, a fixer and a paper discharging assembly, and further comprises:
the information acquisition module is configured to acquire corresponding description information after the data to be printed is converted into PCL language or PS language and used as input information;
the type distinguishing module is configured to acquire the refined printing type contained in the data to be printed as a first type based on the input information; the thinned printing types comprise gradient images, common RGB images, handwritten characters, printing characters and forms;
the type matching module is configured to acquire a printing type set by the laser printer and the corresponding laser pulse array density; matching the first type with the printing type set by the laser printer to further obtain the laser pulse array density corresponding to each first type; the printing type set by the laser printer comprises images, characters and tables;
the self-adaptive adjusting module is configured to adjust the laser pulse array density corresponding to each first type by combining a preset printing quality grade relation, and send the adjusted laser pulse array density and the set laser working parameters to the laser; the set laser working parameters comprise laser beam wavelength, laser power, laser pulse repetition frequency and laser scanning speed;
and the printing quality grade relation is a mapping relation between a preset refined printing type and a printing quality grade corresponding to the type.
In some preferred embodiments, the laser printer imaging system further comprises: the device comprises an acquisition module, a difference value calculation module and a calibration module;
the acquisition module is configured to acquire the actual laser energy density on the surface of the photosensitive layer of the photosensitive drum as a first energy density;
the difference value calculating module is configured to calculate an expected laser energy density as a second energy density by combining the set laser working parameters based on the adjusted laser pulse array density obtained by the adaptive adjusting module; calculating a difference between the first energy density and the second energy density;
and the calibration module is configured to interrupt the laser if the difference is greater than a set density difference threshold, adjust the distance between the laser and the photosensitive drum or adjust the energy density of the laser according to the difference, position the number of pages for interrupting exposure after adjustment, and perform exposure again.
In some preferred embodiments, the method for adjusting the laser pulse array density corresponding to each first type in combination with the preset printing quality grade relation comprises:
dividing data to be printed according to pages, acquiring the number of categories of a first type in each page, and if the number of categories is 1, not adjusting the density of the laser pulse array; otherwise, acquiring the number of pixel points corresponding to the first type with the highest printing quality grade in each page as the number of first pixel points, and calculating the ratio of the number of the first pixel points to the number of the second pixel points; combining the ratio, increasing the density of the laser pulse array corresponding to the first type with the highest printing quality grade, and reducing the density of the other laser pulse arrays of the first type; the second pixel point number is the total pixel point number except the blank area in each page.
In some preferred embodiments, the "increasing process is performed on the laser pulse array density corresponding to the first type with the highest printing quality grade and the decreasing process is performed on the remaining laser pulse array densities of the first type" in combination with the ratio, and the method includes:
Figure GDA0003691606290000031
Figure GDA0003691606290000032
S=S general assembly -S Blank space
Wherein, J 1 、J 2 Respectively showing the laser pulse array densities after the increasing and decreasing processes, a i Representing the laser pulse array density corresponding to the printing type set by the laser printer, c representing the number of first pixel points, S representing the number of second pixel points, S General assembly Representing the total number of pixel points, S, in each page Blank space The number of pixel points in the blank area in each page is represented, d represents a preset constant, and n represents the number of categories of the first type contained in each page after the data to be printed is divided according to the page.
In some preferred embodiments, before converting the data to be printed into PCL language or PS language, further extracting blank areas in the data to be printed by using a blank area extraction model, and setting the grayscale value of the pixel to be 255, where the method is as follows:
acquiring characters with different shapes and sizes and/or images with images and/or lines as a training sample set of the model, and acquiring corresponding real area attributes in the training sample as labels; the blank area extraction model is constructed based on a neural network, and a cross entropy loss function is used as a loss function of the model; the region attribute comprises blank, characters, images and lines;
randomly selecting a batch of training samples and labels corresponding to the training samples, and obtaining prediction area attributes corresponding to the training samples through a model;
calculating a cross entropy loss value between the predicted region attribute and the label through a cross entropy function, and performing iterative training on the model in a descending direction of the cross entropy loss value until the cross entropy loss value is lower than a set value or reaches a set training frequency to obtain a trained blank region extraction model;
and extracting the blank area in the data to be printed through the trained blank area extraction model, and setting the pixel gray value in the blank area to be 255.
In some preferred embodiments, the cross-entropy loss function is:
Figure GDA0003691606290000033
therein, loss cls For the cross entropy loss value, N is the number of training samples in the training dataset, y i Showing the true label, p, of the corresponding region attribute of the ith image i Representing the corresponding predicted region attribute of the ith image, i is subscript, alpha is weight, W e A set of all weight matrix and bias matrix parameters for the neural network.
In a second aspect of the present invention, a laser printer imaging method based on adaptive adjustment of a laser unit is provided, and based on the above laser printer imaging system based on adaptive adjustment of a laser unit, the method includes:
s10, acquiring corresponding description information after the data to be printed is converted into PCL language or PS language as input information;
s20, acquiring the refined printing type contained in the data to be printed as a first type based on the input information; the thinned printing types comprise gradient images, common RGB images, handwritten characters, printing characters and forms;
s30, acquiring the printing type set by the laser printer and the laser pulse array density corresponding to the printing type; matching the first type with the printing type set by the laser printer to further obtain the laser pulse array density corresponding to each first type; the printing type set by the laser printer comprises images, characters and tables;
the step S40 is that the laser pulse array density corresponding to each first type is adjusted by combining the preset printing quality grade relation, and the adjusted laser pulse array density and the set laser working parameters are sent to the laser; the set laser working parameters comprise laser beam wavelength, laser power, laser pulse repetition frequency and laser scanning speed;
s50, exposing the data to be printed by the laser according to the adjusted laser pulse array density and the set laser working parameters, and developing, transferring and fixing the data in sequence after exposure to obtain a printed image;
and the printing quality grade relation is a mapping relation between a preset refined printing type and a printing quality grade corresponding to the type.
In a third aspect of the present invention, an apparatus is provided, which includes: at least one processor; and a memory communicatively coupled to at least one of the processors; wherein the memory stores instructions executable by the processor for execution by the processor to implement the laser printer imaging method based on laser unit adaptive adjustment described above.
In a fourth aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for being executed by the computer to implement the above-mentioned laser unit adaptive adjustment based laser printer imaging method.
The invention has the beneficial effects that:
the invention adaptively adjusts the laser pulse array density of different printing types and improves the printing robustness. The invention combines the laser pulse array density set by the laser printer for checking the printing type of the image, the character, the table and the like, combines the refined printing type to match the printing type, and takes the set pulse laser array matrix as the initial pulse laser array density of the refined printing type after matching. The initial laser pulse array density is combined, the printing quality of different printing types is combined, the laser pulse array density is increased when the printing quality grade is high, the pulse laser array matrix is reduced when the printing quality grade is low, the pulse laser array matrixes of different printing types are adjusted in a self-adaptive mode, and the printing robustness is improved.
In addition, after the laser pulse array density is adjusted in a self-adaptive manner, in order to further ensure the printing quality, the difference value between the expected laser energy density and the actual laser energy density received by the photosensitive layer of the photosensitive drum is calculated, and the distance between the laser and the photosensitive drum or the energy density of the laser is adjusted.
Drawings
FIG. 1 is a simplified block diagram of a laser printer imaging system with laser unit based adaptive adjustment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of an imaging method of a laser printer based on adaptive adjustment of a laser unit according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a computer system suitable for implementing an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The present application will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The invention relates to a laser printer imaging system based on laser unit self-adaptive adjustment, which comprises a paper feeding assembly, a laser, a charging roller, a photosensitive drum, a powder bin, a transfer printing assembly, a fixer and a paper outlet assembly, and further comprises:
the information acquisition module is configured to acquire corresponding description information after the data to be printed is converted into PCL language or PS language and used as input information;
the type distinguishing module is configured to acquire the refined printing type contained in the data to be printed as a first type based on the input information; the thinned printing types comprise gradient images, common RGB images, handwritten characters, printing characters and forms;
the type matching module is configured to acquire a printing type set by the laser printer and the corresponding laser pulse array density; matching the first type with the printing type set by the laser printer to further obtain the laser pulse array density corresponding to each first type; the printing type set by the laser printer comprises images, characters and tables;
the self-adaptive adjusting module is configured to adjust the laser pulse array density corresponding to each first type by combining a preset printing quality grade relation, and send the adjusted laser pulse array density and the set laser working parameters to the laser; the set laser working parameters comprise laser beam wavelength, laser power, laser pulse repetition frequency and laser scanning speed;
and the printing quality grade relation is a mapping relation between a preset refined printing type and a printing quality grade corresponding to the type.
In order to more clearly describe the laser printer imaging system based on the adaptive adjustment of the laser unit, the following description will be made with reference to fig. 1 to describe each module in various embodiments of the system of the present invention in detail.
The information acquisition module is configured to acquire corresponding description information after the data to be printed is converted into PCL language or PS language and used as input information;
the language used by the printer is a collection of commands that inform the printer how to process data sent by the computer. Printer languages come in a wide variety, some of which are used by laser printers and some of which are used by some earlier printers, but which can be interpreted by some laser printers to facilitate compatibility with earlier computer software. Basically, there are two main types of printing languages, one is called PDL (Page Description language) and the other is called ECL (escape Code language).
PDL is characterized by multiple uses and fine expression, can be used to output complex pages and images, and is suitable for printing materials such as lectures, technical manuals, advertising booklets, and the like. PDL is often used in software requiring high output performance, including image design software, advanced word processing software, forms with advanced graphics functions, and desktop printers. Currently, PCL and PostScript, which are commonly used in laser printers or inkjet printers, belong to PDL. Both PCL and PS are long, and PS supports the apple system with better image support, and PCL is the industry standard printer language of Hewlett-packard.
In this embodiment, the description information corresponding to the current data to be printed converted into the PCL language or the PS language (i.e., language conversion) is acquired as the input information.
The type distinguishing module is configured to acquire the refined printing type contained in the data to be printed as a first type based on the input information; the thinned printing types comprise gradient images, common RGB images, handwritten characters, printing characters and forms;
in this embodiment, it is determined which print type the data to be printed includes according to the description information corresponding to the data to be printed after the PCL language or the PS language. In the present invention, preferred printing types include gradation images, ordinary RGB images, handwritten letters, print letters, tables.
The type matching module is configured to acquire a printing type set by the laser printer and the laser pulse array density corresponding to the printing type; matching the first type with the printing type set by the laser printer to further obtain the laser pulse array density corresponding to each first type; the printing type set by the laser printer comprises images, characters and tables;
in this embodiment, the printing type set by the laser printer and the laser pulse array density corresponding thereto are acquired. The printing types set by the common photosensitive printing include images, characters, tables and the like, and different laser pulse array densities or the same laser pulse array density are set according to different printing types. In this way, the first types with the same type are matched with the printing type set by the laser printer, namely, the laser pulse array density corresponding to each first type is obtained. For example, the gradation image and the ordinary RGB image each correspond to an image printing type of a laser printer. Therefore, the corresponding laser pulse array density corresponding to the image printing type of the laser printer is set to the laser pulse array density corresponding to the gradation image and the ordinary RGB image.
The self-adaptive adjusting module is configured to adjust the laser pulse array density corresponding to each first type by combining a preset printing quality grade relation, and send the adjusted laser pulse array density and the set laser working parameters to the laser; the set laser working parameters comprise laser beam wavelength, laser power, laser pulse repetition frequency and laser scanning speed; and the printing quality grade relation is a mapping relation between a preset refined printing type and a printing quality grade corresponding to the type.
When a conventional laser printer prints images, characters, tables and other different printing types, different laser pulse array densities or the same laser pulse array density may be set. It is well known that the higher the print quality requirements, the more dot matrices that make up a character. Like this, fixed setting laser pulse array density can influence the printing effect to a certain extent, for example there is the gradual change image in waiting to print the file, if with ordinary RGB image or the same laser pulse array density of characters setting, can be unable clear, the effect of clear printing out the gradual change image, and the laser pulse array density of suitable increase gradual change image this moment reduces the laser pulse array density of ordinary RGB image or characters, can promote the printing robustness of gradual change image, also do not influence other types's printing effect yet.
In this embodiment, the adjusting the laser pulse array density corresponding to each first type in combination with the preset printing quality level relationship specifically includes:
after dividing the current data to be printed according to pages, acquiring the number of classes of a first type contained in each page, and if the number of the classes is 1, not adjusting the density of a laser pulse array; otherwise, acquiring the number of pixel points corresponding to the first type with the highest printing quality grade in each page as the number of first pixel points, and calculating the ratio of the number of the first pixel points to the number of the second pixel points; combining the ratio, increasing the density of the laser pulse array corresponding to the first type with the highest printing quality grade, and reducing the density of the other laser pulse arrays of the first type; the second pixel point number is the total pixel point number except the blank area in each page.
In the present invention, the print quality grade of the gradation image is highest, the print quality grade next to the ordinary RGB image is handwritten text, print text, and table in this order.
"combine the said ratio, increase the laser pulse array density that the first type that prints the highest quality grade corresponds, the laser pulse array density of the other first type is reduced, its method is:
Figure GDA0003691606290000081
Figure GDA0003691606290000082
S=S general (1) -S Blank space
Wherein, J 1 、J 2 Respectively showing the laser pulse array densities after the increasing and decreasing processes, a i Representing the laser pulse array density corresponding to the printing type set by the laser printer, c representing the number of first pixel points, S representing the number of second pixel points, S General assembly Representing the total number of pixel points, S, in each page Blank space The number of pixel points of a blank area in each page is represented, d represents a preset constant, and n represents the number of categories of the first type contained in each page after the data to be printed is divided by page.
In other embodiments, in order to further improve the robustness of printing, the hierarchy may be refined, and specific increasing and decreasing processing modes are set according to actual situations for the printing types in different pages of the printing data. For example, if there are a gradation image, a normal RGB image, and text, the gradation image or the normal RGB image may be increased by a laser pulse array density, the gradation image may be increased by a larger amount than the normal RGB image, the text may be decreased by the laser pulse array density, and so on. And will not be described one by one here.
And exposing the data to be printed by the laser according to the adjusted laser pulse array density and the set laser working parameters, and developing, transferring and fixing the data in sequence after exposure to obtain a printed image. Exposure, development, transfer and fixing are the proper terms of the prior art of printers and are not described in detail herein.
In some embodiments, a printing imaging module may be added after the adaptive adjustment module, and the printing imaging module is configured to expose the data to be printed by the laser according to the adjusted laser pulse array density and the set laser working parameter, and after exposure, the data is sequentially developed, transferred, and fixed to obtain a printed image.
In order to further ensure the printing quality, the imaging system of the laser printer is also provided with an acquisition module, a difference value calculation module and a calibration module, so that the energy density of laser is further detected, and the energy density of the laser received by the photosensitive drum is ensured.
The acquisition module, the difference value calculation module and the calibration module are specifically arranged as follows:
the acquisition module is configured to acquire the actual laser energy density on the surface of the photosensitive layer of the photosensitive drum as a first energy density; the difference value calculating module is configured to calculate an expected laser energy density as a second energy density by combining the set laser working parameters based on the adjusted laser pulse array density obtained by the adaptive adjusting module; calculating a difference between the first energy density and the second energy density; the method is mainly used for calculating the loss of laser energy density when the laser irradiates on the photosensitive drum through a reflector or other modes.
And the calibration module is configured to interrupt the laser if the difference is larger than a set density difference threshold, adjust the distance between the laser and the photosensitive drum or adjust the energy density of the laser according to the difference, position the number of pages for interrupting exposure after adjustment, and perform exposure again (through the laser).
In addition, in order to better distinguish the refined printing types contained in the data to be printed and adjust the laser pulse array density of different printing types, before converting the data to be printed into PCL language or PS language, the method further comprises the steps of extracting blank areas in the data to be printed through a blank area extraction model, and setting the gray value of a pixel to be 255, wherein the method comprises the following steps: acquiring characters with different shapes and sizes and/or images with images and/or lines as a training sample set of the model, and acquiring corresponding real area attributes in the training sample as labels; the blank area extraction model is constructed based on a neural network, and a cross entropy loss function is used as a loss function of the model; the region attribute comprises blank, characters, images and lines;
randomly selecting a batch of training samples and labels corresponding to the training samples, and obtaining prediction area attributes corresponding to the training samples through a model;
calculating a cross entropy loss value between the predicted region attribute and the label through a cross entropy function, and performing iterative training on the model in a descending direction of the cross entropy loss value until the cross entropy loss value is lower than a set value or reaches a set training frequency to obtain a trained blank region extraction model;
and extracting the blank area in the data to be printed through the trained blank area extraction model, and setting the pixel gray value in the blank area to be 255.
The reason for setting the gray value of the pixel with the gray value higher than the set threshold value to 255 (i.e. adjusting to pure white) is to eliminate the blank portions in the printed image and the original printed image (i.e. the data to be printed) so as to avoid the influence of the pixels when the laser pulse array density is performed subsequently (some blank portions, the pixels in the printed image and the original printed image may be different gray values close to pure white).
Wherein, the blank region extraction model leads the cross entropy loss function to be:
Figure GDA0003691606290000091
therein, loss cls For the cross entropy loss value, N is the number of training samples in the training dataset, y i Showing the true label, p, of the corresponding region attribute of the ith image i Representing the corresponding predicted region attribute of the ith image, i is subscript, alpha is weight, W e A set of all weight matrix and bias matrix parameters for the neural network.
It should be noted that, the laser printer imaging system based on adaptive adjustment of a laser unit provided in the foregoing embodiment is only illustrated by the division of the above functional modules, and in practical applications, the above functions may be allocated to different functional modules according to needs, that is, the modules or steps in the embodiment of the present invention are further decomposed or combined, for example, the modules in the foregoing embodiment may be combined into one module, or may be further split into multiple sub-modules, so as to complete all or part of the above described functions. Names of the modules and steps related in the embodiments of the present invention are only for distinguishing the modules or steps, and are not to be construed as unduly limiting the present invention.
A second embodiment of the present invention provides a laser printer imaging method based on adaptive adjustment of a laser unit, and based on the above laser printer imaging system based on adaptive adjustment of a laser unit, as shown in fig. 2, the method includes:
s10, acquiring corresponding description information after the data to be printed is converted into PCL language or PS language as input information;
s20, acquiring the refined printing type contained in the data to be printed as a first type based on the input information; the thinned printing types comprise gradient images, common RGB images, handwritten characters, printing characters and forms;
s30, acquiring the printing type set by the laser printer and the laser pulse array density corresponding to the printing type; matching the first type with the printing type set by the laser printer to further obtain the laser pulse array density corresponding to each first type; the printing type set by the laser printer comprises images, characters and tables;
the step S40 is that the laser pulse array density corresponding to each first type is adjusted by combining the preset printing quality grade relation, and the adjusted laser pulse array density and the set laser working parameters are sent to the laser; the set laser working parameters comprise laser beam wavelength, laser power, laser pulse repetition frequency and laser scanning speed;
s50, exposing the data to be printed by the laser according to the adjusted laser pulse array density and the set laser working parameters, and developing, transferring and fixing the data in sequence after exposure to obtain a printed image;
and the printing quality grade relation is a mapping relation between a preset refined printing type and a printing quality grade corresponding to the type.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process and related description of the method described above may refer to the corresponding process in the foregoing system embodiment, and are not described herein again.
An apparatus of a third embodiment of the invention comprises: at least one processor; and a memory communicatively coupled to at least one of the processors; wherein the memory stores instructions executable by the processor for execution by the processor to implement the laser printer imaging method based on laser unit adaptive adjustment described above.
A computer-readable storage medium of a fourth embodiment of the present invention stores computer instructions for execution by the computer to implement the above-described laser printer image forming method based on laser unit adaptive adjustment.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes and related descriptions of the above-described apparatuses and computer-readable storage media may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring now to FIG. 3, there is illustrated a block diagram of a computer system suitable for use as a server in implementing embodiments of the method, system, and apparatus of the present application. The server shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 3, the computer system includes a Central Processing Unit (CPU) 301 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage section 308 into a Random Access Memory (RAM) 303. In the RAM303, various programs and data necessary for system operation are also stored. The CPU301, ROM 302, and RAM303 are connected to each other via a bus 304. An Input/Output (I/O) interface 305 is also connected to bus 304.
The following components are connected to the I/O interface 305: an input portion 306 including a keyboard, a mouse, and the like; an output section 307 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 308 including a hard disk and the like; and a communication section 309 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 309 performs communication processing via a network such as the internet. A drive 310 is also connected to the I/O interface 305 as needed. A removable medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 310 as necessary, so that a computer program read out therefrom is mounted into the storage section 308 as necessary.
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 through the communication section 309, and/or installed from the removable medium 311. More specific examples of a 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), a memory card, a computer readable medium including a computer readable signal medium, a computer readable storage medium including any combination of the foregoing, or a combination of the foregoing Optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In the present application, 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 this application, however, a computer readable signal medium may include 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: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like 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 application. 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 terms "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing or implying a particular order or sequence.
The terms "comprises," "comprising," or any other similar term are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

Claims (7)

1. The utility model provides a laser printer imaging system based on laser unit self-adaptation adjusts, includes paper feed subassembly, laser instrument, the roller that charges, sensitization drum, powder storehouse, rendition subassembly, fixer, goes out the paper subassembly, its characterized in that, laser printer imaging system still includes:
the information acquisition module is configured to acquire corresponding description information after the data to be printed is converted into PCL language or PS language and used as input information;
the type distinguishing module is configured to acquire the refined printing type contained in the data to be printed as a first type based on the input information; the thinned printing types comprise gradient images, common RGB images, handwritten characters, printing characters and forms;
the type matching module is configured to acquire a printing type set by the laser printer and the laser pulse array density corresponding to the printing type; matching the first type with the printing type set by the laser printer to further obtain the laser pulse array density corresponding to each first type; the printing type set by the laser printer comprises images, characters and tables;
the self-adaptive adjusting module is configured to adjust the laser pulse array density corresponding to each first type by combining a preset printing quality grade relation, and send the adjusted laser pulse array density and the set laser working parameters to the laser; the set laser working parameters comprise laser beam wavelength, laser power, laser pulse repetition frequency and laser scanning speed;
the printing quality grade relation is a mapping relation between a preset refined printing type and a printing quality grade corresponding to the type;
"combine the grade relation of the printing quality preserved, adjust the laser pulse array density that every first type corresponds", its method is:
dividing data to be printed according to pages, acquiring the number of categories of a first type in each page, and if the number of categories is 1, not adjusting the density of the laser pulse array; otherwise, acquiring the number of pixel points corresponding to the first type with the highest printing quality grade in each page as the number of first pixel points, and calculating the ratio of the number of the first pixel points to the number of the second pixel points; combining the ratio, increasing the density of the laser pulse array corresponding to the first type with the highest printing quality grade, and reducing the density of the other laser pulse arrays of the first type; the second pixel point number is the total pixel point number except the blank area in each page;
"combine the said ratio, increase the laser pulse array density that the first type that prints the highest quality grade corresponds, the laser pulse array density of the other first type is reduced, its method is:
Figure FDA0003691606280000011
Figure FDA0003691606280000012
S=S general assembly -S Blank space
Wherein, J 1 、J 2 Respectively showing the laser pulse array densities after the increasing and decreasing processes, a i Representing the laser pulse array density corresponding to the printing type set by the laser printer, c representing the number of first pixel points, S representing the number of second pixel points, S General assembly Representing the total number of pixel points, S, in each page Blank space The number of pixel points of a blank area in each page is represented, d represents a preset constant, and n represents the number of categories of the first type contained in each page after the data to be printed is divided by page.
2. The laser-unit-adaptive-adjustment-based laser printer imaging system of claim 1,
the laser printer imaging system further comprises: the device comprises an acquisition module, a difference value calculation module and a calibration module;
the acquisition module is configured to acquire the actual laser energy density on the surface of the photosensitive layer of the photosensitive drum as a first energy density;
the difference value calculating module is configured to calculate an expected laser energy density as a second energy density by combining the set laser working parameters based on the adjusted laser pulse array density obtained by the adaptive adjusting module; calculating a difference between the first energy density and the second energy density;
and the calibration module is configured to interrupt the laser if the difference is larger than a set density difference threshold, adjust the distance between the laser and the photosensitive drum or adjust the energy density of the laser according to the difference, position the number of pages for interrupting exposure after adjustment, and perform exposure again.
3. The laser-unit-adaptive-adjustment-based laser printer imaging system of claim 1,
before converting the data to be printed into PCL language or PS language, extracting blank areas in the data to be printed by using a blank area extraction model, and setting the gray value of a pixel as 255, wherein the method comprises the following steps:
acquiring characters with different shapes and sizes and/or images with images and/or lines as a training sample set of the model, and acquiring corresponding real area attributes in the training sample as labels; the blank area extraction model is constructed based on a neural network, and a cross entropy loss function is used as a loss function of the model; the region attribute comprises blank, characters, images and lines;
randomly selecting a batch of training samples and labels corresponding to the training samples, and obtaining prediction area attributes corresponding to the training samples through a model;
calculating a cross entropy loss value between the predicted region attribute and the label through a cross entropy function, and performing iterative training on the model in a descending direction of the cross entropy loss value until the cross entropy loss value is lower than a set value or reaches a set training frequency to obtain a trained blank region extraction model;
and extracting the blank area in the data to be printed through the trained blank area extraction model, and setting the pixel gray value in the blank area to be 255.
4. The laser unit adaptive adjustment based laser printer imaging system of claim 3, wherein the cross entropy loss function is:
Figure FDA0003691606280000031
therein, loss cls For the cross entropy loss value, N is the number of training samples in the training dataset, y i Showing the true label, p, of the corresponding region attribute of the ith image i Representing the corresponding predicted region attribute of the ith image, i is subscript, alpha is weight, W e A set of all weight matrix and bias matrix parameters for the neural network.
5. An imaging method of a laser printer based on the adaptive adjustment of a laser unit is based on the imaging system of the laser printer based on the adaptive adjustment of the laser unit in any one of claims 1 to 4, and the method comprises the following steps:
s10, acquiring corresponding description information after the data to be printed is converted into PCL language or PS language as input information;
s20, acquiring the refined printing type contained in the data to be printed as a first type based on the input information; the thinned printing types comprise gradient images, common RGB images, handwritten characters, printing characters and forms;
s30, acquiring the printing type set by the laser printer and the laser pulse array density corresponding to the printing type; matching the first type with the printing type set by the laser printer to further obtain the laser pulse array density corresponding to each first type; the printing type set by the laser printer comprises images, characters and tables;
s40, adjusting the laser pulse array density corresponding to each first type by combining the preset printing quality grade relation, and sending the adjusted laser pulse array density and the set laser working parameters to the laser; the set laser working parameters comprise laser beam wavelength, laser power, laser pulse repetition frequency and laser scanning speed;
s50, exposing the data to be printed by the laser according to the adjusted laser pulse array density and the set laser working parameters, and developing, transferring and fixing the data in sequence after exposure to obtain a printed image;
the printing quality grade relation is a mapping relation between a preset refined printing type and a printing quality grade corresponding to the type;
"combine the grade relation of the printing quality preserved, adjust the laser pulse array density that every first type corresponds", its method is:
dividing data to be printed according to pages, acquiring the number of categories of a first type in each page, and if the number of categories is 1, not adjusting the density of the laser pulse array; otherwise, acquiring the number of pixel points corresponding to the first type with the highest printing quality grade in each page as the number of first pixel points, and calculating the ratio of the number of the first pixel points to the number of the second pixel points; combining the ratio, increasing the density of the laser pulse array corresponding to the first type with the highest printing quality grade, and reducing the density of the other laser pulse arrays of the first type; the second pixel point number is the total pixel point number except the blank area in each page;
"combining the ratio, increasing the density of the laser pulse array corresponding to the first type with the highest printing quality grade, and reducing the density of the laser pulse array corresponding to the other first types", the method comprises the following steps:
Figure FDA0003691606280000041
Figure FDA0003691606280000042
S=S general (1) -S Blank space
Wherein, J 1 、J 2 Respectively showing the laser pulse array densities after the increasing and decreasing processes, a i Representing the laser pulse array density corresponding to the printing type set by the laser printer, c representing the number of first pixel points, S representing the number of second pixel points, S General assembly Representing the total number of pixel points, S, in each page Blank space Number of pixel points representing white area in each pageD represents a preset constant, and n represents the number of categories of the first type contained in each page after the data to be printed is divided by page.
6. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to at least one of the processors; wherein the content of the first and second substances,
the memory stores instructions executable by the processor for execution by the processor to implement the laser unit adaptation based laser printer imaging method of claim 5.
7. A computer-readable storage medium storing computer instructions for execution by the computer to implement the laser-unit-adaptation-based laser printer imaging method of claim 5.
CN202110697991.3A 2021-06-23 2021-06-23 Laser printer imaging system based on laser unit self-adaptive adjustment Active CN113360105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110697991.3A CN113360105B (en) 2021-06-23 2021-06-23 Laser printer imaging system based on laser unit self-adaptive adjustment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110697991.3A CN113360105B (en) 2021-06-23 2021-06-23 Laser printer imaging system based on laser unit self-adaptive adjustment

Publications (2)

Publication Number Publication Date
CN113360105A CN113360105A (en) 2021-09-07
CN113360105B true CN113360105B (en) 2022-09-20

Family

ID=77535807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110697991.3A Active CN113360105B (en) 2021-06-23 2021-06-23 Laser printer imaging system based on laser unit self-adaptive adjustment

Country Status (1)

Country Link
CN (1) CN113360105B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114193938A (en) * 2021-11-29 2022-03-18 长城信息股份有限公司 Laser printer imaging control system based on laser unit self-adaptive adjustment
CN115857302B (en) * 2022-12-08 2023-10-24 浙江中国小商品城集团股份有限公司 Printer intelligent control system based on artificial intelligence

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977177A (en) * 2017-11-22 2018-05-01 贵州云侠科技有限公司 Laser printer implementation method, device and laser printer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018233845A1 (en) * 2017-06-23 2018-12-27 Hp Indigo B.V. Generating an exposed image

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977177A (en) * 2017-11-22 2018-05-01 贵州云侠科技有限公司 Laser printer implementation method, device and laser printer

Also Published As

Publication number Publication date
CN113360105A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN113360105B (en) Laser printer imaging system based on laser unit self-adaptive adjustment
US20200108621A1 (en) Ink estimation mechanism
US8412066B2 (en) Test image print variations for print quality analysis
US8098402B2 (en) Document targeting systems and methods
JP2004320701A (en) Image processing device, image processing program and storage medium
US20080204774A1 (en) Print controlling program, print controlling apparatus, image forming apparatus and print controlling method
US20210064859A1 (en) Image processing system, image processing method, and storage medium
EP1955257A2 (en) System to print artwork containing transparency
US11720769B2 (en) Methods and systems for enhancing raster image processing using artificial intelligence
US8462361B2 (en) Print control with single-bit and multi-bit rasterization
KR20120028201A (en) Print control device, image forming apparatus and method for image forming
JP2008113446A (en) Image processing device, image processing program and recording medium
US9158485B2 (en) Image processing device that performs image processing for variable printing and host data generating device
US7116445B2 (en) Image forming apparatus and image forming method
US9609171B2 (en) Applying luminance conversion processing in accordance with image attribute information to improve edge detection and image data correction for pseudo halftone processing
US9684477B2 (en) Method and device for image processing and computer-readable recording medium
US20060285144A1 (en) Efficient Implementation of Raster Operations Flow
JP2007019608A (en) Apparatus, method, and program for image processing
US20150339550A1 (en) Image processing apparatus, print information generating apparatus, image forming apparatus, image forming system, image processing method, print information generating method, and non-transitory computer readable medium
US10516809B2 (en) Optimizing number of grid points in multi-dimensional color lookup table
US8477364B2 (en) Printing using a skeleton electronic document and multiple connections
US10346104B2 (en) Object type based image processing
JP2001310520A (en) Method and apparatus of image processing and storage medium
US20180160011A1 (en) Methods and systems for processing documents using multiple halftone screening techniques
JP4072403B2 (en) Information processing apparatus, information 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
CB02 Change of applicant information

Address after: Room 301-6, building 01, Huashen science and Technology Park, No.10 huashentemple, Yuhuatai District, Nanjing City, Jiangsu Province, 210012

Applicant after: Nanjing Chenguang Rongxin Technology Co.,Ltd.

Address before: Room 301-6, building 01, Huashen science and Technology Park, No.10 huashentemple, Yuhuatai District, Nanjing City, Jiangsu Province, 210012

Applicant before: Nanjing lischen Intelligent Equipment Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant