Image partition processing method, device, equipment and storage medium

By dividing the image to be printed into multiple image sub-regions and setting corresponding image processing methods, the problem of low degree of refinement of printing graphics in the prior art is solved, and the effect of high-quality printing is achieved.

CN114697464BActive Publication Date: 2025-03-18SHENZHEN HOSONSOFT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011601907.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-29
Publication Date
2025-03-18
Estimated Expiration
2040-12-29

AI Technical Summary

Technical Problem

In the prior art, the overall unified processing of printed images has resulted in low degree of refinement of printed graphics and cannot meet the requirements of high-quality printing.

Method used

By dividing each image area of ​​the image to be printed into a plurality of different image sub-regions, and setting corresponding image processing methods according to each image sub-regions, the image data of each image sub-regions are processed to obtain actual image data.

Benefits of technology

Differentiated processing of the image area to be printed is realized, meeting the requirements of high-quality printing, and improving the degree of refinement of printed graphics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114697464B_ABST
    Figure CN114697464B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of industrial inkjet printing, and solves the technical problem that the prior art performs overall and uniform processing on the printed image, resulting in a low degree of refinement of the printed graphics and failure to meet the requirements of high-quality printing. An image partition processing method, device, equipment and storage medium are provided. The method comprises: obtaining each image area of ​​the image to be printed respectively, and then dividing the image area of ​​each image into a plurality of image sub-areas; setting a corresponding image processing method for each image sub-area to perform image processing, and obtaining actual image data. The present invention also provides a device, equipment and storage medium for executing the above method. The present invention processes different areas of the image area to be printed in different processing methods, thereby achieving differentiated display of special image areas and meeting the requirements of high-quality printing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial inkjet printing, and in particular to an image partitioning processing method, device, equipment and storage medium. Background Art

[0002] Inkjet printing technology is a process in which the print control software controls the printer to spray ink according to the PRN data that the printer can recognize, forming patterns or text on the print medium to obtain a printed image.

[0003] In the prior art, the entire image to be printed is directly processed by image processing software to perform image screening, so that the overall ink output of the image is uniform. However, there are images with different shapes and colors in the image, such as color blocks, color pictures, and vector graphics. If the same processing method is used for the overall processing, the degree of refinement of the obtained image cannot meet the printing requirements for high-quality printing. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides an image partitioning processing method, device, equipment and storage medium to solve the technical problem in the prior art of performing overall unified processing of printed images, resulting in a low degree of refinement of printed graphics and failure to meet high-quality printing requirements.

[0005] The technical solution adopted by the present invention is:

[0006] The present invention provides an image partition processing method, the method comprising:

[0007] S1: respectively obtaining each image area of ​​the image to be printed;

[0008] S2: dividing each of the image regions into a plurality of different image sub-regions;

[0009] S3: Setting a corresponding image processing method for each of the image sub-regions;

[0010] S4: performing image processing on the image data corresponding to each of the image sub-regions according to the image processing method corresponding to each of the image sub-regions to obtain actual image data of the image to be printed.

[0011] Preferably, the S1 includes:

[0012] S11: classifying the images to be printed according to different image types to obtain information of each image;

[0013] S12: Identify the to-be-printed images according to the image information to obtain the image areas.

[0014] Preferably, the S2 includes:

[0015] S21: Acquire contour information of each image in each of the image regions;

[0016] S22: Obtain a plurality of different image sub-regions according to the contour information of each image corresponding to each image region.

[0017] Preferably, the S21 includes:

[0018] S211: Obtaining the position coordinates of each pixel point corresponding to each image in each image area;

[0019] S212: Obtaining contour information of each of the images according to the position coordinates of each pixel point of each of the images.

[0020] Preferably, the S212 includes:

[0021] S2121: Obtaining the position coordinates of the pixel points corresponding to the edge positions in each of the images;

[0022] S2122: Obtain contour information of each image according to the position coordinates of each pixel point corresponding to the edge position.

[0023] Preferably, S3 includes:

[0024] S301: Acquire color information of each image sub-region;

[0025] S302: Obtaining an image processing method for each of the image sub-regions according to a color curve adjustment method corresponding to each of the color information.

[0026] Preferably, S3 includes:

[0027] S311: Obtaining an image accuracy analysis method for each image type with respect to the image accuracy of the image to be printed;

