CN109671132A - A kind of curve data acquisition method, apparatus and system based on colour gamut feature - Google Patents

A kind of curve data acquisition method, apparatus and system based on colour gamut feature Download PDF

Info

Publication number
CN109671132A
CN109671132A CN201811456781.XA CN201811456781A CN109671132A CN 109671132 A CN109671132 A CN 109671132A CN 201811456781 A CN201811456781 A CN 201811456781A CN 109671132 A CN109671132 A CN 109671132A
Authority
CN
China
Prior art keywords
data
pixel
curve
color
characteristic
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.)
Pending
Application number
CN201811456781.XA
Other languages
Chinese (zh)
Inventor
叶智慧
王涵
陈冬
朱丹丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China University of Petroleum Beijing
Original Assignee
China University of Petroleum Beijing
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China University of Petroleum Beijing filed Critical China University of Petroleum Beijing
Priority to CN201811456781.XA priority Critical patent/CN109671132A/en
Publication of CN109671132A publication Critical patent/CN109671132A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

This specification embodiment discloses a kind of curve data acquisition method, apparatus and system based on colour gamut feature.The described method includes: choosing pretreatment zone from logging curve, the pretreatment zone includes at least a part of the log;Removal interference data, the interference data include at least grid lines data, background colour data from the pretreatment zone;The color characteristic data of pixel, determines pixel characteristic search range based on the color characteristic data in pretreatment zone after obtaining removal interference data;The pixel collection for meeting the pixel characteristic search range is obtained from the logging curve, determines the borehole log data extracted.The curve of colored characteristic of field can be quick and precisely identified using this specification embodiment, to obtain high accuracy data.

Description

