CN113450370B - Image processing method, device, equipment and storage medium - Google Patents

Image processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113450370B
CN113450370B CN202110707345.0A CN202110707345A CN113450370B CN 113450370 B CN113450370 B CN 113450370B CN 202110707345 A CN202110707345 A CN 202110707345A CN 113450370 B CN113450370 B CN 113450370B
Authority
CN
China
Prior art keywords
area
matrix
image data
processed
field area
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
CN202110707345.0A
Other languages
Chinese (zh)
Other versions
CN113450370A (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.)
Zhuhai Pantum Electronics Co Ltd
Original Assignee
Zhuhai Pantum 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 Zhuhai Pantum Electronics Co Ltd filed Critical Zhuhai Pantum Electronics Co Ltd
Priority to CN202110707345.0A priority Critical patent/CN113450370B/en
Publication of CN113450370A publication Critical patent/CN113450370A/en
Application granted granted Critical
Publication of CN113450370B publication Critical patent/CN113450370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41MPRINTING, DUPLICATING, MARKING, OR COPYING PROCESSES; COLOUR PRINTING
    • B41M5/00Duplicating or marking methods; Sheet materials for use therein
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G15/00Apparatus for electrographic processes using a charge pattern
    • G03G15/50Machine control of apparatus for electrographic processes using a charge pattern, e.g. regulating differents parts of the machine, multimode copiers, microprocessor control
    • G03G15/5033Machine control of apparatus for electrographic processes using a charge pattern, e.g. regulating differents parts of the machine, multimode copiers, microprocessor control by measuring the photoconductor characteristics, e.g. temperature, or the characteristics of an image on the photoconductor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/405Halftoning, i.e. converting the picture signal of a continuous-tone original into a corresponding signal showing only two levels

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The embodiment of the application provides an image processing method, an image processing device, image processing equipment and a storage medium, wherein the method comprises the steps of obtaining image data to be processed, wherein the image data to be processed is image data subjected to halftone processing; dividing the image data to be processed into a first field area and a second field area, wherein the black point number of the first field area is different from the black point number of the second field area; pixel value replacement processing is carried out on the first real area through a replacement matrix, wherein the replacement matrix is a replacement matrix under the current ink-saving mode setting; and performing AND or processing on the second real area through a mask matrix, wherein the mask matrix is the mask matrix set in the current ink-saving mode. By adopting the scheme provided by the embodiment of the application, the ink-saving effect can be achieved, the brightness of the image can be adjusted, the characters are kept clear, and the layering sense of the image is improved.

Description

