Image processing method, control device, image forming device, and system

By displaying the image color scheme and providing adjustment options on the control device, combined with the local color map processing of the image forming device, the problem of users being unable to adjust image colors independently is solved, enabling users to individually adjust the colors in the image and achieve high-quality color reproduction.

CN119937947BActive Publication Date: 2025-11-18ZHUHAI PANTUM ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411866572.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-11-18
Estimated Expiration
2044-12-17

AI Technical Summary

Technical Problem

In existing technologies, users cannot adjust certain colors in an image individually, and the interactive interface of the control device can only adjust the overall color of the image, which cannot meet the needs of users with special requirements.

Method used

By displaying the color scheme of the image to be printed on the control device and providing color adjustment options, the user can select a special color scheme and determine its desired target attributes. The image forming device generates a local color map table based on the special color scheme to perform color conversion processing and generate a blended image.

Benefits of technology

It enables users to individually adjust certain colors in an image, meeting specific needs, improving user experience, and ensuring color reproduction quality without affecting the use of the global color map.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937947B_ABST
    Figure CN119937947B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide an image processing method, a control device, an image forming device and a system, wherein the method comprises: obtaining a to-be-printed image; displaying a color system included in the to-be-printed image and a color adjustment option for adjusting an attribute of the color system; determining a special color system according to a selection of a user, and determining a desired target attribute of the special color system according to an operation of the user on the color adjustment option; and sending the to-be-printed image, the special color system and the desired target attribute of the special color system to an image forming device. The present application enables the user to individually adjust a certain color system according to the needs, greatly facilitates the user to use, and meets the special needs of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image processing technology, specifically to an image processing method, control device, image forming device and system. Background Technology

[0002] During color printing, users edit image colors using control devices and print them out via image forming devices after confirming the colors are correct. However, the interactive interface provided by the control devices often only allows adjustment of the overall image colors, such as adjusting the image colors according to a certain style. This leaves unmet needs for users with specific requirements, such as needing to adjust certain colors in an image individually. Summary of the Invention

[0003] In view of this, this application provides an image processing method, control device, image forming device and system to solve the problem in the prior art that users cannot adjust a certain color in an image individually.

[0004] In a first aspect, embodiments of this application provide an image processing method applied to a control device, the method comprising:

[0005] Obtain the image to be printed;

[0006] Displays the color scheme of the image to be printed, as well as color adjustment options for adjusting the properties of the color scheme;

[0007] The special color scheme is determined based on the user's selection, and the desired target attributes of the special color scheme are determined based on the user's operation of the color adjustment options.

[0008] The image to be printed, the special color scheme, and the desired target attributes of the special color scheme are sent to the image forming device.

[0009] In one possible implementation, before displaying the color scheme included in the image to be printed, the method further includes:

[0010] Analyze the color distribution of the image to be printed;

[0011] The image to be printed is divided into multiple color gamuts based on the color distribution of the image to be printed.

[0012] Perform chromaticity distribution statistics on each color gamut to obtain the gamut statistics results for each color gamut.

[0013] In one possible implementation, the statistical analysis of the color distribution of the image to be printed includes:

[0014] A color clustering algorithm is used to statistically analyze the color distribution of the image to be printed.

[0015] In one possible implementation, the step of performing chromaticity distribution statistics on each color gamut to obtain the color gamut statistical results for each color gamut includes:

[0016] Obtain the RGB data for each color gamut;

[0017] The RGB data of each color gamut are converted to CI ELAB color space to obtain the LAB data of each color gamut;

[0018] The LAB data for each color gamut is separated into L channel, A channel and B channel;

[0019] Based on the number of pixels in the A and B channels of each color gamut, chromaticity distribution statistics are performed on each color gamut to obtain the color gamut statistics results for each color gamut.

[0020] In one possible implementation, displaying the color scheme of the image to be printed includes:

[0021] The color system included in the image to be printed is displayed based on the color gamut statistics of each color gamut, as well as the value range of the L channel, A channel and B channel corresponding to each color system.

[0022] Secondly, embodiments of this application provide an image processing method applied to an image forming apparatus, the method comprising:

[0023] Receive the image to be printed, the special color scheme, and the desired target attributes of the special color scheme sent by the control device;

[0024] The dynamic update parameters of the color mapping table are obtained based on the special color system and the desired target attributes of the special color system.

[0025] At least one local color map is generated based on a preset global color map and the dynamic update parameters of the color map, wherein one local color map corresponds to one special color system.

[0026] The image to be printed is color-converted according to the preset global color mapping table and the local color mapping table to obtain multiple color-converted images;