A kind of curve data acquisition method, apparatus and system based on colour gamut feature
Technical field
This specification example scheme belongs to the technical field of computer digital animation, more particularly to a kind of special based on colour gamut Curve data acquisition method, the apparatus and system of sign.
Background technique
Identification method used by currently used data processing software such as Dagra, Engauge, GetData etc. is whole A region curve feature is picked up, and can not solve to interfere referring to grid lines bring, causes the precision for acquiring data not high.For example, Dagra software mainly carries out Curves Recognition by curvilinear characteristic, intercepts out by table from material first, then passes through coordinate Transverse and longitudinal coordinate is chosen and is named and determines range by tool, is closed finally by the key point on selected curve and pulling The control point of key point two sides and the extraction for influencing line and carrying out data at key point.Wherein, pulling for use influences line to determine Although the method that data and curves are substantially moved towards is very slow, the accuracy rate of acquisition data can be improved.It is similar therewith, The softwares such as DataThief, GetData, g3data, Graph Click are all by selecting some characteristic points to carry out region recognition Method carry out rough identification data and curves, the selection of reference axis is similar with Dagra, and most of software of fetching is taken this Mode.The data extraction method as used by this few money product is the whole extraction based on curvilinear characteristic, so to importing The clarity of picture and the presence of distracter have apparent limitation, for example, data are bent firstly, clarity must be sufficiently high Line pixel must have apparent difference with lengthy and jumbled interference pixel around, otherwise in the early stage just can not picks up data curve it is basic Information;Secondly, cannot have excessively apparent distracter in the figure of importing, if there is other connected curves by data and curves Or referring to grid lines, then the direction picked up will shift, the data extracted just have very big error.
In addition, currently used data extraction software DigitizeIt, main using steps are as follows: 1. import figure from file Shape is copied on clipbook, and 2. define axle system, the digitlization of 3. automatic or manuals.Data value can be CSV format guarantor It deposits or is directly copied and pasted in any other application program, such as MS Excel or Microcal Origin.It chooses number According to mode be whole region curvilinear characteristic pick up, can handle the figure of inclination or distortion, axis needs not be orthogonal.This Data extraction method used by product is still the extraction of the entirety based on curvilinear characteristic, so its access still will receive grid The influence of equal interference.Although successively choosing the method in data and curves at a distance of closer characteristic value by mouse can suitably reduce Error, but interfere once increasing, it can still make the point picked up offset.Moreover, picking up this method by clicking point by point, can waste A large amount of manpower, efficiency are very low.
Therefore, grid lines interference can be excluded by needing one kind in the industry, fast and accurately identify curve, improve acquisition data essence The solution of degree.
Summary of the invention
This specification embodiment is designed to provide a kind of curve data acquisition method based on colour gamut feature, device and is System can fast and accurately be identified curve with filter screen ruling, obtain high accuracy data, effectively prevent being brought due to grid lines Interference, lead to the not high problem of precision for acquiring data, and also save a large amount of manual operation, improve acquisition data Efficiency.
On the one hand this application provides a kind of curve data acquisition methods based on colour gamut feature, comprising:
Pretreatment zone is chosen from logging curve, the pretreatment zone includes at least one of the log Point;
Removal interference data, the interference data include at least grid lines data, background colour from the pretreatment zone Data;
The color characteristic data of pixel, is based on the color characteristic number in pretreatment zone after obtaining removal interference data According to determining pixel characteristic search range;
The pixel collection for meeting the pixel characteristic search range is obtained from the logging curve, according to the picture Vegetarian refreshments set determines the borehole log data extracted.
It is described that interference is removed from the pretreatment zone in another embodiment of the method that this specification provides Data, including using at least one of following modes:
When the color characteristic data for the grid lines for including in the interference data and the color characteristic number of the log According to it is different when or it is described interference data in include grid lines color characteristic data not in the color characteristic of the log When in data preset range, by the way that colour gamut threshold values is arranged, the grid lines is filtered;
When the color characteristic data for the grid lines for including in the interference data and the color characteristic number of the log According to it is identical or it is described interference data in include grid lines color characteristic data the log color characteristic data When in preset range, the data in the pretreatment zone are saved in matrix, using the first preset rules to the matrix It is handled, realizes the filtering to the grid lines, the data in the pretreatment zone include at least the face of the grid lines The color characteristic data of color characteristic data and the log.
It is described to utilize the first preset rules to the matrix in another embodiment of the method that this specification provides It is handled, realizes the filtering to the grid lines, comprising:
Two values matrix is converted by the matrix;
Full line in the two values matrix or permutation are deleted using the first preset rules, the first preset rules packet It includes the full line continuously occurred in the two values matrix or quantity that permutation is all selected reaches preset value, or continuously occur The quantity that full line or permutation are selected reaches preset value.
It is described that interference is removed from the pretreatment zone in another embodiment of the method that this specification provides Data, further includes:
According to the background colour information of the logging curve, the background colour data are determined, the background colour information is pre- First determine;
According to the background colour data, the background colour data are deleted from the data of the pretreatment zone.
It is described that picture is determined based on the color characteristic data in another embodiment of the method that this specification provides Plain signature search range, comprising:
The average value for counting the color characteristic data of pixel in the pretreatment zone obtains the pixel characteristic search model It encloses.
In another embodiment of the method that this specification provides, described obtain from the logging curve meets The pixel collection of the pixel characteristic search range, comprising:
According to the pixel characteristic search range, the color gamut of pixel in log is determined;
According to the color gamut, characteristic range corresponding with the color gamut is selected;
Based on the characteristic range, pixel collection is obtained from the logging curve.
In another embodiment of the method that this specification provides, meet institute obtaining from the logging curve After the pixel collection for stating pixel characteristic search range, further includes:
Pixel in the pixel collection is become into the white area on gray level image by corresponding position, described in judgement Whether white area is consistent with required log;It is such as inconsistent, adjust the color gamut after the color gamut is adjusted;
Correspondingly, selecting feature corresponding with the color gamut after the adjusting according to the color gamut after the adjusting Range;
Based on the characteristic range, pixel collection is obtained from the logging curve.
In another embodiment of the method that this specification provides, described obtain from the logging curve meets After the pixel collection of the pixel characteristic search range, the borehole log data extracted is determined according to the pixel collection Before, comprising:
It extracts the pixel coordinate of every a line in the pixel collection and averages, obtain the pixel under the coordinate Point coordinate;
The starting pixels point coordinate and end pixels point coordinate of log described in the pixel collection are obtained, is deleted The pixel after pixel and end pixels point coordinate before the starting pixels point coordinate;
According to upper and lower pixel coordinate, pixel completion is carried out to null value position using interpolation method.
In another embodiment of the method that this specification provides, further includes:
The borehole log data is depicted as line chart;
Compare whether the line chart is preset in error range in the log, such as in the default error range It is interior, data value is converted according to equal proportion by the borehole log data and is saved.
On the other hand, this specification embodiment also provides a kind of curve data acquisition device based on colour gamut feature, described Device includes:
Region obtains module, and for choosing pretreatment zone from logging curve, the pretreatment zone is included at least A part of the log;
Interference module is removed, for removing interference data from the pretreatment zone, the interference data are included at least Grid lines data, background colour data;
Search range determining module, for obtaining the color characteristic number of pixel in the pretreatment zone after data are interfered in removal According to determining pixel characteristic search range based on the color characteristic data;
Data determining module, for obtaining the pixel for meeting the pixel characteristic search range from the logging curve Point set determines the borehole log data extracted according to the pixel collection.
In another embodiment for the described device that this specification provides, the removal interference module, comprising:
First filter element, for when the color characteristic data for interfering the grid lines for including in data and the well logging The color characteristic data for the grid lines for including when the color characteristic data difference of curve or in the interference data is not in the survey When in the color characteristic data preset range of well curve, by the way that colour gamut threshold values is arranged, the grid lines is filtered;
Second filter element, for when the color characteristic data for interfering the grid lines for including in data and the well logging The color characteristic data of curve is identical or the interference data in include grid lines color characteristic data in well logging song When in the color characteristic data preset range of line, the data in the pretreatment zone are saved in matrix, it is pre- using first If rule handles the matrix, the filtering to the grid lines is realized, the data in the pretreatment zone are at least wrapped Include the color characteristic data of the grid lines and the color characteristic data of the log.
In another embodiment for the described device that this specification provides, second filter element, comprising:
Matrix conversion unit, for converting two values matrix for the matrix;
Third filter element, for being deleted using the first preset rules full line in the two values matrix or permutation, The quantity that first preset rules include the full line continuously occurred in the two values matrix or permutation is all selected reaches pre- If being worth, or the quantity that the full line or permutation continuously occurred is selected reaches preset value.
In another embodiment for the described device that this specification provides, the removal interference module, further includes:
Background colour data determination unit determines the background colour for the background colour information according to the logging curve Data, the background colour information are predetermined;
Background colour data delete unit, for being deleted from the data of the pretreatment zone according to the background colour data Except the background colour data.
In another embodiment for the described device that this specification provides, described search range determination module, comprising:
The average value for counting the color characteristic data of pixel in the pretreatment zone obtains the pixel characteristic search model It encloses.
In another embodiment for the described device that this specification provides, the data determining module, comprising:
The first determination unit of color gamut, for determining pixel in log according to the pixel characteristic search range The color gamut of point;
Characteristic range first selecting unit, for selecting spy corresponding with the color gamut according to the color gamut Levy range;
Pixel acquiring unit obtains pixel collection from the logging curve for being based on the characteristic range.
In another embodiment for the described device that this specification provides, the data determining module, further includes:
Judgement adjusts unit, for becoming on gray level image the pixel in the pixel collection by corresponding position White area judges whether the white area is consistent with required log;It is such as inconsistent, it adjusts the color gamut and obtains Color gamut after adjusting;
The second determination unit of color gamut, for according to the color gamut after the adjusting, selection with after the adjusting The corresponding characteristic range of color gamut;
The second selecting unit of characteristic range obtains pixel from the logging curve for being based on the characteristic range Point set.
In another embodiment for the described device that this specification provides, the data determining module, comprising:
Pixel coordinate obtaining unit, for extracting the pixel coordinate of every a line in the pixel collection and being averaging Value, obtains the pixel coordinate under the coordinate;
Unit is deleted, for obtaining the starting pixels point coordinate and end picture of log described in the pixel collection Vegetarian refreshments coordinate deletes the pixel after the pixel and end pixels point coordinate before the starting pixels point coordinate;
Completion unit, for carrying out pixel completion to null value position using interpolation method according to upper and lower pixel coordinate.
In another embodiment for the described device that this specification provides, further includes:
Picture unit, for the borehole log data to be depicted as line chart;
Conversion unit, for the line chart whether in the default error range of the log, such as described In default error range, data value is converted according to equal proportion by the borehole log data and is saved.
On the other hand, this specification embodiment provides a kind of curve data acquisition equipment based on colour gamut feature, including place Device and the memory for storage processor executable instruction are managed, realizes to include following when described instruction is executed by the processor Step:
Pretreatment zone is chosen from logging curve, the pretreatment zone includes at least one of the log Point;
Removal interference data, the interference data include at least grid lines data, background colour from the pretreatment zone Data;
The color characteristic data of pixel, is based on the color characteristic number in pretreatment zone after obtaining removal interference data According to determining pixel characteristic search range;
The pixel collection for meeting the pixel characteristic search range is obtained from the logging curve, according to the picture Vegetarian refreshments set determines the borehole log data extracted.
On the other hand, this specification embodiment provides a kind of curve data acquisition system based on colour gamut feature, including extremely A few processor and the memory for storing computer executable instructions, the processor is realized above-mentioned when executing described instruction The step of any one embodiment the method.
A kind of curve data acquisition method, apparatus and system based on colour gamut feature that this specification embodiment provides, can Fast and accurately to extract required curve data, not only save according to color and pixel characteristic filter screen ruling A large amount of manual operation improves the efficiency for obtaining data, and effectively prevents causing to acquire data due to grid lines The not high problem of precision provides a kind of new approaches for the collection of curve image data.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only The some embodiments recorded in this specification, for those of ordinary skill in the art, in not making the creative labor property Under the premise of, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of process signal for curve data acquisition method embodiment based on colour gamut feature that this specification provides Figure;
Fig. 2 is a kind of stream of the specific embodiment for curve data acquisition method based on colour gamut feature that this specification provides Cheng Tu;
Fig. 3 is the schematic diagram for obtaining required digital curve figure in one embodiment of this specification offer by cutting;
Fig. 4 is the schematic diagram that pretreatment zone is chosen in one embodiment of this specification offer;
Fig. 5 is to convert taken point collection to white area on gray level image in one embodiment that this specification provides Schematic diagram;
Fig. 6 be this specification provide one embodiment in data pixels point is deleted and the signal after completion Figure;
Fig. 7 is that data pixels point is drawn as to the schematic diagram of line chart in one embodiment that this specification provides;
Fig. 8 be this specification provide one embodiment in the data of the curve of two different colours are extracted respectively Schematic diagram;
Fig. 9 A is the schematic diagram that data result is extracted using method provided by the present application;
Fig. 9 B is to utilize the schematic diagram that data result is extracted using GetData software;
Figure 10 A is the schematic diagram that data result is extracted using method provided by the present application;
Figure 10 B is to utilize the schematic diagram that data result is extracted using GetData software;
Figure 11 is a kind of module knot for curve data acquisition device embodiment based on colour gamut feature that this specification provides Structure schematic diagram;
Figure 12 is a kind of module knot for curve data acquisition system embodiment based on colour gamut feature that this specification provides Structure schematic diagram.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described Embodiment be only a part of the embodiment in this specification, instead of all the embodiments.Base in this manual one A or multiple embodiments, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, the range of this specification embodiment protection all should belong to.
Identification method used by currently used data processing software such as Dagra, Engauge, GetData etc. is whole A region curve feature is picked up, and can not solve to interfere referring to grid lines bring, causes the precision for acquiring data not high.This explanation Book embodiment provides a kind of curve data acquisition method based on colour gamut feature, utilizes colour gamut identification, pixel extraction, interpolation method Etc. modes carry out curvilinear characteristic identification, can not only exclude grid lines interference, fast and accurately identify curve, obtain high-precision Data, and in this way, operator only needs to input the value range of transverse and longitudinal coordinate in program and by click pair Angle point carries out region and takes color, very convenient, provides a kind of new approaches for the collection of curve image data.
This specification embodiment is illustrated by taking a specific application scenarios as an example below.Specifically, Fig. 1 is this A kind of flow diagram for curve data acquisition method embodiment based on colour gamut feature that specification provides.Although this specification It provides as the following examples or method operating procedure shown in the drawings or apparatus structure, but based on conventional or without creativeness Labour may include more in the method or device or part merge after less operating procedure or modular unit.? In the step of there is no necessary causalities in logicality or structure, the modular structure of the execution sequences of these steps or device is not It is limited to this specification embodiment or execution shown in the drawings sequence or modular structure.The method or modular structure in reality In device, server or end product in application, can according to embodiment or method shown in the drawings or modular structure into Row sequence execute or it is parallel execute (such as parallel processor or multiple threads environment, even include distributed treatment, The implementation environment of server cluster).
Certainly, the description of following embodiments does not constitute limit to other technical solutions extended to based on this specification System.A kind of specific embodiment as shown in Figure 1, a kind of collecting method based on color identification that this specification provides one In a embodiment, the method may include:
S1: choosing pretreatment zone from logging curve, and the pretreatment zone includes at least the log A part.
In this specification one or more embodiment, the logging curve can be image or logging diagram in document Etc. the formats such as the picture even cloud atlas in data image.
In this specification one or more embodiment, image can be pre-processed first.Specifically, choosing includes needing Then the image of digitized log chooses coordinates regional by coordinate tool, measuring the direction selection region x has How many a pixels, how many pixel of the direction y carry out assignment to coordinate range according to the physical significance of coordinate in image and are sat It marks on a map, finally clicks the upper left corner of selected areas and the lower right corner can there are in a matrix by the coordinates regional of selection automatically.
In this specification one or more embodiment, after obtaining logging curve, need to choose from logging curve Pretreatment zone, the pretreatment zone include at least a part of the log.Specifically, being selected in logging curve Take sub-fraction region as pretreatment zone, with mouse click selected areas the upper left corner and the lower right corner point can automatically by This region is stored in a new matrix, is then analyzed the matrix.Selected pretreatment zone is served only for color The extraction of characteristic can be any shape, herein with no restriction, due to the more convenient selection of rectangle, be typically chosen Rectangular area.It should be noted that selected pretreatment zone includes at least a part of the log, it is, institute The pretreatment zone of choosing must include the color characteristic data of log.
S2: removal interference data, the interference data include at least grid lines data, background from the pretreatment zone Chromatic number evidence.
In this specification one or more embodiment, due to often having grid lines, background colour etc. in the logging curve of acquisition Disturbing factor, so needing to remove interference data from the pretreatment zone after choosing pretreatment zone.
In this specification one or more embodiment, in the logging curve, the color of grid lines may be bent with well logging The color of line is identical may also be different, so can be using from different when from removal interference data in the pretreatment zone Reason mode.When the color characteristic data for the grid lines for including in the interference data and the color characteristic data of the log The color characteristic data for the grid lines for including when different or in the interference data is not in the color characteristic number of the log When according in preset range, by the way that colour gamut threshold values is arranged, the grid lines is filtered.Specifically, by the way that suitable color is arranged Thresholding first filters out all light colored mesh regions, then removes dark continuous net ruling part, obtains more pure curve number According to.
When the color characteristic data for the grid lines for including in the interference data and the color characteristic number of the log According to it is identical or it is described interference data in include grid lines color characteristic data the log color characteristic data When in preset range, the data in the pretreatment zone are saved in matrix, using the first preset rules to the matrix It is handled, realizes the filtering to the grid lines, the data in the pretreatment zone include at least the face of the grid lines The color characteristic data of color characteristic data and the log.Wherein, it is described using the first preset rules to the matrix into Row processing, realizes the filtering to the grid lines, comprising: convert two values matrix for the matrix;Utilize the first preset rules Full line in the two values matrix or permutation are deleted, first preset rules include continuously occurring in the two values matrix Full line or the quantity that is all selected of permutation reach preset value, or the quantity that the full line or permutation continuously occurred is selected reaches To preset value.
Specifically, when the color characteristic data of the grid lines is identical as the color characteristic data of the log or institute When stating the color characteristic data of grid lines in the color characteristic data preset range of the log, it is, in grid The color of the line part different from extracted graph color feature has been excluded, and only remains or pole consistent with graph color feature When its close meshing, since the data in the pretreatment zone being saved in matrix at this time and are converted into two-value Matrix, and grid lines is all located at a straight line vertically or horizontally and passes through so being all located at same a row or column in a matrix Full line or permutation element are analyzed in two values matrix, selected according to the full line or permutation that continuously occur in two values matrix The case where carry out grid lines deletion.Wherein, when the full line or permutation continuously occurred in two values matrix is all selected or connected When the quantity that the continuous full line occurred or permutation are selected reaches preset value, the row and column being selected is deleted.Wherein preset value can To be arranged according to the actual situation.It should be noted that when deleting the row or column in two values matrix, the data pixels point of curve May be deleted, even if data and curves data pixels point be deleted also only can be very little a part, this part can To carry out completion by interpolation method.
It may include background pixel in the logging curve of the acquisition in this specification one or more embodiment, So needing to carry out the pretreatment zone removal of background colour data.Under normal circumstances, the background pixel of image is white Pixel can first select the region of background color, obtain the value range of a background color pixel if being not white pixel, Then this partial pixel is deleted according to the value range of background color pixel.Specifically, according to the background of the logging curve Color information determines that the background colour data, the background colour information are predetermined;According to the background colour data, from institute It states and deletes the background colour data in the data of pretreatment zone.
In this specification one or more embodiment, if there is this very regular interference of other similar grid lines Element, again may be by carrying out matrix deleting operation and is removed.
S3: the color characteristic data of pixel in the pretreatment zone after obtaining removal interference data, it is special based on the color Sign data determine pixel characteristic search range.
Wherein, the color characteristic data of curve is exactly the data pixels feature of curve, is also data pixels point;Pixel characteristic Search range i.e. color feature value, are also character pixel, are the characteristic values based on a certain curve in coordinate, and what is referred to is exactly The color average that graph color is mostly in.
In this specification one or more embodiment, after removal interference data in the pretreatment zone, need pair The log for including in the pretreatment zone carries out the extraction of color feature value, that is, obtains the picture of the log Plain signature search range.Correspondingly, described determine pixel characteristic search range based on the color characteristic data, comprising: statistics The average value of the color characteristic data of pixel in the pretreatment zone obtains the pixel characteristic search range.Specifically, by Interference data are had been removed in pretreatment zone, so it is exactly that a large amount of color of log is special that pretreatment zone is remaining Data are levied, using color characteristic data as research object, its average value is counted, initial characteristic values is obtained, as log Color feature value, i.e. pixel characteristic search range provide foundation for subsequent extracted log pixel.Wherein, the institute is counted The average value of color characteristic data in pretreatment zone is stated, that is, the value of color characteristic data RGB is averaging processing, is obtained Color feature value to the characteristic value of more pervasive RGB, as the log.
It should be noted that in obtaining the pretreatment zone after removing interference data when the color characteristic data of pixel, If curve is unclear, still color characteristic number can be obtained by this method as long as the color characteristic that curve is also able to maintain it According to.If there is a plurality of log, and the color characteristic data of the color characteristic data of required curve and other curves of surrounding There is no apparent difference, it can be by the way that the color of this curve be modified with the pen of other colors, after then extracting modification The color characteristic data of curve.
S4: the pixel collection for meeting the pixel characteristic search range is obtained from the logging curve, according to institute It states pixel collection and determines the borehole log data extracted.
In this specification one or more embodiment, according to the pixel characteristic search range determined in step S3, from described The pixel collection for meeting the pixel characteristic search range is obtained in logging curve, to realize all pictures met the requirements Vegetarian refreshments is extracted from logging curve.Meet the pixel characteristic search specifically, obtaining from the logging curve The pixel collection of range, comprising: according to the pixel characteristic search range, determine the color model of pixel in log It encloses;According to the color gamut, characteristic range corresponding with the color gamut is selected;Based on the characteristic range, from described Pixel collection is obtained in logging curve.
In some embodiments, the pixel for meeting the pixel characteristic search range is being obtained from the logging curve After point set, further includes: the pixel in the pixel collection is become by corresponding position to the white area on gray level image Domain judges whether the white area is consistent with required log;As inconsistent, adjust after the color gamut adjusted Color gamut;Correspondingly, selecting spy corresponding with the color gamut after the adjusting according to the color gamut after the adjusting Levy range;Based on the characteristic range, pixel collection is obtained from the logging curve.Specifically, firstly, passing through step The pixel characteristic search range determined in S3 judges the data pixels point of log, determines pixel in log Color gamut, after determining color gamut, due to having preset each corresponding R, G, the feature value model of B characteristic value It encloses, as long as characteristic range determines that so having selected color gamut, then according to characteristic range, it is bent to traverse entire well logging The data pixels point for meeting characteristic range is remained, obtains all categories in logging curve by each pixel of line chart In the set of the point of this color characteristic range, i.e. acquisition pixel collection.Wherein, the selection of the color gamut is by setting What the function set was realized, color gamut principally falls into following region: black, red, green, blue, yellow, blueness The value of color, magenta, these color region characteristic values is different.Further, the characteristic value of color passes through three color therein Channel R, G, B are determined, wherein the value range of three chrominance channels between 0 to 255, can be led to three colors by reasonably dividing Road is greatly classified into following part:
Black: R < r+size, G < g+size, B <b+size
It is red: R>r-size, G<g+size, B<b+size
Green: R<r+size,G>g-size, B<b+size
Blue: R<r+size, G<g+size, B>b-size
Yellow: R>r-size, G<g+size, B<b+size
Cyan: R<r+size,G>g-size, B<b+size
It is pinkish red: R>r-size, G<g+size, B>b-size
Wherein, r, g, b indicate pixel characteristic search range, and the color gamut of selection is according to r, g, and the value of b determines, Size is the loose degree that color gamut is extracted for adjusting.It should be noted that general common figure can be at this Color is extracted in range, as occurred not identifying the range that oneself can manually adjust three colors until taking out curve by force.
In this specification one or more embodiment, size is the loose degree that color is extracted for adjusting, and size is got over Big value range is bigger, and the pixel of acquirement is more, and interference pixel is fewer;Opposite, the smaller value range of size is smaller, takes The pixel obtained is fewer, and it is more to obtain interference pixel.Specifically, acquired pixel collection can be become by corresponding position White area on gray level image simultaneously sees whether that it is big can to readjust color gamut if not being for the curve for desired taking-up It is small until suitable.Thus suitable data pixels point can be obtained by adjusting color gamut.
In this specification one or more embodiment, meets the pixel characteristic being obtained from the logging curve and search It, may be because before determining the borehole log data extracted according to the pixel collection after the pixel collection of rope range For by curve be made of dotted line, will appear a large amount of breakpoint area when being depicted as curve using the pixel collection of acquisition Domain will lead to the data extracted in this way and no longer link up, empty portions occurs.In order to obtain more accurate data, reach by The data visualization effect of acquisition, it is necessary to selectively be given up pixel in the pixel collection of acquisition and completion. Wherein, completion these do not have data pixels point position be mainly pass through connection null value position upper and lower ends point coordinate, then The completion of data pixels point is carried out using interpolation method.What embodiment utilized in this specification is Lagrange's interpolation, that is, It is linked up according to the curved portion before and after null value.It is further possible to carry out data pixels point using other interpolation methods Completion, this specification is without limitation.
In this specification one or more embodiment, is obtained from the logging curve and meet the pixel characteristic search After the pixel collection of range, before the borehole log data that extraction is determined according to the pixel collection, comprising: extract institute It states the pixel coordinate of every a line in pixel collection and averages, obtain the pixel coordinate under the coordinate;Obtain institute The starting pixels point coordinate and end pixels point coordinate for stating log described in pixel collection, delete the starting pixels point The pixel after pixel and end pixels point coordinate before coordinate;According to upper and lower pixel coordinate, interpolation is utilized Method carries out pixel completion to null value position.Specifically, firstly, extracting the pixel coordinate of every a line in the pixel collection And average, it finds and most suitable under the coordinate takes a position, i.e. pixel coordinate;Secondly, obtaining the pixel point set The starting pixels point coordinate and end pixels point coordinate of log described in conjunction, will be before starting pixels point coordinate and the picture of end Give up part after vegetarian refreshments coordinate;Then, the position for finding null value, according to the pixel coordinate pair of endpoint location before and after null value Null value position carries out interpolation, realizes the completion of pixel.It should be noted that if curve is very thick, in the same depth of needs On will appear multiple continuous pixels, at this moment only need to take midpoint therein to represent the data at this, that is to say, that Data will appear multi-group data under same coordinate, it is only necessary to retain one group closest to true value, so every a line refers to Be same level direction pixel, be to have taken average value as true under the coordinate pixel of same a line herein Real value.Under normal circumstances, under coordinate it is most suitable take to select position and refer to arithmetic average acquisition is carried out to institute capture vegetarian refreshments coordinate Value, be also possible to other way acquisition value, this specification to this with no restriction.
In this specification one or more embodiment, the borehole log data extracted is determined according to the pixel collection Afterwards, further includes: the borehole log data is depicted as line chart;Whether compare the line chart in the default mistake of the log In poor range, such as in the default error range, data value is converted according to equal proportion by the borehole log data and is protected It deposits.Wherein, equal proportion conversion is the coordinate for borehole log data being converted to the actual physics unit of data coordinates axis, the number It can be saved in table, can also be saved data value by other preserving types, herein with no restriction according to value.
A kind of curve data acquisition method based on colour gamut feature that this specification embodiment provides is arranged based on color characteristic In addition to the interference of grid lines and other curves, then according to the color characteristic of curve, is locked from whole figure and all met this The pixel of a color characteristic fast and accurately extracts required curve data, not only saves a large amount of manual operation, The efficiency for obtaining data is improved, and effectively prevents the problem for causing the precision for acquiring data not high due to grid lines, A kind of new approaches are provided for the collection of curve image data.
It describes based on the above embodiment, this specification can also provide a kind of curve data acquisition side based on colour gamut feature Method embodiment.Specifically, a kind of embodiment is as shown in Fig. 2, Fig. 2 is a kind of curve based on colour gamut feature that this specification provides The flow chart of the specific embodiment of collecting method, method described in embodiment may include:
(1) it obtains the curve graph with auxiliary wire grid and is pre-processed.
Specifically, cutting processing is carried out to curve graph, digitized curve graph needed for choosing, as shown in figure 3, Fig. 3 is this The schematic diagram of required digital curve figure is obtained in one embodiment that specification provides by cutting.Image life after cutting out Name simultaneously saves, and then chooses transverse and longitudinal coordinate by coordinate tool and range is named and determined to coordinate, obtain coordinate diagram, Finally choosing sub-fraction has the rectangular area that need to extract data pixels feature, using the pixel characteristic of selected areas as research Object, as shown in figure 4, Fig. 4 is the schematic diagram for choosing pretreatment zone in one embodiment of this specification offer.
(2) removal interference data.
Specifically, since the background pixel of image is white pixel, so not needing the background picture in removal selected areas Element.By the suitable color gamut value of setting, all light colored mesh regions are first filtered out, then remove dark continuous net ruling part, Obtain more pure borehole log data.
(3) color feature value of curve is obtained.
The pixel characteristic average value of selected areas is counted, color feature value of the initial characteristic values as curve is obtained, after being The continuous curve data that extracts provides foundation.
(4) all data pixels points of curve are extracted.
By meeting the color characteristic for all in entire coordinate diagram using color feature value is obtained in step (3) The data pixels point of value extracts.Then taken point collection is become to the white area on gray level image by corresponding position.Such as Fig. 5 Shown, Fig. 5 is that the white area converted taken point collection on gray level image in one embodiment that this specification provides shows It is intended to.
(5) empty portions in completion data pixels.
Firstly, identifying the characteristic value pixel coordinate extracted in every a line and averaging, finds and most closed under the coordinate Suitable takes a position;Secondly, identification curve beginning pixel and end pixels point, will beginning pixel before and end pixels Give up part after point;Then, the position that null value is found on curve, according to the data pixels point of endpoint location before and after null value Interpolation is carried out to null value position, realizes the completion of data pixels.As shown in fig. 6, Fig. 6 is one embodiment that this specification provides It is middle to delete data pixels point and the schematic diagram after completion.
(6) original image is compared and is stored
It will be drawn with the data pixels of completion point coordinate by line chart and be compared with original image by deleting, compared Later data value is converted by the coordinate equal proportion of taken point, and data value is stored in table in the way of column and is carried out in next step Work.As shown in fig. 7, Fig. 7 is that data pixels point is drawn as to the schematic diagram of line chart in one embodiment that this specification provides.
In this specification one or more embodiment, it can be extracted from figure using the above method more detailed continuous Data result.Meanwhile when extraction, which possesses two or more, has the data line chart to cross, use what is mentioned in this specification Method will not be interfered.It can be by the curve of two even more more mixed and disorderly different colours using method described above In data extract respectively.Specifically as shown in figure 8, Fig. 8 is in one embodiment of this specification offer by two differences The schematic diagram that the data of the curve of color extract respectively.Concrete implementation mode is referred to retouching for related method embodiment It states, does not repeat one by one herein.
In this specification embodiment, provides using method provided by the present application and extract data using GetData software Comparative result figure, as shown in fig. 9 a and fig. 9b, wherein Fig. 9 A is the signal that data result is extracted using method provided by the present application Figure, Fig. 9 B are to utilize the schematic diagram that data result is extracted using GetData software.In this specification embodiment, additionally provide another One is extracted data result comparison diagram using method provided by the present application and using GetData software, such as Figure 10 A and Figure 10 B institute Show, wherein Figure 10 A is the schematic diagram that data result is extracted using method provided by the present application, and Figure 10 B is to utilize utilization The schematic diagram of GetData software extraction data result.The result shows that utilizing this compared with homogeneous data in the market extracts software The scheme provided is implemented in application, can effectively remove interference element, quick, accurate, efficient to extract required curve Data.
Based on a kind of collecting method based on color identification described above, this specification one or more embodiment A kind of curve data acquisition device based on colour gamut feature is also provided.The device may include having used this specification implementation The example system (including distributed system) of the method, software (application), module, component, server, client etc. and in conjunction with must The device for the implementation hardware wanted.Based on same innovation thinking, in one or more embodiments that this specification embodiment provides Device is as described in the following examples.Since the implementation that device solves the problems, such as is similar to method, this specification is implemented The implementation of the specific device of example may refer to the implementation of preceding method, and overlaps will not be repeated.It is used below, term The combination of the software and/or hardware of predetermined function may be implemented in " unit " or " module ".Although described in following embodiment Device is preferably realized with software, but the realization of the combination of hardware or software and hardware is also that may and be contemplated.
Specifically, Figure 11 is a kind of curve data acquisition device embodiment based on colour gamut feature that this specification provides Modular structure schematic diagram, as shown in figure 11, a kind of curve data acquisition device packet based on colour gamut feature that this specification provides Include: region obtains module 121, removes interference module 122, search range determining module 123, data determining module 124, wherein
Region obtains module 121, can be used for choosing pretreatment zone from logging curve, the pretreatment zone is extremely It less include a part of the log;
Interference module 122 is removed, can be used for removing interference data from the pretreatment zone, the interference data are extremely It less include grid lines data, background colour data;
Search range determining module 123 can be used for obtaining the face of pixel in the pretreatment zone after data are interfered in removal Color characteristic data determine pixel characteristic search range based on the color characteristic data;
Data determining module 124 can be used for the acquisition from the logging curve and meet the pixel characteristic search model The pixel collection enclosed determines the borehole log data extracted according to the pixel collection.
Wherein, the removal interference module 122 may include the first filter element and the second filter element, wherein
First filter element, can be used for when it is described interference data in include grid lines color characteristic data with it is described The color characteristic data for the grid lines for including when the color characteristic data difference of log or in the interference data is not in institute When stating in the color characteristic data preset range of log, by the way that colour gamut threshold values is arranged, the grid lines is filtered;
Second filter element, can be used for when it is described interference data in include grid lines color characteristic data with it is described The color characteristic data of log it is identical or it is described interference data in include grid lines color characteristic data in the survey When in the color characteristic data preset range of well curve, the data in the pretreatment zone are saved in matrix, utilize One preset rules handle the matrix, realize the filtering to the grid lines, the data in the pretreatment zone are extremely The color characteristic data of color characteristic data including the grid lines and the log less.
Wherein, second filter element may include matrix conversion unit and third filter element, wherein
Matrix conversion unit can be used for converting two values matrix for the matrix;
Third filter element can be used for deleting full line in the two values matrix or permutation using the first preset rules It removes, the quantity that first preset rules include the full line continuously occurred in the two values matrix or permutation is all selected reaches Preset value, or the quantity that the full line or permutation that continuously occur are selected reach preset value.
Wherein, the removal interference module 122 can also include that background colour data determination unit and background colour data are deleted Unit, wherein
Background colour data determination unit can be used for the background colour information according to the logging curve, determine the back Scenery data, the background colour information are predetermined;
Background colour data delete unit, can be used for according to the background colour data, from the data of the pretreatment zone It is middle to delete the background colour data.
Wherein, described search range determination module 123 may include the color spy for counting pixel in the pretreatment zone The average value for levying data, obtains the pixel characteristic search range.
Wherein, the data determining module 124 may include the first determination unit of color gamut, characteristic range first choice Unit and pixel acquiring unit, wherein
The first determination unit of color gamut can be used for being determined in log according to the pixel characteristic search range The color gamut of pixel;
Characteristic range first selecting unit can be used for being selected corresponding with the color gamut according to the color gamut Characteristic range;
Pixel acquiring unit can be used for obtaining pixel from the logging curve based on the characteristic range Set.
Wherein, the data determining module 124 can also include judgement adjust unit, the second determination unit of color gamut with And the second selecting unit of characteristic range, wherein
Judgement adjusts unit, can be used for the pixel in the pixel collection becoming gray level image by corresponding position On white area, judge whether the white area consistent with required log;It is such as inconsistent, adjust the color gamut Color gamut after being adjusted;
The second determination unit of color gamut can be used for according to the color gamut after the adjusting, selection and the adjusting The corresponding characteristic range of color gamut afterwards;
The second selecting unit of characteristic range can be used for obtaining from the logging curve based on the characteristic range Pixel collection.
Wherein, the data determining module 124 may include pixel coordinate obtaining unit, delete unit and completion list Member, wherein
Pixel coordinate obtaining unit can be used for extracting the pixel coordinate of every a line in the pixel collection and ask Average value obtains the pixel coordinate under the coordinate;
Unit is deleted, can be used for obtaining starting pixels point coordinate and the end of log described in the pixel collection End pixel point coordinate deletes the pixel after the pixel and end pixels point coordinate before the starting pixels point coordinate Point;
Completion unit, can be used for according to upper and lower pixel coordinate, carry out pixel benefit to null value position using interpolation method Entirely.Wherein, a kind of curve data acquisition device based on colour gamut feature can also include picture unit and conversion unit, wherein
Picture unit can be used for the borehole log data being depicted as line chart;
Conversion unit, can be used for whether line chart described in comparison is preset in error range in the log, such as exist In the default error range, data value is converted according to equal proportion by the borehole log data and is saved.
A kind of curve data acquisition device based on colour gamut feature that this specification embodiment provides is arranged based on color characteristic In addition to the interference of grid lines and other curves, then according to the color characteristic of curve, is locked from whole figure and all met this The pixel of a color characteristic fast and accurately extracts required curve data, not only saves a large amount of manual operation, The efficiency for obtaining data is improved, and effectively prevents the problem for causing the precision for acquiring data not high due to grid lines, A kind of new approaches are provided for the collection of curve image data.
It should be noted that device described above can also include other embodiment party according to the description of embodiment of the method Formula, concrete implementation mode are referred to the description of related method embodiment, do not repeat one by one herein.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous.
Method or apparatus described in above-described embodiment that this specification provides can realize that business is patrolled by computer program It collects and records on a storage medium, the storage medium can be read and be executed with computer, realize this specification embodiment institute The effect of description scheme.Therefore, this specification also provides a kind of curve data acquisition equipment based on colour gamut feature, including processing Device and memory for storage processor executable instruction realize to include following step when described instruction is executed by the processor It is rapid:
Pretreatment zone is chosen from logging curve, the pretreatment zone includes at least one of the log Point;
Removal interference data, the interference data include at least grid lines data, background colour from the pretreatment zone Data;
The color characteristic data of pixel, is based on the color characteristic number in pretreatment zone after obtaining removal interference data According to determining pixel characteristic search range;
The pixel collection for meeting the pixel characteristic search range is obtained from the logging curve, according to the picture Vegetarian refreshments set determines the borehole log data extracted.
The storage medium may include the physical unit for storing information, usually by after information digitalization again with benefit The media of the modes such as electricity consumption, magnetic or optics are stored.It may include: that letter is stored in the way of electric energy that the storage medium, which has, The device of breath such as, various memory, such as RAM, ROM;The device of information is stored in the way of magnetic energy such as, hard disk, floppy disk, magnetic Band, core memory, magnetic bubble memory, USB flash disk;Using optical mode storage information device such as, CD or DVD.Certainly, there are also it Readable storage medium storing program for executing of his mode, such as quantum memory, graphene memory etc..
It should be noted that equipment described above can also include other embodiment party according to the description of embodiment of the method Formula.Concrete implementation mode is referred to the description of related method embodiment, does not repeat one by one herein.
This specification embodiment provides above-mentioned a kind of based on the curve data acquisition method of colour gamut feature, device, equipment Corresponding program instruction can be executed by processor in a computer to realize, such as use the c++ language of windows operating system The end PC realize, Linux system realize or other for example using android, iOS system programming language in intelligent terminal It realizes, and realization of the processing logic based on quantum computer etc..A kind of curve based on colour gamut feature that this specification provides In one embodiment of data collection system, Figure 12 is a kind of curve data acquisition based on colour gamut feature that this specification provides The modular structure schematic diagram of system embodiment, as shown in figure 12, a kind of curve number based on colour gamut feature that this specification provides It may include processor 131 and for the memory 132 of storage processor executable instruction, processor 131 according to acquisition system Mutual communication is completed by bus 133 with memory 132;
The processor 131 is used to call the program instruction in the memory 132, above-mentioned based on colour gamut feature to execute Curve data acquisition method embodiment provided by method, for example, pretreatment zone is chosen from logging curve, institute State a part that pretreatment zone includes at least the log;Removal interference data, described from the pretreatment zone Data are interfered to include at least grid lines data, background colour data;Pixel in pretreatment zone after obtaining removal interference data Color characteristic data determines pixel characteristic search range based on the color characteristic data;It is obtained from the logging curve The pixel collection for meeting the pixel characteristic search range determines the log number extracted according to the pixel collection According to.
It should be noted that specification device described above can also include it according to the description of related method embodiment His embodiment, concrete implementation mode are referred to the description of embodiment of the method, do not repeat one by one herein.In the application Various embodiments are described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, often What a embodiment stressed is the difference from other embodiments.For hardware+program class embodiment, Since it is substantially similar to the method embodiment, so being described relatively simple, related place is said referring to the part of embodiment of the method It is bright.
This specification embodiment is not limited to meet industry communication standard, standard computer data processing sum number According to situation described in storage rule or this specification one or more embodiment.The right way of conduct is made in certain professional standards or use by oneself In formula or the practice processes of embodiment description embodiment modified slightly also may be implemented above-described embodiment it is identical, it is equivalent or The implementation result being anticipated that after close or deformation.Using these modifications or deformed data acquisition, storage, judgement, processing side The embodiment of the acquisitions such as formula still may belong within the scope of the optional embodiment of this specification embodiment.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc. Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, vehicle-mounted human-computer interaction device, cellular phone, camera phone, smart phone, individual Digital assistants, media player, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or The combination of any equipment in these equipment of person.
Although this specification one or more embodiment provides the method operating procedure as described in embodiment or flow chart, It but may include more or less operating procedure based on conventional or without creativeness means.The step of being enumerated in embodiment Sequence is only one of numerous step execution sequence mode, does not represent and unique executes sequence.Device in practice or When end product executes, can be executed according to embodiment or the execution of method shown in the drawings sequence or parallel (such as it is parallel The environment of processor or multiple threads, even distributed data processing environment).The terms "include", "comprise" or its Any other variant is intended to non-exclusive inclusion so that include the process, methods of a series of elements, product or Equipment not only includes those elements, but also including other elements that are not explicitly listed, or further include for this process, Method, product or the intrinsic element of equipment.In the absence of more restrictions, being not precluded is including the element There is also other identical or equivalent elements in process, method, product or equipment.The first, the second equal words are used to indicate name Claim, and does not indicate any particular order.
For convenience of description, it is divided into various modules when description apparatus above with function to describe respectively.Certainly, implementing this The function of each module can be realized in the same or multiple software and or hardware when specification one or more, it can also be with The module for realizing same function is realized by the combination of multiple submodule or subelement etc..Installation practice described above is only It is only illustrative, for example, in addition the division of the unit, only a kind of logical function partition can have in actual implementation Division mode, such as multiple units or components can be combined or can be integrated into another system or some features can be with Ignore, or does not execute.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be logical Some interfaces are crossed, the indirect coupling or communication connection of device or unit can be electrical property, mechanical or other forms.
The present invention be referring to according to the method for the embodiment of the present invention, the process of device (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage, graphene stores or other Magnetic storage device or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to herein In define, computer-readable medium does not include temporary computer readable media (transitory media), such as the data of modulation Signal and carrier wave.
It will be understood by those skilled in the art that this specification one or more embodiment can provide as method, system or calculating Machine program product.Therefore, this specification one or more embodiment can be used complete hardware embodiment, complete software embodiment or The form of embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment can be used at one or It is multiple wherein include computer usable program code computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) on the form of computer program product implemented.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", The description of " specific example " or " some examples " etc. means specific features described in conjunction with this embodiment or example, structure, material Or feature is contained at least one embodiment or example of this specification.In the present specification, to the signal of above-mentioned term Property statement be necessarily directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples Sign is combined.
The foregoing is merely the embodiments of this specification one or more embodiment, are not limited to book explanation Book one or more embodiment.To those skilled in the art, this specification one or more embodiment can have various Change and variation.All any modification, equivalent replacement, improvement and so within the spirit and principles of the present application should all include Within scope of the claims.

