CN113538690B - HSV gridding model construction and chromatographic visualization method - Google Patents
HSV gridding model construction and chromatographic visualization method Download PDFInfo
- Publication number
- CN113538690B CN113538690B CN202110666688.7A CN202110666688A CN113538690B CN 113538690 B CN113538690 B CN 113538690B CN 202110666688 A CN202110666688 A CN 202110666688A CN 113538690 B CN113538690 B CN 113538690B
- Authority
- CN
- China
- Prior art keywords
- color
- hsv
- model
- 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.)
- Active
Links
- 238000010276 construction Methods 0.000 title claims abstract description 19
- 238000007794 visualization technique Methods 0.000 title claims description 11
- 238000010168 coupling process Methods 0.000 claims abstract description 16
- 238000005859 coupling reaction Methods 0.000 claims abstract description 16
- 238000000034 method Methods 0.000 claims abstract description 15
- 230000008878 coupling Effects 0.000 claims abstract description 7
- 239000011159 matrix material Substances 0.000 claims description 19
- 239000012504 chromatography matrix Substances 0.000 claims description 12
- 239000003086 colorant Substances 0.000 claims description 11
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 238000000819 phase cycle Methods 0.000 claims description 3
- 238000012800 visualization Methods 0.000 abstract description 5
- 235000000391 Lepidium draba Nutrition 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004587 chromatography analysis Methods 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 238000004445 quantitative analysis Methods 0.000 description 1
- 238000009987 spinning Methods 0.000 description 1
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
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Geometry (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Spectrometry And Color Measurement (AREA)
Abstract
The invention relates to an HSV gridding model construction, which is based on an HSV color space of a regular hexagonal prism, is decomposed into six regular triangular prism color general models, a gridding model capable of carrying out double coupling association on three dimensions of hue angle, chroma, brightness and the like is constructed through 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 through integrating and expanding the gridding model. The method realizes the digital expression of each grid point color value of the HSV color model by using grid point coordinates based on the eight-primary HSV gridding model, and realizes the construction of grid point array models and matrixes of equal brightness planes, equal color planes and equal chroma planes of the eight-primary HSV color space through the eight-primary HSV gridding model, and realizes the digital expression and visualization of the grid point chromatograms of the equal brightness planes, the equal color planes and the equal chroma planes of the eight-primary HSV.
Description
Technical Field
The invention relates to an HSV gridding model construction and chromatographic visualization method, and belongs to the technical field of spinning chromatography.
Background
HSV in the HSV color model is Hue, chroma, and brightness (Value). The HSV color model is a model of a cylinder using a hue circle as a circumference, a chroma as a radius, and a brightness as a high. The HSV color model shape is a cylinder colored by space, and a schematic diagram thereof is shown in FIG. 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, all the brightness values of all the hues on the top surface are changed into black in the process of gradually reducing from 1 to 0, and on the central axis of the cylinder, the brightness values are changed into black from white in the process of gradually changing from the center of the circle of the upper top surface to the center of the circle of the lower bottom surface; in a cylindrical HSV color space, a cylindrical axis is taken as a center, and a central angle H swept by a cylindrical radius is taken as a hue angle, wherein hue angles of red, yellow, green, cyan, blue and magenta are sequentially 0 degrees, 60 degrees, 120 degrees, 180 degrees, 240 degrees, 270 degrees and 360 degrees. When the hue angle changes from 0 to 360 degrees, the hue changes from red, orange, yellow, green, cyan, blue and violet in sequence; in the cylindrical HSV color space, the distance S from a certain point to the axis of the cylinder is chroma, the equal chroma surface is a cylindrical surface with the radius S, and when the chroma value changes from 0 to 1, the change process of the chroma of each color phase is reflected. Coordinate values of eight vertexes of the RGB color model in the HSV color model are shown in Table 1
TABLE 1
Visualization of HSV space full-gamut color is important for color design using color change laws. However, the existing HSV color space theory has the following problems:
1. although the hue angle, chroma and lightness of the HSV color model and the value range thereof are defined based on a polar coordinate system, quantitative analysis of the color distribution rule of the HSV color model from three dimensions of hue angle, chroma and lightness is lacking;
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 digitizing algorithm is not constructed, and three dimensional variables such as hue angle, chroma and brightness of the HSV color model are related through grid point array coordinates;
3. although the equal brightness plane, the equal color phase plane, and the equal chroma plane are defined based on the HSV color model, the solution method of the grid point array chromatogram on the equal brightness plane, the equal color phase plane, and the equal chroma plane of the HSI color model is not given.
Disclosure of Invention
The technical problem to be solved by the invention is to provide the construction of the HSV gridding model, the HSV color space based on the regular hexagonal prism is decomposed into six regular triangular prism color general models, the gridding model capable of carrying out double coupling association on three dimensions of hue angle, chroma, brightness 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 the eight-primary-color HSV gridding model is realized by integrating and expanding the gridding model.
The invention adopts the following technical scheme for solving the technical problems: the invention designs an HSV gridding model construction, which is based on an HSV color space of a regular hexagonal prism with a white top surface W and a black bottom surface K, combines a hue angle H with a value range of 0-360 degrees corresponding to the circumference of the regular hexagonal prism, chroma S with a value range of 0-1 corresponding to the distance from any point in the regular hexagonal prism to the column center, and brightness V with a value range of 0-1 corresponding to the height of the regular hexagonal prism, and aims at the positions of six primary colors of red R, yellow Y, green G, cyan C, blue B and magenta M respectively falling on the top surface edge of the HSV color space corresponding to six side edges, and realizes the construction of an eight-primary-color HSV gridding model according to the following steps;
step A, according to the positions of red R, yellow Y, green G, cyan C, blue B and magenta M respectively along the edges of every side edge corresponding to the bottom edge of HSV color space respectively K R 、K Y 、K G 、K C 、K B 、K M Decomposing the HSV hexagonal prism color model into six regular triangular prism color general models, wherein the six regular triangular prism color general models are respectively as follows: WYR-KK Y K R 、WGY-KK G K Y 、WCG-KK C K G 、WBC-KK B K C 、WMB-KK M K B 、WRM-KK R K M Since the bottom surfaces of the regular hexagonal prisms are all black, the above-mentioned six regular hexagonal prism color general model is also called: red-yellow-white-black color submodel, yellow-green-white-black color submodel, green-cyan-white-black color submodel, cyan-blue-white-black color submodel, blue-magenta-white-black color submodel, magenta-red-white-black color submodel; universal model for the six regular triangular prism color universal modelWherein X is 1 ={R、Y、G、C、B、M},X 1 ={R、Y、G、C、B、M},X 2 ≠X 1 Then enter step B;
step B, aiming at the regular triangular prism color general model, aiming at the edges corresponding to the hue angle in the regular triangular prism color general model, andperforming 10 equal parts on two sides corresponding to the chroma radius, performing 100 equal parts on the height corresponding to the brightness in the regular triangular prism color general model, and performing gridding division on the regular triangular prism color general model to obtain coordinates of each grid pointThen enter step C; wherein i=1, 2, …,10,11, j=1, 2, …,10,11, i+j is less than or equal to 12, t=1, 2, …,100,101; i represents the internal slave X of the general model of the regular triangular prism color 1 To X 2 Side corresponding to hue angle->The color phase sequence number of the grid point divided upwards; j represents grid point chroma serial numbers from the column centers to the outside along the radius on two sides corresponding to the chroma radius in the regular triangular prism color general model, and t represents grid point brightness serial numbers divided from white to black in the regular triangular prism color general model;
step C, needle-correcting universal modelThe four primary colors corresponding to the color areW(R W ,G W ,B W )、K(R K ,G K ,B K ) On the equal brightness surface with brightness t, the hue number, chroma number and primary color value of the grid point are added>W(R W ,G W ,B W ) Performing first re-coupling, and combining the first re-coupling result with brightness value sequence number and primary color value K (R) K ,G K ,B K ) Performing second re-coupling, and constructing a regular triangular prism color general model through the double coupling, thereby obtaining color values d of grid points in the grid general model i,j,t The following are provided:
wherein X is 1 、X 2 W, K are four primary color values of a regular triangular prism color general model, and are respectively: W(R W ,G W ,B W )、K(R K ,G K ,B K );d i,j,t for grid points within the gridding general model, the RGB color value is d i,j,t (R i,j,t ,G i,j,t ,B i,j,t ) The method comprises the steps of carrying out a first treatment on the surface of the Then enter step D;
d, respectively constructing a color conversion matrix Z of the regular triangular prism color general model i,j,t 、Z′ i,j,t And Z' i,j,t Step E is then entered as follows;
e, respectively aiming at the general model of each regular triangular prism color, according to Z i,j,t 、Z′ i,j,t 、Z″ i,j,t 、p i,j,t 、d i,j,t Updating the color value d of each grid point in the regular triangular prism color general model i,j,t =Z″ i,j,t ×(Z i,j,t ×p i,j,t +Z′ i,j,t ) Further, color values of grid points in the HSV color space are obtained.
As the inventionA preferred technical scheme is as follows: color value d of each grid point in general model based on each regular triangular prism color i,j,t Further comprising the steps of:
f, according to the coordinates of each grid point in the general model of each regular triangular prism colorCombining the serial numbers l=1, 2, 5 and 6 of the general model of each regular triangular prism color, and constructing the coordinate p of each grid point in the eight-primary-color HSV grid model i,j,t,l Step G is then entered as follows;
step G, according to the color value d of each grid point in the regular triangular prism color general model i,j,t And (3) combining the serial numbers l=1, 2, & gt, 5 and 6 of the color general models of all regular triangular prisms, and constructing the color value d of each grid point in the eight-primary-color HSV grid model i,j,t,l Step H is then entered as follows;
step H. According to Z i,j,t 、Z′ i,j,t And Z' i,j,t Respectively constructing color conversion matrixes Z of eight-primary-color HSV gridding models i,j,t,l 、Z′ i,j,t,l And Z' i,j,t,l Step I is then entered as follows;
step I. According to Z i,j,t,l 、Z′ i,j,t,l 、Z″ i,j,t,l 、p i,j,t,l 、d i,j,t,l Updating color value d of each grid point in eight-primary-color HSV gridding model i,j,t,l =Z″ i,j,t,l ×(Z i,j,t,l ×p i,j,t,l +Z′ i,j,t,l )。
The invention also solves the technical problems of providing a chromatographic visualization method based on an HSV gridding model, realizing the digital expression of each grid point color value of an HSV color model by using grid point coordinates based on an eight-primary HSV gridding model, and realizing the construction of grid point array models and matrixes of equal brightness surfaces, equal color phase surfaces and equal chroma surfaces of an eight-primary HSV color space through the eight-primary HSV gridding model, and realizing the digital expression and visualization of the chromatographic points of the equal brightness surfaces, the equal color phase surfaces and the equal chroma surfaces of the eight-primary HSV.
The invention adopts the following technical scheme for solving the technical problems: the invention designs a chromatographic visualization method for constructing an HSV gridding model, which is based on 101 equal brightness surfaces which are respectively perpendicular to the axis of brightness V and correspond to 100 equal brightness surfaces executed by brightness V in an eight-primary HSV gridding model, and based on t=1, 2, …,100,101, a grid point array matrix A respectively corresponding to each equal brightness surface in the eight-primary HSV gridding model is obtained i,j,t,l The following are provided:
wherein, when t=1,
when t=2, …,100,
when t=101, the number of times of the process,
as a preferred technical scheme of the invention: based on 100 equal parts of corresponding 101 equal brightness surfaces executed by brightness V in the eight-primary-color HSV gridding model, and based on t=1, 2, …,100,101, obtaining a color mixing chromatographic matrix DA respectively corresponding to each equal brightness surface in the eight-primary-color HSV gridding model i,j,t,l The following are provided:
as a preferred technical scheme of the invention: the connection line between the top surface center and the bottom surface center of the eight-primary-color HSV gridding model is respectively combined with six side edges of a regular hexagonal prism to form six equal-color phase surfaces, so as to obtain a grid point array matrix B respectively corresponding to each equal-color phase surface in the eight-primary-color HSV gridding model i,j,t,l The following are provided:
and further obtain color mixing chromatographic matrix DB corresponding to each equal color phase surface in the eight-primary color HSV gridding model i,j,t,l The following are provided:
as a preferred technical scheme of the invention: six sides of the regular hexagonal prism corresponding to the eight-primary HSV gridding model form six equal-chroma planes, and based on m=1, 2, …,10,11, a grid point array matrix C corresponding to each equal-chroma plane in the eight-primary HSV gridding model is obtained i,j,t,l The following are provided:
wherein, when m=1,
when m=2, …,10,
when m=11, the number of the m-groups,
as a preferred technical scheme of the invention: obtaining a color mixing chromatographic matrix DC corresponding to each equal chroma surface in the eight-primary-color HSV gridding model i,j,t,l The following are provided:
compared with the prior art, the HSV gridding model construction and chromatographic visualization method has the following technical effects:
the HSV gridding model is constructed based on the HSV color space of the regular hexagonal prism, the HSV color space is decomposed into six regular triangular prism color general models, gridding models capable of carrying out double coupling association on three dimensions of hue angle, chroma, brightness and the like are constructed through gridding three bottom edges and edge heights of the regular triangular prism color general models, and the eight-primary-color HSV gridding model is constructed through integrating and expanding the gridding models. The method realizes the digital expression of each grid point color value of the HSV color model by using grid point coordinates based on the eight-primary HSV gridding model, and realizes the construction of grid point array models and matrixes of equal brightness planes, equal color planes and equal chroma planes of the eight-primary HSV color space through the eight-primary HSV gridding model, and realizes the digital expression and visualization of the grid point chromatograms of the equal brightness planes, the equal color planes and the equal chroma planes of the eight-primary HSV.
Drawings
FIG. 1 is a schematic view of an HSV color model;
FIG. 2 is an eight primary color regular hexagonal prism HSV color model illustration;
FIG. 3 is a schematic diagram of a regular triangular prism color general model decomposition corresponding to an eight-primary color regular hexagonal prism HSV color model;
FIG. 4 is an illustration of equal brightness facets within an eight primary HSV color model;
FIG. 5 is an isochromatic surface schematic within an eight-primary HSV color model;
fig. 6 is an isochromatic surface illustration in an eight-primary HSV color model.
Detailed Description
The following describes the embodiments of the present invention in further detail with reference to the drawings.
The HSV color model is a cylindrical model, the center of the top surface of which is W, and the top surface of which is divided by taking the red phase as a reference and taking the 60-degree hue angle as a gradient, so that 6 points such as R, Y, G, C, B, M can be obtained, as shown in fig. 2. 7 points R, Y, G, C, B, M, W passing through the top surface are respectively intersected with the cylindrical bottom surface at K by straight lines perpendicular to the bottom surface R 、K Y 、K G 、K C 、K B 、K M K, thereby obtaining six buses and a cylindrical axis, K being respectively connected to R, Y, G, C, B, M on the top surface and K on the bottom surface R 、K Y 、K G 、K C 、K B 、K M Thus, an eight-primary HSV hexagonal prism model as shown in fig. 1 was obtained. According to definition of HSV color model, six buses R-K R 、Y-K Y 、G-K G 、C-K C 、B-K B 、M-K M Reflects the change process of the brightness value of the six primary colors of R, Y, G, C, B, M and the like from 1 to 0 on the bottom surface K R 、K Y 、K G 、K C 、K B 、K M The color values of (2) are equal to black and are (0, 0).
The primary colors used for the HSV hexagonal prism model are R, Y, G, C, B, M, W, K respectively, and can be decomposed into six triangular prism color models as shown in fig. 3, which are respectively: WYR-KK Y K R 、WGY-KK G K Y 、WCG-KK C K G 、WBC-KK B K C 、WMB-KK M K B 、WRM-KK R K M . Since the bottom surfaces of the hexagonal prisms are all black, the above six triangular prism color models are also called: red-yellow-white-black color submodel, yellow-green-white-black color submodel, green-cyan-white-black color submodel, cyan-blue-white-black color submodel, blue-magenta-white-black color submodel, magenta-red-white-black color submodel.
In the eight-primary-color regular hexagonal prism HSV color model, as shown in fig. 4, the plane perpendicular to the WK axis has the same brightness value for colors of different hues and different chroma on the plane, so that the plane is called an equal brightness 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 HSV space along the WK axis to obtain different equal brightness planes.
In the eight-primary-color regular hexagonal prism HSV color model, a plane formed by the WK axis and one of the other six primary colors has the same hue on the plane for colors of different brightness and different saturation, and is called an isochromatic plane. WKK as shown in FIG. 5 R’ The R positive quadrangle may be referred to as an isochromatic surface.
And in the eight-primary-color regular hexagonal prism HSV color model, six side surfaces of a hexagonal prism formed by taking a WK axis as a center in an HSV color space have the same chroma on the plane, so the eight-primary-color regular hexagonal prism HSV color model is called an equal-chroma plane. Hexagonal prism as shown in FIG. 6R "Y" G "C" B "M" -K R’ K Y ’K G’ K C’ K B’ K M’ 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 invention designs an HSV gridding model construction, which is based on an HSV color space of a regular hexagonal prism with a white top surface W and a black bottom surface K, combines a hue angle H with a value range of 0-360 degrees corresponding to the circumference of the regular hexagonal prism, chroma S with a value range of 0-1 corresponding to the distance from any point in the regular hexagonal prism to the column center, and brightness V with a value range of 0-1 corresponding to the height of the regular hexagonal prism, and realizes the eight-primary-color HSV gridding model construction according to the following steps A to I aiming at the positions of six primary colors of red R, yellow Y, green G, cyan C, blue B and magenta M falling on the positions of six side edges corresponding to the top surface edge of the HSV color space respectively.
Step A, according to the positions of red R, yellow Y, green G, cyan C, blue B and magenta M respectively along the edges of every side edge corresponding to the bottom edge of HSV color space respectively K R 、K Y 、K G 、K C 、K B 、K M Decomposing the HSV hexagonal prism color model into six regular triangular prism color general models, wherein the six regular triangular prism color general models are respectively as follows: WYR-KK Y K R 、WGY-KK G K Y 、WCG-KK C K G 、WBC-KK B K C 、WMB-KK M K B 、WRM-KK R K M Since the bottom surfaces of the regular hexagonal prisms are all black, the above-mentioned six regular hexagonal prism color general model is also called: red-yellow-white-black color submodel, yellow-green-white-black color submodel, green-cyan-white-black color submodel, cyan-blue-white-black color submodel, blue-magenta-white-black color submodel, magenta-red-white-black color submodel; universal model for the six regular triangular prism color universal modelWherein X is 1 ={R、Y、G、C、B、M},X 1 ={R、Y、G、C、B、M},X 2 ≠X 1 Step B is then entered.
Step B, aiming at the regular triangular prism color general model, 10 equal parts of edges corresponding to the hue angle and two edges corresponding to the chroma radius in the regular triangular prism color general model are executed and alignedThe height corresponding to brightness in the triangular prism color general model is 100 equal parts, so that the regular triangular prism color general model is subjected to gridding division to obtain coordinates of each grid pointThen enter step C; wherein i=1, 2, …,10,11, j=1, 2, …,10,11, i+j is less than or equal to 12, t=1, 2, …,100,101; i represents the internal slave X of the general model of the regular triangular prism color 1 To X 2 Side corresponding to hue angle->The color phase sequence number of the grid point divided upwards; j represents grid point chroma serial numbers from the center of the column to the outside along the radius on two sides corresponding to the chroma radius in the regular triangular prism color general model, and t represents grid point brightness serial numbers divided from white to black in the regular triangular prism color general model.
Step C, needle-correcting universal modelThe four primary colors corresponding to the color areW(R W ,G W ,B W )、K(R K ,G K ,B K ) On the equal brightness surface with brightness t, the hue number, chroma number and primary color value of the grid point are added>W(R W ,G W ,B W ) Performing first re-coupling, and combining the first re-coupling result with brightness value sequence number and primary color value K (R) K ,G K ,B K ) Performing second re-coupling, and constructing a regular triangular prism color general model through the double coupling, thereby obtaining color values d of grid points in the grid general model i,j,t The following are provided:
wherein X is 1 、X 2 W, K are four primary color values of a regular triangular prism color general model, and are respectively: W(R W ,G W ,B W )、K(R K ,G K ,B K );d i,j,t for grid points within the gridding general model, the RGB color value is d i,j,t (R i,j,t ,G i,j,t ,B i,j,t ) The method comprises the steps of carrying out a first treatment on the surface of the Step D is then entered.
D, respectively constructing a color conversion matrix Z of the regular triangular prism color general model i,j,t 、Z′ i,j,t And Z' i,j,t Step E is then entered as follows;
e, respectively aiming at the general model of each regular triangular prism color, according to Z i,j,t 、Z′ i,j,t 、Z″ i,j,t 、p i,j,t 、d i,j,t Updating the color value d of each grid point in the regular triangular prism color general model i,j,t =Z″ i,j,t ×(Z i,j,t ×p i,j,t +Z′ i,j,t ) Further, color values of grid points in the HSV color space are obtained, and then step F is performed.
Step F, according to each regular triangular prism color general model, each netCoordinates of lattice pointsCombining the serial numbers l=1, 2, 5 and 6 of the general model of each regular triangular prism color, and constructing the coordinate p of each grid point in the eight-primary-color HSV grid model i,j,t,l Step G is then entered as follows;
step G, according to the color value d of each grid point in the regular triangular prism color general model i,j,t And (3) combining the serial numbers l=1, 2, & gt, 5 and 6 of the color general models of all regular triangular prisms, and constructing the color value d of each grid point in the eight-primary-color HSV grid model i,j,t,l Step H is then entered as follows;
step H. According to Z i,j,t 、Z′ i,j,t And Z' i,j,t Respectively constructing color conversion matrixes Z of eight-primary-color HSV gridding models i,j,t,l 、Z′ i,j,t,l And Z' i,j,t,l Step I is then entered as follows;
step I. According to Z i,j,t,l 、Z′ i,j,t,l 、Z″ i,j,t,l 、p i,j,t,l 、d i,j,t,l Updating eight-primary-color HSV gridding moduleColor value d of each grid point in i,j,t,l =Z″ i,j,t,l ×(Z i,j,t,l ×p i,j,t,l +Z′ i,j,t,l )。
Based on the construction of an HSV gridding model, the invention further designs a chromatographic visualization method for constructing the HSV gridding model, 101 equal brightness surfaces which are respectively perpendicular to the axis of the brightness V and correspond to 100 equal brightness surfaces executed based on the brightness V in the eight-primary HSV gridding model are obtained based on t=1, 2, …,100,101, and a grid point array matrix A respectively corresponding to each equal brightness surface in the eight-primary HSV gridding model is obtained i,j,t,l The following are provided:
wherein, when t=1,
when t=2, …,100,
when t=101, the number of times of the process,
for 101 equal brightness surfaces corresponding to 100 equal brightness surfaces executed based on brightness V in the eight-primary-color HSV gridding model, based on t=1, 2, …,100,101, a color mixing chromatographic matrix DA corresponding to each equal brightness surface in the eight-primary-color HSV gridding model is obtained i,j,t,l The following are provided:
the three-dimensional matrix can be respectively represented by 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 using the values of l, namely 1,2, 3, 4, 5 and 6. A total of 6×101=606 equal brightness planes can be obtained. Here, the development of the chromatographic matrix is similar to that of the grid point array matrix, and is not developed one by one.
The connection line between the top surface center and the bottom surface center of the eight-primary-color HSV gridding model is respectively combined with six side edges of a regular hexagonal prism to form six equal-color phase surfaces, so as to obtain a grid point array matrix B respectively corresponding to each equal-color phase surface in the eight-primary-color HSV gridding model i,j,t,l The following are provided:
and further obtain color mixing chromatographic matrix DB corresponding to each equal color phase surface in the eight-primary color HSV gridding model i,j,t,l The following are provided:
the two-dimensional matrix can be respectively represented by 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 using the values of l of 1,2, 3, 4, 5 and 6. A total of 6 isochromatic facets are available. Here, the development of the chromatographic matrix is similar to that of the grid point array matrix, and is not developed one by one.
Six sides of the regular hexagonal prism corresponding to the eight-primary HSV gridding model form six equal-chroma planes, and based on m=1, 2, …,10,11, a grid point array matrix C corresponding to each equal-chroma plane in the eight-primary HSV gridding model is obtained i,j,t,l The following are provided:
/>
wherein, when m=1,
when m=2, …,10,
when m=11, the number of the m-groups,
further obtaining a color mixing chromatographic matrix DC corresponding to each equal chroma surface in the eight-primary-color HSV gridding model i,j,t,l The following are provided:
the three-dimensional matrix needs to satisfy the condition that the coordinates of the rows are greater than zero, and if the coordinates are less than 0, alpha is i,j,t,l =0, i.e. d i,j,t,l =0. The two-dimensional matrix can use the values of 1,2, 3, 4, 5 and 6 of l to 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 a total of 6 times 11 = 66 equal chroma surfaces can be obtained. Here, the development of the chromatographic matrix is similar to that of the grid point array matrix, and is not developed one by one.
The HSV gridding model designed by the technical scheme is constructed, the HSV color space based on the regular hexagonal prism is decomposed into six regular triangular prism color general models, the gridding model capable of carrying out double coupling association on three dimensions of hue angle, chroma, brightness and the like is constructed through gridding three bottom edges and edge heights of the regular triangular prism color general models, and the eight-primary-color HSV gridding model is constructed through integrating and expanding the grid model. The method realizes the digital expression of each grid point color value of the HSV color model by using grid point coordinates based on the eight-primary HSV gridding model, and realizes the construction of grid point array models and matrixes of equal brightness planes, equal color planes and equal chroma planes of the eight-primary HSV color space through the eight-primary HSV gridding model, and realizes the digital expression and visualization of the grid point chromatograms of the equal brightness planes, the equal color planes and the equal chroma planes of the eight-primary HSV.
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 spirit of the present invention.
Claims (7)
- The HSV gridding model construction is characterized in that: based on the HSV color space of a regular hexagonal prism with the top surface being white W and the bottom surface K being black, combining a hue angle H with the value range of 0-360 degrees corresponding to the circumference of the regular hexagonal prism, chroma S with the value range of 0-1 corresponding to the distance from any point in the regular hexagonal prism to the column center, and brightness V with the value range of 0-1 corresponding to the height of the regular hexagonal prism, aiming at the positions of six primary colors of red R, yellow Y, green G, cyan C, blue B and magenta M respectively falling on the top surface edge of the HSV color space corresponding to six side edges, constructing an eight-primary-color HSV gridding model is realized according to the following steps;step A, according to the positions of red R, yellow Y, green G, cyan C, blue B and magenta M respectively along the edges of every side edge corresponding to the bottom edge of HSV color space respectively K R 、K Y 、K G 、K C 、K B 、K M Decomposing the HSV hexagonal prism color model into six regular triangular prism color general models, wherein the six regular triangular prism color general models are respectively as follows: WYR-KK Y K R 、WGY-KK G K Y 、WCG-KK C K G 、WBC-KK B K C 、WMB-KK M K B 、WRM-KK R K M Since the bottom surfaces of the regular hexagonal prisms are all black, the above-mentioned six regular hexagonal prism color general model is also called: red-yellow-white-black color submodel, yellow-green-white-black color submodel, green-cyan-white-black color submodel, cyan-blue-white-black color submodel, blue-magenta-white-black color submodel, magenta-red-white-black color submodel; universal model for the six regular triangular prism color universal modelWherein X is 1 ={R、Y、G、C、B、M},X 2 ={R、Y、G、C、B、M},X 2 ≠X 1 Then enter step B;step B, aiming at the regular triangular prism color general model, 10 equal parts are executed 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, 100 equal parts are executed on the height corresponding to the brightness in the regular triangular prism color general model, thereby the regular triangular prism color general model is subjected to gridding division, and the coordinates of each grid point are obtainedThen enter step C; wherein i=1, 2, …,10,11, j=1, 2, …,10,11, i+j is less than or equal to 12, t=1, 2, …,100,101; i represents the internal slave X of the general model of the regular triangular prism color 1 To X 2 Side corresponding to hue angle->The color phase sequence number of the grid point divided upwards; j represents grid point chroma serial numbers from the column centers to the outside along the radius on two sides corresponding to the chroma radius in the regular triangular prism color general model, and t represents grid point brightness serial numbers divided from white to black in the regular triangular prism color general model;step C. For general modelThe four primary colors corresponding to the color are +.>W(R W ,G W ,B W )、K(R K ,G K ,B K ) On the equal brightness surface with brightness t, the hue number, chroma number and primary color value of the grid point are added>W(R W ,G W ,B W ) Performing first re-coupling, and combining the first re-coupling result with brightness value sequence number and primary color value K (R) K ,G K ,B K ) Performing second re-coupling, and constructing a regular triangular prism color general model through the double coupling, thereby obtaining color values d of grid points in the grid general model i,j,t The following are provided:wherein X is 1 、X 2 W, K are four primary color values of a regular triangular prism color general model, and are respectively:W(R W ,G W ,B W )、K(R K ,G K ,B K );d i,j,t for grid points within the gridding general model, the RGB color value is d i,j,t (R i,j,t ,G i,j,t ,B i,j,t ) The method comprises the steps of carrying out a first treatment on the surface of the Then enter step D;d, respectively constructing a color conversion matrix Z of the regular triangular prism color general model i,j,t 、Z′ i,j,t And Z' i,j,t Step E is then entered as follows;e, aiming at the general model of the regular triangular prism color, according to Z i,j,t 、Z′ i,j,t 、Z″ i,j,t 、p i,j,t 、d i,j,t Updating the color value d of each grid point in the regular triangular prism color general model i,j,t =Z″ i,j,t ×(Z i,j,t ×p i,j,t +Z′ i,j,t ) Further, color values of grid points in the HSV color space are obtained.
- 2. The HSV meshing model construction of claim 1, wherein: color value d of each grid point in general model based on each regular triangular prism color i,j,t Further comprising the steps of:f, according to the coordinates of each grid point in the general model of each regular triangular prism colorCombining the serial numbers l=1, 2, 5 and 6 of the general model of each regular triangular prism color, and constructing the coordinate p of each grid point in the eight-primary-color HSV grid model i,j,t,l Step G is then entered as follows;step G, according to the color value d of each grid point in the regular triangular prism color general model i,j,t And (3) combining the serial numbers l=1, 2, & gt, 5 and 6 of the color general models of all regular triangular prisms, and constructing the color value d of each grid point in the eight-primary-color HSV grid model i,j,t,l Step H is then entered as follows;step H. According to Z i,j,t 、Z′ i,j,t And Z' i,j,t Respectively constructing color conversion matrixes Z of eight-primary-color HSV gridding models i,j,t,l 、Z′ i,j,t,l And Z' i,j,t,l Step I is then entered as follows;step I. According to Z i,j,t,l 、Z′ i,j,t,l 、Z″ i,j,t,l 、p i,j,t,l 、d i,j,t,l Updating color value d of each grid point in eight-primary-color HSV gridding model i,j,t,l =Z″ i,j,t,l ×(Z i,j,t,l ×p i,j,t,l +Z′ i,j,t,l )。
- 3. The chromatographic visualization method constructed based on the HSV gridding model of claim 2, characterized in that: 100 equal parts of corresponding 101 equal brightness surfaces which are respectively perpendicular to the axis of the brightness V and are executed based on the brightness V in the eight-primary-color HSV gridding model, and a grid point array matrix A respectively corresponding to each equal brightness surface in the eight-primary-color HSV gridding model is obtained based on t=1, 2, …,100 and 101 i,j,t,l The following are provided:wherein, when t=1,when t=2, …,100,when t=101, the number of times of the process,
- 4. a method of visualizing a chromatogram as in claim 3, wherein: based on 100 equal parts of corresponding 101 equal brightness surfaces executed by brightness V in the eight-primary-color HSV gridding model, and based on t=1, 2, …,100,101, obtaining a color mixing chromatographic matrix DA respectively corresponding to each equal brightness surface in the eight-primary-color HSV gridding model i,j,t,l The following are provided:
- 5. the chromatographic visualization method for constructing an HSV gridding model according to claim 2, wherein: the connection line between the top surface center and the bottom surface center of the eight-primary-color HSV gridding model is respectively combined with six side edges of a regular hexagonal prism to form six equal-color phase surfaces, so as to obtain a grid point array matrix B respectively corresponding to each equal-color phase surface in the eight-primary-color HSV gridding model i,j,t,l The following are provided:and further obtain color mixing chromatographic matrix DB corresponding to each equal color phase surface in the eight-primary color HSV gridding model i,j,t,l The following are provided:
- 6. the chromatographic visualization method for constructing an HSV gridding model according to claim 2, wherein: six sides of the regular hexagonal prism corresponding to the eight-primary HSV gridding model form six equal-chroma planes, and based on m=1, 2, …,10,11, a grid point array matrix C corresponding to each equal-chroma plane in the eight-primary HSV gridding model is obtained i,j,t,l The following are provided:wherein, when m=1,when m=2, …,10,when m=11, the number of the m-groups,
- 7. the chromatographic visualization method for constructing an HSV gridding model according to claim 6, wherein: obtaining a color mixing chromatographic matrix DC corresponding to each equal chroma surface in the eight-primary-color HSV gridding model i,j,t,l The following are provided:
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 CN113538690A (en) | 2021-10-22 |
CN113538690B true 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 |
---|---|
CN113538690A (en) | 2021-10-22 |
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 | |
CN103236081B (en) | A kind of method for registering of colour point clouds | |
CN112347685B (en) | Construction and application of color fiber two-dimensional color mixing space grid model and grid point array chromatogram | |
CN105893649A (en) | Optimal model based interactive image recolorating method | |
CN112347683B (en) | Construction and application of color fiber six-dimensional color mixing space grid model and grid point array chromatogram | |
WO2022110588A1 (en) | Construction method for grid model and grid point array color matrix of color fiber four-dimensional color mixing space and use thereof | |
CN112347684B (en) | Construction and application of color fiber five-dimensional color mixing space grid model and grid point array chromatogram | |
CN113538690B (en) | HSV gridding model construction and chromatographic visualization method | |
CN106303474A (en) | A kind of demosaicing methods based on G pattern color filter array and device | |
CN103413499B (en) | A kind of LED display | |
CN108153498A (en) | Correct table generating method and program | |
CN107067444A (en) | A kind of spectral gamut mapping method of optimization | |
CN102752622B (en) | A kind of color space 3 D displaying method | |
CN101036606B (en) | Method for rectifying the daltonism on the basis of self-adapted mapping | |
WO2022110590A1 (en) | Grid point array model construction method for gridding rgb color space, and application thereof | |
Pham | Spline-based color sequences for univariate, bivariate and trivariate mapping | |
KR100307822B1 (en) | Method for quantizing color using color coordinates | |
WO2022110586A1 (en) | Method for constructing grid point array model for meshed cmy color space and application thereof | |
CN115491909B (en) | Color space based on gridding mixing of nine-primary color dye liquor and equal brightness color spectrum construction thereof | |
US11015976B2 (en) | Method for constructing meshed model and discrete chromatography of eight-element primary color HSB full color gamut color space | |
JP2000020702A (en) | Color space and color chart or color picker | |
Yanagihara et al. | A study of color transfer methods with color gradation and distribution of nature picture | |
CN108133504B (en) | Three-dimensional flow field multivariable data visualization method based on polyhedral pipeline |
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 |