Image processing method, device, equipment and storage medium
Technical Field
The present invention relates to the technical field of image forming apparatuses, and in particular, to an image processing method, an image processing apparatus, an image processing device, and a storage medium.
Background
An image forming apparatus is a device that forms an image on a recording medium by an image forming principle, such as a printer, a copier, a facsimile machine, a multi-function image forming and copying apparatus, an electrostatic printing apparatus, and any other similar apparatus.
In order to save consumables, an image forming apparatus is generally provided with an ink saving mode. In the ink-saving mode, the image output by the image forming device can save the consumption of carbon powder or ink. However, in the conventional ink-saving mode, the image forming apparatus outputs a large amount of image loss information, and the image quality is poor.
Disclosure of Invention
The embodiment of the application provides an image processing method, an image processing device, image processing equipment and a storage medium, which are beneficial to solving the problems that in the prior art, in an ink-saving mode, more image loss information is output by an image forming device, and the quality of the output image is poor.
In a first aspect, an embodiment of the present application provides an image processing method, including:
acquiring image data to be processed, wherein the image data to be processed is image data subjected to halftone processing;
dividing the image data to be processed into a first field area and a second field area, wherein the black point number of the first field area is different from the black point number of the second field area;
pixel value replacement processing is carried out on the first real area through a replacement matrix, wherein the replacement matrix is a replacement matrix under the current ink-saving mode setting;
and performing AND or processing on the second real area through a mask matrix, wherein the mask matrix is the mask matrix set in the current ink-saving mode.
Preferably, the dividing the image data to be processed into a first field area and a second field area includes:
dividing the image data to be processed by taking a template matrix as a unit to obtain two or more divided areas;
carrying out black and white point statistics on the image data to be processed by taking the segmentation areas as units to obtain a black and white point statistics result corresponding to each segmentation area;
and dividing the image data to be processed into a first field area and a second field area according to the black-white point statistical result corresponding to each divided area.
Preferably, the dividing the image data to be processed into a first field area and a second field area according to the black-white point count result corresponding to each of the divided areas includes:
dividing a dividing region with the black point number occupying ratio being larger than or equal to a preset black point number occupying ratio threshold value into a first field region;
dividing the divided area with the black point number duty ratio smaller than the preset black point number duty ratio threshold into a second field area.
Preferably, the black dot count is 100% of the threshold value.
Preferably, the performing pixel value replacement processing on the first real area through a replacement matrix includes:
and carrying out pixel value replacement processing on each segmented region in the first real region through a replacement matrix, wherein the size of the replacement matrix is matched with that of the segmented region.
Preferably, the performing and or processing on the second real area through a mask matrix includes:
and performing AND or processing on each divided area in the second real area through a mask matrix, wherein the size of the mask matrix is matched with that of the divided area.
Preferably, the and or processing includes:
setting the pixel value of a first position in the partitioned area to 255, and keeping the pixel value of a second position in the partitioned area unchanged;
the first position corresponds to a position with a parameter of 1 in the mask matrix, and the second position corresponds to a position with a parameter of 0 in the mask matrix.
Preferably, the size of the template matrix is N.times.N, and N is more than or equal to 2 and less than or equal to 10.
In a second aspect, an embodiment of the present application provides an image processing apparatus, including:
a processor;
a memory;
the memory has stored therein a computer program which, when executed, causes the image processing apparatus to perform the method of any of the first aspects.
In a third aspect, an embodiment of the present application provides an image forming apparatus including the image processing apparatus of the second aspect.
In a fourth aspect, an embodiment of the present application provides a terminal device, including the image processing apparatus in the second aspect.
In a fifth aspect, an embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium includes a stored program, where the program when executed controls a device in which the computer readable storage medium is located to perform the method of any one of the first aspects.
By adopting the scheme provided by the embodiment of the application, the ink-saving effect can be achieved, the brightness of the image can be adjusted, the characters are kept clear, and the layering sense of the image is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an image forming system according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of an image processing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a first embodiment of pixel value replacement in real area;
FIG. 4 is a schematic diagram of a second real estate and/or process according to an embodiment of the present application;
fig. 5 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 6 is a schematic diagram of another application scenario provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present application.
Detailed Description
For a better understanding of the technical solutions of the present application, embodiments of the present application are described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, of the embodiments of the present application. All other embodiments, based on the embodiments herein, which would be apparent to one of ordinary skill in the art without making any inventive effort, are intended to be within the scope of the present application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one way of describing an association of associated objects, meaning that there may be three relationships, e.g., a and/or b, which may represent: the first and second cases exist separately, and the first and second cases exist separately. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Referring to fig. 1, a schematic diagram of an image forming system according to an embodiment of the present application is provided. As shown in fig. 1, the image forming system includes an image forming apparatus 100 and a terminal device 200, the image forming apparatus 100 and the terminal device 200 being interconnected by a wired or wireless communication network for information transmission. For example, the user transmits a document to the image forming apparatus 100 through the terminal device 200 for printing of the document; alternatively, the user sets an original on the image forming apparatus 100 to perform scanning or copying, and the image forming apparatus 100 may transmit scanned image data to the terminal device 200 after completing scanning of the original.
It should be understood that the illustration in fig. 1 is only an exemplary illustration and should not be taken as a limitation on the scope of the present application. For example, the image forming apparatus 100 includes, but is not limited to, a printer, a copier, a facsimile machine, a scanner, and a multi-functional peripheral that performs the above functions in a single device; terminal device 200 includes, but is not limited to, a cell phone, personal computer (personal computer, PC), personal digital assistant (personal digital assistant, PDA), smart watch, netbook, etc.
The communication network between the image forming apparatus 100 and the terminal device 200 may be a local area network or a wide area network through relay (relay) devices. When the communication network is a local area network, the communication network may be a wifi hotspot network, a wifi P2P network, a bluetooth network, a zigbee network, or a near field communication (near field communication, NFC) network, for example. When the communication network is a wide area network, the communication network may be, for example, a third generation mobile communication technology (3 rd-generation wireless telephone technology, 3G) network, a fourth generation mobile communication technology (the 4th generation mobile communication technology, 4G) network, a fifth generation mobile communication technology (5 th-generation mobile communication technology, 5G) network, a future evolution public land mobile network (public land mobile network, PLMN) or the internet, etc.
In order to save consumables, an image forming apparatus is generally provided with an ink saving mode. In the ink-saving mode, the image output by the image forming device can save the consumption of carbon powder or ink. However, in the conventional ink-saving mode, the image forming apparatus outputs a large amount of image loss information, and the image quality is poor.
Based on this, the embodiment of the application provides an image processing method, which can ensure that a text area is clear and continuous in a mode of saving ink, and a picture area can adjust brightness and darkness, has layering sense and improves the quality of printed images. The following detailed description refers to the accompanying drawings.
Referring to fig. 2, a flowchart of an image processing method according to an embodiment of the present application is provided. The method is applicable to the terminal device or the image forming apparatus shown in fig. 1, and as shown in fig. 2, it mainly includes the following steps.
Step S201: and acquiring image data to be processed, wherein the image data to be processed is the image data subjected to halftone processing.
Halftone refers to a tone whose tone value is represented by a dot size or a density. Corresponding to the halftone is a continuous tone. Continuous tone images are generally defined as images in which the tone change from light to dark or from light to dark is formed by the density of particles of the imaging substance per unit area, and the tone and shade are steplessly changed, such as photo film, photo, various drawings; halftone is usually represented by the size of dots in a specially processed print from light to dark or from light to dark, and is called a halftone image because the dots are spatially separated by a certain distance and are discretely distributed, and because the number of steps of screening is always limited, no stepless change is realized in the level change of the image as in continuous tone image.
The present application implements image processing based on halftone image data.
Step S202: dividing the image data to be processed into a first field area and a second field area, wherein the black point number of the first field area is different from the black point number of the second field area.
In some possible implementations, the image data to be processed is segmented in units of a template matrix. For example, the template matrix may be 5*5 in size, and the image data to be processed may be divided into a plurality of divided areas 5*5 in size. Of course, those skilled in the art may set other template matrices according to actual needs, for example, 3×3,8×8,4×6, etc., which are not limited in this embodiment.
After the image data to be processed is divided into a plurality of divided areas, carrying out black and white point statistics on the image data to be processed by taking the divided areas as units, and obtaining a black and white point statistics result corresponding to each divided area. For example, the image data to be processed is divided into a plurality of divided regions of 5*5 size, and black and white point count is performed for each divided region of 5*5 size.
After the black-and-white point statistical result is obtained, dividing the image data to be processed into a first field area and a second field area according to the black-and-white point statistical result corresponding to each divided area. Specifically, a black point number duty ratio threshold may be set, and a divided area in which the black point number duty ratio is greater than or equal to a preset black point number duty ratio threshold is divided into a first field area; dividing the divided area with the black point number duty ratio smaller than the preset black point number duty ratio threshold into a second field area.
In some possible implementations, the number of black points is set to 100% of the threshold, that is, when all of the divided areas are black points, the divided areas are determined to be the first field areas; otherwise, determining the segmentation area as a second field area. At this time, the first field area may be referred to as a 100% field area; the second field area may be referred to as a non-100% field area. Taking a 5*5 divided area as an example, when the number of the counted black points reaches 5*5, determining the divided area as a first field area; otherwise, determining the segmentation area as a second field area.
Of course, those skilled in the art may set other black dot count duty ratio thresholds, which are not particularly limited in the embodiments of the present application.
In the embodiment of the present application, different data processing manners are adopted for the first field area and the second field area, and the following description is given respectively.
Step S203: and carrying out pixel value replacement processing on the first real area through a replacement matrix, wherein the replacement matrix is the replacement matrix in the current ink-saving mode setting.
Specifically, the pixel value replacement processing is performed on each of the divided areas in the first real area by the replacement matrix, that is, the pixel value of the divided area is replaced with the pixel value of the replacement matrix in the current ink saving mode setting. The size of the replacement matrix matches the size of the segmented region, for example, when the size of the segmented region is 5*5, the size of the replacement matrix is 5*5 as well. That is, the divided areas have a one-to-one mapping relationship with the pixel points of the replacement matrix.
Referring to fig. 3, a schematic diagram of replacing pixel values of a first real area is provided in an embodiment of the present application. In fig. 3a segmented area of the first field area is shown, the segmented area having a size of 5*5, the first field area being a 100% field area. For convenience of explanation, the coordinate values of the replacement matrix are represented by (i, j), wherein i is equal to or more than 1 and equal to or less than 5, and j is equal to or more than 1 and equal to or less than 5.
As shown in fig. 3A, in the divided area of 5*5, the original pixel values are all 0.
As shown in fig. 3B, in the replacement matrix of 5*5, the pixel values of the coordinate points (2, 2), (2, 4), (4, 2), (4, 4) are 255, and the pixel values of the other coordinate points are 0.
The original pixel values of the divided regions shown in fig. 3A are replaced with the pixel values of the replacement matrix, and after the replacement, the pixel values of the divided regions are shown in fig. 3C, the pixel values of the coordinate points (2, 2), (2, 4), (4, 2), (4, 4) are 255, and the pixel values of the other coordinate points are 0.
It should be understood that the illustration in fig. 3 is merely an exemplary illustration of an embodiment of the present application and should not be taken as a limitation on the scope of the present application.
Step S204: and performing AND or processing on the second real area through a mask matrix, wherein the mask matrix is the mask matrix set in the current ink-saving mode.
Specifically, each of the divided regions in the second real region is subjected to and or processing through a mask matrix, and the size of the mask matrix is matched with that of the divided region. For example, when the size of the divided area is 5*5, the size of the mask matrix is 5*5 as well. That is to say, the divided areas have a one-to-one mapping relationship with the pixel points of the mask matrix.
In some possible implementations, the and or processing includes: setting the pixel value of a first position in the partitioned area to 255, and keeping the pixel value of a second position in the partitioned area unchanged; the first position corresponds to a position with a parameter of 1 in the mask matrix, and the second position corresponds to a position with a parameter of 0 in the mask matrix.
Referring to fig. 4, a second field area and/or process schematic is provided in an embodiment of the present application. In fig. 4, a segmented area of the second field area is shown, the segmented area having a size of 5*5, the second field area being a non-100% field area. For convenience of explanation, the coordinate values of the replacement matrix are represented by (i, j), wherein i is equal to or more than 1 and equal to or less than 5, and j is equal to or more than 1 and equal to or less than 5.
As shown in fig. 4A, in the divided region of 5*5, the pixel values of the coordinate points (2, 2), (4, 4) are 255, and the pixel values of the other coordinate points are 0.
As shown in fig. 4B, in the mask matrix of 5*5, the parameters of the coordinate points (2, 2), (2, 4), (3, 3) (4, 2), (4, 4) are 1, and the parameters of the other coordinate points are 0.
The divided regions shown in fig. 4A are processed by the mask matrix shown in fig. 4B. Specifically, the pixel value of the first position in the divided area, which corresponds to the position in the mask matrix where the parameter is 1, is set to 255, that is, the pixel value of the coordinate points (2, 2), (2, 4), (3, 3) (4, 2), (4, 4) in the divided area is set to 255; the pixel values at the second locations in the partitioned area remain unchanged, the first locations corresponding to locations in the mask matrix where the parameter is 0. The processed divided regions are shown in fig. 4C.
It is understood that in a black-and-white image, 0 represents pure black and 255 represents white. After the processing, the ink-saving effect can be achieved, the brightness of the image can be adjusted, the characters can be kept clear, and the layering sense of the image can be improved.
Of course, the above image processing method may also process color images, which is not particularly limited in the embodiment of the present application.
By adopting the image processing method provided by the embodiment of the application, clear and continuous line breaking of the text area can be ensured under the ink-saving mode, the brightness of the picture area can be adjusted, the layering sense is provided, and the quality of the printed image is improved.
Referring to fig. 5, a schematic application scenario is provided in an embodiment of the present application. The text effect of printing under different print settings is shown in fig. 5. Fig. 5A is a conventional printing effect, fig. 5B is a conventional ink-saving mode printing effect, and fig. 5C is a printing effect after processing by the method of the present application.
Compared with fig. 5B and 5C, the characters printed after being processed by the method are clearer than the characters printed by the conventional ink-saving mode, and no broken line exists.
Referring to fig. 6, another application scenario is schematically provided in the embodiment of the present application. The image effects of printing under different print settings are shown in fig. 6. Fig. 6A is a conventional printing effect, fig. 6B is a conventional ink-saving mode printing effect, and fig. 6C is a printing effect after processing by the method of the present application.
Compared with fig. 6B and 6C, the image printed by the method is clearer than the image printed by the conventional ink-saving mode, and the picture area has layering sense.
Corresponding to the embodiment of the method, the application also provides an image processing device.
Referring to fig. 7, which is a schematic structural diagram of an image processing apparatus according to an embodiment of the present application, the image processing apparatus 700 may include: a processor 701, a memory 702 and a communication unit 703. The components may communicate via one or more buses, and it will be appreciated by those skilled in the art that the configuration of the server as shown in the drawings is not limiting of the embodiments of the invention, and that it may be a bus-like structure, a star-like structure, or include more or fewer components than shown, or may be a combination of certain components or a different arrangement of components.
Wherein the communication unit 703 is configured to establish a communication channel, so that the storage device may communicate with other devices. Receiving user data sent by other devices or sending user data to other devices.
The processor 701 is a control center of a storage device, connects various parts of the entire system using various interfaces and lines, and performs various functions of the system and/or processes data by running or executing software programs and/or modules stored in the memory 702, and invoking data stored in the memory. The processor may be comprised of integrated circuits (integrated circuit, ICs), such as a single packaged IC, or may be comprised of packaged ICs that connect multiple identical or different functions.
The memory 702, for storing instructions for execution by the processor 701, the memory 702 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
The execution instructions in the memory 702, when executed by the processor 701, enable the image processing apparatus 700 to perform some or all of the steps on the image processing apparatus side in the above-described method embodiments.
Corresponding to the above-described image processing apparatus, the present application also provides an image forming apparatus including the image processing apparatus shown in fig. 8. For details, reference may be made to the description of the above embodiments, and for the sake of brevity, the description is omitted here.
Corresponding to the above image processing apparatus, the present application also provides a terminal device including the image processing apparatus shown in fig. 8. For details, reference may be made to the description of the above embodiments, and for the sake of brevity, the description is omitted here.
In a specific implementation, the present application further provides a computer readable storage medium, where the computer readable storage medium may store a program, where the program may include some or all of the steps in the embodiments provided herein when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (random access memory, RAM), or the like.
In a specific implementation, the embodiment of the application further provides a computer program product, where the computer program product contains executable instructions, where the executable instructions when executed on a computer cause the computer to perform some or all of the steps in the embodiment of the method.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relation of association objects, and indicates that there may be three kinds of relations, for example, a and/or B, and may indicate that a alone exists, a and B together, and B alone exists. Wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of the following" and the like means any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in the embodiments disclosed herein can be implemented as a combination of electronic hardware, computer software, and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
The foregoing is merely specific embodiments of the present application, and any person skilled in the art may easily conceive of changes or substitutions within the technical scope of the present application, which should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. An image processing method, comprising:
acquiring image data to be processed, wherein the image data to be processed is image data subjected to halftone processing;
dividing the image data to be processed into a first field area and a second field area, wherein the black point number of the first field area is different from the black point number of the second field area;
pixel value replacement processing is carried out on the first real area through a replacement matrix, wherein the replacement matrix is a replacement matrix under the current ink-saving mode setting;
performing AND or processing on the second real area through a mask matrix, wherein the mask matrix is a mask matrix set in the current ink-saving mode;
wherein the and or processing includes:
setting the pixel value of the first position in the partition area in the second real area as a pixel value corresponding to white, and keeping the pixel value of the second position in the partition area unchanged;
the first position corresponds to a position with a parameter of 1 in the mask matrix, and the second position corresponds to a position with a parameter of 0 in the mask matrix.
2. The method of claim 1, wherein the dividing the image data to be processed into a first field area and a second field area comprises:
dividing the image data to be processed by taking a template matrix as a unit to obtain two or more divided areas;
carrying out black and white point statistics on the image data to be processed by taking the segmentation areas as units to obtain a black and white point statistics result corresponding to each segmentation area;
and dividing the image data to be processed into a first field area and a second field area according to the black-white point statistical result corresponding to each divided area.
3. The method according to claim 2, wherein dividing the image data to be processed into a first field area and a second field area according to the black-and-white point count result corresponding to each of the divided areas includes:
dividing a dividing region with the black point number occupying ratio being larger than or equal to a preset black point number occupying ratio threshold value into a first field region;
dividing the divided area with the black point number duty ratio smaller than the preset black point number duty ratio threshold into a second field area.
4. A method according to claim 3, wherein the number of black dots is 100% of the threshold value.
5. The method of claim 1, wherein the pixel value replacement processing for the first real area by a replacement matrix comprises:
and carrying out pixel value replacement processing on each segmented region in the first real region through a replacement matrix, wherein the size of the replacement matrix is matched with that of the segmented region.
6. The method of claim 1, wherein the anding or processing the second real estate through a mask matrix comprises:
and performing AND or processing on each divided area in the second real area through a mask matrix, wherein the size of the mask matrix is matched with that of the divided area.
7. The method of claim 2, wherein the template matrix has a size N x N, 2N 10.
8. An image processing apparatus, comprising:
a processor;
a memory;
the memory has stored therein a computer program which, when executed, causes the image processing apparatus to perform the method of any of claims 1-7.
9. An image forming apparatus comprising the image processing apparatus according to claim 8.
10. A terminal device comprising the image processing apparatus of claim 8.
11. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program, when run, controls a device in which the computer readable storage medium is located to perform the method of any one of claims 1-7.
CN202110707345.0A 2021-06-22 2021-06-22 Image processing method, device, equipment and storage medium Active CN113450370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110707345.0A CN113450370B (en) 2021-06-22 2021-06-22 Image processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110707345.0A CN113450370B (en) 2021-06-22 2021-06-22 Image processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113450370A CN113450370A (en) 2021-09-28
CN113450370B true CN113450370B (en) 2024-04-05

