CN114862651B - Image processing method, device, equipment and medium for jet printing for improving display effect - Google Patents

Image processing method, device, equipment and medium for jet printing for improving display effect Download PDF

Info

Publication number
CN114862651B
CN114862651B CN202210783389.6A CN202210783389A CN114862651B CN 114862651 B CN114862651 B CN 114862651B CN 202210783389 A CN202210783389 A CN 202210783389A CN 114862651 B CN114862651 B CN 114862651B
Authority
CN
China
Prior art keywords
image
pattern
jet printing
pixel
small
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
CN202210783389.6A
Other languages
Chinese (zh)
Other versions
CN114862651A (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.)
Shenzhen Guoren Light Speed Technology Co ltd
Original Assignee
Shenzhen Guoren Light Speed 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 Shenzhen Guoren Light Speed Technology Co ltd filed Critical Shenzhen Guoren Light Speed Technology Co ltd
Priority to CN202210783389.6A priority Critical patent/CN114862651B/en
Publication of CN114862651A publication Critical patent/CN114862651A/en
Application granted granted Critical
Publication of CN114862651B publication Critical patent/CN114862651B/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
    • G06T1/00General purpose image data processing
    • G06T1/0007Image acquisition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Ink Jet (AREA)

Abstract

The invention relates to the technical field of image processing, in particular to an image processing method, device, equipment and medium for jet printing, which can improve the display effect, wherein the image processing method for jet printing comprises the following steps: acquiring an image for jet printing; determining a large pattern and a small pattern in the image for jet printing according to the set pixel threshold; and carrying out ink extraction treatment on the small patterns. The image processing method provided by the invention reduces the ink density of the small pattern by distinguishing the large pattern from the small pattern and carrying out ink extraction processing on the small pattern, thereby improving the definition of the image obtained by jet printing; meanwhile, based on the recognition result, the ink dropping amount of the large pattern can be increased during jet printing, so that the color of the large pattern can be improved, and the display effect of the large pattern and the small pattern can be improved.

Description