[0027] The multiple color-converted images are subjected to image fusion processing to obtain a fused image;

[0028] Print out the fused image.

[0029] In one possible implementation, at least one local color map is generated based on a preset global color map and the dynamic update parameters of the color map, including:

[0030] The preset global color mapping table is separated according to the dynamic update parameters of the color mapping table to obtain at least one separated mapping table.

[0031] Based on the dynamically updated parameters of the color mapping table, at least one of the separate color mapping tables is interpolated and fitted to generate at least one local color mapping table.

[0032] In one possible implementation, the image to be printed is subjected to color conversion processing based on the preset global color mapping table and the local color mapping table to obtain multiple color-converted images, including:

[0033] Perform a color separation operation on the image to be printed to obtain the color system included in the image to be printed;

[0034] Determine whether the color system belongs to a special color system;

[0035] When the color system belongs to a special color system, the color system is converted according to the local color mapping table corresponding to the special color system to obtain the first color conversion image;

[0036] When the color system does not belong to a special color system, the color system is subjected to color conversion processing according to the preset global color mapping table to obtain a second color conversion image;

[0037] The step of performing image fusion processing on the multiple color-converted images to obtain a fused image includes:

[0038] The first color-converted image and the second color-converted image are subjected to image fusion processing to obtain a fused image.

[0039] In one possible implementation, determining whether the color system belongs to a special color system includes:

[0040] Convert the RGB data of the image corresponding to the color system into LAB data;

[0041] Determine whether the color system belongs to a special color system based on the Euclidean distance of the LAB data corresponding to the color system.

[0042] In one possible implementation, the step of performing color conversion processing on the color system according to the local color mapping table corresponding to the special color system includes:

[0043] The color system is subjected to color conversion processing by selecting the local color map with the smallest Euclidean distance.

[0044] Thirdly, embodiments of this application provide a control device, including:

[0045] The acquisition unit is used to acquire the image to be printed;

[0046] The display unit is used to display the color scheme included in the image to be printed, and color adjustment options for adjusting the properties of the color scheme;

[0047] The determining unit is used to determine a special color scheme based on the user's selection, and to determine the desired target attributes of the special color scheme based on the user's operation on the color adjustment options;

[0048] The sending unit is used to send the image to be printed, the special color scheme, and the desired target attributes of the special color scheme to the image forming device.

[0049] Fourthly, embodiments of this application provide an image forming apparatus, including:

[0050] The receiving unit is used to receive the image to be printed, the special color scheme, and the desired target attributes of the special color scheme sent by the control device;

[0051] The acquisition unit is used to acquire the dynamic update parameters of the color mapping table based on the special color system and the expected target attributes of the special color system;

[0052] The generation unit is used to generate at least one local color mapping table according to a preset global color mapping table and the dynamic update parameters of the color mapping table, wherein one local color mapping table corresponds to one special color system.

[0053] A color conversion processing unit is used to perform color conversion processing on the image to be printed according to the preset global color mapping table and the local color mapping table to obtain multiple color conversion images;

[0054] The fusion unit is used to perform image fusion processing on the multiple color-converted images to obtain a fused image;

[0055] A printing output unit is used to print out the fused image.

[0056] In another aspect, embodiments of this application provide an image forming system, including a control device as described in any one of the first aspects and an image forming device as described in any one of the second aspects, wherein the control device and the image forming device are communicatively connected.

[0057] This application embodiment can display various color systems of the image to be printed on the control device, as well as color adjustment options for adjusting the attributes of each color system, so that users can adjust a certain color system individually according to their needs, which greatly facilitates the use of users and meets their special needs. Attached Figure Description

[0058] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0059] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of this application;

[0060] Figure 2 A schematic flowchart of an image processing method provided in an embodiment of this application;

[0061] Figure 3 This is a schematic diagram illustrating the effect of image color separation in an embodiment of this application;

[0062] Figure 4 A schematic diagram of color gamut statistics provided in an embodiment of this application;

[0063] Figure 5 A schematic diagram illustrating a control device displaying the color scheme and color adjustment options of an image to be printed, provided in an embodiment of this application;

[0064] Figure 6 This is a schematic diagram illustrating how to obtain desired target attributes for a specific color system, as provided in an embodiment of this application.

[0065] Figure 7 This is a representation of a dynamically generated local color map provided in an embodiment of this application;

[0066] Figure 8 A schematic diagram illustrating the generation of a local color mapping table for multiple color systems, provided in an embodiment of this application;

[0067] Figure 9 This application provides a schematic diagram of a color conversion process.

[0068] Figure 10 This application provides a schematic diagram of a printing output process for an image to be printed.