Claims (20)

1. a kind of curve data acquisition method based on colour gamut feature characterized by comprising
Pretreatment zone is chosen from logging curve, the pretreatment zone includes at least a part of the log;
Removal interference data, the interference data include at least grid lines data, background colour data from the pretreatment zone;
The color characteristic data of pixel, true based on the color characteristic data in pretreatment zone after obtaining removal interference data Determine pixel characteristic search range;
The pixel collection for meeting the pixel characteristic search range is obtained from the logging curve, according to the pixel Set determines the borehole log data extracted.
2. a kind of curve data acquisition method based on colour gamut feature as described in claim 1, which is characterized in that described from institute Removal interference data in pretreatment zone are stated, including using at least one of following modes:
When it is described interference data in include grid lines color characteristic data and the log color characteristic data not Meanwhile or it is described interference data in include grid lines color characteristic data not in the color characteristic data of the log When in preset range, by the way that colour gamut threshold values is arranged, the grid lines is filtered;
When the color characteristic data phase of the color characteristic data and the log of the grid lines for including in the interference data The color characteristic data for the grid lines for including together or in the interference data is default in the color characteristic data of the log When in range, the data in the pretreatment zone are saved in matrix, the matrix is carried out using the first preset rules The filtering to the grid lines is realized in processing, and the color that the data in the pretreatment zone include at least the grid lines is special Levy the color characteristic data of data and the log.
3. a kind of curve data acquisition method based on colour gamut feature as claimed in claim 2, which is characterized in that the utilization First preset rules handle the matrix, realize the filtering to the grid lines, comprising:
Two values matrix is converted by the matrix;
Full line in the two values matrix or permutation are deleted using the first preset rules, first preset rules include institute It states the full line continuously occurred in two values matrix or quantity that permutation is all selected reaches preset value, or the full line continuously occurred Or the quantity that permutation is selected reaches preset value.
4. a kind of curve data acquisition method based on colour gamut feature as described in claim 1, which is characterized in that described from institute State removal interference data in pretreatment zone, further includes:
According to the background colour information of the logging curve, determine that the background colour data, the background colour information are true in advance Fixed;
According to the background colour data, the background colour data are deleted from the data of the pretreatment zone.
5. a kind of curve data acquisition method based on colour gamut feature as described in claim 1, which is characterized in that described to be based on The color characteristic data determines pixel characteristic search range, comprising:
The average value for counting the color characteristic data of pixel in the pretreatment zone obtains the pixel characteristic search range.
6. a kind of curve data acquisition method based on colour gamut feature as described in claim 1, which is characterized in that described from institute State the pixel collection for obtaining in logging curve and meeting the pixel characteristic search range, comprising:
According to the pixel characteristic search range, the color gamut of pixel in log is determined;
According to the color gamut, characteristic range corresponding with the color gamut is selected;
Based on the characteristic range, pixel collection is obtained from the logging curve.
7. a kind of curve data acquisition method based on colour gamut feature as described in claim 1, which is characterized in that from described It is obtained in logging curve after meeting the pixel collection of the pixel characteristic search range, further includes:
Pixel in the pixel collection is become into the white area on gray level image by corresponding position, judges the white Whether region is consistent with required log;It is such as inconsistent, adjust the color gamut after the color gamut is adjusted;
Correspondingly, selecting characteristic range corresponding with the color gamut after the adjusting according to the color gamut after the adjusting;
Based on the characteristic range, pixel collection is obtained from the logging curve.
8. a kind of curve data acquisition method based on colour gamut feature as described in claim 1, which is characterized in that described from institute State in logging curve obtain meet the pixel collection of the pixel characteristic search range after, according to the pixel collection Before the borehole log data for determining extraction, comprising:
It extracts the pixel coordinate of every a line in the pixel collection and averages, the pixel obtained under the coordinate is sat Mark;
The starting pixels point coordinate and end pixels point coordinate of log described in the pixel collection are obtained, described in deletion The pixel after pixel and end pixels point coordinate before starting pixels point coordinate;
According to upper and lower pixel coordinate, pixel completion is carried out to null value position using interpolation method.
9. a kind of curve data acquisition method based on colour gamut feature as described in claim 1, which is characterized in that further include:
The borehole log data is depicted as line chart;
Compare whether the line chart is preset in error range in the log, it, will such as in the default error range The borehole log data is converted into data value according to equal proportion and saves.
10. a kind of curve data acquisition device based on colour gamut feature, described device include:
Region obtains module, and for choosing pretreatment zone from logging curve, the pretreatment zone includes at least described A part of log;
Interference module is removed, for the removal interference data from the pretreatment zone, the interference data are including at least grid Line number evidence, background colour data;
Search range determining module, for obtaining the color characteristic data of pixel in the pretreatment zone after data are interfered in removal, Pixel characteristic search range is determined based on the color characteristic data;
Data determining module, for obtaining the pixel point set for meeting the pixel characteristic search range from the logging curve It closes, the borehole log data extracted is determined according to the pixel collection.
11. a kind of curve data acquisition device based on colour gamut feature as claimed in claim 10, which is characterized in that described to go Except interference module, comprising:
First filter element, for the color characteristic data and the log when the grid lines for including in the interference data Color characteristic data difference when or the interference data in include grid lines color characteristic data not in well logging song When in the color characteristic data preset range of line, by the way that colour gamut threshold values is arranged, the grid lines is filtered;
Second filter element, for the color characteristic data and the log when the grid lines for including in the interference data Color characteristic data it is identical or it is described interference data in include grid lines color characteristic data in the log When in color characteristic data preset range, the data in the pretreatment zone are saved in matrix, utilize the first default rule Then the matrix is handled, realizes the filtering to the grid lines, the data in the pretreatment zone include at least institute State the color characteristic data of grid lines and the color characteristic data of the log.
12. a kind of curve data acquisition device based on colour gamut feature as claimed in claim 11, which is characterized in that described the Two filter elements, comprising:
Matrix conversion unit, for converting two values matrix for the matrix;
Third filter element, it is described for being deleted using the first preset rules full line in the two values matrix or permutation The quantity that first preset rules include the full line continuously occurred in the two values matrix or permutation is all selected reaches preset value, Or the quantity that the full line or permutation continuously occurred is selected reaches preset value.
13. a kind of curve data acquisition device based on colour gamut feature as claimed in claim 10, which is characterized in that described to go Except interference module, further includes:
Background colour data determination unit determines the background colour data for the background colour information according to the logging curve, The background colour information is predetermined;
Background colour data delete unit, for deleting institute from the data of the pretreatment zone according to the background colour data State background colour data.
14. a kind of curve data acquisition device based on colour gamut feature as claimed in claim 10, which is characterized in that described to search Rope range determination module, comprising:
The average value for counting the color characteristic data of pixel in the pretreatment zone obtains the pixel characteristic search range.
15. a kind of curve data acquisition device based on colour gamut feature as claimed in claim 10, which is characterized in that the number According to determining module, comprising:
The first determination unit of color gamut, for determining pixel in log according to the pixel characteristic search range Color gamut;
Characteristic range first selecting unit, for selecting feature model corresponding with the color gamut according to the color gamut It encloses;
Pixel acquiring unit obtains pixel collection from the logging curve for being based on the characteristic range.
16. a kind of curve data acquisition device based on colour gamut feature as claimed in claim 10, which is characterized in that the number According to determining module, further includes:
Judgement adjusts unit, for the pixel in the pixel collection to be become to the white on gray level image by corresponding position Region judges whether the white area is consistent with required log;It is such as inconsistent, it adjusts the color gamut and is adjusted Color gamut afterwards;
The second determination unit of color gamut, for according to the color gamut after the adjusting, selection and the color after the adjusting The corresponding characteristic range of range;
The second selecting unit of characteristic range obtains pixel point set for being based on the characteristic range from the logging curve It closes.
17. a kind of curve data acquisition device based on colour gamut feature as claimed in claim 10, which is characterized in that the number According to determining module, comprising:
Pixel coordinate obtaining unit, for extracting the pixel coordinate of every a line in the pixel collection and averaging, Obtain the pixel coordinate under the coordinate;
Unit is deleted, for obtaining the starting pixels point coordinate and end pixels point of log described in the pixel collection Coordinate deletes the pixel after the pixel and end pixels point coordinate before the starting pixels point coordinate;
Completion unit, for carrying out pixel completion to null value position using interpolation method according to upper and lower pixel coordinate.
18. a kind of curve data acquisition device based on colour gamut feature as claimed in claim 10, which is characterized in that also wrap It includes:
Picture unit, for the borehole log data to be depicted as line chart;
Conversion unit, for the line chart whether in the default error range of the log, such as described default In error range, data value is converted according to equal proportion by the borehole log data and is saved.
19. a kind of curve data based on colour gamut feature acquires equipment, which is characterized in that handled including processor and for storage The memory of device executable instruction, when described instruction is executed by the processor realize the following steps are included:
Pretreatment zone is chosen from logging curve, the pretreatment zone includes at least a part of the log;
Removal interference data, the interference data include at least grid lines data, background colour data from the pretreatment zone;
The color characteristic data of pixel, true based on the color characteristic data in pretreatment zone after obtaining removal interference data Determine pixel characteristic search range;
The pixel collection for meeting the pixel characteristic search range is obtained from the logging curve, according to the pixel Set determines the borehole log data extracted.
20. a kind of curve data acquisition system based on colour gamut feature, which is characterized in that including at least one processor and deposit The memory of computer executable instructions is stored up, the processor realizes any one of claim 1-9 when executing described instruction The step of the method.
CN201811456781.XA 2018-11-30 2018-11-30 A kind of curve data acquisition method, apparatus and system based on colour gamut feature Pending CN109671132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811456781.XA CN109671132A (en) 2018-11-30 2018-11-30 A kind of curve data acquisition method, apparatus and system based on colour gamut feature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811456781.XA CN109671132A (en) 2018-11-30 2018-11-30 A kind of curve data acquisition method, apparatus and system based on colour gamut feature