Image processing method, device, equipment and medium for jet printing for improving display effect
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image processing method, apparatus, device, and medium for inkjet printing, which improve display effects.
Background
The digital jet printing is different from the traditional jet printing technology, the data jet printing does not need complicated operations such as plate making and the like, the jet printing content can be replaced at any time, the replacement does not involve any hardware change, and only the adjustment of the data content in the program is carried out, so the digital jet printing has the characteristic of flexibility and variability.
The digital jet printing is carried out by a nozzle with a large number of extremely fine jet holes, and different pattern contents are jet printed by controlling the combination of opening and closing of the jet holes.
In actual jet printing, a large pattern block and a small pattern block often exist in one image at the same time, for the large pattern block, the ink dropping amount needs to be increased during jet printing to ensure the glossiness of the large pattern block, and for the small pattern block, if the ink dropping amount is also increased, the small pattern block can be blurred. The prior art does not provide a corresponding solution for how to distinguish large pattern blocks from small pattern blocks in an image for jet printing so as to facilitate the subsequent jet printing operation.
Disclosure of Invention
In view of the above, it is desirable to provide an image processing method, apparatus, device, and medium for inkjet printing that improve display effects.
The embodiment of the invention is realized in such a way that the image processing method for jet printing for improving the display effect comprises the following steps:
acquiring an image for jet printing;
determining a large pattern and a small pattern in the image for jet printing according to the set pixel threshold;
and carrying out ink extraction treatment on the small patterns.
In one embodiment, the present invention provides an image processing apparatus for inkjet printing with improved display effect, including:
the image acquisition module is used for acquiring an image for jet printing;
the pattern dividing module is used for determining large patterns and small patterns in the image for jet printing according to the set pixel threshold;
and the ink pumping processing module is used for performing ink pumping processing on the small patterns.
In one embodiment, the present invention provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the steps of the method for processing an image for inkjet printing, which improves a display effect.
In one embodiment, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the steps of the image processing method for inkjet printing for improving display effect according to the present invention.
The image processing method provided by the invention reduces the ink density of the small pattern by distinguishing the large pattern from the small pattern and carrying out ink extraction processing on the small pattern, thereby improving the definition of the image obtained by jet printing; meanwhile, based on the recognition result, the ink dropping amount of the large pattern can be increased during jet printing, so that the color of the large pattern can be improved, and the display effect of the large pattern and the small pattern can be improved.
Drawings
Fig. 1 is a flowchart of an image processing method for inkjet printing to improve a display effect according to an embodiment;
FIG. 2 is a diagram of a decision window according to one embodiment;
FIG. 3 is an original image for inkjet printing provided by one embodiment;
FIG. 4 is an image of an embodiment of an image for jet printing with small pattern removal;
FIG. 5 is an image resulting from the flood fill process of FIG. 4, i.e., a large pattern;
FIG. 6 is the image of FIG. 3 minus FIG. 5, i.e., a small pattern;
FIG. 7 is a schematic view of a small pattern after an ink extraction process;
FIG. 8 is a pattern printed with an image for jet printing after processing according to the present invention;
FIG. 9 is a block diagram showing an embodiment of an image processing apparatus for inkjet printing with improved display effect;
FIG. 10 is a block diagram showing an internal configuration of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of the present disclosure.
As shown in fig. 1, in an embodiment, an image processing method for inkjet printing for improving a display effect is provided, which may specifically include the following steps:
s100, acquiring an image for jet printing;
s200, determining a large pattern and a small pattern in the image for jet printing according to a set pixel threshold value;
and S300, performing ink extraction processing on the small patterns.
In the present embodiment, the present invention is described taking a black-and-white image as an example, in the black-and-white image for inkjet printing, white is a background color and black is a foreground color, and in the image for inkjet printing, ink is not required to be ejected in white and ink is required to be ejected in black.
In the embodiment, a large pattern and a small pattern in an image for jet printing are distinguished through a set pixel threshold, and in the subsequent jet printing process, for the large pattern, the glossiness of the pattern obtained by jet printing can be improved in a mode of increasing the ink dropping amount, so that the large pattern is prevented from being lack of ink; for small patterns, the ink discharge amount is reduced in an ink pumping mode, and the phenomenon that character stripes are fuzzy due to ink flowing and the recognition is influenced is prevented. In this embodiment, it should be understood that the term "ink extraction" refers to a process of reducing the pixel density of the foreground color constituting the small pattern by setting the pixel portion in the small pattern as the background color according to a certain rule (by default, all pixels in the pattern area are the foreground color). In this embodiment, the set pixel threshold is set by the user, and the large pattern and the small pattern can be distinguished by the pixel threshold, for example, the pixel threshold is set to 50, for any one pattern, if the number of foreground color pixels of the pattern at any position and continuously along the vertical direction or the horizontal direction is greater than 50, the pattern is the large pattern, otherwise, the pattern is the small pattern. The pixel threshold value can be determined according to the pattern size distribution of the image for jet printing, and the size of the pixel threshold value does not influence the realization of the invention.
The image processing method provided by the invention reduces the ink density of the small pattern by distinguishing the large pattern from the small pattern and carrying out ink extraction processing on the small pattern, thereby improving the definition of the image obtained by jet printing; meanwhile, based on the recognition result, the ink dropping amount of the large pattern can be increased during jet printing, so that the color of the large pattern can be improved, and the display effect of the large pattern and the small pattern can be improved.
As an embodiment of the present invention, the determining a large pattern and a small pattern in an image for inkjet printing according to a set pixel threshold includes:
removing small patterns in the image for jet printing according to a set pixel threshold value;
determining a large pattern according to the processed image for jet printing and the original image for jet printing;
and determining small patterns according to the original image for jet printing and the determined large patterns.
In this embodiment, it should be noted that the small patterns in the image for inkjet printing are removed according to the set pixel threshold, the small patterns in the image for inkjet printing are directly removed in this step, and each small pattern is not extracted, so this step is not equal to the identification process of the small patterns, and the small patterns or the large patterns cannot be obtained in this step.
In this embodiment, a large pattern can be determined from the image for inkjet printing from which the small pattern has been removed and the original image for inkjet printing. It should be noted that, because the present invention only needs to distinguish the large patterns and the small patterns, and as to how many relatively independent large patterns are specifically formed in the large patterns, the present step does not need to distinguish separately, and it can be considered that all the large patterns and all the small patterns are treated as a whole respectively, the present invention aims at how to separate or identify the large patterns and the small patterns in one image for jet printing; the method of the invention can solve the problem of distinguishing the large patterns and the small patterns under the condition that a plurality of large patterns and a plurality of small patterns exist in one image for jet printing at the same time, and the large patterns and the small patterns are distinguished at one time and are different from each pattern in separate comparison and identification.
In this embodiment, after the large pattern is determined, the small pattern can be determined from the original image for inkjet printing and the determined large pattern.
As an embodiment of the present invention, the removing small patterns in the image for jet printing according to the set pixel threshold includes:
selecting a 3 x 3 judgment window;
when any pixel is superposed with the central pixel of the judgment window, if the pixel in the judgment window has both foreground color and background color, setting the current pixel superposed with the central pixel as the background color;
moving the judgment window to enable the central pixel of the judgment window to traverse all pixels of the image for jet printing;
and determining the repetition times according to the set pixel threshold value, and repeatedly executing the steps according to the determined repetition times.
In this embodiment, as shown in fig. 2, a 3 × 3 determination window is selected, and for the determination window, the central pixel is the pixel in the second row and the second column. The term "for any pixel" herein may include a circle of pixels at the edge of the image, and at this time, the part of the judgment window beyond the edge of the image is not considered; of course, one circle of pixels at the edge may be ignored and not processed. The invention is mainly explained by taking an image applied to circuit board jet printing as an example, characters are usually positioned inside the edge of the image, and the edge pixels are white (background color) and can be ignored.
In this embodiment, the pixel threshold is 2 times of the repetition number, for example, the pixel threshold is set to 50, and the step of this embodiment only needs to be repeated 25 times, that is, the depth of 50 pixels can be etched away from both the left and right (up and down) directions.
In this embodiment, optionally, the moving of the determination window refers to moving in a horizontal or vertical direction with one or more pixels as a moving step. After each movement, whether the corresponding pixel is set to be the background color is judged according to the given conditions of the embodiment. Fig. 3 shows an untreated image for inkjet printing, and fig. 4 shows an image obtained by removing small patterns after 25 times of etching treatment according to the present embodiment.
Optionally, the moving the determination window to make the central pixel of the determination window traverse all pixels of the image for inkjet printing includes:
judging whether the current judging window only has background color or foreground color, if so, setting the moving step distance as the length or width of the judging window to judge the length or width of the window, and if the judging window has foreground color and background color, not processing the current pixel and canceling the last movement of the judging window;
if the judgment window has not only the background color but also the foreground color, or the last movement of the judgment window is cancelled, the judgment window is moved by a default step distance, namely the length or the width of one pixel.
In this embodiment, starting from the initial position, it is determined whether there is only a background color or a foreground color in the current determination window, and if there is only a background color, it indicates that the current regions are all background regions; if only foreground color exists, the current area is the foreground area. Taking a background area as an example, for an image, the background area often occupies a larger proportion, and when the current area is the background area, the probability that all pixels in the judgment window are still background pixels after the next movement is very high, so that the method sets the movement step distance as the length or width of the judgment window (the length refers to the size of the judgment window in the horizontal direction, and the width refers to the size of the judgment window in the vertical direction, when the judgment window moves along the horizontal direction, the length is taken as the step distance, and when the judgment window moves along the vertical direction, the width is taken as the step distance), thereby improving the processing speed. In the moving process, if the background color exists in the judgment window, the judgment window is not processed, the movement is continued, and if the foreground color exists in the judgment window and the background color exists at the same time, the last movement is cancelled. If the judgment window has not only background color but also foreground color (initial position) or the last movement of the judgment window is cancelled (after moving, at non-initial position and returning one step), setting the step pitch of the judgment window as default step pitch (one pixel), and carrying out judgment processing once every time the step pitch is moved, wherein the judgment means that the judgment current window has both background color and foreground color, and the processing means that when the judgment window has both foreground color and background color, the pixel corresponding to the central pixel is set as background color; this embodiment describes a process of determining how the window moves, and the process of determining processing refers to the foregoing embodiments.
The embodiment can effectively reduce the calculation amount by the moving method; meanwhile, for all the areas with the background color or the foreground color, the length or the width of the judgment window is used as the moving step distance, so that the background area or the foreground area can be quickly skipped to improve the processing speed of the boundary pixels.
As a preferred aspect of the present invention, selecting a judgment window previously includes:
selecting an exclusion window;
if the interior of the exclusion window is the background color, marking the area covered by the current exclusion window as an exclusion area;
moving the exclusion window by taking the length or width of the exclusion window as a step pitch to determine all exclusion areas;
judging by applying a 3 × 3 judgment window in the non-exclusion area;
wherein: the length of the exclusion window is not less than the length of the judgment window, and the width of the exclusion window is not less than the width of the judgment window.
In the present embodiment, the difference from the previous embodiment is that the excluded area is found first, and the previous embodiment excludes some areas that do not need to be determined during the movement determination process. Unlike the previous embodiment, the exclusion window in the present embodiment may be greater than or equal to the determination window, thereby accelerating the determination of the exclusion area.
As an embodiment of the present invention, the determining a large pattern according to the processed image for inkjet printing and the original image for inkjet printing includes:
selecting a non-background color pixel as a seed pixel in each independent background area in the processed image;
and taking the selected seed pixel as a starting point, and performing flood filling according to the boundary of the original pattern where the seed pixel is located to obtain a large pattern.
In this embodiment, specifically, for each individual segment (i.e. non-connected segment; connected here means that pixels are adjacent to each other in any direction of up, down, left, right, or diagonal direction) of the processed image, one foreground color pixel is selected as the seed pixel.
In this embodiment, the seed pixel is used as a starting point, the boundary of the original pattern where the seed pixel is located is used as a boundary, and the flood filling is performed on the area in the boundary, so that the foreground colors of all pixels in the boundary area are the same as the color of the seed pixel, and a large pattern can be obtained. Taking one seed pixel for each individual image, a full large pattern can be obtained, as shown in fig. 5 as a restored large pattern.
As an embodiment of the present invention, the determining a small pattern according to an original image for inkjet printing and a determined large pattern includes:
and subtracting the corresponding point pixel value of the obtained large pattern from the original image for spray printing to obtain the small pattern.
In this embodiment, the small pattern is obtained by subtracting the large pattern obtained by subtracting the original image for inkjet printing, and it is understood that the gray value or RGB value of the pixel is subtracted here. Fig. 6 shows an image obtained by subtracting the original image for inkjet printing from fig. 5, that is, a small pattern.
As an embodiment of the present invention, the flood filling, performed by using the selected seed pixel as a starting point, according to a boundary of an original pattern where the seed pixel is located, to obtain a large pattern includes:
overlapping the processed image with the original image for jet printing;
determining a pattern boundary according to the boundary of the background color and the foreground color of the original image for jet printing;
determining the boundary of the original pattern to which the selected seed pixel belongs;
and setting all pixels in the boundary range of the seed pixel as the same color as the seed pixel by using the four-neighbor domain flooding algorithm with the seed pixel as a starting point.
In this embodiment, it can be understood that, since the foreground color and the background color are both relative to the pixels, the boundary is actually a boundary between the pixels, for example, two adjacent pixels, one foreground color and one background color, are background colors, and a common edge or a common corner of the two pixels is a part of the boundary. The image for jet printing uses white as background and black as foreground, and the boundary of any large pattern is closed.
In this embodiment, the four-domain flooding algorithm is one of the flooding algorithms, and means that the same color is filled into adjacent pixels by extending outward from four directions, i.e., up, down, left, and right, of one pixel. Large patterns can be restored after filling; according to the requirement, four fields or eight fields can be adopted for flood filling, and the eight fields also comprise corner points which are adjacent.
As an embodiment of the present invention, the ink extracting process for the small pattern includes:
determining a moving step pitch according to the set ink extraction percentage;
determining pixel points needing ink drawing on the small patterns according to the determined moving steps;
and setting the determined pixel points needing ink drawing as background colors.
In the present embodiment, a percent of ink extraction may be set, for example, 10%, 25%, 50%, etc., and when set to 10%, the first pixel of every 10 pixels (horizontal direction of each row) is set to a background color; set to 50%, the pixel color is set to the background color every other pixel, so that the total amount of ink set is halved. The image obtained after the jet printing treatment is clear, and the accumulation of the ink is not easy to occur. Figure 7 is the result after 50% treatment of small pattern inking. FIG. 8 shows the effect of the image jet printing after the processing by the method provided by the invention.
As shown in fig. 9, an embodiment of the present invention further provides an image processing apparatus for inkjet printing, where the image processing apparatus for inkjet printing improves a display effect, and the image processing apparatus for inkjet printing improves a display effect includes:
the image acquisition module is used for acquiring an image for jet printing;
the pattern dividing module is used for determining large patterns and small patterns in the image for jet printing according to the set pixel threshold;
and the ink pumping processing module is used for performing ink pumping processing on the small patterns.
In this embodiment, the above inkjet printing image processing apparatus for improving display effect is a modularization of the inkjet printing image processing method for improving display effect provided by the present invention, and for explanation of working processes of each module, reference is made to the description of the method part of the present invention, which is not described herein again.
In an embodiment of the present invention, a computer device may include a computer device and a jet printing apparatus, where the computer device includes a processor and a processor, and the memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to execute the steps of the image processing method for jet printing for improving display effect according to the embodiment of the present invention. Wherein, spout seal equipment and be used for carrying out and spout seal operation, specifically: and respectively carrying out jet printing to obtain a large pattern and a small pattern, wherein for the large pattern, the ink jet time is prolonged to 1.1-1.25 times of the standard ink jet time, for the small pattern, the corresponding positions and the number of the nozzles are closed according to the set ink extraction percentage, and the ink jet time is reduced to 0.85-0.95 times of the standard ink jet time.
Fig. 10 shows a block diagram of a computer apparatus in the above-described apparatus. As shown in fig. 10, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and also stores a computer program, and when the computer program is executed by a processor, the processor can realize the image processing method for jet printing for improving the display effect provided by the embodiment of the invention. The internal memory may also store a computer program, and when the computer program is executed by the processor, the processor may execute the method for processing an image for inkjet printing, which is provided by the embodiment of the present invention, to improve the display effect. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer device, an external keyboard, a touch pad or a mouse, and the like.
It will be appreciated by those skilled in the art that the configuration shown in fig. 10 is a block diagram of only a portion of the configuration associated with the inventive arrangements and is not intended to limit the computing devices to which the inventive arrangements may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the image processing apparatus for inkjet printing for improving display effect according to the embodiment of the present invention may be implemented in the form of a computer program, and the computer program may be executed on a computer apparatus as shown in fig. 10. The memory of the computer device may store various program modules constituting the image processing device for inkjet printing for improving display effect, such as an image acquisition module, a pattern division module, and an ink extraction processing module shown in fig. 9. The computer program constituted by the program modules causes the processor to execute the steps in the image processing method for jet printing for improving the display effect of the embodiments of the present invention described in this specification.
For example, the computer apparatus shown in fig. 10 may execute step S100 by an image acquisition module in the image processing apparatus for inkjet printing that improves the display effect as shown in fig. 9; the computer device may perform step S200 through the pattern division module; the computer device may perform step S300 through the ink extraction processing module.
In one embodiment, a computer arrangement is proposed, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor realizing the following steps when executing the computer program:
acquiring an image for jet printing;
determining a large pattern and a small pattern in the image for jet printing according to the set pixel threshold;
and carrying out ink extraction treatment on the small patterns.
In one embodiment, a computer-readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring an image for jet printing;
determining a large pattern and a small pattern in the image for jet printing according to the set pixel threshold;
and carrying out ink extraction treatment on the small patterns.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, databases or other media used in the embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
All possible combinations of the technical features of the above embodiments may not be described for the sake of brevity, but should be considered as within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent should be subject to the appended claims.