[0069] Figure 11 This is a schematic diagram of the structure of a control device provided in an embodiment of this application;

[0070] Figure 12 This is a schematic diagram of the structure of an image forming apparatus provided in an embodiment of this application;

[0071] Figure 13 This is a schematic diagram of the structure of an image forming system provided in an embodiment of this application. Detailed Implementation

[0072] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0073] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0074] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0075] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0076] See Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application. For example... Figure 1 As shown, this application scenario includes a control device 110 and an image forming apparatus 120. The control device 110 and the image forming apparatus 120 are interconnected via a wired or wireless communication network for information transmission. During the image forming process, the control device 110 determines the target output color of the image to be printed based on user operations and sends the image to be printed and its target output color to the image forming apparatus 120, which then performs the image printing operation.

[0077] The communication network between the control device 110 and the image forming apparatus 120 can be a local area network (LAN) or a wide area network (WAN) relayed through a relay device. When the communication network is a LAN, for example, it can be a short-range communication network such as a Wi-Fi hotspot network, a Wi-Fi P2P network, a Bluetooth network, a Zigbee network, or a near-field communication (NFC) network. When the communication network is a WAN, for example, it can be a 3G network, a 4G network, a 5G network, a future public terrestrial mobile network (PLMN), or the Internet.

[0078] It should be pointed out that, Figure 1 This is merely an illustrative description and should not be construed as limiting the scope of protection of this application. For example, the image forming apparatus 120 includes, but is not limited to, printers, copiers, fax machines, multi-function image making and copying apparatuses, electrostatic printing apparatuses, and any other similar apparatus. The control device 110 includes, but is not limited to, electronic devices capable of communicating with the image forming apparatus 120, such as computers, mobile phones, tablets, enterprise internal servers, and cloud servers. In some possible implementations, the control device 110 may also be referred to as a host computer, mainframe, etc.

[0079] During color printing, users edit image colors using control devices and print them out via image forming devices after confirming the colors are correct. However, the interactive interface provided by the control devices often only allows adjustment of the overall image colors, such as adjusting the image colors according to a certain style. This leaves unmet needs for users with specific requirements, such as needing to adjust certain colors in an image individually.

[0080] Meanwhile, the display screen of the control device typically conforms to optical color spaces such as RGB or YCbCr. The RGB color space uses pixel values ​​for red (R), green (G), and blue (B), with R, G, and B ranging from 0 to 255. The YCbCr color space uses luminance (Y), blue chromaticity component (Cb), and red chromaticity component (Cr) for description. Image forming equipment, on the other hand, creates different colors by varying the concentration of toners, typically using the CMYK color space. Therefore, after receiving a color printing job, the image forming equipment needs to convert the optical color space of the job to the printing color space.

[0081] Because both the electronic display screen of the control equipment and the imaging components of the image forming equipment have certain hardware characteristics, there is no fixed conversion formula from optical color space to printing color space. For example, different image forming equipment may have different laser scanning precision, laser power control precision, and toner concentration control precision, all of which will affect the color effect. Moreover, the principles of RGB space and CMYK are different. RGB display screens emit light of different wavelengths and superimpose them to produce direct optical stimulation to the human eye; while different CMY pigments on paper superimpose and absorb light of corresponding wavelengths, and the human eye sees the light reflected after absorption by the pigments. Therefore, to ensure high color reproduction of an image forming device, color space conversion relationships need to be pre-stored before the image forming device leaves the factory. For example, one or more mapping tables store which CMY or CMYK values ​​a specific set of RGB values ​​should be converted to. Each conversion relationship in the table can be measured and determined by the image forming device manufacturer. Such mapping tables are generally called 3D (Three-Dimensional) mapping tables.

[0082] However, image forming equipment manufacturers find it difficult to calculate the mapping relationship for every set of RGB values. Assuming each R / G / B value ranges from 0 to 255, there are a total of 16.77 million possible combinations, resulting in enormous measurement costs. Furthermore, the human eye cannot easily distinguish so many different colors, making the cost-effectiveness of calculating each set of color values ​​low. Therefore, image forming equipment typically only selects and stores a subset of mapping relationships at intervals (e.g., storing 5000 sets). However, some users have specific color requirements, and the above strategy cannot meet these needs. For example, some users want images input into the image forming equipment to be printed with high fidelity.

[0083] In related technologies, image forming devices interpolate a 3-D mapping table based on user preferences. However, the result of this interpolation remains in the 3-D mapping table, causing the images output by the same image forming device to reflect the user's preferences and failing to meet the needs of other users.