[0028] S312: Obtaining, according to each of the image precision analysis methods, an image processing method for the image precision of each of the image sub-regions for the image to be printed.

[0029] The present invention also provides a printing device, comprising:

[0030] Data receiving module: used to respectively obtain each image area of ​​the image to be printed;

[0031] Data segmentation module: used for segmenting each of the image regions into a plurality of different image sub-regions;

[0032] Data analysis module: used to set a corresponding image processing method for each image sub-region;

[0033] Data processing module: used for performing image processing on each of the image sub-regions according to the image processing method corresponding to each of the image sub-regions to obtain actual image data of the image to be printed.

[0034] The present invention further provides a printing device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, any of the above-mentioned methods is implemented.

[0035] The present invention also provides a storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, any of the above-mentioned methods is implemented.

[0036] In summary, the beneficial effects of the present invention are as follows:

[0037] The present invention provides an image partition processing method, device, equipment and storage medium, which divide each image area of ​​the image to be printed into multiple different image sub-areas, and set a corresponding image processing method according to each image sub-area to process the image data corresponding to each image sub-area, so as to obtain the actual image data of the image to be printed; by processing different areas of the image area to be printed with different processing methods, differentiated display of special image areas can be achieved to meet the requirements of high-quality printing. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.

[0039] Figure 1 Schematic diagram of the process of image partitioning processing method in Embodiment 1 of the present invention;

[0040] Figure 2 It is a schematic diagram of the process of determining each image area in Embodiment 1 of the present invention;

[0041] Figure 3 It is a schematic diagram of the process of determining each image sub-region in Embodiment 1 of the present invention;

[0042] Figure 4 This is a schematic diagram of a structure for determining contour information through graphic pixels in Embodiment 1 of the present invention;

[0043] Figure 5 This is a schematic diagram of a process for determining contour information through edge pixels of a graphic in Embodiment 1 of the present invention;

[0044] Figure 6It is a schematic diagram of a flow chart of determining an image processing method by using color information in Embodiment 1 of the present invention;

[0045] Figure 7 is a schematic diagram of the structure of processing an image by using color information in Embodiment 1 of the present invention;

[0046] Figure 8 It is a schematic diagram of a process of determining an image processing method by an analytical method in Embodiment 1 of the present invention;

[0047] Fig. 9 is a schematic diagram of the structure of a printing device in Embodiment 2 of the present invention;

[0048] Fig.10 This is a schematic diagram of the structure of the printing device in Example 3 of the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described in conjunction with the drawings in the embodiment of the present invention. It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. In the description of the present invention, it should be understood that the orientation or position relationship indicated by the terms "center", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such a process, method, article or device. In the absence of further restrictions, the elements defined by the phrase "comprising..." do not exclude the presence of other identical elements in the process, method, article or device comprising the elements. If there is no conflict, the various features in the embodiments and examples of the present invention can be combined with each other, all within the scope of protection of the present invention.

[0050] Embodiment 1:

[0051] Figure 1 is a flowchart of an image partition processing method provided by Embodiment 1 of the present invention;

[0052] like Figure 1 As shown, the method includes:

[0053] S1: respectively obtaining each image area of ​​the image to be printed;

[0054] Specifically, the image area of ​​the image to be printed includes a vector image area and / or a bitmap area, which can be understood as the image to be printed is a bitmap, or a vector image, or a combination of a bitmap and a vector image; the bitmap and vector image can be further divided into color blocks, color images and other graphics according to the actual pattern image; wherein the color block represents the pure color of a certain area, such as the background color, or the color area connected to the pattern, and the color image represents the specific image in the pattern, such as people, trees, buildings, weavings and other patterns with certain forms; the areas corresponding to other patterns are divided into other graphics, such as cabinet geometric figures and / or irregular geometric figures that are embellished on the background color, or lines and other patterns that do not have specific forms.

[0055] S2: dividing each of the image regions into a plurality of different image sub-regions;

[0056] Specifically, each image area has multiple similar images, and then these images are further segmented according to their differences to obtain multiple image sub-areas; for example, the color types included in the color block are further segmented; divided into sub-areas with the same color; the characters in the color picture are further segmented into the character body, decorations and clothing, etc. There is no specific limitation on the way of dividing the image sub-areas, as long as the divided image sub-areas can achieve differentiated printing in the same image area.