Claims (9)

1. The image processing method for jet printing for improving the display effect is characterized by comprising the following steps of:
acquiring an image for jet printing;
determining a large pattern and a small pattern in the image for jet printing according to the set pixel threshold;
carrying out ink extraction treatment on the small patterns;
the determining of the large pattern and the small pattern in the image for jet printing according to the set pixel threshold value comprises the following steps:
removing small patterns in the image for jet printing according to the set pixel threshold value;
determining a large pattern according to the processed image for jet printing and the original image for jet printing;
determining small patterns according to the original image for jet printing and the determined large patterns;
and ink extraction, namely setting the pixel part in the small pattern as background color according to a certain rule, and reducing the pixel density of the foreground color forming the small pattern.
2. The method for processing the image for jet printing for improving the display effect according to claim 1, wherein the removing the small patterns in the image for jet printing according to the set pixel threshold comprises:
selecting a 3 x 3 judgment window;
when any pixel is superposed with the central pixel of the judgment window, if the pixel in the judgment window has both foreground color and background color, setting the current pixel superposed with the central pixel as the background color;
moving the judgment window to enable the central pixel of the judgment window to traverse all pixels of the image for jet printing;
and determining the repetition times according to the set pixel threshold value, and repeatedly executing the steps according to the determined repetition times.
3. The method for processing an image for inkjet printing for improving a display effect according to claim 1, wherein the determining a large pattern from the processed image for inkjet printing and the original image for inkjet printing includes:
selecting a non-background color pixel as a seed pixel in each independent foreground area in the processed image;
and taking the selected seed pixel as a starting point, and performing flood filling according to the boundary of the original pattern where the seed pixel is located to obtain a large pattern.
4. The method for processing the image for jet printing for improving the display effect according to claim 3, wherein the step of determining the small pattern according to the original image for jet printing and the determined large pattern comprises the following steps:
and subtracting the corresponding point pixel value of the obtained large pattern from the original image for spray printing to obtain the small pattern.
5. The method of claim 3, wherein the step of flood filling the selected seed pixel as a starting point according to the boundary of the original pattern where the seed pixel is located to obtain a large pattern comprises:
overlapping the processed image with the original image for jet printing;
determining a pattern boundary according to the boundary of the background color and the foreground color of the original image for jet printing;
determining the boundary of the original pattern to which the selected seed pixel belongs;
and setting all pixels in the boundary range of the seed pixel as the same color as the seed pixel by using the four-neighbor domain flooding algorithm with the seed pixel as a starting point.
6. The image processing method for inkjet printing for improving the display effect according to claim 1, wherein the ink extracting process for the small pattern includes:
determining a moving step pitch according to the set ink extraction percentage;
determining pixel points needing ink extraction on the small patterns according to the determined moving steps;
and setting the determined pixel points needing ink drawing as background colors.
7. An image processing apparatus for inkjet printing for improving a display effect, the image processing apparatus for inkjet printing for improving a display effect comprising:
the image acquisition module is used for acquiring an image for jet printing;
the pattern dividing module is used for determining large patterns and small patterns in the image for jet printing according to the set pixel threshold;
the ink extraction processing module is used for performing ink extraction processing on the small patterns;
the determining of the large pattern and the small pattern in the image for jet printing according to the set pixel threshold value comprises the following steps:
removing small patterns in the image for jet printing according to the set pixel threshold value;
determining a large pattern according to the processed image for jet printing and the original image for jet printing;
determining small patterns according to the original image for jet printing and the determined large patterns;
and ink extraction, namely setting the pixel part in the small pattern as background color according to a certain rule, and reducing the pixel density of the foreground color forming the small pattern.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the steps of the method for processing an image for inkjet printing with improved display effect according to any one of claims 1 to 6.
9. A computer-readable storage medium, having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the steps of the method for processing an image for inkjet printing with display effect enhancement according to any one of claims 1 to 6.
CN202210783389.6A 2022-07-05 2022-07-05 Image processing method, device, equipment and medium for jet printing for improving display effect Active CN114862651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210783389.6A CN114862651B (en) 2022-07-05 2022-07-05 Image processing method, device, equipment and medium for jet printing for improving display effect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210783389.6A CN114862651B (en) 2022-07-05 2022-07-05 Image processing method, device, equipment and medium for jet printing for improving display effect