[0084] To address the aforementioned issues, embodiments of this application provide an image processing method, a control device, an image forming apparatus, and a system. Embodiments of this application can display various color systems included in the image to be printed, as well as color adjustment options for adjusting the attributes of each color system, on the control device. This allows users to adjust a specific color system individually according to their needs, greatly facilitating user operation and meeting specific user requirements. Furthermore, embodiments of this application can determine a local color map corresponding to the user-selected special color system and the attribute adjustments made to that special color system. Using the local color map for color conversion processing of the special color system ensures the color reproduction quality of the output image. Moreover, the local color map does not affect the global color map (i.e., the aforementioned 3-D map), thus preventing all images output by the image forming apparatus from reflecting the user's preferences.

[0085] The following is a detailed description with reference to the accompanying drawings.

[0086] See Figure 2 This is a schematic flowchart illustrating an image processing method provided in an embodiment of this application. This method is applicable to... Figure 1 The application scenarios shown are as follows: Figure 2 As shown, the specific steps include:

[0087] S201: Control device acquires image to be printed.

[0088] In this embodiment, the image to be printed acquired by the control device is a color image, meaning the image to be printed includes multiple colors. The image to be printed can originate from images stored in the control device, images obtained through online searches, or images uploaded by the user; this embodiment does not impose specific requirements on these sources.

[0089] S202: The control device displays the color scheme of the image to be printed, as well as color adjustment options for adjusting the properties of the color scheme.

[0090] After the control device acquires the image to be printed, it parses and processes the image, and displays the color scheme included in the image to be printed, as well as color adjustment options for adjusting the attributes of the color scheme, based on the parsing and processing results.

[0091] In one possible implementation, for the acquired image to be printed, the control device first counts the color distribution of the image to be printed, then divides the image into multiple color gamuts based on the color distribution, and then counts the color distribution of each color gamut to obtain the color gamut statistics of each color gamut of the image to be printed. Based on the color gamut statistics of each color gamut, the color system included in the image to be printed is displayed on the UI interface.

[0092] In one possible implementation, the control device can employ a color clustering algorithm, such as K-means, to statistically analyze the color distribution of the image to be printed. Specifically, the color space of the image to be printed is determined, such as RGB or LAB. Color component separation rules are set according to the color space of the image to be printed, and the color system of the image to be printed is separated according to these rules, thereby statistically analyzing the color distribution of the image to be printed.

[0093] For example, if the color space of the image to be printed is RGB color space, color separation can be performed by setting the magnitude relationship between R, G, and B. For example, to separate the red color system, a threshold value can be set between the difference between the R and G / B components. When R–G > the first threshold value and R–B > the first threshold value, the color can be considered as red (other color system separations are similar, and for the sake of brevity, this application embodiment will not be described in detail here).

[0094] For example, if the color space of the image to be printed is the LAB color space, color separation can be performed by setting the size relationship between the A and B components. The separation process is similar to that of the RGB space. For example, the red color system can be separated because in the LAB space, the value of the A channel represents the red-green color system. The range of the A value can be set. When a∈[0, second threshold], the color can be considered as the red color system (other separations are similar, and for the sake of brevity, the embodiments of this application will not be described in detail here).

[0095] After separating the color systems of the image to be printed, we can know the color systems included in the image and the range of each color system, thus obtaining the color distribution of the image to be printed.

[0096] In one possible implementation, based on the color distribution of the image to be printed, the image can be divided into multiple color gamuts according to the included color systems, where each color gamut corresponds to a color system. For example, as shown... Figure 3 As shown, the image to be printed 300 includes red, green and blue color schemes. After dividing the image to be printed 300 into color gamuts, the image corresponding to each color gamut can be obtained: image 310 corresponding to the first color gamut (red), image 320 corresponding to the second color gamut (green), and image 330 corresponding to the third color gamut (blue).

[0097] In one possible implementation, chromaticity distribution statistics are performed on each color gamut of the image to be printed to obtain the gamut statistical results for each color gamut. Specifically, this includes: acquiring the RGB data of each color gamut of the image to be printed; converting the RGB data of each color gamut to CI ELAB color space to obtain LAB data for each color gamut; separating the LAB data of each color gamut into L channel, A channel, and B channel; and performing chromaticity distribution statistics on each color gamut based on the number of pixels in the A and B channels to obtain the gamut statistical results for each color gamut. For example, the gamut statistical results can be referenced... Figure 4 The table shown provides statistics based on color category, number of pixels, color value range, and sorting order. Color categories include color scheme 1, color scheme 2, ..., color scheme n. The number of pixels can be arranged in descending order, i.e., A for color scheme 1 > B for color scheme 2 > ... > N for color scheme n. The color value range can include L, A, and B values ​​in the LAB color space. Of course, in practical applications, users can design the table content according to their needs; this embodiment does not impose specific requirements on this.