[0057] S3: Setting a corresponding image processing method for each of the image sub-regions;

[0058] Specifically, the image processing method of each image sub-region is set according to the highlighting requirements of each image sub-region. For example, if the yellow area in the color block needs to be highlighted, the image sub-region corresponding to yellow needs to have its brightness increased; for example, if the decorations in the hands of a person need to be highlighted, the image display of the surrounding areas needs to be weakened.

[0059] S4: performing image processing on the image data corresponding to each of the image sub-regions according to the image processing method corresponding to each of the image sub-regions to obtain actual image data of the image to be printed.

[0060] Specifically, each image sub-region is processed by a corresponding image processing method to obtain actual image data corresponding to the image to be printed, and then printed to meet the requirements of differentiated display of each image sub-region and achieve high-quality printing.

[0061] Embodiment 1 of the present invention provides an image partitioning processing method, which divides each image area of ​​the image to be printed into multiple different image sub-areas, and sets a corresponding image processing method according to each image sub-area to process the image data corresponding to each image sub-area, thereby obtaining the actual image data of the image to be printed; by processing different areas of the image area to be printed with different processing methods, differentiated display of special image areas is achieved to meet the requirements of high-quality printing.

[0062] In one embodiment:

[0063] Figure 2 A schematic diagram of the process flow of the image partition processing method provided in this embodiment;

[0064] Preferably, the S1 includes:

[0065] S11: classifying the images to be printed according to different image types to obtain information of each image;

[0066] Specifically, the bitmap and vector image in the image to be printed are distinguished, and the color blocks, color images and other graphics in the bitmap area and the vector image area are further distinguished to obtain the image information. The image information is the special diagnostic information of the image, that is, the distinguishing features of the bitmap and vector image; the distinguishing features of the color blocks, color images and other graphics.

[0067] S12: Identify the to-be-printed images according to the image information to obtain the image areas.

[0068] Specifically, the image regions of the images to be printed are identified according to the specific image information of each image to obtain each image region.

[0069] In one embodiment:

[0070] Figure 3 A schematic diagram of the process flow of the image partition processing method provided in this embodiment;

[0071] like Figure 3 As shown, the S2 includes:

[0072] S21: Acquire contour information of each image in each of the image regions;

[0073] Specifically, the contour information of each image in each image area is obtained. For example, if there are words such as "A", "B", "C" in other graphics, the contour of this image is obtained.

[0074] S22: Obtain a plurality of different image sub-regions according to the contour information of each image corresponding to each image region.

[0075] Specifically, the contour of each image is determined, so that the area included in the contour is used as the corresponding image sub-region, and there is at least one image sub-region in an image region.

[0076] In one embodiment:

[0077] Figure 4 A schematic diagram of the process flow of the image partition processing method provided in this embodiment;

[0078] like Figure 4 As shown, the S21 includes:

[0079] S211: Obtaining the position coordinates of each pixel point corresponding to each image in each image area;

[0080] Specifically, obtaining the position coordinates of the pixel points corresponding to each image in each image area can be understood as recording the position coordinates of all pixel points constituting each image sub-area in a set, where these pixel points include both ink-emitting pixels and non-ink-emitting pixels.

[0081] S212: Obtaining contour information of each of the images according to the position coordinates of each pixel point of each of the images.

[0082] Specifically, according to the position coordinates of each pixel point in the set, the pixel points constituting the image contour corresponding to the image sub-region can be determined, thereby obtaining the contour information of each image.

[0083] In one embodiment:

[0084] Figure 5 A schematic diagram of the process flow of the image partition processing method provided in this embodiment;

[0085] like Figure 5 As shown, the S212 includes:

[0086] S2121: Obtaining the position coordinates of the pixel points corresponding to the edge positions in each of the images;

[0087] Specifically, filtering out the position coordinates of the pixel points constituting the edge of the image corresponding to the image sub-region can be understood as filtering out the position coordinates of the inking pixel points adjacent to the non-inking pixel points.

[0088] S2122: Obtain contour information of each image according to the position coordinates of each pixel point corresponding to the edge position.