Publications (2)

Publication Number Publication Date
CN114862651A CN114862651A (en) 2022-08-05
CN114862651B true CN114862651B (en) 2022-09-27

Family

ID=82626737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210783389.6A Active CN114862651B (en) 2022-07-05 2022-07-05 Image processing method, device, equipment and medium for jet printing for improving display effect

Country Status (1)

Country Link
CN (1) CN114862651B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103144438A (en) * 2013-03-06 2013-06-12 佛山市三水盈捷精密机械有限公司 Ink supply system of ink jet printer and control method of ink supply system
CN103144448A (en) * 2013-03-27 2013-06-12 武汉大学 Ink-quantity limiting method for realizing maximization of ink-jet printing color gamut
CN109808327A (en) * 2019-02-13 2019-05-28 何彦青 Ink-jet printed modification method is consolidated for transparent material plastic cement cushion
CN113547844A (en) * 2021-07-21 2021-10-26 深圳圣德京粤科技有限公司 Ink jet ink amount control method for starch food material and printing equipment
WO2022040232A1 (en) * 2020-08-20 2022-02-24 Qualcomm Incorporated Object scanning using planar segmentation

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006098456A1 (en) * 2005-03-18 2006-09-21 Ricoh Company, Ltd. Image forming method and ink-jet printing device
JP5182315B2 (en) * 2010-03-29 2013-04-17 ブラザー工業株式会社 CONTROL DEVICE, PROGRAM, AND LIQUID DISCHARGE DEVICE USED FOR LIQUID DISCHARGE DEVICE
JP5382008B2 (en) * 2011-01-21 2014-01-08 ブラザー工業株式会社 Image processing apparatus and image processing program
CN114697464A (en) * 2020-12-29 2022-07-01 深圳市汉森软件有限公司 Image partition processing method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103144438A (en) * 2013-03-06 2013-06-12 佛山市三水盈捷精密机械有限公司 Ink supply system of ink jet printer and control method of ink supply system
CN103144448A (en) * 2013-03-27 2013-06-12 武汉大学 Ink-quantity limiting method for realizing maximization of ink-jet printing color gamut
CN109808327A (en) * 2019-02-13 2019-05-28 何彦青 Ink-jet printed modification method is consolidated for transparent material plastic cement cushion
WO2022040232A1 (en) * 2020-08-20 2022-02-24 Qualcomm Incorporated Object scanning using planar segmentation
CN113547844A (en) * 2021-07-21 2021-10-26 深圳圣德京粤科技有限公司 Ink jet ink amount control method for starch food material and printing equipment