[0098] After obtaining the color gamut statistics results, the color systems included in the image to be printed can be displayed on the UI interface according to the color gamut statistics results. The order in which the color systems are displayed on the UI interface is not specifically required in this application embodiment. For example, the color systems included in the printed image can be displayed in order of increasing number of pixels, or in order of decreasing number of pixels, or according to user preference, etc.

[0099] In one possible implementation, when displaying the color systems included in the image to be printed, the value ranges of the L channel, A channel, and B channel corresponding to each color system can also be displayed, making it convenient for users to adjust the channel range of the color system and ensuring that the selection of each color system meets the user's needs.

[0100] It should be noted that the color schemes displayed on the UI are sample colors for the corresponding color schemes.

[0101] In one possible implementation, to facilitate user adjustments to each color family, the control device interface will also display color adjustment options for adjusting color family attributes, such as brightness, saturation, and desired R / G / B values. For example, ... Figure 5As shown, when a user selects a color scheme to adjust, such as color scheme 1, the color adjustment options are automatically associated with that color scheme for adjusting its attributes. Users can adjust the attribute values ​​of the color scheme using a slider or manually input the desired target attributes. Furthermore, after the user adjusts the corresponding attributes, the changes to the color scheme are displayed on the interface, allowing the user to easily check if the desired effect is achieved. Figure 5 The changes in color scheme 1 after adjustment are shown in the image.

[0102] S203: The control device determines the special color scheme based on the user's selection, and determines the desired target attributes of the special color scheme based on the user's operation of the color adjustment options.

[0103] Based on the UI interface settings of this application, users can select the color scheme type requiring special processing according to their preference for different colors. This special processing includes targeted adjustments to the brightness and saturation of the color scheme, as well as manually setting the desired R / G / B values ​​for the corresponding color scheme. Of course, in practical applications, other attribute values ​​requiring special processing can also be designed; this embodiment does not specifically require such special processing.

[0104] The control device determines the special color scheme based on the user's selection, that is, the type of color scheme that needs special processing, and determines the desired target attributes of the special color scheme based on the user's operation of the color adjustment options.

[0105] For example, such as Figure 6 As shown, the control device determines the special color system as red according to the user's selection. The color range parameters of red are (235,31,9), (245,33,51) and (250,92,64). After the user adjusts the brightness, saturation, and desired R / G / B values ​​according to the color range parameters of red, the color target parameters, i.e. the desired target attributes, are obtained, which are (231,71,57), (233,79,95) and (255,133,122).

[0106] This application embodiment can display various color systems included in the image to be printed on the control device, as well as color adjustment options for adjusting the attributes of each color system. This allows users to adjust a specific color system individually according to their needs, greatly facilitating user operation and meeting specific user requirements. Furthermore, the color system attribute adjustment interface designed in this application embodiment is very easy for users to understand.

[0107] S204: The control device sends the image to be printed, the special color scheme, and the desired target attributes of the special color scheme to the image forming device.

[0108] After determining the special color scheme and the desired target attributes of the special color scheme of the image to be printed, the control device can send the image to be printed, the special color scheme, and the desired target attributes of the special color scheme to the image forming device.

[0109] S205: The image forming apparatus obtains the dynamic update parameters of the color map table based on the special color system and the desired target attributes of the special color system.

[0110] After acquiring a special color system and its desired target attributes, the image forming device can obtain dynamic update parameters for the color map table based on the special color system and its desired target attributes. The dynamic update parameters for the color map table include the value range of the L / A / B channels of the special color system and the desired target attributes.

[0111] S206: The image forming apparatus generates at least one local color map based on a preset global color map and dynamic update parameters of the color map, wherein each local color map corresponds to a special color system.

[0112] In this embodiment, after obtaining the dynamic update parameters of the color map table, the image forming apparatus can perform separation processing on a preset global color map table according to the dynamic update parameters to obtain at least one separated color map table. Then, it performs interpolation fitting calculation on the at least one separated color map table according to the dynamic update parameters to generate at least one local color map table. Each separated color map table corresponds to a specific color system, and each local color map table corresponds to a specific color system.

[0113] like Figure 7 As shown, taking the red color family as an example, after interpolation and fitting calculations, a mapping table for all colors within the red family can be dynamically generated. This mapping table can also be called a local color mapping table for the red family. When there are n special color families, a local color mapping table for each special color family can be generated, such as... Figure 8 As shown.

