CN113538690A - HSV gridding model construction and chromatogram visualization method - Google Patents
HSV gridding model construction and chromatogram visualization method Download PDFInfo
- Publication number
- CN113538690A CN113538690A CN202110666688.7A CN202110666688A CN113538690A CN 113538690 A CN113538690 A CN 113538690A CN 202110666688 A CN202110666688 A CN 202110666688A CN 113538690 A CN113538690 A CN 113538690A
- Authority
- CN
- China
- Prior art keywords
- color
- model
- hsv
- primary
- gridding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000010276 construction Methods 0.000 title claims abstract description 20
- 238000007794 visualization technique Methods 0.000 title claims description 7
- 239000011159 matrix material Substances 0.000 claims abstract description 28
- 238000010168 coupling process Methods 0.000 claims abstract description 13
- 238000005859 coupling reaction Methods 0.000 claims abstract description 13
- 230000008878 coupling Effects 0.000 claims abstract description 10
- 238000012800 visualization Methods 0.000 claims abstract description 6
- 239000003086 colorant Substances 0.000 claims description 28
- 238000000034 method Methods 0.000 claims description 13
- 239000012504 chromatography matrix Substances 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 150000001875 compounds Chemical class 0.000 claims description 3
- 238000001228 spectrum Methods 0.000 claims 3
- 230000003595 spectral effect Effects 0.000 claims 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004445 quantitative analysis Methods 0.000 description 1
- 238000009987 spinning Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/20—Finite element generation, e.g. wire-frame surface description, tesselation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/23—Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/10—Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/12—Cloth
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Spectrometry And Color Measurement (AREA)
Abstract
The invention relates to construction of an HSV gridding model, which is based on an HSV color space of a regular hexagonal prism and is decomposed into six regular triangular prism color general models, a gridding model capable of carrying out double coupling association on three dimensions such as hue angle, chroma, lightness and the like is constructed by gridding three bottom edges and edge heights of the regular triangular prism color general models, and the construction of an eight-primary-color HSV gridding model is realized by integrating and expanding the gridding model. The digital expression of grid point color values of the HSV color model by using grid point coordinates is realized on the basis of the eight-primary-color HSV gridding model, the construction of a grid point array model and a matrix of an equal lightness plane, an equal hue plane and an equal chroma plane of the eight-primary-color HSV color space is efficiently realized by the eight-primary-color HSV gridding model, and the digital expression and the visualization of grid point chromatograms of the equal lightness plane, the equal hue plane and the equal chroma plane of the eight-primary-color HSV are realized.
Description
Technical Field
The invention relates to an HSV gridding model construction and a chromatogram visualization method, and belongs to the technical field of spinning chromatograms.
Background
The HSV in the HSV color model is Hue, chroma, and lightness (Hue, Saturation). The HSV color model is a model that uses the hue circle as the circumference, chroma as the radius, and lightness as the high cylinder. The HSV color model is a cylinder of spatial colors, and is schematically shown in figure 1. The HSV color space is a cylinder, the brightness value of the upper top surface is 1, the brightness value of the lower bottom surface is 0, when the brightness value is changed from 1 to 0, the brightness value of each hue on the top surface is gradually reduced from 1 to 0, and the brightness value is completely changed into black, and on the central axis of the cylinder, the brightness value is gradually changed from white to black in the process from the center of the circle of the upper top surface to the center of the circle of the lower bottom surface; in the cylindrical HSV color space, the center of a cylinder is taken as the center, the central angle H swept by the radius of the cylinder is taken as a hue angle, wherein the hue angles of red, yellow, green, cyan, blue and magenta are 0 degree, 60 degree, 120 degree, 180 degree, 240 degree, 270 degree and 360 degree in sequence. When the hue angle is changed from 0-360 degrees, the hue is sequentially changed by red, orange, yellow, green, cyan, blue and purple; in the cylindrical HSV color space, the distance S from a certain point to the axis of the cylinder is chroma, and the equal-chroma surface is a cylindrical surface with the radius of S, so that when the chroma value is changed from 0 to 1, the change process of the chroma of each color phase is reflected. The coordinate values of the eight vertexes of the RGB color model in the HSV color model are shown in Table 1
TABLE 1
Visualization of HSV space panchromatic gamut colors is very important for color design using color variation rules. However, the existing HSV color space theory has the following problems:
1. although the hue angle, chroma and lightness and the value range of the HSV color model are defined based on a polar coordinate system, the quantitative analysis of the color distribution rule of the HSV color model from three dimensions of hue angle, chroma, lightness and the like is lacked;
2. although the HSV color model is deduced based on the RGB color model, a gridding HSV color model which can be used for a digital algorithm is not constructed, and variables of three dimensions such as hue angle, chroma and lightness of the HSV color model are related through grid point array coordinates;
3. although an equal brightness plane, an equal hue plane and an equal chroma plane are defined based on the HSV color model, a method for solving the grid point array chromatogram on the equal brightness plane, the equal hue plane and the equal chroma plane of the HSI color model is not provided.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an HSV meshing model construction method, an HSV color space based on a regular hexagonal prism is decomposed into six regular triangular prism color general models, a meshing model capable of carrying out double coupling association on three dimensions such as hue angle, chroma and lightness is constructed by meshing three bottom edges and edge heights of the regular triangular prism color general models, and the construction of an eight-primary-color HSV meshing model is realized by integrating and expanding the meshing model.
The invention adopts the following technical scheme for solving the technical problems: the invention designs an HSV gridding model construction, based on an HSV color space of a regular hexagonal prism with white W at the center of the top surface and black K at the bottom surface, aiming at that six primary colors of red R, yellow Y, green G, cyan C, blue B and magenta M respectively fall at the positions of the edges of the top surface of the HSV color space corresponding to six side edges according to the following steps by combining a hue angle H corresponding to the circumference of the regular hexagonal prism in a value range of 0-360 degrees, a chroma S corresponding to a distance from any point in the regular hexagonal prism to the center of the cylinder in a value range of 0-1 and a lightness V corresponding to the height of the regular hexagonal prism in a value range of 0-1;
step A, according to the fact that the positions of red R, yellow Y, green G, cyan C, blue B and magenta M corresponding to the bottom surface edge of the HSV color space along each side edge are respectively KR、KY、KG、KC、KB、KMDecomposing the HSV hexagonal prism color model into six regular triangular prism color channelsUsing models, respectively: WYR-KKYKR、WGY-KKGKY、WCG-KKCKG、WBC-KKBKC、WMB-KKMKB、WRM-KKRKMBecause the bottom surface of the regular hexagonal prism is black, the general color model of the six regular triangular prisms can be called as: a red-yellow-white-black color sub-model, a yellow-green-white-black color sub-model, a green-cyan-white-black color sub-model, a cyan-blue-white-black color sub-model, a blue-magenta-white-black color sub-model, a magenta-red-white-black color sub-model; the universal model WX for the six regular triangular prism color universal models1X2-KKX1KX2Is represented by, wherein X1={R、Y、G、C、B、M},X1={R、Y、G、C、B、M},X2≠X1Then entering step B;
and B, aiming at the regular triangular prism color general model, executing 10 equal parts on the side corresponding to the hue angle and the two sides corresponding to the chroma radius in the regular triangular prism color general model, and executing 100 equal parts on the height corresponding to the lightness in the regular triangular prism color general model, so that the regular triangular prism color general model is subjected to gridding division to obtain the coordinate of each grid pointThen entering step C; wherein, i is 1,2, …,10,11, j is 1,2, …,10,11, i + j is less than or equal to 12, t is 1,2, …,100, 101; i represents the interior slave X of the regular triangular prism color general model1To X2Side corresponding to hue angleThe hue sequence numbers of the grid points divided upwards; j represents grid point chroma serial numbers outwards from the center of the column along the radius on two edges corresponding to the chroma radius in the regular triangular prism color general model, and t represents grid point lightness serial numbers divided from white to black in the regular triangular prism color general model;
step C, needle positive general modelThe corresponding four primary colors areW(RW,GW,BW)、K(RK,GK,BK) On the equal lightness surface with lightness t, the hue number, chroma number and color value of the grid point are setW(RW,GW,BW) Performing a first re-coupling, and then combining the color values with a lightness value number and a primary color value K (R)K,GK,BK) Performing second double coupling, and constructing a regular triangular prism color general model through the double coupling, thereby obtaining color values d of all grid points in the gridding general modeli,j,tThe following were used:
wherein, X1、X2W, K is the four primary colors color value of the regular triangular prism color general model, which is respectively: W(RW,GW,BW)、K(RK,GK,BK);di,j,tfor grid points within the gridded general model, its RGB color value is di,,j,t(Ri,,j,t,Gi,j,t,Bi,j,t) (ii) a Then entering step D;
d, respectively constructing a color conversion matrix Z of the regular triangular prism color general modeli,j,t、Z′i,j,tAnd Z ″)i,j,tThen enter step E as follows;
step E, respectively aiming at the general color model of each regular triangular prism and according to Zi,j,t、Z′i,j,t、Z″i,j,t、pi,j,t、di,j,tUpdating color value d of each grid point in regular triangular prism color general modeli,j,t=Z″i,j,t×(Zi,j,t×αi,j,t+Z′i,j,t) And then obtaining the color value of each grid point in the HSV color space.
As a preferred technical scheme of the invention: color value d of each grid point in universal model based on colors of regular triangular prismsi,j,tFurther comprising the steps of:
step F, according to the coordinates of each grid point in the regular triangular prism color general modelCombining the serial number l of each regular triangular prism color general model to be 1,2, 5 and 6, and constructing coordinates p of each grid point in the eight-primary-color HSV gridding modeli,j,t,lThen step G is entered as follows;
g, according to the color value d of each grid point in the regular triangular prism color general modeli,j,tAnd combining the serial numbers l of the regular triangular prism color general models to be 1,2, 5 and 6, constructing color values d of grid points in the eight-primary-color HSV gridding modeli,j,t,lThen step H is entered as follows;
according to Zi,j,t、Zi',j,tAnd Zi”,j,tRespectively constructing color conversion matrix Z of the eight-primary-color HSV gridding modeli,j,t,l、Z′i,j,t,lAnd Z ″)i,j,t,lThen entering step I as follows;
according to Zi,j,t,l、Z′″i,j,t,l、Z″i,j,t,l、pi,j,t,l、di,j,t,lUpdating color value d of each grid point in the HSV gridding model with eight primary colorsi,j,t,l=Zi”,j,t,l×(Zi,j,t,l×αi,j,t,l+Zi',j,t,l)。
The technical problem to be solved by the invention is to provide a chromatogram visualization method constructed based on an HSV meshing model, which realizes the digital expression of grid point color values of the HSV color model by using grid point coordinates based on the HSV meshing model with eight primary colors, and efficiently realizes the construction of a grid point array model and a matrix of an equal lightness plane, an equal hue plane and an equal chroma plane of an HSV color space with eight primary colors through the HSV meshing model with eight primary colors, thereby realizing the digital expression and visualization of grid point chromatograms of the equal lightness plane, the equal hue plane and the equal chroma plane of the HSV color space with eight primary colors.
The invention adopts the following technical scheme for solving the technical problems: the invention designs HSV gridA chromatogram visualization method for constructing a gridding model is based on 101 equal brightness surfaces which are respectively vertical to an axis where brightness V is located and correspond to 100 equal parts of brightness V executed in an eight-primary-color HSV gridding model, and based on t being 1,2, …,100 and 101, a grid point array matrix A which is respectively corresponding to each equal brightness surface in the eight-primary-color HSV gridding model is obtainedi,j,t,lThe following were used:
wherein, when t is 1,
when t is 2, …,100,
when t is 101, the process is repeated,
as a preferred technical scheme of the invention: obtaining a mixed color chromatographic matrix DA corresponding to each equal brightness surface in the eight-primary-color HSV gridding model respectively based on 100 equal brightness surfaces corresponding to equal brightness V in the eight-primary-color HSV gridding model and based on t being 1,2, …,100 and 101i,j,t,lThe following were used:
as a preferred technical scheme of the invention: the top surface center and the bottom surface center of the eight-primary-color HSV gridding model are connected and respectively combined with six lateral edges of a regular hexagonal prism to form six equal-color surfaces, and then the corresponding equal-color surfaces of the eight-primary-color HSV gridding model are obtainedGrid point array matrix Bi,j,t,lThe following were used:
and further obtaining a color mixing chromatographic matrix DB corresponding to each isochromatic phase surface in the eight-primary-color HSV gridding modeli,j,t,lThe following were used:
as a preferred technical scheme of the invention: six side surfaces of the regular hexagonal prism corresponding to the eight-primary-color HSV meshing model form six equal-chroma surfaces, and based on the condition that m is 1,2, …,10 and 11, a grid point array matrix C corresponding to each equal-chroma surface in the eight-primary-color HSV meshing model is obtainedi,j,t,lThe following were used:
wherein, when m is 1,
when m is 2, …,10,
when m is equal to 11, the compound is,
as a preferred technical scheme of the invention: obtaining a mixed color chromatographic matrix DC corresponding to each isochromatic surface in the eight-primary-color HSV gridding modeli,j,t,lThe following were used:
compared with the prior art, the HSV meshing model construction and chromatogram visualization method has the following technical effects by adopting the technical scheme:
the method comprises the steps of constructing an HSV gridding model designed by the invention, decomposing an HSV color space based on a regular hexagonal prism into six regular triangular prism color general models, constructing a gridding model capable of carrying out double coupling association on three dimensions such as hue angle, chroma, lightness and the like by gridding three bottom edges and edge heights of the regular triangular prism color general models, and realizing construction of the eight-primary-color HSV gridding model by integrating and expanding the gridding model. The digital expression of grid point color values of the HSV color model by using grid point coordinates is realized on the basis of the eight-primary-color HSV gridding model, the construction of a grid point array model and a matrix of an equal lightness plane, an equal hue plane and an equal chroma plane of the eight-primary-color HSV color space is efficiently realized by the eight-primary-color HSV gridding model, and the digital expression and the visualization of grid point chromatograms of the equal lightness plane, the equal hue plane and the equal chroma plane of the eight-primary-color HSV are realized.
Drawings
FIG. 1 is a schematic diagram of an HSV color model;
FIG. 2 is a schematic of an eight-primary-color regular hexagonal prism HSV color model;
FIG. 3 is an exploded view of a general regular triangular prism color model corresponding to an eight-primary-color regular hexagonal prism HSV color model;
FIG. 4 is a schematic of an equal lightness plane within the eight primary color HSV color model;
FIG. 5 is an illustration of an isochromatic plane within an eight primary HSV color model;
FIG. 6 is an illustration of an isochromatic plane in an eight primary HSV color model.
Detailed Description
The following description will explain embodiments of the present invention in further detail with reference to the accompanying drawings.
HSV color modelThe top surface of the cylindrical model is centered at W, the top surface is divided by taking the red color as a reference and taking the 60-degree hue angle as a gradient, and 6 points such as R, Y, G, C, B, M can be obtained, as shown in FIG. 2. R, Y, G, C, B, M, W and other 7 points of the top surface intersect the bottom surface of the cylinder at KR、KY、KG、KC、KB、KMK, thereby obtaining six bus bars and a cylindrical axis which are respectively connected with R, Y, G, C, B, M on the top surface and K on the bottom surfaceR、KY、KG、KC、KB、KMThereby, an eight-primary HSV hexagonal prism model as shown in fig. 1 is obtained. According to the definition of HSV color model, six bus lines R-KR、Y-KY、G-KG、C-KC、B-KB、M-KMRespectively reflects the change process of the lightness values of six primary colors of R, Y, G, C, B, M and the like from 1 to 0, and is arranged on the bottom surface KR、KY、KG、KC、KB、KMIs equal to black and is (0,0, 0).
The primary colors used by the HSV hexagonal prism model are R, Y, G, C, B, M, W, K, respectively, which can be decomposed into six triangular prism color models as shown in fig. 3, which are: WYR-KKYKR、WGY-KKGKY、WCG-KKCKG、WBC-KKBKC、WMB-KKMKB、WRM-KKRKM. Because the bottom surface of the hexagonal prism is black, the six triangular prism color models can be called as follows: a red-yellow-white-black color sub-model, a yellow-green-white-black color sub-model, a green-cyan-white-black color sub-model, a cyan-blue-white-black color sub-model, a blue-magenta-white-black color sub-model, a magenta-red-white-black color sub-model.
In the eight-primary-color regular hexagonal prism HSV color model, as shown in fig. 4, the colors with different hues and different chroma have the same lightness value on the plane perpendicular to the WK axis, so that the plane is called an equal lightness plane, i.e. an R 'Y' G 'C' B 'M' regular hexagonal plane shown in fig. 4, and the plane can move up and down in the HSV space along the WK axis to obtain different equal lightness planes.
In the eight-primary-color regular hexagonal prism HSV color model, a plane formed by the WK axis and one of the six primary colors has the same hue for colors of different lightness and chroma, and is called an isochromatic plane. WKK as shown in FIG. 5R’The regular quadrilateral of R may be referred to as an isochromatic surface.
In the eight-primary-color regular hexagonal prism HSV color model, six side surfaces of a hexagonal prism formed around the WK axis in the HSV color space have the same chroma for colors of different lightness and different hue on the plane, and are called as equal chroma planes. The hexagonal prism shown in FIG. 6, R "Y" G "C" B "M" -KR’KY’KG’KC’KB’KM’These planes may be referred to as isochromatic planes.
Based on the analysis of the eight-primary-color regular hexagonal prism HSV color model, the eight-primary-color regular hexagonal prism HSV color model is divided into six regular triangular prism color general models of alpha-beta-W-K, beta-gamma-W-K, gamma-delta-W-K, delta-epsilon-W-K, epsilon-omega-W-K and alpha-omega-W-K. The method is used for designing an HSV gridding model to be constructed, based on an HSV color space of a regular hexagonal prism with white W at the center of the top surface and black K at the bottom surface, aiming at the fact that six primary colors of red R, yellow Y, green G, cyan C, blue B and magenta M respectively fall at the positions of the edges of the top surface of the HSV color space corresponding to six side edges, the construction of an HSV gridding model with eight primary colors is realized according to the following steps A to I by combining a hue angle H corresponding to the circumferential numeric area of the regular hexagonal prism of 0-360 degrees, a chroma S corresponding to the numeric area from any point in the regular hexagonal prism to the center of the cylinder and a lightness V corresponding to the numeric area of 0-1 of the regular hexagonal prism.
Step A, according to the fact that the positions of red R, yellow Y, green G, cyan C, blue B and magenta M corresponding to the bottom surface edge of the HSV color space along each side edge are respectively KR、KY、KG、KC、KB、KMDecomposing the HSV hexagonal prism color model into six regular triangular prism color general models which are respectively as follows: WYR-KKYKR、WGY-KKGKY、WCG-KKCKG、WBC-KKBKC、WMB-KKMKB、WRM-KKRKMBecause the bottom surface of the regular hexagonal prism is black, the general color model of the six regular triangular prisms can be called as: a red-yellow-white-black color sub-model, a yellow-green-white-black color sub-model, a green-cyan-white-black color sub-model, a cyan-blue-white-black color sub-model, a blue-magenta-white-black color sub-model, a magenta-red-white-black color sub-model; the universal model WX for the six regular triangular prism color universal models1X2-KKX1KX2Is represented by, wherein X1={R、Y、G、C、B、M},X1={R、Y、G、C、B、M},X2≠X1Then, step B is entered.
And B, aiming at the regular triangular prism color general model, executing 10 equal parts on the side corresponding to the hue angle and the two sides corresponding to the chroma radius in the regular triangular prism color general model, and executing 100 equal parts on the height corresponding to the lightness in the regular triangular prism color general model, so that the regular triangular prism color general model is subjected to gridding division to obtain the coordinate of each grid pointThen entering step C; wherein, i is 1,2, …,10,11, j is 1,2, …,10,11, i + j is less than or equal to 12, t is 1,2, …,100, 101; i represents the interior slave X of the regular triangular prism color general model1To X2Side corresponding to hue angleThe hue sequence numbers of the grid points divided upwards; j represents the mesh point chroma serial number from the center of the column to the outside along the radius on two edges corresponding to the chroma radius in the regular triangular prism color general model, and t represents the mesh point lightness serial number divided from white to black in the regular triangular prism color general model.
Step C, needle positive general modelThe corresponding four primary colors areW(RW,GW,BW)、K(RK,GK,BK) On the equal lightness surface with lightness t, the hue number, chroma number and color value of the grid point are setW(RW,GW,BW) Performing a first re-coupling, and then combining the color values with a lightness value number and a primary color value K (R)K,GK,BK) Performing second double coupling, and constructing a regular triangular prism color general model through the double coupling, thereby obtaining color values d of all grid points in the gridding general modeli,j,tThe following were used:
wherein, X1、X2W, K is the four primary colors color value of the regular triangular prism color general model, which is respectively: W(RW,GW,BW)、K(RK,GK,BK);di,j,tfor grid points within the gridded general model, its RGB color value is di,j,t(Ri,j,t,Gi,j,t,Bi,j,t) (ii) a Then step D is entered.
D, respectively constructing a color conversion matrix Z of the regular triangular prism color general modeli,j,t、Z′i,j,tAnd Z ″)i,j,tThen enter step E as follows;
step E, respectively aiming at the general color model of each regular triangular prism and according to Zi,j,t、Z′i,j,t、Z″i,j,t、pi,j,t、di,j,tUpdating color value d of each grid point in regular triangular prism color general modeli,j,t=Z″i,j,t×(Zi,j,t×αi,j,t+Zi',j,t) And then obtaining color values of grid points in the HSV color space, and then proceeding to step F.
Step F, according to the coordinates of each grid point in the regular triangular prism color general modelCombining the serial number l of each regular triangular prism color general model to be 1,2, 5 and 6, and constructing coordinates p of each grid point in the eight-primary-color HSV gridding modeli,j,t,lThen step G is entered as follows;
g, according to the color value d of each grid point in the regular triangular prism color general modeli,j,tAnd combining the serial numbers l of the regular triangular prism color general models to be 1,2, 5 and 6, constructing color values d of grid points in the eight-primary-color HSV gridding modeli,j,t,lThen step H is entered as follows;
according to Zi,j,t、Z′i,j,tAnd Z ″)i,j,tAre respectively constructedColor conversion matrix Z for building eight-primary-color HSV gridding modeli,j,t,l、Z″i,j,t,lAnd Z ″)i,j,t,lThen entering step I as follows;
according to Zi,j,t,l、Z′i,j,t,l、Z″i,j,t,l、pi,j,t,l、di,j,t,lUpdating color value d of each grid point in the HSV gridding model with eight primary colorsi,j,t,l=Z″i,j,t,l×(Zi,j,t,l×αi,j,t,l+Z′i,j,t,l)。
Based on 100 equal parts of 101 equal brightness surfaces which are respectively corresponding to 100 equal brightness surfaces executed by a brightness V in the eight-primary-color HSV meshing model and are respectively vertical to an axis where the brightness V is positioned, and based on t being 1,2, …,100 and 101, a grid point array matrix A which is respectively corresponding to each equal brightness surface in the eight-primary-color HSV meshing model is obtainedi,j,t,lThe following were used:
wherein, when t is 1,
when t is 2, …,100,
when t is 101, the process is repeated,
for 101 equal brightness surfaces corresponding to 100 equal parts executed on brightness V in the eight-primary-color HSV gridding model, obtaining a mixed-color chromatographic matrix DA corresponding to each equal brightness surface in the eight-primary-color HSV gridding model based on t ═ 1,2, …,100,101i,j,t,lThe following were used:
the three-dimensional matrix can respectively represent six triangular prism models of alpha-beta-W-K, beta-gamma-W-K, gamma-delta-W-K, delta-epsilon-W-K, epsilon-omega-W-K and alpha-omega-W-K by the values of 1,2, 3, 4, 5 and 6 of l. A total of 6 × 101 to 606 equal brightness planes can be obtained. Here, the expansion of the chromatogram matrix is similar to that of the grid point array matrix, and is not necessarily expanded.
The top surface center and the bottom surface center of the eight-primary-color HSV gridding model are connected and respectively combined with six lateral edges of a regular hexagonal prism to form six equal-color surfaces, and a grid point array matrix B corresponding to each equal-color surface in the eight-primary-color HSV gridding model is obtainedi,j,t,lThe following were used:
and further obtaining a color mixing chromatographic matrix DB corresponding to each isochromatic phase surface in the eight-primary-color HSV gridding modeli,j,t,lThe following were used:
the values of l of the two-dimensional matrix can be 1,2, 3, 4, 5 and 6 respectively representing six triangular prism models of alpha-beta-W-K, beta-gamma-W-K, gamma-delta-W-K, delta-epsilon-W-K, epsilon-omega-W-K and alpha-omega-W-K. A total of 6 isochromatic planes may be obtained. Here, the expansion of the chromatogram matrix is similar to that of the grid point array matrix, and is not necessarily expanded.
Six side surfaces of the regular hexagonal prism corresponding to the eight-primary-color HSV meshing model form six equal-chroma surfaces, and based on the condition that m is 1,2, …,10 and 11, a grid point array matrix C corresponding to each equal-chroma surface in the eight-primary-color HSV meshing model is obtainedi,j,t,lThe following were used:
wherein, when m is 1,
when m is 2, …,10,
when m is equal to 11, the compound is,
further obtaining a mixed color chromatographic matrix DC corresponding to each isochromatic surface in the eight-primary-color HSV gridding modeli,j,t,lThe following were used:
the three-dimensional matrix needs to satisfy the condition that the coordinates of the rows are greater than zero, and if the coordinates of the rows are less than 0, alpha isi,j,t,l0, i.e. di,j,t,l0. The values 1,2, 3, 4, 5 and 6 of the two-dimensional matrix can respectively represent six triangular prism models of alpha-beta-W-K, beta-gamma-W-K, gamma-delta-W-K, delta-epsilon-W-K, epsilon-omega-W-K and alpha-omega-W-K, and 6 x 11 ═ 66 isochromatic planes can be obtained in total. Here, the expansion of the chromatogram matrix is similar to that of the grid point array matrix, and is not necessarily expanded.
The HSV meshing model designed by the technical scheme is constructed, based on the HSV color space of a regular hexagonal prism, the HSV color space is decomposed into six regular triangular prism color general models, the meshing model capable of carrying out double coupling association on three dimensions such as hue angle, chroma and lightness is constructed through meshing of three bottom edges and the edge height of the regular triangular prism color general models, and the construction of the eight-primary-color HSV meshing model is realized through integration and expansion of the meshing model. The digital expression of grid point color values of the HSV color model by using grid point coordinates is realized on the basis of the eight-primary-color HSV gridding model, the construction of a grid point array model and a matrix of an equal lightness plane, an equal hue plane and an equal chroma plane of the eight-primary-color HSV color space is efficiently realized by the eight-primary-color HSV gridding model, and the digital expression and the visualization of grid point chromatograms of the equal lightness plane, the equal hue plane and the equal chroma plane of the eight-primary-color HSV are realized.
The embodiments of the present invention have been described in detail with reference to the drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.
Claims (7)
- The construction of the HSV gridding model is characterized in that: based on an HSV color space of a regular hexagonal prism with white W at the center of the top surface and black K at the bottom surface, aiming at the fact that six primary colors of red R, yellow Y, green G, cyan C, blue B and magenta M respectively fall at the positions of the edges of the top surface of the HSV color space corresponding to six side edges, the construction of an eight-primary-color HSV gridding model is realized according to the following steps by combining a hue angle H corresponding to the circumference of the regular hexagonal prism in a value range of 0-360 degrees, a chroma S corresponding to the distance from any point in the regular hexagonal prism to the center of a column in a value range of 0-1 and a lightness V corresponding to the height of the regular hexagonal prism in a value range of 0-1;step A, according to the fact that the positions of red R, yellow Y, green G, cyan C, blue B and magenta M corresponding to the bottom surface edge of the HSV color space along each side edge are respectively KR、KY、KG、KC、KB、KMDecomposing the HSV hexagonal prism color model into six regular triangular prism color general models which are respectively as follows: WYR-KKYKR、WGY-KKGKY、WCG-KKCKG、WBC-KKBKC、WMB-KKMKB、WRM-KKRKMBecause the bottom surface of the regular hexagonal prism is black, the general color model of the six regular triangular prisms can be called as: a red-yellow-white-black color sub-model, a yellow-green-white-black color sub-model, a green-cyan-white-black color sub-model, a cyan-blue-white-black color sub-model, a blue-magenta-white-black color sub-model, a magenta-red-white-black color sub-model; the six regular triangular prism color universal models are used as universal modelsIs represented by, wherein X1={R、Y、G、C、B、M},X2={R、Y、G、C、B、M},X2≠X1Then entering step B;and B, aiming at the regular triangular prism color general model, executing 10 equal parts on the side corresponding to the hue angle and the two sides corresponding to the chroma radius in the regular triangular prism color general model, and executing 100 equal parts on the height corresponding to the lightness in the regular triangular prism color general model, so that the regular triangular prism color general model is subjected to gridding division to obtain the coordinate of each grid pointThen entering step C; wherein, i is 1,2, …,10,11, j is 1,2, …,10,11, i + j is less than or equal to 12, t is 1,2, …,100, 101; i represents the interior slave X of the regular triangular prism color general model1To X2Side corresponding to hue angleThe hue sequence numbers of the grid points divided upwards; j represents grid point chroma serial numbers outwards from the center of the column along the radius on two edges corresponding to the chroma radius in the regular triangular prism color general model, and t represents grid point lightness serial numbers divided from white to black in the regular triangular prism color general model;step C, aiming at the general modelThe corresponding four primary colors areW(RW,GW,BW)、K(RK,GK,BK) On the equal lightness surface with lightness t, the hue number, chroma number and color value of the grid point are setW(RW,GW,BW) Performing a first re-coupling, and then combining the color values with a lightness value number and a primary color value K (R)K,GK,BK) Performing second double coupling, and constructing a regular triangular prism color general model through the double coupling, thereby obtaining color values d of all grid points in the gridding general modeli,j,tThe following were used:wherein, X1、X2W, K is the four primary colors color value of the regular triangular prism color general model, which is respectively:W(RW,GW,BW)、K(RK,GK,BK);di,j,tfor grid points within the gridded general model, its RGB color value is di,j,t(Ri,j,t,Gi,j,t,Bi,j,t) (ii) a Then entering step D;d, respectively constructing a color conversion matrix Z of the regular triangular prism color general modeli,j,t、Z′i,j,tAnd Z ″)i,j,tThen enter step E as follows;step E, aiming at the common model of the colors of the regular triangular prism, according to Zi,j,t、Z′i,j,t、Z″i,j,t、pi,j,t、di,j,tUpdating color value d of each grid point in regular triangular prism color general modeli,j,t=Z″i,j,t×(Zi,j,t×αi,j,t+Zi',j,t) And then obtaining the color value of each grid point in the HSV color space.
- 2. The HSV gridding model construction of claim 1, wherein: color value d of each grid point in universal model based on colors of regular triangular prismsi,j,tFurther comprising the steps of:step F, according to the coordinates of each grid point in the regular triangular prism color general modelCombining the serial number l of each regular triangular prism color general model to be 1,2, 5 and 6, and constructing coordinates p of each grid point in the eight-primary-color HSV gridding modeli,j,t,lThen step G is entered as follows;g, according to the color value d of each grid point in the regular triangular prism color general modeli,j,tAnd combining the serial numbers l of the regular triangular prism color general models to be 1,2, 5 and 6, constructing color values d of grid points in the eight-primary-color HSV gridding modeli,j,t,lThen step H is entered as follows;according to Zi,j,t、Z′i,j,tAnd Z ″)i,j,tRespectively constructing color conversion matrix Z of the eight-primary-color HSV gridding modeli,j,t,l、Z′i,j,t,lAnd Z ″)i,j,t,lThen entering step I as follows;according to Zi,j,t,l、Z′i,j,t,l、Z″i,j,t,l、pi,j,t,l、di,j,t,lUpdating color value d of each grid point in the HSV gridding model with eight primary colorsi,j,t,l=Z″i,j,t,l×(Zi,j,t,l×αi,j,t,l+Z′i,j,t,l)。
- 3. Color built based on the HSV gridding model of claim 2A method of spectral visualization, characterized by: obtaining grid point array matrixes A corresponding to all equal brightness surfaces in the eight-primary-color HSV meshing model respectively based on 101 equal brightness surfaces which are respectively and equally corresponding to 100 equal brightness surfaces executed by the brightness V in the eight-primary-color HSV meshing model and are vertical to an axis where the brightness V is located, and based on t being 1,2, …,100 and 101i,j,t,lThe following were used:wherein, when t is 1,when t is 2, …,100,when t is 101, the process is repeated,
- 4. the method for visualizing the color spectrum constructed by the HSV meshing model of claim 3, wherein: obtaining a mixed color chromatographic matrix DA corresponding to each equal brightness surface in the eight-primary-color HSV gridding model respectively based on 100 equal brightness surfaces corresponding to equal brightness V in the eight-primary-color HSV gridding model and based on t being 1,2, …,100 and 101i,j,t,lThe following were used:
- 5. according to claim 2The chromatogram visualization method for the HSV gridding model construction is characterized by comprising the following steps: the top surface center and the bottom surface center of the eight-primary-color HSV gridding model are connected and respectively combined with six lateral edges of a regular hexagonal prism to form six equal-color surfaces, and a grid point array matrix B corresponding to each equal-color surface in the eight-primary-color HSV gridding model is obtainedi,j,t,lThe following were used:and further obtaining a color mixing chromatographic matrix DB corresponding to each isochromatic phase surface in the eight-primary-color HSV gridding modeli,j,t,lThe following were used:
- 6. the method for visualizing the color spectrum constructed by the HSV meshing model of claim 2, wherein: six side surfaces of the regular hexagonal prism corresponding to the eight-primary-color HSV meshing model form six equal-chroma surfaces, and based on the condition that m is 1,2, …,10 and 11, a grid point array matrix C corresponding to each equal-chroma surface in the eight-primary-color HSV meshing model is obtainedi,j,t,lThe following were used:wherein, when m is 1,when m is 2, …,10,when m is equal to 11, the compound is,
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110666688.7A CN113538690B (en) | 2021-06-16 | 2021-06-16 | HSV gridding model construction and chromatographic visualization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110666688.7A CN113538690B (en) | 2021-06-16 | 2021-06-16 | HSV gridding model construction and chromatographic visualization method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113538690A true CN113538690A (en) | 2021-10-22 |
CN113538690B CN113538690B (en) | 2024-01-12 |
Family
ID=78125036
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110666688.7A Active CN113538690B (en) | 2021-06-16 | 2021-06-16 | HSV gridding model construction and chromatographic visualization method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113538690B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110490981A (en) * | 2019-08-14 | 2019-11-22 | 愉悦家纺有限公司 | A kind of eight yuan of primary colours HSB full gamut color space gridding methods and its discrete chromatography construction method |
CN112347683A (en) * | 2020-11-30 | 2021-02-09 | 江南大学 | Color fiber six-dimensional color mixing space grid model and grid point array color matrix construction method and application thereof |
-
2021
- 2021-06-16 CN CN202110666688.7A patent/CN113538690B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110490981A (en) * | 2019-08-14 | 2019-11-22 | 愉悦家纺有限公司 | A kind of eight yuan of primary colours HSB full gamut color space gridding methods and its discrete chromatography construction method |
CN112347683A (en) * | 2020-11-30 | 2021-02-09 | 江南大学 | Color fiber six-dimensional color mixing space grid model and grid point array color matrix construction method and application thereof |
Also Published As
Publication number | Publication date |
---|---|
CN113538690B (en) | 2024-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110490981B (en) | Gridding model of eight-primary-color HSB color space and discrete chromatogram construction method thereof | |
CN113538691B (en) | HSI gridding model construction and equal brightness equal chroma equal color spectrum visualization method | |
WO2022110585A1 (en) | Method for constructing color fiber three-dimensional color mixing space grid model and grid point array color matrix, and use of method | |
CN112634387B (en) | Construction method and application of color fiber four-dimensional color mixing space grid model and grid point array color matrix | |
CN112347685B (en) | Construction and application of color fiber two-dimensional color mixing space grid model and grid point array chromatogram | |
WO2022110587A1 (en) | Method for constructing color fiber six-dimensional color mixing space grid model and grid point array color matrix thereof, and application | |
WO2022110584A1 (en) | Method for constructing five-dimensional color mixing space grid model and grid point array color matrix for color fibers, and application thereof | |
CN105893649A (en) | Optimal model based interactive image recolorating method | |
CN112733079A (en) | Construction and application of multi-dimensional superposition color mixing model and gradient chromatography matrix algorithm | |
CN113538690A (en) | HSV gridding model construction and chromatogram visualization method | |
CN108153498A (en) | Correct table generating method and program | |
CN107067444A (en) | A kind of spectral gamut mapping method of optimization | |
Pham | Spline-based color sequences for univariate, bivariate and trivariate mapping | |
WO2022110590A1 (en) | Grid point array model construction method for gridding rgb color space, and application thereof | |
WO2022110586A1 (en) | Method for constructing grid point array model for meshed cmy color space and application thereof | |
Sugano | Fuzzy set theoretical approach to achromatic relevant color on the natural color system | |
US8520937B2 (en) | Method of automatically creating natural image by using optimization technique | |
CN110490945B (en) | Image color adjusting method | |
TW201545119A (en) | Data clustering method applicable to color images | |
CN113573036A (en) | Cylindrical color space gridding model construction and equal-brightness equal-saturation equal-hue chromatogram visualization method | |
CN115491909B (en) | Color space based on gridding mixing of nine-primary color dye liquor and equal brightness color spectrum construction thereof | |
JP2008271233A (en) | Image processing unit, program and method | |
Lee et al. | Color Harmony Integration-driven Design Process for Aesthetic Village | |
US11015976B2 (en) | Method for constructing meshed model and discrete chromatography of eight-element primary color HSB full color gamut color space | |
KR100880588B1 (en) | Color coordinate embodiment method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |