CN109884703A - Color plane attributed graph digitizing solution based on hsv color model - Google Patents
Color plane attributed graph digitizing solution based on hsv color model Download PDFInfo
- Publication number
- CN109884703A CN109884703A CN201910216729.5A CN201910216729A CN109884703A CN 109884703 A CN109884703 A CN 109884703A CN 201910216729 A CN201910216729 A CN 201910216729A CN 109884703 A CN109884703 A CN 109884703A
- Authority
- CN
- China
- Prior art keywords
- value
- tone
- attributed graph
- color plane
- color
- 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
Abstract
The present invention provides a kind of color plane attributed graph digitizing solution based on hsv color model, comprising: step 1, input color plane properties figure analyzes its tone spectrum signature under HSV space, generates tone value-frequency histogram;Step 2, the mapping relations that tone value-frequency histogram establishes tone value and attribute value are obtained according to step 1;Step 3, each pixel tonal value is calculated according to the color plane attributed graph inputted in step 1, and according to the tone value established in step 2 attribute value corresponding with the calculating of the mapping relations of attribute value;And step 4, the attribute value according to obtained in step 3 are echoed using identical colour code, are compared with original image, and the digitized effect of color plane attributed graph is evaluated.This method can be obtained by the color plane attributed graph of bitmap form preservation and the original property value represented by the color attribute figure of preservation in the form of paper copy, and then the plane properties can be enable to participate in further analysis and operation.
Description
Technical field
The present invention relates to field of geophysical exploration, especially relate to a kind of color plane based on hsv color model
Attribute digitizing solution.
Background technique
Seismic attributes analysis is extremely common a kind of means during petroleum exploration domain research and production, seismic properties
Plane visualization is explained in work in lithologic interpretation, oil gas has played highly important effect.One good attributed graph is logical
It often can be saved in the form of paper copies or computer bitmap, but researcher will not generally save initial data.It is color
Color attributed graph digitizing solution be exactly using save color attribute figure inverse original property value, with for further calculate with
Analysis.
The arrival of digital Age and its have become the unquestionable fact to the tremendous influence of different industries.For
For geological resource Exploration Domain, in a large amount of achievements that the simulation epoch are formed, if to play maximum effect in digital Age,
The digitlization of various simulation achievements is indispensable means, for this purpose, we have invented a kind of colours based on hsv color model
Plane properties figure digitizing solution, solves the above technical problem.
Summary of the invention
The object of the present invention is to provide a kind of color plane attributed graph digitizing solution based on hsv color model, with reality
Now to the digitlization of existing color plane attributed graph.
The purpose of the present invention can be achieved by the following technical measures: the color plane attributed graph based on hsv color model
Digitizing solution, being somebody's turn to do the color plane attributed graph digitizing solution based on hsv color model includes: step 1, input color plane
Attributed graph analyzes its tone spectrum signature under HSV space, generates tone value-frequency histogram;Step 2, it is obtained according to step 1
Tone value-frequency histogram establishes the mapping relations of tone value and attribute value;Step 3, according to the color plane inputted in step 1
Attributed graph calculates each pixel tonal value, and belongs to according to the tone value established in step 2 is corresponding with the calculating of the mapping relations of attribute value
Property value;And step 4, the attribute value according to obtained in step 3 are echoed using identical colour code, are compared with original image, evaluation is color
The digitized effect of color plane properties figure.
The purpose of the present invention can be also achieved by the following technical measures:
In step 1, for the color plane attributed graph of input, the tone value of each pixel is calculated, counts, according to one
Fixed step-length makees tone value-frequency histogram, builds picture tone spectrum, as next step analysis tone value frequency distribution feature, builds
The foundation of vertical tone value and attribute value mapping relations.
In step 2, the defeated quantitative relationship for entering color plane attributed graph tone and attribute value is analyzed, is composed according to tone special
Sign establishes the qualitative relationships of tone value Yu seismic properties value.
In step 3, each pixel tone value is calculated, attributed graph tone value matrix is established, according to color obtained in step 2
The mapping relations of tone pitch and attribute value, calculate each pixel attribute value, form attribute value matrix, and according to image logic coordinate with
Geographical coordinate conversion relation restores primitive attribute data by geographical coordinate.
In step 4, it is opposed with identical colour code echo with original graph according to the attribute value data obtained in step 3
Than evaluating the number based on the color plane attributed graph digitizing solution of hsv color model to given color plane attributed graph
Change effect, determines whether the attribute data obtained rationally can be used.
In step 1, continuous color range is used to the color plane attributed graph of input, attribute extreme value is clearly represented by analysis
Tone value;By analyzing tone value-frequency histogram for establishing under HSV space, category that the different tones of qualitative determination indicate
The relative size of property value.
In step 2, the mapping relations of tone value and attribute value select to be segmented or be not segmented foundation according to the actual situation.
In step 3, the attribute value being calculated is nondimensional.
In step 3, the attribute value being calculated is the requirement according to subsequent calculating, is changed by the extreme value of defined attribute value
Calculate the data with dimension.
The color plane attributed graph digitizing solution based on hsv color model in the present invention, HSV respectively represent tone
(H), saturation degree (S), lightness (V), including generation, the analysis composed to color plane attributed graph tone;And utilize hsv color mould
Type establishes the color attribute graph coloring tone pitch-attribute value mapping relations, and thus inverse color plane attributed graph original property value
Method.The color plane attributed graph digitizing solution based on hsv color space is based on hsv color space, color by establishing
The mapping relations inverse original property value of color plane properties graph coloring tune and attribute value, so as to avoid using RGB color into
Unavoidable RGB three-component and incomplete mapping relations existing for attribute value in row color plane attributed graph digitized process,
And existing uncertainty during using the mapping relations inverse plane properties value.Hsv color sky is based on by this
Between color plane attributed graph digitizing solution application, can obtain with bitmap form save color plane attributed graph and with
Original property value represented by the color attribute figure that paper copy form saves, and then the plane properties can be enable to participate in further
Analysis and operation.
Detailed description of the invention
Fig. 1 is a specific embodiment of the color plane attributed graph digitizing solution of the invention based on hsv color model
Flow chart;
Fig. 2 is that the need of input make the original color plane properties figure of digitized processing;
Fig. 3 is tone value-frequency histogram of input color plane properties figure;
Fig. 4 is the color plane attributed graph using the attribute data echo after digitized processing.
Specific embodiment
To enable above and other objects, features and advantages of the invention to be clearer and more comprehensible, preferably implementation is cited below particularly out
Example, and cooperate shown in attached drawing, it is described in detail below.
The stream of as shown in FIG. 1, FIG. 1 is the of the invention color plane attributed graph digitizing solution based on hsv color model
Cheng Tu.
In step 101, input color plane properties figure.Process enters step 102.
In step 102, it is based on hsv color model, calculates the tone value of each pixel of color plane attributed graph of input, it is raw
At the tone spectrum of input picture.For the color plane attributed graph of input, the tone value of each pixel is calculated, counts, according to
Certain step-length makees tone value-frequency histogram, build picture tone spectrum, as next step analysis tone value frequency distribution feature,
Establish the foundation of tone value Yu attribute value mapping relations.By analyzing the tone value-frequency histogram established under HSV space,
It being capable of the relative size of attribute value that indicates of the different tones of qualitative determination.
Process enters step 103.
The mapping of seismic properties value and tone value is established according to the feature for the tone spectrum that step 102 generates in step 103
Relationship.Analyze input color plane properties graph coloring tune and attribute value quantitative relationship, according to tone spectrum signature establish tone value with
The qualitative relationships of seismic properties value.The mapping relations of tone value and attribute value can select to be segmented or be not segmented according to the actual situation
It establishes.
Process enters step 104.
In step 104, calculate the tone value of input color plane properties figure pixel-by-pixel, and according to establishing in rapid 103
Attribute value attribute value corresponding with the conversion of the mapping relations of tone value, while logical coordinates is converted into geographical coordinate, by geography
Coordinate output attribute data.
The attribute value being calculated is nondimensional;But it can also can pass through defined attribute value according to the requirement of subsequent calculating
Extreme value converse the data with dimension.
In one embodiment, each pixel tone value is calculated, attributed graph tone value matrix is established, is obtained according in step 103
The mapping relations of the tone value and attribute value that arrive calculate each pixel attribute value, form attribute value matrix, and according to image logic
Coordinate and geographical coordinate conversion relation restore primitive attribute data by geographical coordinate.Process enters step 105.
Colour code echo identical with original image is selected for the attribute data obtained at step 104 in step 105
Attributed graph, and compared in original image, the effect of digitized processing is evaluated, the determining attribute data obtained in step 3 is whether
It can use.
The attribute value data obtained at step 104 is compared with identical colour code echo with original graph, is evaluated
This based on the color plane attributed graph digitizing solution of hsv color model to the digitlization effect of given color plane attributed graph,
Determine whether the attribute data obtained rationally can be used.
Fig. 2 is the color plane attributed graph saved with RGB bitmap form.First using RGB bitmap as data, enter step
102.Tonal analysis is made to input bitmap in step 102, generates tone value-frequency histogram, as a result as Fig. 3 is shown.
In step 103, attribute value-tone value mapping relations are established, and primitive attribute number is calculated at step 104
According to.
In step 105, the primitive attribute data that step 104 is formed are selected identical with the average attributed graph of original color
Colour code is made GRB color plane and is shown, obtains Fig. 4 such as and shows result;By the color plane attribute of the display result of such as Fig. 4 and input
Figure compares, and evaluation digitlization treatment effect determines whether the attribute data obtained can be used.
By the comparison of Fig. 2 in step 105 and Fig. 4, the color plane of the seismic attributes data obtained through above-mentioned process is aobvious
Show high with original image degree of agreement, it was demonstrated that colour should be used for based on the color plane attributed graph digitizing solution of hsv color model
The digitized processing of plane properties figure, and extraordinary effect can be obtained.
In one embodiment, specifically includes the following steps:
In step 101, input color plane properties figure.Process enters step 102.
In step 102, it is based on hsv color model, calculates the tone value of each pixel of color plane attributed graph of input, it is raw
At the tone spectrum of input picture.Process enters step 103.
The mapping of seismic properties value and tone value is established according to the feature for the tone spectrum that step 102 generates in step 103
Relationship.Process enters step 104.
In step 104, calculate the tone value of input color plane properties figure pixel-by-pixel, and according to establishing in rapid 103
Attribute value attribute value corresponding with the conversion of the mapping relations of tone value, while logical coordinates is converted into geographical coordinate, by geography
Coordinate output attribute data, process enter step 105.
Colour code echo identical with original image is selected for the attribute data obtained at step 104 in step 105
Attributed graph, and compared in original image, the effect of digitized processing is evaluated, the determining attribute data obtained in step 3 is whether
It can use.
Fig. 2 is the color plane attributed graph saved with RGB bitmap form.First using RGB bitmap as data, enter step
102.Tonal analysis is made to input bitmap in step 102, generates tone value-frequency histogram, as a result as Fig. 3 is shown.
In step 103, attribute value-tone value mapping relations are established, and primitive attribute number is calculated at step 104
According to.
In step 105, the primitive attribute data that step 104 is formed are selected identical with the average attributed graph of original color
Colour code is made GRB color plane and is shown, obtains Fig. 4 such as and shows result;By the color plane attribute of the display result of such as Fig. 4 and input
Figure compares, and evaluation digitlization treatment effect determines whether the attribute data obtained can be used.
By the comparison of Fig. 2 in step 105 and Fig. 4, the color plane of the seismic attributes data obtained through above-mentioned process is aobvious
Show high with original image degree of agreement, it was demonstrated that colour should be used for based on the color plane attributed graph digitizing solution of hsv color model
The digitized processing of plane properties figure, and extraordinary effect can be obtained.
The color plane attributed graph digitizing solution based on hsv color model in the present invention forms the epoch of simulation
Largely in bitmap format and paper copy form save achievement digitlization, be fruitful to petroleum exploration domain, data again
It utilizes and the cross-application and development aspect of oil-gas exploration and big data technology all has great importance.
Claims (9)
1. the color plane attributed graph digitizing solution based on hsv color model, which is characterized in that hsv color model should be based on
Color plane attributed graph digitizing solution include:
Step 1, input color plane properties figure analyzes its tone spectrum signature under HSV space, generates tone value-frequency histogram
Figure;
Step 2, the mapping relations that tone value-frequency histogram establishes tone value and attribute value are obtained according to step 1;
Step 3, each pixel tonal value is calculated according to the color plane attributed graph that inputs in step 1, and according to establishing in step 2
Tone value attribute value corresponding with the calculating of the mapping relations of attribute value;And
Step 4, the attribute value according to obtained in step 3 is echoed using identical colour code, is compared with original image, is evaluated colored flat
The digitized effect of face attributed graph.
2. the color plane attributed graph digitizing solution according to claim 1 based on hsv color model, feature exist
In in step 1, for the color plane attributed graph of input, the tone value of each pixel being calculated, counts, according to certain
Step-length makees tone value-frequency histogram, builds picture tone spectrum, as next step analysis tone value frequency distribution feature, establishes color
The foundation of tone pitch and attribute value mapping relations.
3. the color plane attributed graph digitizing solution according to claim 1 based on hsv color model, feature exist
In in step 2, analyzing the defeated quantitative relationship for entering color plane attributed graph tone and attribute value, built according to tone spectrum signature
The qualitative relationships of vertical tone value and seismic properties value.
4. the color plane attributed graph digitizing solution according to claim 1 based on hsv color model, feature exist
In in step 3, calculating each pixel tone value, attributed graph tone value matrix established, according to tone value obtained in step 2
With the mapping relations of attribute value, each pixel attribute value is calculated, forms attribute value matrix, and according to image logic coordinate and geography
Coordinate transformation relationship restores primitive attribute data by geographical coordinate.
5. the color plane attributed graph digitizing solution according to claim 1 based on hsv color model, feature exist
In in step 4, according to the attribute value data obtained in step 3, with identical colour code echo, comparing, comment with original graph
Valence, which is somebody's turn to do the color plane attributed graph digitizing solution based on hsv color model, imitates the digitlization of given color plane attributed graph
Fruit, determines whether the attribute data obtained rationally can be used.
6. the color plane attributed graph digitizing solution according to claim 1 based on hsv color model, feature exist
In in step 1, using continuous color range to the color plane attributed graph of input, the color of attribute extreme value clearly represented by analyzing
Tone pitch;By analyzing tone value-frequency histogram for establishing under HSV space, attribute value that the different tones of qualitative determination indicate
Relative size.
7. the color plane attributed graph digitizing solution according to claim 1 based on hsv color model, feature exist
In in step 2, the mapping relations of tone value and attribute value select to be segmented or be not segmented foundation according to the actual situation.
8. the color plane attributed graph digitizing solution according to claim 1 based on hsv color model, feature exist
In in step 3, the attribute value being calculated is nondimensional.
9. the color plane attributed graph digitizing solution according to claim 1 based on hsv color model, feature exist
In in step 3, the attribute value being calculated is the requirement according to subsequent calculating, is conversed by the extreme value of defined attribute value
Data with dimension.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910216729.5A CN109884703B (en) | 2019-03-20 | 2019-03-20 | Color plane attribute graph digitalization method based on HSV color model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910216729.5A CN109884703B (en) | 2019-03-20 | 2019-03-20 | Color plane attribute graph digitalization method based on HSV color model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109884703A true CN109884703A (en) | 2019-06-14 |
CN109884703B CN109884703B (en) | 2021-03-26 |
Family
ID=66933455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910216729.5A Active CN109884703B (en) | 2019-03-20 | 2019-03-20 | Color plane attribute graph digitalization method based on HSV color model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109884703B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111323780A (en) * | 2020-03-16 | 2020-06-23 | 泰州市气象局 | Continuous color code-based microwave radiometer product reproduction method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101285689A (en) * | 2007-04-09 | 2008-10-15 | 株式会社电装 | Map display controller and computer readable medium including instructions for displaying map image |
CN102483864A (en) * | 2009-09-10 | 2012-05-30 | 雪佛龙美国公司 | Method For Converting A Digital Image Into A Multi-Dimensional Geo-Referenced Data Structure |
US20130262061A1 (en) * | 2012-03-28 | 2013-10-03 | Schlumberger Technology Corporation | Seismic attribute color model transform |
CN104459785A (en) * | 2014-12-31 | 2015-03-25 | 中国石油天然气股份有限公司 | Method and device for detecting multi-attribute color processing geologic body |
US20150355358A1 (en) * | 2014-06-06 | 2015-12-10 | Schlumberger Technology Corporation | Generalized spectral decomposition |
CN109166159A (en) * | 2018-10-12 | 2019-01-08 | 腾讯科技(深圳)有限公司 | Obtain the method, apparatus and terminal of the dominant hue of image |
-
2019
- 2019-03-20 CN CN201910216729.5A patent/CN109884703B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101285689A (en) * | 2007-04-09 | 2008-10-15 | 株式会社电装 | Map display controller and computer readable medium including instructions for displaying map image |
CN102483864A (en) * | 2009-09-10 | 2012-05-30 | 雪佛龙美国公司 | Method For Converting A Digital Image Into A Multi-Dimensional Geo-Referenced Data Structure |
US20130262061A1 (en) * | 2012-03-28 | 2013-10-03 | Schlumberger Technology Corporation | Seismic attribute color model transform |
US20150355358A1 (en) * | 2014-06-06 | 2015-12-10 | Schlumberger Technology Corporation | Generalized spectral decomposition |
CN104459785A (en) * | 2014-12-31 | 2015-03-25 | 中国石油天然气股份有限公司 | Method and device for detecting multi-attribute color processing geologic body |
CN109166159A (en) * | 2018-10-12 | 2019-01-08 | 腾讯科技(深圳)有限公司 | Obtain the method, apparatus and terminal of the dominant hue of image |
Non-Patent Citations (2)
Title |
---|
ANDREAS LAAKE: ""Structural interpretation in color – A new RGB processing technique for extracting geological structures from seismic data"", 《SEG HOUSTON 2013 ANNUAL MEETING》 * |
张艳 等: ""基于SOM 和HSV染色技术的致密砂岩储层地震相分析"", 《天然气地球科学》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111323780A (en) * | 2020-03-16 | 2020-06-23 | 泰州市气象局 | Continuous color code-based microwave radiometer product reproduction method and system |
CN111323780B (en) * | 2020-03-16 | 2024-04-16 | 泰州市气象局 | Continuous color code-based microwave radiometer product redisplay method and system |
Also Published As
Publication number | Publication date |
---|---|
CN109884703B (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111460138B (en) | BIM-based digital engineering supervision method and system | |
JP4573706B2 (en) | Digital image segmentation method | |
CN108830912A (en) | A kind of interactive grayscale image color method of depth characteristic confrontation type study | |
CN101738402B (en) | Analysis system of bi-dimensional image of rock sample | |
US20080189081A1 (en) | System and method for analyzing geometric deviations of a physical object | |
US8615129B2 (en) | Pattern separating extraction device, and pattern separating extraction method | |
CN111583287A (en) | Deep learning model training method for fine portrait picture segmentation | |
US20020145603A1 (en) | Image space display method and apparatus | |
US10991101B2 (en) | Multi-stage segmentation using synthetic images | |
CN109884703A (en) | Color plane attributed graph digitizing solution based on hsv color model | |
CN111626358A (en) | Tunnel surrounding rock grading method based on BIM picture recognition | |
CN108090914B (en) | Color image segmentation method based on statistical modeling and pixel classification | |
CN112164029B (en) | Image analysis method for aerated concrete pore structure | |
CN117372332A (en) | Fabric flaw detection method based on improved YOLOv7 model | |
US11430130B2 (en) | Image processing method and computer-readable recording medium having recorded thereon image processing program | |
CN116012860A (en) | Teacher blackboard writing design level diagnosis method and device based on image recognition | |
CN113610863B (en) | Multi-exposure image fusion quality assessment method | |
CN111931665B (en) | Under-sampling face recognition method based on intra-class variation dictionary modeling | |
CN101276457B (en) | Verification pattern algorithm and system and method for realizing RTL | |
JP2005260452A (en) | Image processing apparatus | |
CN107784662B (en) | Image target significance measurement method | |
CN114638596B (en) | Natural resource business process examination method, system, equipment and medium | |
CN113112515B (en) | Evaluation method for pattern image segmentation algorithm | |
Peifeng et al. | Color identification of complex objects based on the Bayes classification | |
CN117893454A (en) | Garbage classification data enhancement method based on priori class tone information |
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 |