[0114] It is understood that the preset global color map in this application embodiment is set at the factory of the image forming device and is a parameter that takes into account the overall effect of all colors. It will not change with the change of the printed content. On the other hand, the local color map is a color map of multiple local color systems that is automatically generated according to the user's preferences and will change with the change of the printed content.

[0115] This application embodiment, through a unique UI design, enables users to accurately express their printing intentions for the colors in a single color image when printing. This intention is then used as an input parameter for generating a local color map, thereby achieving an accurate expression of the user's printing intentions.

[0116] S207: The image forming device performs color conversion processing on the image to be printed according to the preset global color map table and local color map table to obtain multiple color-converted images.

[0117] In this embodiment of the application, after the image forming device obtains the local color map, it can perform color conversion processing on the image to be printed according to the preset global color map and the local color map to obtain multiple color-converted images.

[0118] In one possible implementation, such as Figure 9 As shown, the image forming device performs color conversion processing on the image to be printed according to a preset global color map and a local color map, resulting in multiple color-converted images. The specific steps include:

[0119] S901: Perform a color separation operation on the image to be printed to obtain the color system included in the image to be printed;

[0120] This step can refer to the color gamut segmentation process in the above embodiment, and will not be repeated here for the sake of brevity.

[0121] S902: Determine whether it belongs to a special color system;

[0122] For each color system of the obtained image to be printed, determine whether it belongs to a special color system. If it belongs to a special color system, execute S903; otherwise, execute S904.

[0123] Specifically, the RGB data of the image corresponding to each color system can be converted into LAB data. The Euclidean distance of the LAB data corresponding to each color system is used to determine whether the color system belongs to a special color system. If the Euclidean distance of the LAB data corresponding to the color system is within the set range, the color system is considered to belong to a special color system. If the Euclidean distance of the LAB data corresponding to the color system is not within the set range, the color system is considered not to belong to a special color system.

[0124] S903: Perform color conversion processing on the color system according to the local color mapping table corresponding to the special color system to obtain the first color conversion image;

[0125] In practice, for colors belonging to special color systems, the local color map with the smallest Euclidean distance is selected to perform color conversion processing on the color system.

[0126] S904: Perform color conversion processing on the color system according to the preset global color mapping table to obtain the second color conversion image.

[0127] S208: The image forming device performs image fusion processing on multiple color-converted images to obtain a fused image.

[0128] After obtaining multiple color images, image fusion processing is performed on the multiple color images to obtain a fused image. For example, after obtaining a first color-converted image and a second color-converted image, image fusion processing is performed on the first color-converted image and the second color-converted image to obtain a fused image.

[0129] It should be noted that the image fusion processing can be referred to in the description of related technologies. For the sake of brevity, the embodiments of this application will not be described in detail here.

[0130] S209: Image forming equipment prints out a fused image.

[0131] For example, such as Figure 10 As shown, after color gamut separation of the image to be printed, region maps of red, green, and blue are obtained. Based on each region map, it is determined whether the color system belongs to a special color system, and the corresponding color mapping table is used for color conversion processing. For example, the special color system of red uses the red local color mapping table, the special color system of green uses the green global color mapping table, and the non-special color system of blue uses the preset global color mapping table. Color conversion images of red, green, and blue are obtained respectively. After merging the color conversion images of red, green, and blue, a merged image is obtained and printed out.

[0132] This application embodiment can perform color distribution analysis on each single color image to be printed, and dynamically generate a corresponding local color mapping table based on the color distribution characteristics of the single image. Since the local color table is represented in the form of an independent configuration file and changes with the image to be printed, the color preference reflected in the local mapping table will not affect the global mapping table, and thus will not cause all images output by the image forming device to reflect the user's preference.

[0133] The embodiments of this application can ensure that the colors after the user adjusts the attributes are within the range of the mapping table, thus ensuring the color reproduction quality of the image to be printed.

[0134] Corresponding to the above embodiments, this application also provides a schematic diagram of the structure of a control device.

[0135] See Figure 11 This is a schematic diagram of the structure of a control device provided in an embodiment of this application. Figure 11As shown, the control device 1100 includes: an acquisition unit 1101 for acquiring an image to be printed; a display unit 1102 for displaying the color scheme included in the image to be printed, and color adjustment options for adjusting the attributes of the color scheme; a determination unit 1103 for determining a special color scheme based on the user's selection, and determining the desired target attributes of the special color scheme based on the user's operation on the color adjustment options; and a transmission unit 1104 for transmitting the image to be printed, the special color scheme, and the desired target attributes of the special color scheme to an image forming device.