[0089] Specifically, the linear pattern corresponding to the position coordinates of the pixel points at the edge position is used as the contour information of each image, thereby obtaining each image sub-region; other ink-out pixels and non-ink-out pixels in the combined area are used to obtain the actual image of the image; such as hollow circles and solid circles.

[0090] In one embodiment:

[0091] Figure 6 A schematic diagram of the process flow of the image partition processing method provided in this embodiment;

[0092] like Figure 6 As shown, the S3 includes:

[0093] S301: Acquire color information of each of the image sub-regions and an original adjustment curve of the image to be printed;

[0094] Specifically, an original adjustment curve of the image to be printed is obtained; and the image to be printed is adjusted through the original adjustment curve to obtain the overall color information of the image to be printed.

[0095] S302: Correcting the original adjustment curve according to the color information to obtain a correction curve corresponding to the image sub-region; and generating the image processing method;

[0096] The color information includes key color display and non-key color display.

[0097] Specifically, all color information of the image sub-region is obtained, and the color adjustment curve of the image sub-region is determined; according to the display requirements of each color in the color information, the parameters representing each color in the color adjustment curve are adjusted accordingly; for example, in the image sub-region, there are image regions corresponding to the three colors of yellow, green and blue, among which yellow needs to be highlighted, then the color adjustment curve is used to increase the brightness of the yellow pixel point, and the brightness of the blue and green pixel points is adjusted to the reference curve position (normal display range), so as to realize the highlighting of the yellow in the image sub-region; please refer to Figure 7 , "actual curve" is the color adjustment curve corresponding to the entire target image; if the yellow in the image sub-region needs to be highlighted, the color adjustment curve corresponding to the image sub-region is corrected to obtain a "correction curve"; specifically, the adjustment curve representing blue and green is returned to the reference curve, so that the brightness of blue and green in the image sub-region is reduced, and at the same time, the adjustment curve representing yellow is adjusted to the symmetric plane of the "actual curve" so that the yellow in the image sub-region contrasts with the yellow in other regions; thereby completing the highlighting of the yellow in the image sub-region; the parameter adjustment of color is not limited to brightness adjustment, but can also be other color parameters such as grayscale and saturation, which are not specifically limited here.

[0098] In one embodiment:

[0099] Figure 8 A schematic diagram of the process flow of the image partition processing method provided in this embodiment;

[0100] like Figure 8 As shown, the S3 includes:

[0101] S311: Obtaining the image accuracy of each image type for the image to be printed;

[0102] Specifically, the image to be printed can be a bitmap, or a vector image, or a combination of a bitmap and a vector image. The image accuracy displayed by the vector image and the bitmap is different, and the image accuracy displayed by the bitmap is greater than that displayed by the vector image. At the same time, the bitmap and / or vector image also have different display requirements in different areas, that is, different image accuracy.

[0103] S312: Setting a corresponding image accuracy analysis method for the image accuracy as the image processing method.

[0104] Specifically, according to the image accuracy corresponding to each image area, a corresponding image accuracy parsing method is set for each image area to parse the image of the area; thereby obtaining the image accuracy of the actual display that is consistent with each image area; for example, an image area includes area A, area B and area C; among which area A and area B do not need high-precision display, the image data of the area can be parsed according to the image accuracy actually displayed in area A and area B, such as the printing accuracy corresponding to the image data is 720dpi, while the display accuracy of area A and area B only needs 180dpi; then area A and area B are parsed according to 180dpi; thereby improving the parsing speed; and area C is a key display area, which can be parsed according to the actual image accuracy of the image to be printed, such as if the printing accuracy is 720dpi, the actual parsing accuracy is 720dpi, thereby ensuring the quality of the printed image.

[0105] By adopting different analysis methods for each area, both the printing quality requirements can be met and the printing efficiency can be improved.

[0106] Embodiment 1 of the present invention provides an image partitioning processing method, which divides each image area of ​​the image to be printed into multiple different image sub-areas, and sets a corresponding image processing method according to each image sub-area to process the image data corresponding to each image sub-area, thereby obtaining the actual image data of the image to be printed; by processing different areas of the image area to be printed with different processing methods, differentiated display of special image areas is achieved to meet the requirements of high-quality printing.

[0107] Example 2

[0108] The present invention also provides a printing device, such as Fig. 9 As shown, including:

[0109] Data receiving module: used to respectively obtain each image area of ​​the image to be printed;

[0110] Data segmentation module: used for segmenting each of the image regions into a plurality of different image sub-regions;

[0111] Data analysis module: used to set a corresponding image processing method for each image sub-region;

[0112] Data processing module: used for performing image processing on each of the image sub-regions according to the image processing method corresponding to each of the image sub-regions to obtain actual image data of the image to be printed.

[0113] A printing device provided in Example 2 of the present invention divides each image area of ​​the image to be printed into a plurality of different image sub-areas, and sets a corresponding image processing method according to each image sub-area to process the image data corresponding to each image sub-area, thereby obtaining the actual image data of the image to be printed; by processing different areas of the image area to be printed with different processing methods, differentiated display of special image areas is achieved, thereby meeting the requirements of high-quality printing.

[0114] In one embodiment, the data receiving module includes:

[0115] Image information unit: classifying the images to be printed according to different image types to obtain information of each image;

[0116] Image area unit: identifies the image to be printed according to each image information to obtain each image area.

[0117] In one embodiment, the data segmentation module includes:

[0118] Contour information acquisition unit: acquires contour information of each image in each of the image regions;

[0119] Image sub-region unit: obtains a plurality of different image sub-regions according to the contour information of each image corresponding to each image region.

[0120] In one embodiment, the contour information acquisition unit includes:

[0121] Position acquisition unit: acquires the position coordinates of each pixel point corresponding to each image in each image area;

[0122] Contour unit: obtains contour information of each image according to the position coordinates of each pixel point of each image.

[0123] In one embodiment, the contour unit comprises:

[0124] Pixel point unit: obtaining the position coordinates of the pixel points corresponding to the edge positions in each of the images;

[0125] Contour information unit: obtains contour information of each image according to the position coordinates of each pixel point corresponding to the edge position.

[0126] In one embodiment, the data parsing module includes:

[0127] Color information unit: obtains the color information of each of the image sub-regions and the original adjustment curve of the image to be printed;

[0128] Color adjustment unit: correcting the original adjustment curve according to the color information to obtain a correction curve corresponding to the image sub-region; generating the image processing method;

[0129] The color information includes key color display and non-key color display.

[0130] In one embodiment, the data parsing module includes:

[0131] Image precision unit: obtains the image precision of each image type for the image to be printed;

[0132] Precision analysis unit: sets a corresponding image precision analysis method for the image precision as the image processing method.

[0133] A printing device provided in Example 2 of the present invention divides each image area of ​​the image to be printed into a plurality of different image sub-areas, and sets a corresponding image processing method according to each image sub-area to process the image data corresponding to each image sub-area, thereby obtaining the actual image data of the image to be printed; by processing different areas of the image area to be printed with different processing methods, differentiated display of special image areas is achieved, thereby meeting the requirements of high-quality printing.

[0134] Embodiment 3:

[0135] Embodiment 3 of the present invention discloses a printing device, such as Fig.10 As shown, the system comprises at least one processor, at least one memory and computer program instructions stored in the memory.

[0136] Specifically, the processor may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.

[0137] The memory may include a large capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory may include a removable or non-removable (or fixed) medium. Where appropriate, the memory may be inside or outside a data processing device. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0138] The processor implements any one of the image partition processing methods in the above-mentioned embodiment 1 by reading and executing the computer program instructions stored in the memory.

[0139] The present invention divides each image area of ​​the image to be printed into a plurality of different image sub-areas, and sets a corresponding image processing method according to each image sub-area to process the image data corresponding to each image sub-area, thereby obtaining the actual image data of the image to be printed; by processing different areas of the image area to be printed with different processing methods, differentiated display of special image areas is achieved, thereby meeting the requirements of high-quality printing.

[0140] In one example, the printing device may further include a communication interface and a bus, wherein the processor, the memory, and the communication interface are connected through the bus and communicate with each other.

[0141] The communication interface is mainly used to implement communication between the modules, devices, units and / or equipment in the embodiments of the present invention.

[0142] The bus includes hardware, software or both, and the parts of the printing device are coupled to each other. For example, but not limitation, the bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, the bus may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.

[0143] Example 4

[0144] In addition, in combination with the image partition processing method in the above embodiment 1, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the image partition processing methods in the above embodiment 1 is implemented.