Publications (1)

Publication Number Publication Date
CN109671132A true CN109671132A (en) 2019-04-23

Family

ID=66143415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811456781.XA Pending CN109671132A (en) 2018-11-30 2018-11-30 A kind of curve data acquisition method, apparatus and system based on colour gamut feature

Country Status (1)

Country Link
CN (1) CN109671132A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111832408A (en) * 2020-06-08 2020-10-27 杭州电子科技大学 Curve extraction method of binary band grid curve graph obtained by shooting
CN111932654A (en) * 2020-07-28 2020-11-13 北京金阳普泰石油技术股份有限公司 Automatic logging curve tracking method and device based on pixel optimization and electronic equipment
CN112712047A (en) * 2021-01-08 2021-04-27 自然资源部第一海洋研究所 Marine mammal echo positioning signal detection method based on image processing
CN113359216A (en) * 2021-06-03 2021-09-07 山东捷瑞数字科技股份有限公司 Method, system and storage medium for identification of recorded data of tipping-bucket rain gauge
CN116188627A (en) * 2023-04-26 2023-05-30 广州海洋地质调查局三亚南海地质研究所 Logging curve digitizing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4586137A (en) * 1982-10-18 1986-04-29 Dresser Industries, Inc. Method for generating variable well logging data composites
CN101892838A (en) * 2010-06-22 2010-11-24 中国石油天然气股份有限公司 Method and device for obtaining high-resolution well logging curve
CN108648245A (en) * 2018-04-26 2018-10-12 北京中油瑞飞信息技术有限责任公司 The information extracting method and device of well log interpretation curve

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4586137A (en) * 1982-10-18 1986-04-29 Dresser Industries, Inc. Method for generating variable well logging data composites
CN101892838A (en) * 2010-06-22 2010-11-24 中国石油天然气股份有限公司 Method and device for obtaining high-resolution well logging curve
CN108648245A (en) * 2018-04-26 2018-10-12 北京中油瑞飞信息技术有限责任公司 The information extracting method and device of well log interpretation curve

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
左航: ""测井曲线的自动识别与提取"", 《中国优秀博硕士学位论文全文库(硕士) 信息科技辑》 *
钱鹏 等: ""测井曲线识别与数字化系统开发及应用"", 《油气藏评价与开发》 *
阎光伟 等: ""扫描图像中时序曲线的识别及数据提取"", 《计算机研究与发展》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111832408A (en) * 2020-06-08 2020-10-27 杭州电子科技大学 Curve extraction method of binary band grid curve graph obtained by shooting
CN111932654A (en) * 2020-07-28 2020-11-13 北京金阳普泰石油技术股份有限公司 Automatic logging curve tracking method and device based on pixel optimization and electronic equipment
CN111932654B (en) * 2020-07-28 2023-07-14 北京金阳普泰石油技术股份有限公司 Automatic tracking method and device for logging curve based on pixel optimization and electronic equipment
CN112712047A (en) * 2021-01-08 2021-04-27 自然资源部第一海洋研究所 Marine mammal echo positioning signal detection method based on image processing
CN113359216A (en) * 2021-06-03 2021-09-07 山东捷瑞数字科技股份有限公司 Method, system and storage medium for identification of recorded data of tipping-bucket rain gauge
CN116188627A (en) * 2023-04-26 2023-05-30 广州海洋地质调查局三亚南海地质研究所 Logging curve digitizing method and device