[0136] For details of the embodiments of this application, please refer to the description of the above method embodiments. For the sake of brevity, they will not be repeated here.

[0137] Corresponding to the above embodiments, this application also provides a schematic diagram of the structure of an image forming apparatus.

[0138] See Figure 12 This is a schematic diagram of the structure of an image forming apparatus provided in an embodiment of this application. Figure 12 As shown, the image forming apparatus 1200 includes: a receiving unit 1201, used to receive a printable image, a special color system, and desired target attributes of the special color system sent by a control device; an acquisition unit 1202, used to acquire dynamic update parameters of a color mapping table based on the special color system and the desired target attributes of the special color system; a generation unit 1203, used to generate at least one local color mapping table based on a preset global color mapping table and the dynamic update parameters of the color mapping table, wherein one local color mapping table corresponds to one special color system; a color conversion processing unit 1204, used to perform color conversion processing on the printable image based on the preset global color mapping table and local color mapping table to obtain multiple color conversion images; a fusion unit 1205, used to perform image fusion processing on the multiple color conversion images to obtain a fused image; and a print output unit 1206, used to print out the fused image.

[0139] For details of the embodiments of this application, please refer to the description of the above method embodiments. For the sake of brevity, they will not be repeated here.

[0140] Corresponding to the above embodiments, this application also provides a schematic diagram of the structure of an image forming system.

[0141] See Figure 13 This is a schematic diagram of the structure of an image forming system provided in an embodiment of this application. Figure 13 As shown, the image forming system 1300 includes: Figure 11 Control device 1100 and Figure 12 The image forming apparatus 1200 is communicatively connected to the control device 1100.

[0142] For details of the embodiments of this application, please refer to the description of the above method embodiments. For the sake of brevity, they will not be repeated here.

[0143] Corresponding to the above embodiments, this application also provides a computer-readable storage medium, wherein the computer-readable storage medium may store a program, wherein when the program runs, it can control the device where the computer-readable storage medium is located to execute some or all of the steps in the above method embodiments. Specifically, the computer-readable storage medium may be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0144] In a specific implementation, this application also provides a computer program product, wherein the computer program product includes executable instructions, which, when executed on a computer, cause the computer to perform some or all of the steps in the various embodiments of the image processing method provided in this application.

[0145] Those skilled in the art will clearly understand that the techniques in the embodiments of this application can be implemented using software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions in the embodiments of this application, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application or some parts of the embodiments.

[0146] The same or similar parts between the various embodiments in this specification can be referred to mutually. In particular, the device embodiments and terminal embodiments are basically similar to the method embodiments, so the description is relatively simple, and the relevant parts can be referred to the description in the method embodiments.

Claims

1. An image processing method, characterized by, The method applied to a control device comprises: acquiring a to-be-printed image; displaying color systems included in the to-be-printed image and color adjustment options for adjusting attributes of the color systems; determining a special color system according to a user's selection and determining desired target attributes of the special color system according to the user's operation on the color adjustment options; sending the to-be-printed image, the special color system and the desired target attributes of the special color system to an image forming device; before displaying the color systems included in the to-be-printed image, the method further comprises: counting color distribution of the to-be-printed image; color gamut segmentation of the to-be-printed image according to the color distribution of the to-be-printed image to obtain a plurality of color gamuts; color distribution statistics of each of the color gamuts to obtain color gamut statistics of each of the color gamuts; the displaying of the color systems included in the to-be-printed image comprises: displaying the color systems included in the to-be-printed image according to the color gamut statistics of each of the color gamuts.

2. The method of claim 1, wherein, the counting of the color distribution of the to-be-printed image comprises: counting the color distribution of the to-be-printed image by using a color clustering algorithm.

3. The method of claim 1, wherein, the color distribution statistics of each of the color gamuts to obtain the color gamut statistics of each of the color gamuts comprises: acquiring RGB data of each of the color gamuts; performing CIELAB color space conversion on the RGB data of each of the color gamuts respectively to obtain LAB data of each of the color gamuts; separating the LAB data of each of the color gamuts into L channel, A channel and B channel; performing color distribution statistics of each of the color gamuts according to the number of pixel points in the A channel and the B channel of each of the color gamuts to obtain the color gamut statistics of each of the color gamuts.

4. The method of claim 3, wherein, the displaying of the color systems included in the to-be-printed image comprises: displaying the value range of the L channel, the A channel and the B channel corresponding to each of the color systems included in the to-be-printed image according to the color gamut statistics of each of the color gamuts.