Also Published As

Publication number Publication date
CN114862651A (en) 2022-08-05

Similar Documents

Publication Publication Date Title
DE69308905T2 (en) Process text printed with dot matrix or inkjet head for optical character recognition
Mustafa et al. Binarization of document image using optimum threshold modification
CN111784588A (en) Image data enhancement method and device, computer equipment and storage medium
US9137422B2 (en) Image processing in contone space and halftone space
JP4757210B2 (en) Threshold matrix generation method, threshold matrix generation apparatus, and threshold matrix
Mustafa et al. An improved sauvola approach on document images binarization
CN109902530B (en) Two-dimensional code decoding method and terminal
CN111461126A (en) Space recognition method and device in text line, electronic equipment and storage medium
CN114862651B (en) Image processing method, device, equipment and medium for jet printing for improving display effect
CN114723749B (en) Image processing method and device for improving definition of jet printing characters and jet printing equipment
US10742845B2 (en) Image processing apparatus identifying pixel which satisfies specific condition and performing replacement process on pixel value of identified pixel
EP0159880A2 (en) Apparatus for evaluating density and evenness of printed patterns
CN113256644A (en) Bill image segmentation method, device, medium, and apparatus
CN114882146B (en) Image hollowing processing method and device for jet printing, computer equipment and storage medium
US8792725B2 (en) Information processing apparatus, control method for information processing apparatus and storage medium
US20220392186A1 (en) Region of interest extraction from reference image using object map
CN110766614B (en) Image preprocessing method and system of wireless scanning pen
JP3669394B2 (en) Color image processing device
CN111695550A (en) Character extraction method, image processing device and computer readable storage medium
JP2003067738A (en) Method and system for removing net point
CN115631198A (en) Crack detection method and device for glass display screen and computer equipment
CN112150394B (en) Image processing method and device, electronic equipment and storage medium
CN113362319A (en) Laser printing method and device based on image processing, laser printer and computer readable storage medium
CN114494052A (en) Book counting method and device, computer equipment and storage medium
CN114801486A (en) Jet printing process and system for solving jet printing defect caused by blockage by using ink fluidity

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