Family

ID=77812603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110707345.0A Active CN113450370B (en) 2021-06-22 2021-06-22 Image processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113450370B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246328A (en) * 2007-02-15 2008-08-20 三星电子株式会社 Image forming apparatus to save toner and method to control the same
CN101470375A (en) * 2007-12-26 2009-07-01 株式会社理光 Image processing device, image processing method, and recording medium
CN103581497A (en) * 2012-08-01 2014-02-12 佳能株式会社 Image processing device and image processing method
CN104902137A (en) * 2014-03-06 2015-09-09 佳能株式会社 Image processing apparatus, image forming apparatus, image processing method, and storage medium
CN112534801A (en) * 2018-08-10 2021-03-19 爱克发有限公司 Digital halftone processing with clustered microdots

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7616340B2 (en) * 2005-03-25 2009-11-10 Fujifilm Corporation Image processing method and apparatus, threshold value matrix creating method, image forming apparatus, sub-matrix creating method and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246328A (en) * 2007-02-15 2008-08-20 三星电子株式会社 Image forming apparatus to save toner and method to control the same
CN101470375A (en) * 2007-12-26 2009-07-01 株式会社理光 Image processing device, image processing method, and recording medium
CN103581497A (en) * 2012-08-01 2014-02-12 佳能株式会社 Image processing device and image processing method
CN104902137A (en) * 2014-03-06 2015-09-09 佳能株式会社 Image processing apparatus, image forming apparatus, image processing method, and storage medium
CN112534801A (en) * 2018-08-10 2021-03-19 爱克发有限公司 Digital halftone processing with clustered microdots