5. An image processing method characterized by, The method applied to an image forming device comprises: receiving a to-be-printed image, a special color system and desired target attributes of the special color system sent by a control device; acquiring dynamic update parameters of a color mapping table according to the special color system and the desired target attributes of the special color system; generating at least one local color mapping table according to a preset global color mapping table and the dynamic update parameters of the color mapping table, wherein one local color mapping table corresponds to one special color system; performing color conversion processing on the to-be-printed image according to the preset global color mapping table and the local color mapping table to obtain a plurality of color conversion images; performing image fusion processing on the plurality of color conversion images to obtain a fusion image; printing and outputting the fusion image; the generating of at least one local color mapping table according to a preset global color mapping table and the dynamic update parameters of the color mapping table comprises: performing separation processing on the preset global color mapping table according to the dynamic update parameters of the color mapping table to obtain at least one separated mapping table; performing interpolation fitting calculation on at least one of the separated mapping tables according to the dynamic update parameters of the color mapping table to generate at least one local color mapping table.

6. The method of claim 5, wherein, According to the preset global color mapping table and the local color mapping table, color conversion processing is performed on the to-be-printed image to obtain a plurality of color conversion images, including: color system separation operation is performed on the to-be-printed image to obtain a color system included in the to-be-printed image; it is judged whether the color system belongs to a special color system; when the color system belongs to a special color system, color conversion processing is performed on the color system according to the local color mapping table corresponding to the special color system to obtain a first color conversion image; when the color system does not belong to a special color system, color conversion processing is performed on the color system according to the preset global color mapping table to obtain a second color conversion image; the plurality of color conversion images are subjected to image fusion processing to obtain a fused image, including: the first color conversion image and the second color conversion image are subjected to image fusion processing to obtain a fused image.

7. The method of claim 6, wherein, the judgment of whether the color system belongs to a special color system includes: the image RGB data corresponding to the color system is converted into LAB data; it is judged whether the color system belongs to a special color system according to the Euclidean distance of the LAB data corresponding to the color system.

8. The method of claim 7, wherein, the color conversion processing of the color system according to the local color mapping table corresponding to the special color system includes: the local color mapping with the smallest Euclidean distance is selected to perform color conversion processing on the color system.

9. A control device characterized by comprising: including: an acquisition unit for acquiring a to-be-printed image; a display unit for displaying a color system included in the to-be-printed image and a color adjustment option for adjusting the attributes of the color system; a determination unit for determining a special color system according to the user's selection and determining the desired target attributes of the special color system according to the user's operation on the color adjustment option; a sending unit for sending the to-be-printed image, the special color system and the desired target attributes of the special color system to an image forming device; before displaying the color system included in the to-be-printed image, the device is further used for: statistically analyzing the color distribution of the to-be-printed image; color gamut segmentation is performed on the to-be-printed image according to the color distribution of the to-be-printed image to obtain a plurality of color gamuts; statistical analysis is performed on the chroma distribution of each color gamut to obtain the color gamut statistical result of each color gamut; the display of the color system included in the to-be-printed image includes: the color system included in the to-be-printed image is displayed according to the color gamut statistical result of each color gamut.

10. An image forming apparatus characterized by comprising: including: a receiving unit for receiving the to-be-printed image, the special color system and the desired target attributes of the special color system sent by the control device; an acquisition unit for acquiring dynamic update parameters of a color mapping table according to the special color system and the desired target attributes of the special color system; a generation unit for generating at least one local color mapping table according to a preset global color mapping table and the dynamic update parameters of the color mapping table, wherein one local color mapping table corresponds to one special color system; a color conversion processing unit for performing color conversion processing on the to-be-printed image according to the preset global color mapping table and the local color mapping table to obtain a plurality of color conversion images; The fusion unit is used to perform image fusion processing on the multiple color-converted images to obtain a fused image; A printing output unit is used to print out the fused image; The step of generating at least one local color map based on a preset global color map and the dynamic update parameters of the color map includes: The preset global color mapping table is separated according to the dynamic update parameters of the color mapping table to obtain at least one separated mapping table. Based on the dynamically updated parameters of the color mapping table, at least one of the separate color mapping tables is interpolated and fitted to generate at least one local color mapping table.

11. An image forming system characterized by comprising: The device includes the control device of claim 9 and the image forming apparatus of claim 10, wherein the control device and the image forming apparatus are communicatively connected.

Citation Information

Patent Citations

  • Printing method, processor, image forming apparatus, and computer readable storage medium

    CN115826889A

  • Printing device, printing method, and non-transitory computer-readable storage medium for displaying preview images corresponding to results of gamut mapping processes

    US20230384987A1