Similar Documents

Publication Publication Date Title
CN109671132A (en) A kind of curve data acquisition method, apparatus and system based on colour gamut feature
CN109192054A (en) A kind of data processing method and device of map area merging
CN110008809A (en) Acquisition methods, device and the server of list data
CN108681667A (en) A kind of unit type recognition methods, device and processing equipment
CN109948641A (en) Anomaly groups recognition methods and device
CN109934181A (en) Text recognition method, device, equipment and computer-readable medium
CN107103606A (en) A kind of image-recognizing method and device
CN105718272B (en) A kind of method and terminal of terminal factory reset
CN110909640A (en) Method and device for determining water level line, storage medium and electronic device
CN108961250B (en) Target object statistical method, device, terminal and storage medium
CN110232329A (en) Point cloud classifications method, apparatus, storage medium and equipment based on deep learning
CN105869175A (en) Image segmentation method and system
CN107909569A (en) One kind flower screen detection method, flower screen detection device and electronic equipment
CN114529490B (en) Data processing method, device, equipment and readable storage medium
CN110264413A (en) A kind of image processing method, device, electronic equipment and storage medium
CN107239784A (en) A kind of image identification method, device, electronic equipment and readable storage medium storing program for executing
CN107025464A (en) A kind of colour selecting method and terminal
CN108595613A (en) GIS local maps edit methods and device
CN109410295A (en) Color setting method, device, equipment and computer readable storage medium
CN107507158A (en) A kind of image processing method and device
CN110533740A (en) A kind of image rendering methods, device, system and storage medium
CN116258967B (en) Urban illegal construction change detection method based on improved SNUNet-CD
CN108769521A (en) A kind of photographic method, mobile terminal and computer readable storage medium
CN112149506A (en) Table generation method, apparatus and storage medium in image combining RPA and AI
CN111369431A (en) Image processing method and device, readable medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190423

RJ01 Rejection of invention patent application after publication