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

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

Info

Publication number
CN113450370A
CN113450370A CN202110707345.0A CN202110707345A CN113450370A CN 113450370 A CN113450370 A CN 113450370A CN 202110707345 A CN202110707345 A CN 202110707345A CN 113450370 A CN113450370 A CN 113450370A
Authority
CN
China
Prior art keywords
area
solid area
matrix
image data
processed
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.)
Granted
Application number
CN202110707345.0A
Other languages
Chinese (zh)
Other versions
CN113450370B (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

Images

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 after half-tone processing; dividing the image data to be processed into a first solid area and a second solid area, wherein the black dot number proportion of the first solid area is different from that of the second solid area; carrying out pixel value replacement processing on the first solid area through a replacement matrix, wherein the replacement matrix is set in a current ink saving mode; and or processing the second field area through a mask matrix, wherein the mask matrix is 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 portrait can be adjusted, the clearness of the character part is kept, and the layering of the image part is improved.

Description

Image processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of image forming apparatus technology, and in particular, to an image processing method, apparatus, device, and storage medium.
Background
An image forming apparatus is a device that forms an image on a recording medium by the principle of image formation, such as a printer, a copying machine, a facsimile machine, a multifunction image making 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 use amount of carbon powder or ink. However, in the conventional toner saving mode, the image forming apparatus outputs a large amount of image loss information, and the quality of the output image 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 information is lost in an image 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 solid area and a second solid area, wherein the black dot number proportion of the first solid area is different from that of the second solid area;
carrying out pixel value replacement processing on the first solid area through a replacement matrix, wherein the replacement matrix is set in a current ink saving mode;
and or processing the second field area through a mask matrix, wherein the mask matrix is set in the current ink saving mode.
Preferably, the dividing the image data to be processed into a first solid area and a second solid 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 counting on the image data to be processed by taking the segmentation area as a unit to obtain a black and white point counting result corresponding to each segmentation area;
and dividing the image data to be processed into a first solid area and a second solid area according to the black and white point statistical result corresponding to each segmentation area.
Preferably, the dividing the image data to be processed into a first solid area and a second solid area according to the statistical result of the black and white points corresponding to each of the segmentation areas includes:
dividing a segmentation area with the black point number ratio larger than or equal to a preset black point number ratio threshold into a first solid area;
and dividing the divided area with the black point number ratio smaller than a preset black point number ratio threshold into a second solid area.
Preferably, the black point number percentage threshold is 100%.
Preferably, the pixel value replacement processing on the first solid area by the replacement matrix includes:
and carrying out pixel value replacement processing on each segmentation area in the first solid area through a replacement matrix, wherein the size of the replacement matrix is matched with that of the segmentation area.
Preferably, the anding the second field area by the mask matrix comprises:
and or processing each segmentation region in the second real area through a mask matrix, wherein the size of the mask matrix is matched with that of the segmentation region.
Preferably, the and or processing comprises:
setting the pixel value of a first position in the divided area to be 255, and keeping the pixel value of a second position in the divided area unchanged;
wherein the first position corresponds to a position in the mask matrix where the parameter is 1, and the second position corresponds to a position in the mask matrix where the parameter is 0.
Preferably, the size of the template matrix is N x 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 that, 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 according to the second aspect.
In a fifth aspect, 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 an apparatus 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 portrait can be adjusted, the clearness of the character part is kept, and the layering of the image part is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a schematic view of an image forming system according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a first solid area pixel value replacement according to an embodiment of the present disclosure;
fig. 4 is a schematic view of a second field area and/or process provided by 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 view of another application scenario provided in the 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 better understanding of the technical solutions of the present application, the following detailed descriptions of the embodiments of the present application are provided with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. 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 application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of 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 type of associative relationship that describes an associated object, meaning that three types of relationships may exist, e.g., A and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Referring to fig. 1, a schematic diagram of an image forming system according to an embodiment of the present application is shown. As shown in fig. 1, the image forming system includes an image forming apparatus 100 and a terminal device 200, and the image forming apparatus 100 and the terminal device 200 are interconnected via a wired or wireless communication network to perform information transmission. For example, the user transmits a document to the image forming apparatus 100 through the terminal device 200 to perform printing of the document; alternatively, the user sets a document on image forming apparatus 100 and scans or copies the document, and image forming apparatus 100 may transmit scanned image data to terminal device 200 after completing scanning of the document.
It is to be understood that the illustration in fig. 1 is merely 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, printers, copiers, facsimile machines, scanners, and multi-function peripherals that perform the above functions in a single device; the terminal device 200 includes, but is not limited to, a mobile phone, a Personal Computer (PC), a Personal Digital Assistant (PDA), a smart watch, a netbook, and the like.
The communication network between image forming apparatus 100 and terminal device 200 may be a local area network or a wide area network that is switched by a relay (relay) device. 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 (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 (3rd-generation wireless telephone technology, 3G) network, a fourth generation mobile communication technology (4 th generation mobile communication technology, 4G) network, a fifth generation mobile communication technology (5th-generation mobile communication technology, 5G) network, a future-evolution Public Land Mobile Network (PLMN), the internet, or the like.
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 use amount of carbon powder or ink. However, in the conventional toner saving mode, the image forming apparatus outputs a large amount of image loss information, and the quality of the output image is poor.
Accordingly, the embodiments of the present application provide an image processing method, which can ensure that a text area is clear and continuous in an ink saving mode, and a picture area can be adjusted in darkness, so that a layering effect is provided, and the quality of a printed image is improved. The following detailed description is made with reference to the accompanying drawings.
Referring to fig. 2, a schematic flow chart of an image processing method according to an embodiment of the present disclosure is shown. The method is applicable to the terminal device or the image forming apparatus shown in fig. 1, and mainly includes the following steps, as shown in fig. 2.
Step S201: acquiring image data to be processed, wherein the image data to be processed is image data subjected to halftone processing.
Halftone is a screen tone whose tone value is expressed by a dot size or a density. Corresponding to the halftone is a continuous tone. The continuous tone image is usually on one image, the tone change from light to dark or from light to dark is formed by the density of the imaging substance particles in unit area, and the depth and the shade of the continuous tone image are in stepless change, such as photo negative, photo and various sketches; the halftone usually means that the tone change from light to dark or from light to dark on the printed matter after special processing is represented by the size of the dots, and since the dots are distributed discretely in a certain distance in space and the number of levels of screening is always limited, the halftone image is called a halftone image because the gradation change of the image cannot be realized like a 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 solid area and a second solid area, wherein the black dot number proportion of the first solid area is different from that of the second solid area.
In some possible implementations, the image data to be processed is segmented in units of template matrices. For example, if the size of the template matrix is 5 × 5, the image data to be processed may be divided into a plurality of divided regions of 5 × 5 size. Of course, those skilled in the art can arrange other size template matrixes according to actual needs, for example, 3 × 3, 8 × 8, 4 × 6, etc., which is not limited in this embodiment.
After the image data to be processed is divided into a plurality of divided areas, black and white point counting is carried out on the image data to be processed by taking the divided areas as units, and a black and white point counting result corresponding to each divided area is obtained. For example, the image data to be processed is divided into a plurality of 5 × 5 divided regions, and black and white point count is performed for each of the 5 × 5 divided regions.
And after the black and white point counting result is obtained, dividing the image data to be processed into a first solid area and a second solid area according to the black and white point counting result corresponding to each segmentation area. Specifically, a black point count ratio threshold may be set, and a partition area in which the black point count ratio is greater than or equal to a preset black point count ratio threshold is divided into a first solid area; and dividing the divided area with the black point number ratio smaller than a preset black point number ratio threshold into a second solid area.
In some possible implementations, the black dot count ratio threshold is set to 100%, that is, when all of the black dots are in the divided region, the divided region is determined to be the first solid region; otherwise, the split area is determined to be a second solid area. At this time, the first solid area may be referred to as a 100% solid area; the second solid area may be referred to as a non-100% solid area. Taking the dividing area with the size of 5 × 5 as an example, when the number of the counted black points reaches 5 × 5, determining the dividing area as a first solid area; otherwise, the split area is determined to be a second solid area.
Of course, those skilled in the art may also set other black point ratio thresholds, which is not specifically limited in the embodiment of the present application.
In the present embodiment, different data processing methods are adopted for the first solid area and the second solid area, and the following description is made separately.
Step S203: and carrying out pixel value replacement processing on the first solid area through a replacement matrix, wherein the replacement matrix is the replacement matrix set in the current ink saving mode.
Specifically, pixel value replacement processing is performed on each of the first solid areas by a replacement matrix, that is, pixel values of the divided areas are replaced with pixel values of the replacement matrix in the current ink-saving mode setting. The size of the replacement matrix and the size of the segmentation region are matched, for example, when the size of the segmentation region is 5 × 5, the size of the replacement matrix is also 5 × 5. That is to say, the partition area and the pixel point of the replacement matrix have a one-to-one mapping relationship.
Referring to fig. 3, a schematic diagram of a first solid area pixel value replacement provided in the embodiment of the present application is shown. In fig. 3, a segment of the first solid area is shown, the segment having a size of 5 × 5, the first solid area being 100% solid area. For convenience of explanation, the coordinate values of the replacement matrix are represented by (i, j), 1 ≦ i ≦ 5, and 1 ≦ j ≦ 5.
As shown in fig. 3A, in the 5 × 5 divided regions, the original pixel values are all 0.
As shown in fig. 3B, in the 5 × 5 alternative matrix, the pixel values of the coordinate points (2, 2), (2, 4), (4, 2), and (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 as 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 only an exemplary illustration of the embodiments of the present application, and should not be taken as limiting the scope of the present application.
Step S204: and or processing the second field area through a mask matrix, wherein the mask matrix is set in the current ink saving mode.
Specifically, each of the divided regions in the second solid area is subjected to an and-or process by a mask matrix, and the size of the mask matrix and the size of the divided region are matched. For example, when the size of the division region is 5 × 5, the size of the mask matrix is also 5 × 5. That is, the divided regions and the pixels of the mask matrix have a one-to-one mapping relationship.
In some possible implementations, the and or processing includes: setting the pixel value of a first position in the divided area to be 255, and keeping the pixel value of a second position in the divided area unchanged; wherein the first position corresponds to a position in the mask matrix where the parameter is 1, and the second position corresponds to a position in the mask matrix where the parameter is 0.
Referring to fig. 4, a second field area and/or process diagram is provided for an embodiment of the present application. In fig. 4, a divided region of the second solid area is shown, the size of the divided region being 5 × 5, and the second solid area being not 100% solid area. For convenience of explanation, the coordinate values of the replacement matrix are represented by (i, j), 1 ≦ i ≦ 5, and 1 ≦ j ≦ 5.
As shown in fig. 4A, in the 5 × 5 divided region, the pixel values of the coordinate points (2, 2) and (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 a first position in the divided area corresponding to a position in the mask matrix where the parameter is 1 is set to 255, that is, the pixel values of coordinate points (2, 2), (2, 4), (3, 3) (4, 2), (4, 4) in the divided area are set to 255; the pixel value remains unchanged at a second location within the partitioned area, the first location corresponding to a location 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 effect of saving ink can be achieved, the brightness of the portrait can be adjusted, the clearness of the character part is kept, and the layering sense of the image part is improved.
Of course, the image processing method described above can also process a color image, and this is not particularly limited in the embodiments of the present application.
By adopting the image processing method provided by the embodiment of the application, the characters can be ensured to be clear and not broken in the ink-saving mode, the brightness of the picture area can be adjusted, the image processing method has layering effect, and the quality of the printed image is improved.
Referring to fig. 5, a schematic view of an application scenario provided in the embodiment of the present application is shown. The text effects printed at different print settings are shown in fig. 5. Fig. 5A shows a conventional printing effect, fig. 5B shows a printing effect in a conventional ink saving mode, and fig. 5C shows a printing effect after processing by the method of the present application.
Compared with the images shown in fig. 5B and 5C, the characters printed by the method are clearer compared with the characters printed by the conventional ink-saving mode, and no broken line exists.
Referring to fig. 6, a schematic view of another application scenario provided in the embodiment of the present application is shown. The image effect of printing at different print settings is shown in fig. 6. Fig. 6A shows a conventional printing effect, fig. 6B shows a printing effect in a conventional ink saving mode, and fig. 6C shows a printing effect after processing by the method of the present application.
Compared with the images shown in fig. 6B and 6C, the images printed by the method are clearer compared with the images printed by the conventional ink-saving mode, and the image areas have more layering.
Corresponding to the method embodiment, the application also provides an image processing device.
Referring to fig. 7, for a schematic structural diagram of an image processing apparatus provided in 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 communicate over one or more buses, and those skilled in the art will appreciate that the configuration of the servers shown in the figures are not meant to limit embodiments of the present invention, and may be in the form of buses, stars, more or fewer components than those shown, some components in combination, or a different arrangement of components.
The communication unit 703 is configured to establish a communication channel, so that the storage device can communicate with other devices. Receiving the user data sent by other devices or sending the user data to other devices.
The processor 701, which is a control center of the 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 operating or executing software programs and/or modules stored in the memory 702 and calling data stored in the memory. The processor may be composed of Integrated Circuits (ICs), for example, a single packaged IC, or a plurality of packaged ICs connected to the same or different functions.
The memory 702 is used for storing instructions executed by the processor 701, and the memory 702 may be implemented by any type of volatile or non-volatile storage 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 of the image processing apparatus side in the above-described method embodiments.
In correspondence with 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 brevity, detailed description is omitted here.
Corresponding to the image processing apparatus described above, 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 brevity, detailed description is omitted here.
In particular implementations, the present application also provides a computer readable storage medium, where the computer readable storage medium may store a program, and the program may include some or all of the steps in the embodiments provided in the present application when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
In a specific implementation, an embodiment of the present application further provides a computer program product, where the computer program product includes executable instructions, and when the executable instructions are executed on a computer, the computer is caused to perform some or all of the steps in the foregoing method embodiment.
In the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular 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 multiple.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above description is only for the specific embodiments of the present application, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions 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 (12)

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 solid area and a second solid area, wherein the black dot number proportion of the first solid area is different from that of the second solid area;
carrying out pixel value replacement processing on the first solid area through a replacement matrix, wherein the replacement matrix is set in a current ink saving mode;
and or processing the second field area through a mask matrix, wherein the mask matrix is set in the current ink saving mode.
2. The method of claim 1, wherein said dividing the image data to be processed into a first solid area and a second solid 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 counting on the image data to be processed by taking the segmentation area as a unit to obtain a black and white point counting result corresponding to each segmentation area;
and dividing the image data to be processed into a first solid area and a second solid area according to the black and white point statistical result corresponding to each segmentation area.
3. The method according to claim 2, wherein the dividing the image data to be processed into a first solid area and a second solid area according to a black and white point statistic result corresponding to each of the segmentation areas comprises:
dividing a segmentation area with the black point number ratio larger than or equal to a preset black point number ratio threshold into a first solid area;
and dividing the divided area with the black point number ratio smaller than a preset black point number ratio threshold into a second solid area.
4. The method of claim 3, wherein the black point count is 100% of the threshold.
5. The method of claim 1, wherein said subjecting the first solid area to pixel value replacement processing by a replacement matrix comprises:
and carrying out pixel value replacement processing on each segmentation area in the first solid area through a replacement matrix, wherein the size of the replacement matrix is matched with that of the segmentation area.
6. The method of claim 1, wherein the anding the second field area with a mask matrix comprises:
and or processing each segmentation region in the second real area through a mask matrix, wherein the size of the mask matrix is matched with that of the segmentation region.
7. The method of claim 6, wherein the AND or processing comprises:
setting the pixel value of a first position in the divided area to be 255, and keeping the pixel value of a second position in the divided area unchanged;
wherein the first position corresponds to a position in the mask matrix where the parameter is 1, and the second position corresponds to a position in the mask matrix where the parameter is 0.
8. The method of claim 2, wherein the template matrix has a size N, 2N 10.
9. An image processing apparatus characterized by 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-8.
10. An image forming apparatus comprising the image processing apparatus according to claim 9.
11. A terminal device characterized by comprising the image processing apparatus of claim 9.
12. A computer-readable storage medium, comprising a stored program, wherein the program, when executed, controls an apparatus on which the computer-readable storage medium resides to perform the method of any one of claims 1-8.
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 true CN113450370A (en) 2021-09-28
CN113450370B 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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060214971A1 (en) * 2005-03-25 2006-09-28 Fuji Photo Film Co., Ltd. Image processing method and apparatus, threshold value matrix creating method, image forming apparatus, sub-matrix creating method and program
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060214971A1 (en) * 2005-03-25 2006-09-28 Fuji Photo Film Co., Ltd. Image processing method and apparatus, threshold value matrix creating method, image forming apparatus, sub-matrix creating method and program
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
CN113450370B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
US9521296B2 (en) Inverse halftoning using inverse projection of predicted errors for multi-bit images
US9542130B2 (en) Mask based toner reduction
CN106303150A (en) Image processing apparatus and the control method of image processing apparatus
US8995021B2 (en) Black trapping methods, apparatus and systems for binary images
US8976408B2 (en) Apparatus, method, and computer-readable storage medium for maintaining reproducibility of lines or characters of image
US9055251B2 (en) Image processing based on automatic image-type detection
US10079960B1 (en) System and method for halftoning in a print system
JP2002016797A (en) Image processing method and its unit
CN113450370B (en) Image processing method, device, equipment and storage medium
JP6630086B2 (en) Image processing apparatus, image processing method, and program
US8577162B2 (en) Output apparatus and output method
US9819828B2 (en) Non-printing dot halftone patterns
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
JP4504327B2 (en) Edge detection for distributed dot binary halftone images
JP2021103902A (en) Image processing device, control method of the same, and program
JP2018033043A (en) Image formation device, control method, and program
US10389909B2 (en) Image processing apparatus that specifies edge pixel in target image using minimum and maximum component values of pixel value in target image data
JP6681033B2 (en) Image processing device
US20110292462A1 (en) Image processing apparatus, image processing method, and computer-readable storage medium for computer program
US9876937B1 (en) Saving marking material using threshold arrays and toner reduction mask
JP2016005201A (en) Image processing system, image processing method, and program
US9639791B2 (en) Color registration error compensation in color printing
JP2013222983A (en) Image processing system, image processing method, and computer program
JP2018174418A (en) Image processing apparatus and computer program

Legal Events

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