Visual space color gamut model establishment method and interaction method
By establishing a visual spatial color gamut model, the problem of difficult color matching in solid-color inkjet printing is solved, the intuitiveness and balance of color selection are achieved, and the efficiency of color communication and production efficiency are improved.
Patent Information
- Application Number
- CN202411282302.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-09-13
AI Technical Summary
In solid-color inkjet printing technology, the lack of effective color matching methods prevents designers from quickly replicating the required colors, which reduces the efficiency of color communication and proofing production, and it is difficult to achieve color matching between color design and production suppliers with existing technology. consistency.
By establishing a visual space color gamut model and using a three-dimensional color model to convert the traditional color model into an intuitive and balanced representation, users can make color matching and selection more conveniently, and achieve accurate mapping and continuous changes of color data.
It improves the intuitiveness and balance of color selection, enhances the expressiveness of data visualization, simplifies the color matching process, enables users to quickly and accurately find the required colors, and improves color communication efficiency and production efficiency.
Smart Images

Figure CN118799502A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of digital printing technology, and in particular to a method for establishing a visualized spatial color gamut model and an interactive method. Background Art
[0002] At present, in the field of pure color inkjet printing technology, the color matching process is mainly to linearize the inkjet printing first, limit the amount of monochrome ink, and then print a fixed color table set, measure the color data LAB value of the color table set (Lab value is an important color control management indicator in the color system), and generate an ICC characteristic file related to this printing device through professional color management software such as Neostarpa. When the image needs to be printed, the printing software reads the image color information RGB or CMYK (printing four-color separation mode) of the design file, and converts the color into CMYK or multi-channel color separation information of this inkjet printer through the CMM color conversion module.
[0003] Solid color printing in the textile industry cannot meet the designer's requirements for more colors because there is no standardized connection and definition of the actual inks and printing fabrics used for "printable colors" and the subsequent process flow, and there is a lack of a color system and database establishment method to manage the colors in the color gamut space that the printer can achieve. As a result, designers are unable to choose colors according to their needs. In addition, when making physical colors, each specific color needs to be mixed with dyes for traditional dyeing in dye vats, and the final satisfactory color is selected through color difference data and visual evaluation. The color gamut dye is limited by the color mixing characteristics of the dye, resulting in some colors that cannot be quickly copied, thereby failing to improve the problem of color communication consistency between the color design end and the production supplier, reducing the efficiency of color communication and proofing production efficiency. Summary of the invention
[0004] The purpose of the embodiment of the present application is to provide a method for establishing a visual space color gamut model and an interactive method, which realizes the optimal use of the color space by converting the traditional color model into a three-dimensional display, making the color selection and change more intuitive and balanced. Users can more conveniently match colors and find colors accurately and quickly.
[0005] In a first aspect, the present application provides a method for establishing a visual space color gamut model, the method comprising: establishing a three-dimensional color model; wherein the three-dimensional color model uses a hue ring as a reference plane, establishes a lightness axis perpendicular to the reference plane, uses lightness values to represent positions along the lightness axis, and uses chroma values to represent radial spatial distance values from the center of the hue ring to any point; obtains first color data, and maps the first color data to a corresponding position in the three-dimensional color model; based on the first color data and the position of the first color data in the three-dimensional color model, generates a visual color sample representing the first color data; and arranges a number of the visual color samples to construct a visual space color gamut model.
[0006] In one embodiment, after the three-dimensional color model is established, the method further includes the following steps: obtaining a first threshold range of the hue ring to define a hue range; obtaining a second threshold range of the lightness value to define a height range; obtaining a third threshold range of the chroma value to define a radial distance range; and presenting the three-dimensional color model as a regular sphere according to the first threshold range, the second threshold range, and the third threshold range.
[0007] In one embodiment, the obtaining of the first color data includes the following steps: obtaining discrete color data, wherein the discrete color data is obtained by discretizing a preset basic color model based on a preset data screening strategy; obtaining a conversion relationship between the basic color model and the three-dimensional color model, and converting the discrete color data into corresponding first color data in the three-dimensional color model, wherein the three-dimensional color model is different from the basic color model.
[0008] In one embodiment, the discrete color data is obtained by discretizing a preset basic color model based on a preset data screening strategy, including the following steps: the discrete color data is based on using a preset selected color difference value, and the colors in the basic color model are discretized according to the equidistance principle to generate a series of discrete color data with uniform color difference to obtain the discrete color data.
[0009] In one embodiment, the discrete color data is based on using a preset selected color difference value to discretize the colors in the basic color model according to the equidistant principle to generate a series of discrete color data with uniform color difference, and the discrete color data is obtained, including the following steps: based on using the preset selected color difference value as the side length of the regular polyhedron, and constructing a regular polyhedron array by a spatial paving method to divide the preset basic color model; determining the reference color point data of the basic color model; the reference color point data coincides with the vertex or center point of a regular polyhedron in the regular polyhedron array, and obtaining the equidistant color difference discrete point data of each vertex of the regular polyhedron in the basic color model, to obtain the discrete color data.
[0010] In one embodiment, the discrete color data is based on using a preset selected color difference value to discretize the colors in the basic color model according to the equidistant principle to generate a series of discrete color data with uniform color difference, and the discrete color data is obtained, which also includes the following steps: obtaining a color difference value series with multiple gradient levels, wherein any gradient level corresponds to a color difference value; based on each of the gradient levels in the color difference value series, determining the color difference value as a selected color difference value, and based on each of the selected color difference values, obtaining the corresponding discrete color data by discretizing the preset basic color model.
[0011] In one embodiment, the following steps are also included: based on the discrete color data corresponding to each selected color difference value, a corresponding visualization space color gamut model is constructed, thereby constructing multiple visualization space color gamut models corresponding to multiple gradient level color difference values in the color difference value series.
[0012] In one embodiment, the discretization of the colors in the basic color model according to the equidistant principle includes the following steps: the basic color model includes three dimensions: lightness value, redness-greenness value, and yellowness-blueness value; the colors in the basic color model are discretized according to the equidistant principle of the three dimensions: lightness value, redness-greenness value, and yellowness-blueness value.
[0013] In one embodiment, the lightness value, the redness-greenness value, and the yellowness-blueness value based on the basic color model further include: obtaining a fourth threshold range of the lightness value to define a brightness range; obtaining a fifth threshold range of the redness-greenness value to define a redness-greenness range; and obtaining a sixth threshold range of the yellowness-blueness value to define a yellowness-blueness range.
[0014] In a second aspect, the present application provides a method for interacting with a visualized space color gamut model, the method comprising the following steps: determining first color data in response to a user's color gamut model selection operation; displaying a visualized space color gamut model corresponding to the first color data on a user interface; wherein the visualized space color gamut model is constructed as described in any one of the embodiments of the first aspect of the present application: establishing a three-dimensional color model; wherein the three-dimensional color model uses a hue ring as a reference plane, establishes a lightness axis perpendicular to the reference plane, uses lightness values to represent positions along the lightness axis, and uses chroma values to represent radial spatial distance values from the center of the hue ring to any point outward; obtains first color data, and maps the first color data to a corresponding position in the three-dimensional color model; based on the first color data and the position of the first color data in the three-dimensional color model, generates a visualized color sample representing the first color data, and arranges a number of the visualized color samples to construct a visualized space color gamut model.
[0015] In one embodiment, in response to the user's color gamut model selection operation, first color data is determined; and a visualized space color gamut model corresponding to the first color data is displayed on a user interface; the following steps are included: in response to the user's color gamut model selection operation, based on a preset color difference value series with multiple gradient levels, any of the gradient levels corresponds to a color difference value, a color difference value is determined from the color difference value series as a selected color difference value; based on the corresponding relationship between the preset color difference value and the preset first color data, the first color data corresponding to the selected color difference value is determined; and the visualized space color gamut model constructed corresponding to the first color data is displayed on the user interface.
[0016] In one embodiment, the method further comprises the following step: in response to a color sample selection operation of the user for the visualization space color gamut model, determining that one or more of the visualization color samples are selected as target objects.
[0017] In one embodiment, the step of determining that one or more of the visualized color samples are selected as target objects in response to a user's color sample selection operation for the visualized space color gamut model also includes the following steps: determining that one or more of the visualized color samples are selected as preliminary target objects in response to a user's preliminary color sample selection operation for the visualized space color gamut model; generating one or more recommended target objects according to a preset recommendation strategy based on the preliminary target objects; and determining that one or more of the recommended target objects are selected as target objects from the recommended target objects in response to a user's final color sample selection operation for the visualized space color gamut model.
[0018] In one embodiment, the method of generating one or more recommended target objects based on the preliminary target object according to a preset recommendation strategy also includes the following steps: based on the preliminary target object, according to a preset color space distance threshold, determining a visual color sample whose color space distance from the preliminary target object is less than or equal to a specified threshold on the visualization space color gamut model as a recommended target object.
[0019] In one embodiment, the method of determining that one or more of the visualized color samples are selected as target objects in response to a user's color sample selection operation for the visualized space color gamut model also includes the following steps: receiving text input provided by the user; in response to the text input, calling a preset artificial intelligence model to perform semantic analysis on the text input to obtain semantic features associated with the text input; and based on the semantic features, determining the visualized color sample with the highest correlation with the semantic features as the target object on the visualized space color gamut model.
[0020] In one embodiment, the step of determining that one or more of the visualized color samples are selected as target objects in response to a user's color sample selection operation on the visualized space color gamut model further includes the following steps: receiving an image input provided by the user; extracting a main color of the image input in response to the image input; and determining, based on the main color, the visualized color sample closest to the main color on the visualized space color gamut model as a target object.
[0021] In one embodiment, the method further includes the following steps: in response to a user's color sample selection operation for the visualization space color gamut model, determining that one or more of the visualization color samples are highlighted in the visualization space color gamut model.
[0022] In one embodiment, the following steps are also included: in response to a user's color sample dragging operation on the visualization space color gamut model, determining a moving distance and a moving direction corresponding to the color sample dragging operation, determining a dragged distance of the visualization color sample based on the moving distance and the moving direction, and controlling the visualization color sample to move the dragged distance in the moving direction.
[0023] In one embodiment, the method further includes the following step: in response to a user's rotation operation on the visualized space color gamut model, rotating the visualized space color gamut model according to the rotation operation.
[0024] In one embodiment, the following step is also included: in response to a user's perspective operation on the visualization space color gamut model, a simulated field of view depth of the visualization space color gamut model is adjusted according to the perspective operation, so as to display a visualization color sample located inside the visualization space color gamut model on a user interface based on the simulated field of view depth.
[0025] In a third aspect, the present application provides a visualization space color gamut model establishment device, which is applied to the visualization space color gamut model establishment method as described in any embodiment of the first aspect of the present application, including: an establishment module, used to establish a three-dimensional color model; the three-dimensional color model uses a hue ring as a reference plane, establishes a lightness axis perpendicular to the reference plane, uses lightness values to represent the position along the lightness axis, and uses chroma values to represent the radial spatial distance value from the center of the hue ring to any point outward; an acquisition module, used to acquire first color data; a mapping module, used to map the first color data to a corresponding position in the three-dimensional color model; a construction module, used to generate a visualization color sample representing the first color data based on the first color data and the position of the first color data in the three-dimensional color model, and the visualization color sample arrangement constructs a visualization space color gamut model.
[0026] In a fourth aspect, the present application provides an electronic device, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute the visualization space color gamut model establishment method described in any one of the first aspects of the present application, or to execute the visualization space color gamut model interaction method described in any one of the second aspects of the present application.
[0027] In a fifth aspect, the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the method for establishing a visualization space color gamut model described in any one of the first aspects of the present application, or executes the method for interacting with the visualization space color gamut model described in any one of the second aspects of the present application.
[0028] In a sixth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it is used to execute the visualization space color gamut model establishment method described in any one of the first aspects of the present application, or to execute the visualization space color gamut model interaction method described in any one of the second aspects of the present application.
[0029] This application can more effectively display the relationship and trend between color data and enhance the expressiveness of data visualization through precise color mapping and continuous changes. By converting the traditional color model into a three-dimensional display, the color space is optimized, making color selection and changes more intuitive and balanced. Users can more conveniently match colors and find colors accurately and quickly, thus converting complex color theory into a simple and easy-to-understand visualization tool, allowing users to use colors more easily. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 A schematic diagram of a process for establishing a visual space color gamut model provided in an embodiment of the present application; Figure 2 A schematic diagram of a three-dimensional color model provided in an embodiment of the present application; Figure 3 A cross-sectional view of a three-dimensional color model provided in one embodiment of the present application; Figure 4 A schematic diagram of mapping the first color data provided by an embodiment of the present application into a three-dimensional color model; Figure 5 A schematic diagram of a visualization space color gamut model provided in an embodiment of the present application; Figure 6 A schematic diagram of spatial coordinates of a three-dimensional color model provided in one embodiment of the present application; Figure 7 A schematic diagram of a flow chart of a visualization space color gamut model interaction method provided in an embodiment of the present application; Figure 8 A schematic diagram of a device for establishing a visual space color gamut model provided in an embodiment of the present application; Fig. 9 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0032] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0033] Similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0034] The technical solution of the present application will be described below in conjunction with the accompanying drawings.
[0035] In the field of pure color inkjet printing technology, the color matching process is mainly through linearizing the printing equipment, limiting the amount of monochrome ink, and then printing a fixed color table set, measuring the color data Lab value of the color table set, and generating a printing characteristic file related to the printing device through professional color management software. The image color information of the design file is read through the printing software, and then the graphic color information is converted into multi-channel color separation information on the printing device.
[0036] However, the existing inkjet printing technology makes it difficult to achieve rapid color reproduction based on the characteristics of the printing equipment and the properties of the ink, which leads to reduced color communication efficiency between the color design end and the production supply end, and ultimately reduces printing production efficiency.
[0037] In order to solve the above technical problems, this application establishes a set of visual space color gamut models to realize the color realization path from computer color design to printing equipment that can be reproduced. By establishing a set of visual space color gamut models, it can provide users with a way to quickly obtain ideal printing colors, further improving the problem of poor color matching effect of printing equipment.
[0038] Please refer to Figure 1 , which is a flow chart of a method for establishing a visualization space color gamut model provided by an embodiment of the present application. The method of the present application is applied to a server side, and as an example, the server side can be a single computer or a computer cluster.
[0039] In this application, through precise color mapping and continuous changes, the relationship and trend between color data can be more effectively displayed, and the expressiveness of data visualization can be enhanced. By converting the traditional color model into a three-dimensional display, the color space is optimized, making color selection and changes more intuitive and balanced. Users can more easily compare the differences between different colors, match colors, and find colors accurately and quickly, thereby converting complex color theory into a simple and easy-to-understand visualization tool, allowing users to use colors more easily.
[0040] Specifically, the method for establishing a spatial color gamut model in the present application includes the following steps S110 to S130: Step S110: Establish a three-dimensional color model; wherein the three-dimensional color model uses the hue ring as a reference plane, establishes a lightness axis perpendicular to the reference plane, uses lightness values to represent positions along the lightness axis, and uses chroma values to represent radial spatial distance values from the center of the hue ring to any point.
[0041] In color science, the LCH color model is a color space based on human visual perception, which consists of three components: lightness (L), chroma (C), and hue (H). As an example, the three-dimensional color model described in this step can be used as an LCH color model.
[0042] Please refer to Figure 2 As shown in the figure, hue is the H component in the LCH color model, which describes the type of color, such as red, green, blue, etc. Hue is usually expressed as an angle, ranging from 0° to 360°, indicating the position of the color on the color wheel. In this step, when establishing a three-dimensional color model, the hue circle is used as the reference plane. The hue circle is divided into 24 hue areas, each of which is divided into 8 sub-color areas. The range of each color area is 1.875 degrees, and it is divided into 192 sub-color areas in total. Please refer to Figure 3 shown.
[0043] Lightness is the L component of the LCH color model, which describes the lightness of the color, that is, the brightness level of the color. The lightness value represents the position along the lightness axis, which can be expressed as a vector parameter in the direction perpendicular to the reference plane of the hue circle. The higher the lightness value, the brighter the color looks. On the contrary, the lower the lightness value, the darker the color looks.
[0044] Chroma is the C component in the LCH color model, which describes the purity or saturation of a color, that is, the intensity or vividness of the color. The chroma value represents the radial distance from the center of the hue circle to any point. The higher the chroma value, the more vivid the color looks, and the lower the chroma value, the softer the color looks or closer to gray.
[0045] It is understandable that the purpose of step S110 is to establish a spatial coordinate system of a three-dimensional color model, wherein the hue circle reference plane, chroma value, and lightness value represent the X, Y, and Z axes of the spatial coordinate system of the three-dimensional color model, respectively. Figure 2As shown. In the above embodiment, in the three-dimensional color model, the color perpendicular to the hue ring is used to represent the brightness, which is consistent with the human perception of linear changes in brightness, so that the user can intuitively adjust the brightness of the color. The gap distance from the center of the hue ring to the outside is used to represent the chroma, which is consistent with the human perception of radial changes in chroma, so that the user can adjust the vividness of the color by observation. The use of a circular hue ring to represent the hue perfectly matches the human learning of hue, making the relationship between adjacent colors clearer and easier to understand the concept of complementary colors. Therefore, users can more conveniently compare the differences between different colors, match colors, and find colors accurately and quickly.
[0046] Step S120: Acquire first color data, and map the first color data to a corresponding position in the three-dimensional color model.
[0047] The first color data may be a color required and defined by a user. The first color data includes: a hue parameter, a chroma value parameter, and a brightness value parameter of the color defined by the user.
[0048] For example, if a user needs to establish the color data of blue, based on the description of the three components of lightness, chroma, and hue in the previous text, it can be known that when the user determines the hue parameter, chroma value parameter, and lightness value parameter of the blue color, it indicates that the spatial coordinate system of the blue color in the three-dimensional color model is determined. According to the hue parameter data, chroma value data, and lightness value data of the blue color, the location of the blue color can be determined in the three-dimensional color model. Therefore, the user can find the unique position of the blue color in the three-dimensional color model coordinate system in the three-dimensional color model based on the color data of the set hue parameter, chroma value parameter, and lightness value parameter of the blue. Please refer to Figure 4 shown.
[0049] Step S130: generating a visualized color sample representing the first color data based on the first color data and the position of the first color data in the three-dimensional color model; and arranging a plurality of visualized color samples to construct a visualized space color gamut model.
[0050] When the user adjusts the chroma value of the blue color or the lightness value of the blue color as needed, the three-dimensional color model will present a color change effect of different chromas or lightness of the blue color. If the user needs to adjust the color, the hue can be adjusted, and then the chroma value and lightness value can be adjusted, so that the three-dimensional color model presents a color change effect of other colors other than blue to meet the color needs in different scenes.
[0051] Therefore, the user can generate a visualized color sample of the first color data (blue) according to the first color data (such as blue) and the position of the first color data in the three-dimensional color model. In the same way, visualized color samples of other colors can be obtained. According to the hue ring divided into 24 hue areas and 192 color separation areas as described above, the user can obtain a series of visualized color samples for representing 24 colors such as yellow, green, and red. The arrangement of visualized color samples of all 24 colors constitutes a visualized space color gamut model, please refer to Figure 5 shown.
[0052] In some embodiments, after step S110, the method further includes steps S111 to S114: Step S111: obtaining a first threshold range of the hue circle to define a hue range.
[0053] As mentioned above, hue is usually expressed as an angle, ranging from 0° to 360°, indicating the position of the color on the color wheel. Therefore, 0° to 360° is taken as the first threshold range of the hue circle to define the hue range.
[0054] Step S112: Obtain a second threshold range of brightness values to define a height range.
[0055] The range of brightness is usually from 0 (black) to 100 (white), indicating the lightness or darkness of the color. Therefore, 0%~100% is taken as the second threshold range of the brightness value to define the height range.
[0056] Step S113: Obtain a third threshold range of chroma values to define a radial distance range.
[0057] The range of chroma is usually from 0 (gray, no color) to infinity, but the maximum value of chroma is limited by the color gamut of the specific printing device or display device. In actual color selection, the maximum value of chroma is usually determined according to the capabilities and conditions of the printing device. Therefore, 0%~100% is taken as the third threshold range of chroma value to define the radial distance range.
[0058] Step S114: making the three-dimensional color model appear as a regular sphere according to the first threshold range, the second threshold range, and the third threshold range.
[0059] Through steps S111 to S113, the hue range, lightness range, and chroma range are defined respectively, which is equivalent to determining the coordinate ranges of the X-axis, Y-axis, and Z-axis in the spatial coordinate system of the three-dimensional color model, thereby constructing a three-dimensional color model showing a regular spherical shape, such as Figure 6 shown.
[0060] It can be understood that, in this spherical three-dimensional color model, each color data has a unique coordinate parameter in this spherical three-dimensional color model.
[0061] The three-dimensional color model represented by a sphere allows for more flexible color selection and adjustment in the three dimensions of hue, lightness, and chroma to meet the color requirements of different scenes. The three-dimensional color model represented by a sphere can generate and present color samples, providing a richer form of expression for data visualization.
[0062] Because when establishing a three-dimensional color model, the range of variation between the chroma value and the lightness value of colors in the same hue area is small, the color difference of the colors in the same hue area is small, and it is difficult to distinguish them with the human eye. When the colors are printed according to the colors in the visual space color gamut model through a printing device, it is even more difficult to distinguish the differences between each color.
[0063] To solve this problem, in some embodiments, step S111 may include steps S1111-S1112: Step S1111: obtaining discrete color data, where the discrete color data is obtained by discretizing a preset basic color model based on a preset data screening strategy.
[0064] Step S1112: obtaining a conversion relationship between a basic color model and a three-dimensional color model, and converting discrete color data into corresponding first color data in a three-dimensional color model, wherein the three-dimensional color model is different from the basic color model.
[0065] The basic color model refers to the color data represented by the color that the user sets to be printed, which should have hue value, lightness value, and chroma value. The purpose of discretizing the basic color model is to obtain a series of discrete color data with obvious color differences. If the obtained discrete color data is to be presented on a printing device to show the color difference effect of the color presented by the printing device, the discrete color data needs to be converted into the coordinate system of the three-dimensional color model according to the preset space conversion relationship. Because as long as the obvious color effect can be presented in the three-dimensional color model, then when the printing device performs the printing operation according to the corresponding color in the visualization space color gamut model, it can present a more obvious color printing effect.
[0066] In the above steps, a basic color model of a certain color customized by the user is discretized to make the color difference between adjacent colors in this type of color more obvious, and then the discrete color data after discretization is converted into a three-dimensional color model to construct a visual spatial color gamut model.
[0067] As an example, taking the blue color customized by the user as an example, the basic color model of blue is discretized so that the color difference between adjacent blue colors among all blue colors is larger, and then the blue discrete color data after discretization is converted to the corresponding blue color data in the three-dimensional color model.
[0068] In some embodiments, step S1111 may include step S11110: discrete color data is based on using a preset selected color difference value, discretizing the colors in the basic color model according to the equidistance principle to generate a series of discrete color data with uniform color difference to obtain discrete color data.
[0069] Color difference refers to the perceptible difference between two colors. The color difference value can be expressed as the brightness difference between two adjacent colors. The color difference value can be calculated using a variety of calculation formulas, such as CIE76, CIR94, CIEDE2000, CMC, etc. In this embodiment, the color difference calculation formula can be calculated using the CMC formula.
[0070] The CMC can be pre-set in the server's memory ( l :c) Color difference calculation formula, as shown in formula (1). According to the color difference calculation formula, the preset selected color difference value can be calculated. CMC( l :c) The color difference formula was recommended by the Color Measurement Committee (CMC) of the British Dyers Association in 1984. l :c) Color difference formula, introducing the brightness weight factor " l ” and chroma weighting factor “c”.
[0071] Formula (1) Given two colors A1 and A2, their chromaticity coordinates in the Lab color space are: Formula (2) in: Indicates the lightness coordinate value of color A1; Indicates the red / green coordinate value of color A1; Indicates the yellow / blue coordinate value of color A1; Indicates the lightness coordinate value of color A2; Indicates the red / green coordinate value of color A2; Indicates the yellow / blue coordinate value of color A2; l , c is a factor; l represents the brightness weight factor, which adjusts the relative width of brightness; c represents the chroma weight factor, which adjusts the relative width of chroma;
[0072]
[0073]
[0074] Formula (3) in: Indicates the brightness difference between color A1 and color A2; , Both represent the chromaticity difference between color A1 and color A2; is the total color difference, expressed as the Euclidean distance between the coordinates of two colors (e.g., color A1 and color A2) in three-dimensional space; Formula (4)
[0075] Formula (5)
[0076] in: Indicates the chroma value of color A1; Indicates the chroma value of color A2; Indicates the chroma difference between color A1 and color A2; Indicates the hue difference between color A1 and color A2.
[0077] In the CIELab color space, CMC ( l :c) The formula defines the visual volume around the standard color as an ellipse. The color inside the ellipse is visually the same as the standard color, while the color outside the ellipse is different from the standard color. The size and eccentricity of the ellipse vary throughout the CIELab color space. The characteristics of the ellipse centered on a given standard color are determined by the relative position of the standard color. , , The chromatic aberration formula CMC is defined by the ellipse equation ( l :c) As shown in the following formula (6): Formula (6) Formula (7) Formula (8) Formula (9) Formula (10) Formula (11) Among them, S L , S c With S H It is the semi-axis of the ellipse, and the semi-axis of the ellipse corresponds to the hue S H , Saturation S c , Brightness S L ; , , are the chromaticity parameters of standard color samples, among which, Indicates the brightness parameter of the standard color sample, Indicates the chroma parameter of the standard color sample, Indicates the hue parameters of the standard color sample; F and T are related to the hue angle ( ) is used to more accurately reflect the human eye's perception of color differences; where F is a correction term related to the hue angle ( ) and T is another correction term related to the hue angle ( ) related amendments; Indicates the hue angle difference; Indicates the red / green coordinate value; Indicates the yellow / blue coordinate value.
[0078] Luminance weight factor l The chroma weight factor c is used to adjust the influence of lightness and chroma on the total color difference, so different ratios should be used in different applications. A large number of tests have shown that when evaluating the acceptability of color difference, it is recommended to use l :c=2:1. For example, in the textile printing and dyeing industry, the CMC (2:1) formula is mostly used for product quality control. When evaluating the perceptibility of color difference, it is recommended to use l :c=1:1. For example, the CMC (1:1) formula is generally used in the color correction of digital systems, as well as in industries such as coatings and plastics.
[0079] After the selected color difference value is calculated, the colors in the basic color model are discretized according to the selected color difference value to generate a series of discrete color data with uniform color difference, thereby obtaining discrete color data.
[0080] As an example, the calculated color difference value of 5 can be selected as the color difference value for discretization processing, and the color difference value between the position of each color in the spatial coordinate system of the three-dimensional color model and the position of the adjacent color in the spatial coordinate system of the basic color model is 5. Therefore, according to the equidistance principle, the colors in the basic color model are discretized according to the equidistance color difference value of 5.
[0081] In some embodiments, step S11110 may specifically include steps S111101 to S111103: Step S111101: using a preset selected color difference value as the side length of a regular polyhedron and constructing a regular polyhedron array by a spatial tessellation method to divide a preset basic color model; Step S111102: Determine the reference color point data of the basic color model; Step S111103: The reference color point data coincides with the vertex or center point of a regular polyhedron in the regular polyhedron array, and the color difference discrete point data of the equidistant vertex of each regular polyhedron in the basic color model are obtained to obtain discrete color data.
[0082] In step S11110, the preset color difference value of 5 is calculated by the color difference calculation formula, and the color difference value 5 is used as the side length of the regular polyhedron to reconstruct a regular polyhedron array with a side length of 5. The regular polyhedron array can be used to divide data for the basic color model.
[0083] The reference color point data in the basic color model can be determined by selecting a point where the vertex or center point of a regular polyhedron in the regular polyhedron array coincides. Since the side length of the regular polyhedron is a fixed value, the equidistant color discrete point data formed by the vertices of each regular polyhedron in the basic color model can be used as discrete color data of the preset color.
[0084] In some other embodiments, step S11110 further includes: step S111104-step S111105: Step S111104: obtaining a color difference value sequence having multiple gradient levels, wherein any gradient level corresponds to one color difference value; Step S111105: Based on each gradient level in the color difference value series, determine the color difference value as the selected color difference value, and obtain corresponding discrete color data by discretizing the preset basic color model based on each selected color difference value.
[0085] The color difference value may be a non-fixed value, for example, a color difference value series is selected, and each gradient level corresponds to a color difference value. According to each gradient level in each color difference value series, the color difference value is determined to be the color difference value selected by the user, and then according to step S11110, the colors in the basic color model are discretized according to the equidistance principle to generate a series of discrete color data with uniform color difference, so as to obtain discrete color data.
[0086] Furthermore, the method further includes step S111106: constructing a corresponding visualization space color gamut model based on the discrete color data corresponding to each selected color difference value, thereby constructing multiple visualization space color gamut models corresponding to multiple gradient level color difference values in the color difference value series. According to the same steps, the basic color model is discretized for each gradient level selected color difference value in the color difference value series, and finally a series of discrete color data with uniform color difference corresponding to multiple gradient level color difference values in the color difference series is obtained, thereby forming multiple visualization space color gamut models.
[0087] In some other embodiments, step S11110 may further include step S111107: discretizing the colors in the basic color model according to the equidistance principle of the three dimensions of brightness value, red-green value, and yellow-blue value.
[0088] The basic color model includes three dimensions: lightness value, redness greenness value, and yellowness blueness value. In this step, the basic color model can be discretized according to the range standard of lightness value, redness greenness value, and yellowness blueness value as the equidistance principle.
[0089] As an implementation method, a fourth threshold range of lightness values is obtained to define a brightness range; a fifth threshold range of redness and greenness values is obtained to define a redness and greenness range; and a sixth threshold range of yellowness and blueness values is obtained to define a yellowness and blueness range.
[0090] In this embodiment, as an example, the brightness value range is taken as 0%~100% as the fourth threshold range to define the brightness range.
[0091] Please refer to Figure 3 As shown, the Lab color model consists of three elements: lightness L and two color channels a and b. The a channel represents the range of color variation from red to green, and the b channel represents the range of color variation from blue to yellow. The a channel value determines the degree of color deviation between red and green. The b channel value determines the degree of color deviation between yellow and blue. It can be understood that the range of variation of the brightness channel in the Lab color model is 0% to 100% in the fourth threshold range of the brightness value described in this embodiment.
[0092] The a channel value in the Lab color model can vary from -120 to +120, where +120a represents red and -120a represents green. -120 to +120 can be defined as the fifth threshold range of the red-green value. By adjusting the a channel value to control the red or green component, accurate adjustment and description of the color can be achieved.
[0093] The b channel value in the Lab color model can vary from -120 to +120, where +120 represents yellow and -120 represents blue. -120 to +120 can be defined as the sixth threshold range of the yellow-blue value. By adjusting the b channel value to control the yellow or blue component, accurate adjustment and description of the color can be achieved.
[0094] In the above-mentioned embodiment, the discretization processing method based on the equidistant principle of multi-level data can realize equidistant color selection of multiple data levels in the three-dimensional color model, ensuring the consistency and comparability of data representation.
[0095] Please refer to Figure 7 The present application provides a visualization space color gamut model interaction method, including steps S210 to S220: Step S210: determining first color data in response to a color gamut model selection operation by a user; Step S220: Displaying a visualized space color gamut model corresponding to the first color data on a user interface; The visualization space color gamut model is constructed by the method of step S110 to step S130, which will not be described in detail here.
[0096] The visualization space color gamut model can be stored in the memory of the server or terminal. When the user calls the visualization space color gamut model, the server or terminal responds to the user's instruction on the selection operation of the color gamut model and calls the color gamut model selected by the user.
[0097] When a user needs to perform color printing through a printing device, the user first needs to call the visualized space color gamut model from the server of the printing device. When the user performs the color gamut model calling operation, the visualized space color gamut model corresponding to the first color data can be displayed on the user interface.
[0098] In some embodiments, steps S210 to S220 may specifically include: steps S230 to S250: Step S230: In response to the user's color gamut model selection operation, based on a preset color difference value series with multiple gradient levels, wherein any of the gradient levels corresponds to a color difference value, a color difference value is determined from the color difference value series as a selected color difference value; Step S240: based on the correspondence between the preset color difference value and the preset first color data, determining to select the first color data corresponding to the color difference value; Step S250: Displaying the visualized space color gamut model constructed corresponding to the first color data on a user interface.
[0099] In order to make the color difference of the color printed by the printing device more obvious, before calling the visualization space color gamut model, the user can choose to perform discrete processing on the basic color model to obtain discrete color data, and then convert the discrete color processing into the corresponding first color data in the three-dimensional color model, and finally construct the corresponding visualization space color gamut model. For details, please refer to the description of step S11110 and the description of steps S111104 to S111105.
[0100] As described in step S110 to step S130, the construction of the visualization space color gamut model is generated based on the position of the first color data in the three-dimensional color model, and therefore, the acquisition of the first color data is the basis.
[0101] In steps S1111-S1112, and steps S111104-S111105, a color difference value series with multiple gradient levels defined by the user is used, and according to each gradient level in each color difference value series, the color difference value is determined to be the color difference value selected by the user, and then according to step S11110, the colors in the basic color model are discretized according to the equidistance principle to generate a series of discrete color data with uniform color difference, thereby obtaining discrete color data.
[0102] Based on the conversion relationship between discrete data and the three-dimensional color model, the discrete color data is converted into the first color data corresponding to the three-dimensional color model, and a visual color sample representing the first color data is generated according to the position of the first color data in the three-dimensional color model. According to the color difference values of different gradient levels, multiple visual color samples representing the first color data can be generated, and based on the color difference values set by the user, the server calls the corresponding visual space color gamut model and displays it on the display.
[0103] In some embodiments, the visualization space color gamut model interaction method further includes step S260: in response to the user's color sample selection operation for the visualization space color gamut model, determining that one or more of the visualization color samples are selected as target objects.
[0104] The visualization space color gamut model includes one or more color gamut models, and the user can select one or more color gamut models in the visualization space color gamut model as the user's target object for display.
[0105] In some embodiments, step S260 may include steps S261-S263: Step S261: In response to the user's preliminary color sample selection operation for the visualization space color gamut model, determining that one or more of the visualization color samples are selected as preliminary target objects; Step S262: Based on the preliminary target object, one or more recommended target objects are generated according to a preset recommendation strategy; In some embodiments, step S262 may specifically include: based on the preliminary target object, according to a preset color space distance threshold, determining a visualization color sample whose color space distance from the preliminary target object is less than or equal to a specified threshold on the visualization space color gamut model as a recommended target object.
[0106] Step S263: In response to the user's final color sample selection operation for the visualization space color gamut model, one or more recommended target objects are determined to be selected as target objects from the recommended target objects.
[0107] In the above steps, the user operates the server of the printing device to perform a preliminary color sample selection operation of the visualization space color gamut model, and the server can call out one or more preliminary target objects. The preset recommendation strategy can be based on the user's commonly used login account information, the user's identity information for performing operations, the user's preferences, etc., and the server automatically calls one or more target objects as color samples of the visualization space color gamut model that the user is about to print.
[0108] The user can finally select one or more target objects as the visualized spatial color gamut model displayed on the user interface based on the recommendation strategy.
[0109] In some embodiments, step S270 is also included: receiving text input provided by a user; in response to the text input, calling a preset artificial intelligence model to perform semantic analysis on the text input to obtain semantic features associated with the text input; based on the semantic features, determining the visual color sample with the highest correlation with the semantic features on the visual space color gamut model as the target object.
[0110] In this embodiment, as an example, the artificial intelligence model can be ChatGPT. The user can provide a text description of the color he wants to print, and ChatGPT can perform semantic analysis on the user's text to obtain semantic features associated with the text input. Based on the semantic features, the visual color sample with the highest correlation with the semantic features is selected as the target object on the visual space color gamut model.
[0111] In some embodiments, the method further includes step S280: receiving an image input provided by a user; extracting a main color of the image input in response to the image input; and selecting a visualization color sample closest to the main color as a target object on a visualization space color gamut model based on the main color.
[0112] In this embodiment, the user can input an image of the color he wants to print. After extracting the color image, the server of the printing device can extract the main color of the image, and based on the extracted main color and the visual color sample closest to the main color in the visual space color gamut model, mark the visual color gamut as the user's target object.
[0113] In some embodiments, the method includes step S290: in response to a color sample selection operation of the user for the visualization space color gamut model, determining that one or more of the visualization color samples are highlighted in the visualization space color gamut model.
[0114] In this embodiment, after the user selects the color sample selection operation of the visualization space color gamut model, the color sample of the selected visualization space color gamut model can be highlighted. The highlighting can include: the user highlights, enlarges or reduces the display by selecting a specific color.
[0115] In some embodiments, step S2100 is also included: in response to a user's color sample dragging operation on a visualization space color gamut model, a moving distance and a moving direction corresponding to the color sample dragging operation are determined, a dragged distance of the visualization color sample is determined based on the moving distance and the moving direction, and the visualization color sample is controlled to move the dragged distance in the moving direction.
[0116] In this embodiment, by receiving the input signal of the user operating the mouse to drag, the color sample in the visualization space color gamut model is dragged according to the input signal of the mouse drag, and the color sample of the visualization space color gamut model is controlled to move in the moving direction by the dragged distance according to the distance and moving direction information instructions generated by dragging the mouse.
[0117] In some embodiments, the method further includes step S2110: in response to a user's rotation operation on the visualized space color gamut model, rotating the visualized space color gamut model according to the rotation operation.
[0118] By receiving an input signal of a user operating a mouse to drag and rotate, a rotation operation is performed on a color sample in a visualization space color gamut model according to the input signal of the user operating the mouse to drag and rotate.
[0119] In some embodiments, step S2120 is also included: in response to a user's perspective operation on the visualization space color gamut model, a simulated field of view depth of the visualization space color gamut model is adjusted according to the perspective operation to display a visualization color sample located inside the visualization space color gamut model on the user interface based on the simulated field of view depth.
[0120] In this embodiment, the perspective operation can be an operation mode for showing a three-dimensional space effect on a two-dimensional plane. Based on the principle of the perspective operation, the simulated field of view depth of the visualization space color gamut model is adjusted according to the perspective operation, and the visualization color sample located inside the visualization space color gamut model is displayed on the user interface according to the simulated field of view depth.
[0121] Therefore, the above steps S270, S280, S290, S2100, S2110, and S2120 provide a variety of color sample interaction methods for users to realize the visualization of the spatial color gamut model, making the user operation mode more diverse.
[0122] In summary, this application can more effectively display the relationship and trend between color data and enhance the expressiveness of data visualization through precise color mapping and continuous changes. By converting the traditional color model into a three-dimensional display, the color space is optimized, making color selection and changes more intuitive and balanced. Users can more conveniently match colors and find colors accurately and quickly, thereby converting complex color theory into a simple and easy-to-understand visualization tool, allowing users to use colors more easily.
[0123] Please refer to Figure 8 The present application provides a visualization space color gamut model establishment device, which is applied to the visualization space color gamut model establishment method, including: an establishment module 810, an acquisition module 820, a mapping module 830, and a construction module 840.
[0124] Establishing module 810, for establishing a three-dimensional color model; the three-dimensional color model takes the hue ring as a reference plane, establishes a lightness axis perpendicular to the reference plane, uses lightness values to represent the position along the lightness axis, and uses chroma values to represent the radial spatial distance value from the center of the hue ring to any point outward.
[0125] The acquisition module 820 is used to acquire first color data.
[0126] The mapping module 830 is configured to map the first color data to a corresponding position in the three-dimensional color model.
[0127] The construction module 840 is used to generate a visual color sample representing the first color data based on the first color data and the position of the first color data in the three-dimensional color model, and the visual color samples are arranged to construct a visual space color gamut model.
[0128] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps above, and will not be repeated here.
[0129] Please refer to Fig. 9, which is a schematic diagram of the structure of an electronic device 1 provided in an embodiment of the present application. Fig. 9 As shown, the electronic device 1 includes: at least one processor 11 and a memory 12, Fig. 9 A processor 11 is taken as an example. The processor 11 and the memory 12 are connected through a bus 10 and communicate with each other. The memory 12 stores instructions that can be executed by the processor 11. The instructions are executed by the processor 11 so that the electronic device 1 can execute all or part of the process of the visualization space color gamut model establishment method in the above-mentioned embodiment, or execute all or part of the process of the visualization space color gamut model interaction method in the above-mentioned embodiment.
[0130] The bus 10 may include an accelerated graphics port (AGP) or other graphics bus, an enhanced industry standard architecture (EISA) bus, a front side bus (FSB), a HyperTransport (HT) interconnect, an industry standard architecture (ISA) bus, an InfiniBand interconnect, a low pin count (LPC) bus, a memory bus, a microchannel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local (VLB) bus, or other suitable busses or a combination of two or more of the above. Where appropriate, the bus 10 may include one or more buses.
[0131] The processor 11 reads and executes the computer program instructions stored in the memory 12 to implement all or part of the process of the visualization space color gamut model establishment method in the above-mentioned embodiment, or executes all or part of the process of the above-mentioned visualization space color gamut model interaction method.
[0132] The memory 12 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0133] Exemplarily, the electronic device 1 in executing the visualization space color gamut model establishment method or the visualization space color gamut model interaction method can be a server.
[0134] The present application also provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by a processor to complete the visualization space color gamut model establishment method provided in the present application, or executed to complete the visualization space color gamut model interaction method.
[0135] The present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the visualization space color gamut model establishment method provided in the present application, or is executed to complete the visualization space color gamut model interaction method.
[0136] In several embodiments provided in the present application, the disclosed devices and methods may also be implemented in other ways. The device embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram may represent a module, a program segment or a part of a code, and a module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0137] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0138] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of each embodiment of the present application.
Claims
1. A method for establishing a visualization space color gamut model, characterized in that: The method comprises: Establishing a three-dimensional color model; wherein the three-dimensional color model uses a hue ring as a reference plane, establishes a lightness axis perpendicular to the reference plane, uses lightness values to represent positions along the lightness axis, and uses chroma values to represent radial spatial distance values from the center of the hue ring to any point outward; Acquire first color data, and map the first color data to a corresponding position in the three-dimensional color model; Based on the first color data and the position of the first color data in the three-dimensional color model, a visualized color sample representing the first color data is generated; and a plurality of the visualized color samples are arranged to construct a visualized space color gamut model.
2. The method for establishing a visualization space color gamut model according to claim 1, characterized in that: After the three-dimensional color model is established, the method further comprises the following steps: Obtaining a first threshold range of the hue circle to define a hue range; Obtaining a second threshold range of the brightness value to define a height range; Obtaining a third threshold range of the chroma value to define a radial distance range; The three-dimensional color model is rendered as a regular sphere according to the first threshold range, the second threshold range, and the third threshold range.
3. The method for establishing a visualization space color gamut model according to claim 1, characterized in that: The step of obtaining the first color data comprises the following steps: Acquire discrete color data, wherein the discrete color data is obtained by discretizing a preset basic color model based on a preset data screening strategy; A conversion relationship between the basic color model and the three-dimensional color model is obtained, and the discrete color data is converted into corresponding first color data in the three-dimensional color model, wherein the three-dimensional color model is different from the basic color model.
4. The method for establishing a visualization space color gamut model according to claim 3, characterized in that: The discrete color data is obtained by discretizing a preset basic color model based on a preset data screening strategy, and includes the following steps: The discrete color data is obtained by discretizing the colors in the basic color model according to the equidistance principle based on the preset selected color difference values to generate a series of discrete color data with uniform color difference.
5. The method for establishing a visualization space color gamut model according to claim 4, characterized in that: The discrete color data is obtained by discretizing the colors in the basic color model according to the equidistance principle based on the preset selected color difference value to generate a series of discrete color data with uniform color difference, including the following steps: Based on using the preset selected color difference value as the side length of the regular polyhedron, a regular polyhedron array is constructed by a spatial tessellation method to divide the preset basic color model; Determining reference color point data of the basic color model; The reference color point data coincides with a vertex or a center point of a regular polyhedron in the regular polyhedron array, and the equidistant color difference discrete point data of each vertex of the regular polyhedron in the basic color model are obtained to obtain the discrete color data.
6. The method for establishing a visualization space color gamut model according to claim 4, characterized in that: The discrete color data is based on using a preset selected color difference value to discretize the colors in the basic color model according to the equidistance principle to generate a series of discrete color data with uniform color difference to obtain the discrete color data, and also includes the following steps: Obtaining a color difference value sequence having a plurality of gradient levels, wherein any of the gradient levels corresponds to a color difference value; Based on each of the gradient levels in the color difference value series, the color difference values are respectively determined as selected color difference values, and based on each of the selected color difference values, corresponding discrete color data are obtained by discretizing a preset basic color model.
7. The method for establishing a visualization space color gamut model according to claim 6, characterized in that: The following steps are also included: Based on the discrete color data corresponding to each selected color difference value, a corresponding visualization space color gamut model is constructed, thereby constructing multiple visualization space color gamut models corresponding to multiple gradient level color difference values in the color difference value series.
8. The method for establishing a visualization space color gamut model according to claim 4, characterized in that: The discretization of the colors in the basic color model according to the equidistant principle includes the following steps: the basic color model includes three dimensions: lightness value, redness-greenness value, and yellowness-blueness value; the colors in the basic color model are discretized according to the equidistant principle of the three dimensions: lightness value, redness-greenness value, and yellowness-blueness value.
9. The method for establishing a visualization space color gamut model according to claim 8, characterized in that: The lightness value, the redness-greenness value, and the yellowness-blueness value based on the basic color model further include: Obtaining a fourth threshold range of the brightness value to define a brightness range; Obtaining a fifth threshold range of the redness and greenness values to define a redness and greenness range; A sixth threshold range of the yellow-blue value is obtained to define a yellow-blue range.
10. A visual space color gamut model interaction method, characterized in that: The method comprises the following steps: In response to the user's color gamut model selection operation, determining first color data; displaying the visualized space color gamut model corresponding to the first color data on the user interface; Wherein, the visualization space color gamut model is constructed according to the method described in any one of claims 1 to 9: establishing a three-dimensional color model; wherein, the three-dimensional color model takes the hue ring as a reference plane, establishes a lightness axis perpendicular to the reference plane, uses lightness values to represent the position along the lightness axis, and uses chroma values to represent the radial spatial distance value from the center of the hue ring to any point outward; obtains first color data, and maps the first color data to a corresponding position in the three-dimensional color model; based on the first color data and the position of the first color data in the three-dimensional color model, generates a visualization color sample representing the first color data, and arranges several of the visualization color samples to construct a visualization space color gamut model.
11. The visualization space color gamut model interaction method according to claim 10, characterized in that: The method of determining first color data in response to a color gamut model selection operation by a user; and displaying a visualized space color gamut model corresponding to the first color data on a user interface comprises the following steps: In response to a color gamut model selection operation by a user, based on a preset color difference value sequence having a plurality of gradient levels, wherein any of the gradient levels corresponds to a color difference value, determining a color difference value from the color difference value sequence as a selected color difference value; Determining the first color data corresponding to the selected color difference value based on the corresponding relationship between the preset color difference value and the preset first color data; The visualized space color gamut model constructed corresponding to the first color data is displayed on the user interface.
12. The visualization space color gamut model interaction method according to claim 10, characterized in that: The method further comprises the steps of: In response to a color sample selection operation by a user for the visualization space color gamut model, it is determined that one or more of the visualization color samples are selected as target objects.
13. The interactive method of the visualization space color gamut model according to claim 12, wherein in response to the user's selection operation of the visualization space color gamut model color sample, determining that one or more of the visualization color samples are selected as the target object, is characterized in that: The following steps are also included: In response to a user's preliminary color sample selection operation for the visualization space color gamut model, determining that one or more of the visualization color samples are selected as preliminary target objects; Based on the preliminary target object, generating one or more recommended target objects according to a preset recommendation strategy; In response to the user's final color sample selection operation for the visualization space color gamut model, one or more of the recommended target objects are determined to be selected as target objects from the recommended target objects.
14. The visualization space color gamut model interaction method according to claim 13, characterized in that: The method of generating one or more recommended target objects based on the preliminary target object according to a preset recommendation strategy also includes the following steps: Based on the preliminary target object, according to a preset color space distance threshold, a visualization color sample whose color space distance from the preliminary target object is less than or equal to a specified threshold is determined on the visualization space color gamut model as a recommended target object.
15. The visualization space color gamut model interaction method according to claim 12, characterized in that: The method of determining that one or more of the visualized color samples are selected as target objects in response to the user's color sample selection operation for the visualized space color gamut model is characterized by further comprising the following steps: Receiving text input provided by the user; in response to the text input, calling a preset artificial intelligence model to perform semantic analysis on the text input to obtain semantic features associated with the text input; Based on the semantic feature, the visualized color sample with the highest correlation with the semantic feature is determined as a target object on the visualized space color gamut model.
16. The interactive method for a visualization space color gamut model according to claim 12, wherein in response to a user selecting a color sample of the visualization space color gamut model, determining that one or more of the visualization color samples are selected as a target object, is characterized in that: The following steps are also included: Receiving an image input provided by the user; extracting a main color of the image input in response to the image input; Based on the main color, the visualized color sample closest to the main color is determined as a target object on the visualized space color gamut model.
17. The visualization space color gamut model interaction method according to claim 12, characterized in that: The following steps are also included: In response to a color sample selection operation by a user for the visualization space color gamut model, one or more of the visualization color samples are determined to be highlighted in the visualization space color gamut model.
18. The visualization space color gamut model interaction method according to claim 10, characterized in that: The following steps are also included: In response to a user's color sample dragging operation on the visualization space color gamut model, a moving distance and a moving direction corresponding to the color sample dragging operation are determined, a dragged distance of the visualization color sample is determined based on the moving distance and the moving direction, and the visualization color sample is controlled to move the dragged distance in the moving direction.
19. The visualization space color gamut model interaction method according to claim 10, characterized in that: The following steps are also included: In response to a user's rotation operation on the visualization space color gamut model, the visualization space color gamut model is rotated according to the rotation operation.
20. The visualization space color gamut model interaction method according to claim 10, characterized in that: The following steps are also included: In response to a user's perspective operation on the visualization space color gamut model, a simulated field of view depth of the visualization space color gamut model is adjusted according to the perspective operation to display a visualization color sample located inside the visualization space color gamut model on a user interface based on the simulated field of view depth.
21. A visualization space color gamut model building device, applied to the visualization space color gamut model building method according to any one of claims 1 to 9, characterized in that: include: An establishment module is used to establish a three-dimensional color model; the three-dimensional color model uses the hue ring as a reference plane, establishes a lightness axis perpendicular to the reference plane, uses lightness values to represent the position along the lightness axis, and uses chroma values to represent the radial spatial distance value from the center of the hue ring to any point outward; An acquisition module, used for acquiring first color data; A mapping module, used for mapping the first color data to a corresponding position in the three-dimensional color model; A construction module is used to generate a visual color sample representing the first color data based on the first color data and the position of the first color data in the three-dimensional color model, and the visual color samples are arranged to construct a visual space color gamut model.
22. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing processor-executable instructions; The processor is configured to execute the visualization space color gamut model establishment method described in any one of claims 1 to 9, or to execute the visualization space color gamut model interaction method described in any one of claims 10 to 20.
23. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, it implements the method for establishing a visualization space color gamut model described in any one of claims 1 to 9, or executes the method for interacting with a visualization space color gamut model described in any one of claims 10 to 20.
24. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, it is used to execute the visualization space color gamut model establishment method described in any one of claims 1 to 9, or execute the visualization space color gamut model interaction method described in any one of claims 10 to 20.
Citation Information
Patent Citations
HSI gridding model construction method and visualization method of equal-brightness, equal-chroma and equal-hue chromatogram of HSI gridding model
CN113538691A
Lab gridding model construction and equal-brightness equal-saturation equal-hue chromatogram visualization method thereof
CN113538692A
Color recommendation method and device, equipment and storage medium
CN114299170A
Color matching method and device, electronic equipment and computer readable storage medium
CN117830583A
Method for visualizing gamut of printer
JP2003037744A
Cited By
Chemical reaction control method, system and device based on solution color
CN120631071A