Also Published As

Publication number Publication date
CN113450370A (en) 2021-09-28

Similar Documents

Publication Publication Date Title
US9521296B2 (en) Inverse halftoning using inverse projection of predicted errors for multi-bit images
KR101221343B1 (en) Two-dimensional gray component replacement
CN106303150A (en) Image processing apparatus and the control method of image processing apparatus
US8995021B2 (en) Black trapping methods, apparatus and systems for binary images
EP0817466A2 (en) Edge enhanced error diffusion
US8976408B2 (en) Apparatus, method, and computer-readable storage medium for maintaining reproducibility of lines or characters of image
US8599439B2 (en) Laser color copy image processing independent of classifications
JP2012216933A (en) Image processing apparatus
US9055251B2 (en) Image processing based on automatic image-type detection
US20120026554A1 (en) Image processing apparatus
US10079960B1 (en) System and method for halftoning in a print system
US9542130B2 (en) Mask based toner reduction
CN113450370B (en) Image processing method, device, equipment and storage medium
US8577162B2 (en) Output apparatus and output method
JP6355321B2 (en) Image processing apparatus, image processing method, and program
US9681024B2 (en) Image processing apparatus, control method, and computer-readable recording medium configured to perform error diffusion process having and adder to add an error intergrated value diffused to the target pixel, the green noise and the predetermined noise, to the pixel value of the target pixel
JP6736299B2 (en) Printing device, printing method, and program
JP2021103902A (en) Image processing device, control method of the same, and program
JP2010273393A (en) Image processor, and method of controlling the same
CN111045617A (en) Printing method and system of picture gray scale, control chip and printer
US9876937B1 (en) Saving marking material using threshold arrays and toner reduction mask
JP2016005201A (en) Image processing system, image processing method, and program
US20110292462A1 (en) Image processing apparatus, image processing method, and computer-readable storage medium for computer program
US7663782B2 (en) System and method for high addressable binary image generation using rank ordered error diffusion on pixels within a neighborhood
CN118233579A (en) Data processing method, image forming apparatus, device, and storage medium

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