[0145] In summary, the embodiments of the present invention provide an image partitioning processing method, apparatus, device, and storage medium.

[0146] The present invention divides each image area of ​​the image to be printed into a plurality of different image sub-areas, and sets a corresponding image processing method according to each image sub-area to process the image data corresponding to each image sub-area, thereby obtaining the actual image data of the image to be printed; by processing different areas of the image area to be printed with different processing methods, differentiated display of special image areas is achieved, thereby meeting the requirements of high-quality printing.

[0147] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0148] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0149] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An image partition processing method, characterized in that: The method comprises: S1: respectively obtaining each image area of ​​the image to be printed; S2: dividing each of the image regions into a plurality of different image sub-regions; S3: Setting a corresponding image processing method for each of the image sub-regions; S4: performing image processing on the image data corresponding to each of the image sub-regions according to the image processing mode corresponding to each of the image sub-regions to obtain actual image data of the image to be printed; Among them, the S3 includes: S301: obtaining the color information of each image sub-area and the original adjustment curve of the image to be printed; S302: correcting the original adjustment curve according to the color information to obtain the correction curve corresponding to the image sub-area; generating the image processing method; wherein the color information includes key color display and non-key color display; the S302 specifically includes: according to the display requirements of each color in the color information, adjusting the parameters representing each color in the color adjustment curve accordingly to obtain the correction curve, including: regressing the color adjustment curve corresponding to the non-key color display in the image sub-area to the reference curve, and adjusting the color adjustment curve corresponding to the key color display to the symmetry plane of the actual curve, wherein the actual curve is the color adjustment curve corresponding to the entire image.

2. The image partition processing method according to claim 1, characterized in that: The S1 includes: S11: classifying the images to be printed according to different image types to obtain information of each image; S12: Identify the to-be-printed images according to the image information to obtain the image areas.

3. The image partition processing method according to claim 1, characterized in that: The S2 includes: S21: Acquire contour information of each image in each of the image regions; S22: Obtain a plurality of different image sub-regions according to the contour information of each image corresponding to each image region.

4. The image partition processing method according to claim 3, characterized in that: The S21 includes: S211: Obtaining the position coordinates of each pixel point corresponding to each image in each image area; S212: Obtaining contour information of each of the images according to the position coordinates of each pixel point of each of the images.

5. The image partition processing method according to claim 4, characterized in that: The S212 includes: S2121: Obtaining the position coordinates of the pixel points corresponding to the edge positions in each of the images; S2122: Obtain contour information of each image according to the position coordinates of each pixel point corresponding to the edge position.

6. The image partition processing method according to claim 2, characterized in that: The S3 includes: S311: Obtaining the image accuracy of each image type for the image to be printed; S312: Setting a corresponding image accuracy analysis method for the image accuracy as the image processing method.

7. A printing device, characterized in that: include: Data receiving module: used to respectively obtain each image area of ​​the image to be printed; Data segmentation module: used for segmenting each of the image regions into a plurality of different image sub-regions; Data analysis module: used to set a corresponding image processing method for each image sub-region; Data processing module: used for performing image processing on the image data corresponding to each of the image sub-regions according to the image processing mode corresponding to each of the image sub-regions, so as to obtain the actual image data of the image to be printed; Wherein, the data analysis module includes: a color information unit, used to obtain the color information of each of the image sub-areas and the original adjustment curve of the image to be printed; a color adjustment unit, used to correct the original adjustment curve according to the color information to obtain a correction curve corresponding to the image sub-area; generate the image processing method; wherein the color information includes key color display and non-key color display; the color adjustment unit specifically includes: according to the display requirements of each color in the color information, corresponding adjustments are made to the parameters representing each color in the color adjustment curve to obtain a correction curve, including: regressing the color adjustment curve corresponding to the non-key color display in the image sub-area to the reference curve, and adjusting the color adjustment curve corresponding to the key color display to the symmetry plane of the actual curve, wherein the actual curve is the color adjustment curve corresponding to the entire image.

8. A printing device, characterized in that: include: At least one processor, at least one memory and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the method according to any one of claims 1 to 6.

9. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Image correction method and apparatus

    CN105069453A

  • Imaging method and imaging device

    CN107463074A