CN111489410A - Observation system shot point data drawing method and device - Google Patents

Observation system shot point data drawing method and device Download PDF

Info

Publication number
CN111489410A
CN111489410A CN201910072056.0A CN201910072056A CN111489410A CN 111489410 A CN111489410 A CN 111489410A CN 201910072056 A CN201910072056 A CN 201910072056A CN 111489410 A CN111489410 A CN 111489410A
Authority
CN
China
Prior art keywords
point
shot
observation system
display
points
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910072056.0A
Other languages
Chinese (zh)
Other versions
CN111489410B (en
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 National Petroleum Corp
BGP Inc
Original Assignee
China National Petroleum Corp
BGP Inc
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 National Petroleum Corp, BGP Inc filed Critical China National Petroleum Corp
Priority to CN201910072056.0A priority Critical patent/CN111489410B/en
Publication of CN111489410A publication Critical patent/CN111489410A/en
Application granted granted Critical
Publication of CN111489410B publication Critical patent/CN111489410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a method and a device for drawing shot point data of an observation system, wherein the method comprises the following steps: acquiring a view display range to be displayed by equipment selected by a user and a corresponding zoom level; converting the coordinates of the shot point and the check point in the shot point data corresponding to the view display range into equipment coordinates; determining the point distance displayed by the shot point and the point detection equipment according to the equipment coordinate and the zoom level; determining a corresponding drawing mode according to the point distance and a point distance display length parameter corresponding to a preset drawing mode; and drawing a display view of the equipment to be displayed according to the determined drawing mode and the shot detection point data. The invention solves the technical problem that the prior art can not realize the rapid and beautiful drawing of the shot inspection point data of the observation system.

Description

Observation system shot point data drawing method and device
Technical Field
The invention relates to a display method, in particular to a method and a device for drawing shot point data of an observation system.
Background
The area of the current seismic exploration area is continuously increased, the ground surface conditions are quite complex, high-precision and high-density observation systems are more and more, the shot-geophone point data contained in the observation systems are multiplied, millions and even tens of millions of shot-geophone point data are achieved, how to rapidly and smoothly display the huge observation system data is achieved, and high requirements are provided for drawing the shot-geophone point data of the observation systems. At present, software runs on various hardware platforms and software systems, from high-configuration high-performance clusters and servers to conventional desktop computers, notebook computers, Surface, Android flat panels, mobile phones and the like, which may become application scenes and platforms displayed by observation systems. How to provide smooth and aesthetic display services for users in these different platforms and application scenarios is a problem.
At present, the commonly used geophysical prospecting software has certain support for displaying data of a super-large-scale observation system, but the display performance and the aesthetic degree need to be further improved. The prior art method for improving display performance usually adopts multi-thread drawing, but the ideal drawing speed can not be achieved by only adopting multi-thread.
Disclosure of Invention
The invention mainly aims to provide a method and a device for drawing shot-geophone point data of an observation system, and aims to solve the technical problem that the shot-geophone point data of the observation system cannot be drawn quickly and beautifully in the prior art.
In order to achieve the above object, according to an aspect of the present invention, there is provided an observation system shot point data plotting method, including:
acquiring a view display range to be displayed by equipment selected by a user and a corresponding zoom level;
converting the coordinates of the shot point and the check point in the shot point data corresponding to the view display range into equipment coordinates;
determining the point distance displayed by the shot point and the point detection equipment according to the equipment coordinate and the zoom level;
determining a corresponding drawing mode according to the point distance and a point distance display length parameter corresponding to a preset drawing mode;
and drawing a display view of the equipment to be displayed according to the determined drawing mode and the shot detection point data.
Further, the point distance display length parameter comprises a pixel point;
the determining the corresponding drawing mode according to the point distance and the point distance display length parameter corresponding to the preset drawing mode comprises the following steps:
selecting a corresponding drawing mode according to the point distance displayed by the shot point or the point detection equipment and the size of the first number of pixel points; and when the distance between the points displayed by the shot point or the point detection equipment is smaller than the first number of pixel points, selecting a super-dense drawing mode, wherein the super-dense drawing mode is used for performing point-by-point thinning drawing on the shot point and the point detection.
Further, the drawing a to-be-displayed device view according to the drawing mode and the shot detection point data includes: and drawing the shot point marking information in the shot point data on the display view of the equipment to be tested.
Further, the drawing the shot point marking information in the shot point data on the display view of the device to be processed includes:
acquiring the minimum transverse interval and the minimum longitudinal interval displayed by equipment between preset adjacent marking information;
and sequentially searching out the marking information meeting the interval according to the minimum transverse interval and the longitudinal interval, and drawing the searched marking information on the display view of the equipment to be tested.
Further, before the obtaining of the view display range to be displayed by the device selected by the user, the method further includes:
loading observation system data;
determining the range of the observation system according to the data of the observation system;
and converting the coordinates of the shot point and the inspection point in the range of the observation system into logical coordinates.
Further, the acquiring a view display range to be displayed by the device selected by the user and a corresponding zoom level includes: and acquiring a view display range to be displayed by equipment selected by a user from the observation system range and a corresponding zoom level.
Further, the drawing a to-be-displayed device view according to the drawing mode and the shot detection point data includes:
drawing the display view of the equipment to be displayed in a background image display cache in a multi-thread drawing mode;
and replacing a foreground image display cache with the background image display cache to display the to-be-displayed equipment view.
In order to achieve the above object, according to another aspect of the present invention, there is provided an observation system shot point data plotting apparatus including:
the view display parameter acquisition unit is used for acquiring a view display range to be displayed by the equipment selected by a user and a corresponding zoom level;
the device coordinate conversion unit is used for converting the coordinates of the shot points and the check points in the shot and check point data corresponding to the view display range into device coordinates;
the device display point distance determining unit is used for determining the point distance displayed by the device of the shot point and the inspection point according to the device coordinate and the zoom level;
the drawing mode determining unit is used for determining a corresponding drawing mode according to the point distance and a point distance display length parameter corresponding to a preset drawing mode;
and the view drawing unit is used for drawing a to-be-displayed device view according to the determined drawing mode and the shot detection point data.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps in the observation system shot point data mapping method when executing the computer program.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed in a computer processor, implements the steps in the above observation system shot point data rendering method.
The invention has the beneficial effects that: the invention greatly improves the drawing speed by adopting the modes of coordinate transformation, multithreading drawing, double-cache drawing, dynamic thinning drawing and the like, improves the aesthetic property of shot-examination point data display by dynamic hierarchical display and dynamic thinning display of shot-examination point marking information, and realizes that the display effect of a high-quality observation system is provided for users on different zoom levels and different display devices.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts. In the drawings:
FIG. 1 is a first flowchart of a method for plotting shot point data of an observation system according to an embodiment of the present invention;
FIG. 2 is a flow chart of selecting a corresponding rendering mode according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for drawing annotation information according to an embodiment of the present invention;
FIG. 4 is a second flowchart of a method for plotting shot point data of an observation system according to an embodiment of the present invention;
FIG. 5 is a flow chart of a method of converting global coordinates to logical coordinates according to an embodiment of the present invention;
FIG. 6 is a flow chart of a display view rendering method according to an embodiment of the present invention;
FIG. 7 is a first block diagram of a device for plotting shot-geophone point data of an observation system according to an embodiment of the present invention;
fig. 8 is a configuration diagram of a drawing mode determining unit according to the embodiment of the present invention;
FIG. 9 is a first component block diagram of a view drawing unit according to an embodiment of the present invention;
FIG. 10 is a block diagram of a module for drawing annotation information according to an embodiment of the present invention;
FIG. 11 is a second block diagram of the observation system shot point data drawing apparatus according to the embodiment of the present invention;
FIG. 12 is a block diagram of the logical coordinate transformation unit according to the embodiment of the present invention;
FIG. 13 is a block diagram of a coordinate transformation unit of the device according to the embodiment of the present invention;
fig. 14 is a second constitutional view of the view drawing unit according to the embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged under appropriate circumstances in order to facilitate the description of the embodiments of the invention herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 is a first flowchart of an observation system shot point data drawing method according to an embodiment of the present invention, and as shown in fig. 1, the observation system shot point data drawing method according to the embodiment includes steps S101 to S105.
Step S101, acquiring a view display range to be displayed by the equipment selected by the user and a corresponding zoom level. In the embodiment of the invention, before the observation system shot point data is drawn, the view display range to be displayed by the equipment selected by the user and the corresponding view zooming level need to be determined. In the embodiment of the invention, the view display range to be displayed by the device selected by the user and the corresponding zoom level can be selected by the user in the observation system range of the observation system.
In the embodiment of the present invention, the view display range to be displayed by the device and the corresponding zoom level selected by the user may be selected by the user in the observation system range for the first time, or may be determined again after the user performs operations such as zooming, panning, window size adjustment, content update, and the like on the view based on the range selected by the user for the first time.
In the embodiment of the invention, the view display range selected by the user can be adjusted according to needs, so that the shot point data in the view display range can be changed after the view display range is adjusted. In the drawing process, when the view display range changes, only the corresponding shot point data in the current view display range is needed to be obtained, and the data outside the display range is not processed, so that the drawing speed of the shot point data can be improved. In an optional embodiment of the present invention, the method for obtaining corresponding shot point data in the current view display range may be: before the shot-geophone point is drawn, a shot-geophone point data range corresponding to the current view display range is needed, then a shot line and a detection line in the observation system are traversed one by one, a point index range in the line within the view display range is found, and all the found data are used as data used in drawing to be displayed.
And step S102, converting the coordinates of the shot point and the check point in the shot and check point data corresponding to the view display range into equipment coordinates. In the embodiment of the invention, because the coordinates of the shot point and the detected point in the observation system usually adopt world coordinates, and the numerical value of the world coordinates is very large, if the world coordinates are adopted for display and drawing, the subsequent various data processing will consume very much time, and the effective numerical value precision is low, therefore, the coordinates can be converted into the equipment coordinates in the internal data processing process, thereby improving the processing speed and precision of the data.
In the embodiment of the present invention, the specific step of converting the coordinates of the shot point and the inspection point into the coordinates of the device may be to firstly convert the coordinates of the shot point and the inspection point into the coordinates of the device through a preset conversion matrix M from world coordinates to logical coordinatesw2lCompleting the conversion of the coordinates of the shot point and the inspection point to the logic space, and further converting the coordinates to the logic space through a preset logic-equipment coordinate conversion matrix Ml2dAnd converting the coordinates of the shot point and the inspection point from the logical coordinates into the coordinates of the equipment.
And S103, determining the point distance displayed by the shot point and the point detection device according to the device coordinates and the zoom level. In the embodiment of the invention, the corresponding point distances of the shot points and the detection points in the equipment display view can be determined according to the equipment coordinates of the shot points and the detection points and the zoom level corresponding to the view display range to be displayed by equipment selected by a user.
And step S104, determining a corresponding drawing mode according to the point distance and the point distance display length parameter corresponding to the preset drawing mode. In the embodiment of the invention, the point distance displayed by the equipment is used as a discrimination standard for grading discrimination, and the corresponding drawing mode is determined from a plurality of preset drawing modes. In the embodiment of the present invention, the preset drawing mode includes the following common drawing modes in the field: the method comprises four drawing modes of ultra-dense drawing, rough drawing and fine drawing, wherein: the ultra-dense drawing mode is used for performing point-by-point thinning drawing on the shot points and the inspection points; the intensive drawing mode is used for drawing shot points and inspection points point by point and pixel by pixel; the rough drawing mode is used for drawing the shot points and the inspection points point by point, and the image details of the shot points and the inspection points are not drawn during drawing; and the fine drawing mode is used for drawing the shot points and the inspection points point by point, and drawing the image details of the shot points and the inspection points during drawing.
In the embodiment of the invention, during the process of drawing the shot point data of the observation system, the drawn display view can be continuously enlarged and reduced, and the displayed content and the thickness degree of the image quality are different under different zoom levels. Different display devices also respond to display effects and impressions due to different display areas and display resolutions. In order to provide a high-quality display effect for users on different zooming levels of different equipment, the dynamic grading display strategy is adopted, the point distance of shot points and inspection points is converted into the length of equipment display to be used as a judgment standard for grading judgment, and then different drawing methods are respectively adopted for drawing according to different grading levels.
And step S105, drawing a to-be-equipment display view according to the determined drawing mode and the shot detection point data. In the embodiment of the invention, after the corresponding drawing mode is determined, the shot point data in the view display range to be displayed by the equipment selected by the user is drawn according to the drawing mode, and the display view is drawn. In the embodiment of the invention, all the shot points, the shot lines, the point detection and the line detection corresponding to the view display range can be drawn during drawing.
Fig. 2 is a flowchart illustrating a method for selecting a corresponding rendering mode according to an embodiment of the present invention, and as shown in fig. 2, the method for selecting a corresponding rendering mode according to an embodiment of the present invention includes steps S201 to S205.
Step S201, selecting a corresponding drawing mode according to the distance between the shots or the shots displayed by the shot or the shot detection device and the size of the preset number of pixels. In an embodiment of the present invention, in step S104, a corresponding drawing mode is determined according to the dot pitch and a dot pitch display length parameter corresponding to a preset drawing mode, where the device display length may be represented by a pixel point of the display device. In the embodiment of the invention, a dynamic grading display drawing strategy is adopted, the distance between a shot point and a detected point is converted into the length displayed by equipment, and a judgment standard is set for each preset drawing mode, namely the distance between the points corresponding to each drawing mode is different in the size range of pixel points displayed by the equipment, so that the corresponding drawing mode is determined, and then different drawing methods are respectively adopted for drawing according to different grading grades.
Step S202, when the distance between the shot points or the point detection equipment is smaller than the first number of pixel points, selecting a super-dense drawing mode, wherein the super-dense drawing mode is used for performing point-by-point thinning drawing on the shot points and the point detection equipment.
In the embodiment of the present invention, according to the zoom level corresponding to the view display range selected by the user, when the view is zoomed out to a certain extent, and the dot pitch of the shot or the inspection dot is converted into the pixel points with the length displayed by the device being smaller than the first number, the first number is determined according to the size of the display device and the display resolution, for example, the first number is 1 pixel in the general conventional display, and the first number is larger than 1 pixel in the small-size high-resolution screen. At the moment, the actual physical coordinate length corresponding to a first number of pixel points is larger than or far larger than the point distance of the shot detection points, the phenomenon that a larger shot detection point area is displayed as a very small block or a point in the view appears on the view, and the phenomenon that the shot detection points drawn at the back cover the shot detection points drawn at the front appears in the process of drawing the shot detection point data of the observation system. Similarly, when the line distance of the shot line or the line detection is converted into the coordinates of the device, if the converted coordinate distance of the device is less than a first number of pixels, a similar overlapping phenomenon occurs when the shot line or the line detection is drawn.
Aiming at the situation, because a large amount of overlapping phenomena can occur in the drawing process, an ultra-dense drawing mode can be adopted in the drawing process, the ultra-dense drawing adopts a point-by-point rarefaction drawing method, and because the reduction is very small, the shot detection points are reduced to a small pixel point on the view, or a plurality of shot detection points are reduced to a pixel point for display, the shot detection points can be drawn in a pixel point mode in the drawing process.
In an alternative embodiment of the present invention, the process of point-by-point thinning and drawing may be: calculating the world coordinate length D corresponding to the first number of pixel pointspw1In the drawing process, because the observation system is rotated to the horizontal state, when drawing a shot line or a check line, the coordinates of the shot point drawn last time and the coordinates of the shot point to be drawn next time are compared, if the two points are on the same line and the point distance is more than Dpw1And if the next point to be drawn and the shot point drawn last time are not on the same straight line, the point is directly drawn in a pixel point drawing mode, and the drawn point is set as the shot point drawn last time after the drawing is finished. The gun line and the inspection line are the same.
Step S203, when the distance between the shot point and the point detection device is larger than the first number of pixel points and smaller than or equal to the second number of pixel points, selecting a dense drawing mode, wherein the dense drawing mode is used for drawing the shot point and the point detection point by point and pixel by pixel.
In the embodiment of the invention, according to the zoom level corresponding to the view display range selected by the user, when the view is reduced to a certain degree, if the point distance of the shot point or the inspection point is converted into the length displayed by the equipment, wherein the length is more than or equal to the first number of pixel points and less than or equal to the second number of pixel points, the adjacent shot point or inspection point can be completely displayed, the phenomenon that the shot point drawn later covers the shot point drawn earlier can not occur in the drawing process, but the display content is very small, and the naked eye of a human can only be a small pixel point, so that the intensive drawing mode in the prior art can be adopted for drawing. In the intensive drawing mode, when the shot and inspection points are drawn, pixel point drawing is adopted, namely, the shot and inspection points are drawn one by one pixel point, and the drawing process is not thinning and is directly drawn one by one.
In an embodiment of the present invention, the second number may be determined according to the size of the display device and the display resolution, and the second number may be selected to be 2 pixels as in a general conventional display.
And step S204, when the distance between the shot points and the points displayed by the point detection equipment is larger than the second number of pixel points and smaller than the third number of pixel points, adopting a rough drawing mode to draw a display view, wherein the rough drawing mode is used for drawing the shot points and the points one by one, and the image details of the shot points and the points are not drawn during drawing.
In the embodiment of the invention, according to the zoom level corresponding to the view display range selected by the user, when the view is zoomed out to a certain degree, if the point distance of the shot point or the inspection point is converted into the length displayed by the equipment, the length is larger than the second number of pixel points and is smaller than the third number of pixels, the rough drawing mode in the prior art can be adopted for drawing. The rough drawing mode can realize complete shot point drawing work, and the rough drawing mode can draw line by line and point by point according to the state and display setting of each shot point. However, since the displayed point is also very small, the rough drawing mode may or may not display a thumbnail of the shot point for some very small details when drawing the shot point. In the embodiment of the present invention, the image details may be shapes, sizes, status information, and the like of the shot point and the inspection point, and the rough rendering mode may display the information in a thumbnail manner or not display the information in a display manner.
In an embodiment of the present invention, the third number may be determined according to the size of the display device and the display resolution, and the third number may be selected to be 5 to 10 pixels as in a general conventional display.
And S205, when the distance between the shot points and the points displayed by the point detection equipment is larger than or equal to the third number of pixel points, adopting a fine drawing mode to draw a display view, wherein the fine drawing mode is used for drawing the shot points and the points one by one, and drawing image details of the shot points and the points during drawing.
In the embodiment of the invention, according to the zoom level corresponding to the view display range selected by the user, when the view is zoomed out to a certain degree, if the point distance of the shot point or the point detection is converted into the length displayed by the equipment and is more than the third number of pixels, the fine drawing mode in the prior art can be adopted for drawing. The fine drawing mode can carry out complete shot point drawing work. And drawing line by line and point by point according to the states and display settings of the shot and geophone points, and drawing the display details of the shot and geophone points very clearly.
In the embodiment of the invention, when the observation system shot point data is drawn, the marking information of the shot point can be drawn on the display view. FIG. 3 is a flowchart of a method for drawing annotation information according to an embodiment of the present invention, and as shown in FIG. 3, the method for drawing annotation information according to an embodiment of the present invention includes step S301 and step S302.
Step S301, acquiring the minimum horizontal interval and the minimum vertical interval displayed by the equipment between the preset adjacent marking information.
And S302, sequentially searching out the marking information meeting the interval according to the minimum transverse interval and the longitudinal interval, and drawing the searched marking information on the display view of the equipment to be tested.
In an embodiment of the present invention, the marking information of the shot-picking point may include: and information such as the point number of the shot point and the inspection point, the line number of the shot line and the inspection line and the like. In the embodiment of the present invention, it is necessary to determine whether to dynamically rarefy display the annotation information according to the zoom level corresponding to the view display range selected by the user. When the number of the shot points displayed by the view is very large, if the labeled information is drawn for all the shot points, no effective information can be seen in the view, and the drawing efficiency is very low. The invention also adopts a dynamic thinning and drawing method for displaying the label information.
In the embodiment of the present invention, in the above step S301, the minimum horizontal interval and the vertical interval displayed by the device between the preset adjacent annotation information are obtained, wherein the minimum horizontal interval and the vertical interval displayed by the device are the preset fixed intervals, in the embodiment of the present invention, Lhi、LviThe horizontal interval and the vertical interval are respectively preset and are in centimeter units in order to adapt to the display on different display devices, so that the marked display cannot be adjusted greatly due to the change of the resolution of the display devices.
In the step S302, the method for drawing the labeling information according to the preset minimum horizontal interval and the preset vertical interval may specifically be:
first, according to the zoom level corresponding to the view display range selected by the user, the preset horizontal and vertical intervals are calculated Lhi、LviCorresponding world coordinate interval whi、wvi. Determining initial marking information in the view display range selected by the user, and further determining the initial marking information according to the initial marking information and the transverse interval whiAnd a longitudinal spacing wviAnd finding out all the label information meeting the interval, and further drawing the label information during drawing.
The observation system displayed by the view by adopting the method can keep a uniform display effect in various zooming levels, for example, only a few main shot point labels are displayed when zooming out, and after zooming in to a certain degree, the label of each shot point can be clearly and clearly displayed, so that a user can conveniently read information.
Fig. 4 is a second flowchart of the observation system shot-geophone point data drawing method according to the embodiment of the present invention, and as shown in fig. 4, the observation system shot-geophone point data drawing method according to the embodiment of the present invention further includes steps S401 to S403.
Step S401, loading observation system data. In the embodiment of the present invention, before the observation system shot point data is plotted, the observation system data of the exploration area, which is usually an SPS file, needs to be read in first. In the embodiment of the invention, in order to display the shot-inspection point data of the drawn observation system on different display devices, the invention can be realized by adopting QT.
And S402, determining the range of the observation system according to the data of the observation system. In the embodiment of the invention, the observation system range { (Geometry) to be observed in the exploration area can be calculated according to the calculation method in the prior artxminGeometryymin),(GeometryxmaxGeometryymax)}. In an embodiment of the invention, the observation system range may be expressed in world coordinates. In the embodiment of the present invention, while calculating the scope of the observation system, the observation system parameters within the scope of the observation system may also be calculated according to the calculation method in the prior art, and the observation system parameters may include: world coordinates of all shot points and inspection points and Distance between shot points in observation system rangespDistance of line of gun lineslDistance between points to be checkedrpDistance of line inspectionrlRotation angle GeometryangleAnd the like.
And step S403, converting the coordinates of the shot point and the inspection point in the range of the observation system into logical coordinates. In the embodiment of the invention, because the coordinates of the observation system range and the shot-geophone points in the observation system range are world coordinates, and the numerical value of the world coordinates is very large, if the world coordinates are adopted for display and drawing, the subsequent various data processing is very time-consuming, and the effective numerical value precision is low, so that the data can be converted into the logical coordinates adaptive to the display equipment in the internal data processing process, and the data processing speed and precision are improved. In the embodiment of the invention, the method for converting the coordinates of the observation system range and the shot point in the observation system range into the logical coordinates comprises the following steps: firstly, converting the coordinates of the shot point in the range of an observation system and the coordinates of the shot point in the range of the observation system from global coordinates to local coordinates, wherein the global coordinates and the local coordinates are both world coordinates, but different coordinate systems are adopted; and further converting the local coordinates of the observation system range and the shot point in the observation system range into the logical coordinates of the adaptive display equipment.
In this embodiment of the present invention, the steps S401 to S403 are preprocessing stages of the observation system shot point data drawing method of the present invention, and are used to determine an observation system range to be observed in the exploration area, and convert coordinates in the observation system range into logical coordinates adapted to the display device, so as to facilitate subsequent shot point data drawing.
In the embodiment of the present invention, in the step S101, a view display range to be displayed by the device selected by the user and a corresponding zoom level are obtained, where the view display range and the corresponding zoom level are selected by the user in the range of the observation system.
Fig. 5 is a flowchart of a method for converting global coordinates into logical coordinates according to an embodiment of the present invention, and as shown in fig. 5, the method for converting global coordinates into logical coordinates in step S403 includes step S501 and step S502.
And step S501, converting the coordinates of the shot point and the inspection point in the range of the observation system from global coordinates to local coordinates according to a preset global-local coordinate conversion matrix. In the embodiment of the invention, in order to convert the coordinates in the range of the observation system from the global coordinates to the local coordinates, a global-local coordinate conversion matrix M is presetg2lAnd the system is used for completing the conversion of the coordinates in the range of the observation system from the global coordinates to the local coordinates. In an embodiment of the present invention, a conventional viewing system has a rotation angle GeometryangleHowever, the shot line and the survey line are usually straight lines, and calculating the straight line with an angle is a very time-consuming process, so that the observation system needs to be rotated to be horizontal to process in the process of using the data internally. In the embodiment of the invention, the matrix M is converted through global-local coordinatesg2lAnd the observation system is rotated to be horizontal for processing.
And step S502, converting the local coordinates of the shot point and the inspection point into logical coordinates for adapting the display equipment according to a preset local-logical coordinate conversion matrix. In the embodiment of the present invention, in order to facilitate the conversion of the coordinates within the scope of the observation system from local coordinates to logical coordinates, local-logical coordinates are presetAnd (5) converting the coordinate into a matrix to complete the conversion from the observation system data to the logic space. Since the local coordinate is world coordinate, the local-logical coordinate transformation matrix may also be a transformation matrix M from world coordinate to logical coordinatew2l
In the embodiment of the present invention, in the preprocessing stage of the observation system shot point data drawing method of the present invention, the coordinate transformation matrix needs to be initialized before the coordinate transformation operation is performed, and specifically, the global-local coordinate transformation matrix, the local-logical coordinate transformation matrix, and the logical-device coordinate transformation matrix may be initialized.
Fig. 6 is a flowchart of a display view drawing method according to an embodiment of the present invention, and as shown in fig. 6, the display view drawing method according to an embodiment of the present invention includes step S601 and step S602.
Step S601, drawing the to-be-displayed device view in the background image display cache in a multithread drawing manner. In the embodiment of the invention, in order to improve the drawing speed, a multi-thread drawing method is adopted, because the data of the shot point and the demodulator probe are organized in a line mode, the data of all lines are mutually independent, and each drawing thread draws one by taking the shot line and the demodulator probe as a unit during drawing, thereby greatly improving the drawing speed. In the embodiment of the invention, if the drawing is directly performed on the display device in the drawing process of the display view, the conditions of slow drawing speed and low efficiency can occur due to the fact that the access delay of the CPU to the display device is large and the number of drawing points is huge. Because the reading and writing speed of the CPU to the memory is far higher than that of the display device, the invention adopts a method of alternately drawing and displaying two image display caches in the drawing process, and when in display and drawing, one image display cache is used for foreground display, and the other image display cache is used for displaying view drawing in the background.
And step S602, replacing a foreground image display cache with the background image display cache so as to display the to-be-displayed equipment view. In the embodiment of the invention, when a drawing event occurs, the program draws on the image display cache of the background, copies the image display cache to the foreground after the drawing is finished, and sets the foreground cache as the background to prepare for the next drawing.
In the embodiment of the invention, in the preprocessing stage of the observation system shot point data drawing method, since the multithreading double-image display cache is adopted for drawing, the operations of initializing the drawing thread and initializing the double-image display cache are required. The initializing drawing thread may specifically be detecting the number of CPU cores, initializing a thread for displaying drawing, and adding the thread to the thread pool. In the embodiment of the invention, in the drawing process of the observation system, the multithreading technology is utilized to perform multithreading drawing in the background image cache, the cache is copied to the foreground for displaying after the drawing is finished, and meanwhile, the cache used for displaying in the foreground is directly moved to the background for the next drawing. By adopting the double-cache drawing technology, the drawing speed can be greatly improved, and the refreshed stroboscopic image during drawing is reduced.
From the above description, the invention has made a great deal of invention and improvement on the display performance, the display speed and the display aesthetic property aiming at the display of the observation system, the display speed is greatly improved by adopting the modes of coordinate transformation, multithread drawing, double-cache drawing, dynamic rarefaction display and the like, the display aesthetic property of the shot-inspection point is improved by dynamic grading display and the dynamic rarefaction display of the shot-inspection point label, and the display effect of providing the excellent observation system for the user on different zoom levels and different display devices is realized.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
Based on the same inventive concept, the embodiment of the present invention further provides an observation system shot point data drawing device, which can be used to implement the observation system shot point data drawing method described in the above embodiment, as described in the following embodiments. Because the principle of solving the problems of the observation system shot-geophone point data drawing device is similar to that of the observation system shot-geophone point data drawing method, the embodiment of the observation system shot-geophone point data drawing device can refer to the embodiment of the observation system shot-geophone point data drawing method, and repeated parts are not repeated. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 7 is a first structural block diagram of the observation system shot point data drawing device according to the embodiment of the present invention, and as shown in fig. 7, the observation system shot point data drawing device according to the embodiment of the present invention includes: a view display parameter acquisition unit 1, a device coordinate conversion unit 2, a device display dot pitch determination unit 3, a drawing mode determination unit 4, and a view drawing unit 5.
The view display parameter acquiring unit 1 is configured to acquire a view display range to be displayed by a device selected by a user and a corresponding zoom level. In the embodiment of the invention, the view display range to be displayed by the device selected by the user and the corresponding zoom level can be selected by the user in the observation system range of the observation system. In the embodiment of the present invention, the view display range to be displayed by the device and the corresponding zoom level selected by the user may be selected by the user in the observation system range for the first time, or may be determined again after the user performs operations such as zooming, panning, window size adjustment, content update, and the like on the view based on the range selected by the user for the first time.
And the equipment coordinate conversion unit 2 is used for converting the coordinates of the shot point and the check point in the shot and check point data corresponding to the view display range into equipment coordinates. In the embodiment of the present invention, the specific step of converting the coordinates of the shot point and the inspection point into the coordinates of the device may be to firstly convert the coordinates of the shot point and the inspection point into the coordinates of the device through a preset conversion matrix M from world coordinates to logical coordinatesw2lCompleting the conversion of the coordinates of the shot point and the inspection point to the logic space, and further converting the coordinates to the logic space through a preset logic-equipment coordinate conversion matrix Ml2dAnd converting the coordinates of the shot point and the inspection point from the logical coordinates into the coordinates of the equipment.
And the device display point distance determining unit 3 is used for determining the point distance displayed by the device of the shot point and the point detection according to the device coordinates and the zoom level.
And the drawing mode determining unit 4 is used for determining a corresponding drawing mode according to the point distance and the point distance display length parameter corresponding to the preset drawing mode. In the embodiment of the present invention, the preset drawing mode includes the following common drawing modes in the field: the method comprises four drawing modes of ultra-dense drawing, rough drawing and fine drawing, wherein: the ultra-dense drawing mode is used for performing point-by-point thinning drawing on the shot points and the inspection points; the intensive drawing mode is used for drawing shot points and inspection points point by point and pixel by pixel; the rough drawing mode is used for drawing the shot points and the inspection points point by point, and the image details of the shot points and the inspection points are not drawn during drawing; and the fine drawing mode is used for drawing the shot points and the inspection points point by point, and drawing the image details of the shot points and the inspection points during drawing.
And the view drawing unit 5 is used for drawing a to-be-displayed device view according to the determined drawing mode and the shot detection point data. In the embodiment of the invention, after the corresponding drawing mode is determined, the shot point data in the view display range to be displayed by the equipment selected by the user is drawn according to the drawing mode, and the display view is drawn. In the embodiment of the invention, all the shot points, the shot lines, the point detection and the line detection corresponding to the view display range can be drawn during drawing.
Fig. 8 is a configuration diagram of a drawing mode determining unit according to an embodiment of the present invention, and as shown in fig. 8, the drawing mode determining unit 4 includes: a first drawing mode selection module 401, a second drawing mode selection module 402, a third drawing mode selection module 403, and a first fourth drawing mode selection module 404.
A first drawing mode selection module 401, configured to select a corresponding drawing mode according to the distance between the shot point or the point detection device and the size of the first number of pixels; and when the distance between the points displayed by the shot point or the point detection equipment is smaller than the first number of pixel points, selecting a super-dense drawing mode, wherein the super-dense drawing mode is used for performing point-by-point thinning drawing on the shot point and the point detection. In an embodiment of the present invention, the first number may be determined according to the size of the display device and the display resolution, and the first number may be selected to be 1 pixel as in a general conventional display.
A second drawing mode selection module 402, configured to select a corresponding drawing mode according to the distance between the shot point and the point detection device and the size of the first number and the second number of pixels; and when the distance between the shot points and the detected points displayed by the shot point and detected point equipment is larger than the first number of pixel points and smaller than the second number of pixel points, selecting a dense drawing mode, wherein the dense drawing mode is used for drawing the shot points and the detected points point by point and pixel by pixel. In an embodiment of the present invention, the second number may be determined according to the size of the display device and the display resolution, and the second number may be selected to be 2 pixels as in a general conventional display.
A third drawing mode selection module 403, configured to select a corresponding drawing mode according to the distance between the shot point and the point detection device, and the size of the second number and the third number of pixels; and when the distance between the shot points and the detected points displayed by the shot point and detected point equipment is larger than the second number of pixel points and smaller than the third number of pixel points, adopting a rough drawing mode to draw a display view, wherein the rough drawing mode is used for drawing the shot points and the detected points point by point, and the image details of the shot points and the detected points are not drawn during drawing. In an embodiment of the present invention, the third number may be determined according to the size of the display device and the display resolution, and the third number may be selected to be 5-10 pixels as in a general conventional display.
A fourth drawing mode selection module 404, configured to select a corresponding drawing mode according to the distance between the shot point and the point detection device and the size of the third number of pixel points; and when the distance between the shot points and the pixel points displayed by the point detection equipment is larger than or equal to the third number of pixel points, drawing a display view by adopting a fine drawing mode, wherein the fine drawing mode is used for drawing the shot points and the pixel points point by point, and drawing the image details of the shot points and the pixel points during drawing.
Fig. 9 is a first composition structural view of a view drawing unit according to an embodiment of the present invention, and as shown in fig. 9, the view drawing unit 5 according to an embodiment of the present invention includes: and a standard information drawing module 6.
And the marking information drawing module 6 is used for drawing the shot point marking information in the shot point data on the display view of the equipment to be tested. In the embodiment of the invention, when the observation system shot point data is drawn, the marking information of the shot point can be drawn on the display view through the marking information drawing module 6.
Fig. 10 is a structural diagram of a component of a labeling information drawing module according to an embodiment of the present invention, and as shown in fig. 10, the labeling information drawing module 6 according to an embodiment of the present invention includes: a labeling interval parameter obtaining sub-module 601 and a labeling information searching sub-module 602.
The annotation interval parameter obtaining sub-module 601 is used for obtaining the preset minimum horizontal interval and the preset vertical interval displayed by the equipment between adjacent annotation information, in the embodiment of the invention, the minimum horizontal interval and the preset vertical interval displayed by the equipment are preset fixed intervals, in the embodiment of the invention, Li、LviThe horizontal interval and the vertical interval are respectively preset and are in centimeter units in order to adapt to the display on different display devices, so that the marked display cannot be adjusted greatly due to the change of the resolution of the display devices.
The annotation information search sub-module 602 is configured to sequentially search out the annotation information satisfying the interval according to the minimum horizontal interval and the vertical interval, and draw the searched annotation information on the display view of the device to be controlled, in an embodiment of the present invention, the annotation information search sub-module 602 may first calculate L preset horizontal intervals and vertical intervals according to the zoom level corresponding to the display range of the view selected by the useri、LviCorresponding world coordinate interval wi、wvi. Determining initial marking information in the view display range selected by the user, and further determining the initial marking information according to the initial marking information and the transverse interval wiAnd a longitudinal spacing wviAnd finding out all the label information meeting the interval, and further drawing the label information during drawing.
Fig. 11 is a second structural block diagram of the observation system shot point data drawing device according to the embodiment of the present invention, and as shown in fig. 11, the observation system shot point data drawing device according to the embodiment of the present invention further includes: an observation system data loading unit 7, an observation system range determining unit 8, and a logical coordinate converting unit 9.
And the observation system data loading unit 7 is used for loading observation system data. In the embodiment of the present invention, before the observation system shot point data is plotted, the observation system data of the exploration area, which is usually an SPS file, needs to be read in first. In the embodiment of the invention, in order to display the shot-inspection point data of the drawn observation system on different display devices, the invention can be realized by adopting QT.
And the observation system range determining unit 8 is used for determining the range of the observation system according to the data of the observation system. In the embodiment of the invention, the observation system range { (Geometry) to be observed in the exploration area can be calculated according to the calculation method in the prior artxminGeometryymin),(GeometryxmaxGeometryymax)}. In an embodiment of the invention, the observation system range may be expressed in world coordinates. In the embodiment of the present invention, while calculating the scope of the observation system, the observation system parameters within the scope of the observation system may also be calculated according to the calculation method in the prior art, and the observation system parameters may include: world coordinates of all shot points and inspection points and Distance between shot points in observation system rangespDistance of line of gun lineslDistance between points to be checkedrpDistance of line inspectionrlRotation angle GeometryangleAnd the like.
And the logical coordinate conversion unit 9 is used for converting the coordinates of the shot point and the inspection point in the range of the observation system into logical coordinates. In the embodiment of the invention, the method for converting the coordinates of the observation system range and the shot point in the observation system range into the logical coordinates comprises the following steps: firstly, converting the coordinates of the shot point in the range of an observation system and the coordinates of the shot point in the range of the observation system from global coordinates to local coordinates, wherein the global coordinates and the local coordinates are both world coordinates, but different coordinate systems are adopted; and further converting the local coordinates of the observation system range and the shot point in the observation system range into the logical coordinates of the adaptive display equipment.
Fig. 12 is a structural diagram of a logical coordinate transformation unit according to an embodiment of the present invention, and as shown in fig. 12, the logical coordinate transformation unit 9 according to the embodiment of the present invention includes: a global-local coordinate conversion module 901 and a local-logical coordinate conversion module 902.
And the global-local coordinate conversion module 901 is configured to convert the coordinates of the shot point and the inspection point within the scope of the observation system from global coordinates to local coordinates according to a preset global-local coordinate conversion matrix. In the embodiment of the invention, in order to convert the coordinates in the range of the observation system from the global coordinates to the local coordinates, a global-local coordinate conversion matrix M is presetg2lAnd the system is used for completing the conversion of the coordinates in the range of the observation system from the global coordinates to the local coordinates.
And a local-logical coordinate conversion module 902, configured to convert the local coordinates of the shot point and the inspection point into logical coordinates for adapting to the display device according to a preset local-logical coordinate conversion matrix. In the embodiment of the invention, in order to convert the coordinates in the range of the observation system from the local coordinates to the logical coordinates, a local-logical coordinate conversion matrix is preset to complete the conversion of the data of the observation system to the logical space.
Fig. 13 is a configuration diagram of a device coordinate transformation unit according to an embodiment of the present invention, and as shown in fig. 13, the device coordinate transformation unit 2 according to the embodiment of the present invention includes: a logic-device coordinate conversion module 201.
And the logic-equipment coordinate conversion module 201 is used for converting the logic coordinates of the shot point and the inspection point into equipment coordinates according to a preset logic-equipment coordinate conversion matrix. In the embodiment of the present invention, the specific step of converting the coordinates of the shot point and the inspection point into the coordinates of the device may be to firstly convert the coordinates of the shot point and the inspection point into the coordinates of the device through a preset conversion matrix M from world coordinates to logical coordinatesw2lCompleting the conversion of the coordinates of the shot point and the inspection point to the logic space, and further converting the coordinates to the logic space through a preset logic-equipment coordinate conversion matrix Ml2dAnd converting the coordinates of the shot point and the inspection point from the logical coordinates into the coordinates of the equipment.
Fig. 14 is a second constitutional structural view of the view drawing unit according to the embodiment of the present invention, and as shown in fig. 14, the view drawing unit 5 according to the embodiment of the present invention includes: a multithread rendering module 501 and an image display cache switching module 502.
And the multithreading drawing module 501 is configured to draw the to-be-displayed device view in the background image display cache in a multithreading drawing manner. In the embodiment of the invention, in order to improve the drawing speed, a multi-thread drawing method is adopted. In the embodiment of the invention, if the drawing is directly performed on the display device in the drawing process of the display view, the conditions of slow drawing speed and low efficiency can occur due to the fact that the access delay of the CPU to the display device is large and the number of drawing points is huge. Because the reading and writing speed of the CPU to the memory is far higher than that of the display device, the invention adopts a method of alternately drawing and displaying two image display caches in the drawing process, and when in display and drawing, one image display cache is used for foreground display, and the other image display cache is used for displaying view drawing in the background.
An image display buffer switching module 502, configured to replace a foreground image display buffer with the background image display buffer, so as to display the to-be-device display view. In the embodiment of the invention, when a drawing event occurs, the program draws on the image display cache of the background, copies the image display cache to the foreground after the drawing is finished, and sets the foreground cache as the background to prepare for the next drawing.
In order to achieve the above object, according to another aspect of the present application, there is also provided a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps in the observation system shot point data mapping method when executing the computer program.
The processor may be a Central Processing Unit (CPU). The Processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or a combination thereof.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and units, such as the corresponding program units in the above-described method embodiments of the present invention. The processor executes various functional applications of the processor and the processing of the work data by executing the non-transitory software programs, instructions and modules stored in the memory, that is, the method in the above method embodiment is realized.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor, and the like. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and such remote memory may be coupled to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more units are stored in the memory and when executed by the processor perform the method of the above embodiments.
The specific details of the computer device may be understood by referring to the corresponding related descriptions and effects in the above embodiments, and are not described herein again.
In order to achieve the above object, according to another aspect of the present application, there is also provided a computer-readable storage medium storing a computer program which, when executed in a computer processor, implements the steps in the above observation system shot point data rendering method. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a hard disk (hard disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above. It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (26)

1. A method for drawing shot point data of an observation system is characterized by comprising the following steps:
acquiring a view display range to be displayed by equipment selected by a user and a corresponding zoom level;
converting the coordinates of the shot point and the check point in the shot point data corresponding to the view display range into equipment coordinates;
determining the point distance displayed by the shot point and the point detection equipment according to the equipment coordinate and the zoom level;
determining a corresponding drawing mode according to the point distance and a point distance display length parameter corresponding to a preset drawing mode;
and drawing a display view of the equipment to be displayed according to the determined drawing mode and the shot detection point data.
2. The observation system shot-geophone point data drawing method of claim 1, wherein said point distance display length parameter comprises a pixel point;
the determining the corresponding drawing mode according to the point distance and the point distance display length parameter corresponding to the preset drawing mode comprises the following steps:
selecting a corresponding drawing mode according to the point distance displayed by the shot point or the point detection equipment and the size of the first number of pixel points; and when the distance between the points displayed by the shot point or the point detection equipment is smaller than the first number of pixel points, selecting a super-dense drawing mode, wherein the super-dense drawing mode is used for performing point-by-point thinning drawing on the shot point and the point detection.
3. The observation system shot-geophone point data drawing method of claim 1, wherein said point distance display length parameter comprises a pixel point;
the determining the corresponding drawing mode according to the point distance and the point distance display length parameter corresponding to the preset drawing mode comprises the following steps:
selecting a corresponding drawing mode according to the point distance displayed by the shot point and the point detecting equipment and the sizes of the first number of pixel points and the second number of pixel points; and when the distance between the shot points and the pixels displayed by the point detection equipment is greater than or equal to the first number of pixels and less than or equal to the second number of pixels, selecting a dense drawing mode, wherein the dense drawing mode is used for drawing the shot points and the detected points point by point and pixel by pixel.
4. The observation system shot-geophone point data drawing method of claim 1, wherein said point distance display length parameter comprises a pixel point;
the determining the corresponding drawing mode according to the point distance and the point distance display length parameter corresponding to the preset drawing mode comprises the following steps:
selecting a corresponding drawing mode according to the point distance displayed by the shot point and the point detecting equipment, the second number of pixel points and the third number of pixel points; and when the distance between the shot points and the detected points displayed by the shot point and detected point equipment is larger than the second number of pixel points and smaller than the third number of pixel points, adopting a rough drawing mode to draw a display view, wherein the rough drawing mode is used for drawing the shot points and the detected points point by point, and the image details of the shot points and the detected points are not drawn during drawing.
5. The observation system shot-geophone point data drawing method of claim 1, wherein said point distance display length parameter comprises a pixel point;
the determining the corresponding drawing mode according to the point distance and the point distance display length parameter corresponding to the preset drawing mode comprises the following steps:
selecting a corresponding drawing mode according to the point distance displayed by the shot point and the point detecting equipment and the size of the third number of pixel points; and when the distance between the shot points and the pixel points displayed by the point detection equipment is larger than or equal to the third number of pixel points, drawing a display view by adopting a fine drawing mode, wherein the fine drawing mode is used for drawing the shot points and the pixel points point by point, and drawing the image details of the shot points and the pixel points during drawing.
6. The observation system shot-geophone point data drawing method according to claim 1, wherein said drawing a to-be-processed device display view according to said drawing mode and said shot-geophone point data comprises:
and drawing the shot point marking information in the shot point data on the display view of the equipment to be tested.
7. The observation system shot point data drawing method according to claim 6, wherein the drawing shot point marking information in the shot point data on the display view of the device to be observed comprises:
acquiring the minimum transverse interval and the minimum longitudinal interval displayed by equipment between preset adjacent marking information;
and sequentially searching out the marking information meeting the interval according to the minimum transverse interval and the longitudinal interval, and drawing the searched marking information on the display view of the equipment to be tested.
8. The observation system shot point data drawing method according to claim 1, further comprising, before the obtaining of the user-selected view display range to be displayed by the device:
loading observation system data;
determining the range of the observation system according to the data of the observation system;
and converting the coordinates of the shot point and the inspection point in the range of the observation system into logical coordinates.
9. The observation system shot and receiver data mapping method of claim 8, wherein said converting the coordinates of the shots and receivers within the observation system into logical coordinates comprises:
converting the coordinates of the shot point and the inspection point in the range of the observation system from global coordinates to local coordinates according to a preset global-local coordinate conversion matrix;
and converting the local coordinates of the shot point and the inspection point into logical coordinates for adapting the display equipment according to a preset local-logical coordinate conversion matrix.
10. The observation system shot point data mapping method of claim 8, wherein said converting the coordinates of the shots and shots in the shot point data to device coordinates comprises:
and converting the logical coordinates of the shot point and the inspection point into equipment coordinates according to a preset logical-equipment coordinate conversion matrix.
11. The observation system shot-geophone point data drawing method according to claim 8, wherein said obtaining a user-selected view display range to be displayed by a device and a corresponding zoom level comprises:
and acquiring a view display range to be displayed by equipment selected by a user from the observation system range and a corresponding zoom level.
12. The observation system shot-geophone point data drawing method according to claim 1, wherein said drawing a to-be-processed device display view according to said drawing mode and said shot-geophone point data comprises:
drawing the display view of the equipment to be displayed in a background image display cache in a multi-thread drawing mode;
and replacing a foreground image display cache with the background image display cache to display the to-be-displayed equipment view.
13. The utility model provides an observation system shot-geophone examination point data draws device which characterized in that includes:
the view display parameter acquisition unit is used for acquiring a view display range to be displayed by the equipment selected by a user and a corresponding zoom level;
the device coordinate conversion unit is used for converting the coordinates of the shot points and the check points in the shot and check point data corresponding to the view display range into device coordinates;
the device display point distance determining unit is used for determining the point distance displayed by the device of the shot point and the inspection point according to the device coordinate and the zoom level;
the drawing mode determining unit is used for determining a corresponding drawing mode according to the point distance and a point distance display length parameter corresponding to a preset drawing mode;
and the view drawing unit is used for drawing a to-be-displayed device view according to the determined drawing mode and the shot detection point data.
14. The observation system shot-geophone point data drawing device of claim 13, wherein said point-distance display length parameter comprises a pixel point;
the drawing mode determination unit includes:
the first drawing mode selection module is used for selecting a corresponding drawing mode according to the point distance displayed by the shot point or the point detection equipment and the size of the first number of pixel points; and when the distance between the points displayed by the shot point or the point detection equipment is smaller than the first number of pixel points, selecting a super-dense drawing mode, wherein the super-dense drawing mode is used for performing point-by-point thinning drawing on the shot point and the point detection.
15. The observation system shot-geophone point data drawing device of claim 13, wherein said point-distance display length parameter comprises a pixel point;
the drawing mode determination unit includes:
the second drawing mode selection module is used for selecting corresponding drawing modes according to the point distance displayed by the shot point and the point detection equipment and the sizes of the first number of pixel points and the second number of pixel points; and when the distance between the shot points and the pixels displayed by the point detection equipment is greater than or equal to the first number of pixels and less than or equal to the second number of pixels, selecting a dense drawing mode, wherein the dense drawing mode is used for drawing the shot points and the detected points point by point and pixel by pixel.
16. The observation system shot-geophone point data drawing device of claim 13, wherein said point-distance display length parameter comprises a pixel point;
the drawing mode determination unit includes:
the third drawing mode selection module is used for selecting a corresponding drawing mode according to the point distance displayed by the shot point and the point detection equipment, the second quantity of pixel points and the third quantity of pixel points; and when the distance between the shot points and the detected points displayed by the shot point and detected point equipment is larger than the second number of pixel points and smaller than the third number of pixel points, adopting a rough drawing mode to draw a display view, wherein the rough drawing mode is used for drawing the shot points and the detected points point by point, and the image details of the shot points and the detected points are not drawn during drawing.
17. The observation system shot-geophone point data drawing device of claim 13, wherein said point-distance display length parameter comprises a pixel point;
the drawing mode determination unit includes:
the fourth drawing mode selection module is used for selecting a corresponding drawing mode according to the point distance displayed by the shot point and the point detection equipment and the size of the third number of pixel points; and when the distance between the shot points and the pixel points displayed by the point detection equipment is larger than or equal to the third number of pixel points, drawing a display view by adopting a fine drawing mode, wherein the fine drawing mode is used for drawing the shot points and the pixel points point by point, and drawing the image details of the shot points and the pixel points during drawing.
18. The observation system shot point data drawing device of claim 13, wherein the view drawing unit comprises:
and the marking information drawing module is used for drawing the shot point marking information in the shot point data on the display view of the equipment to be tested.
19. The observation system shot-geophone point data mapping apparatus of claim 18, wherein said label information mapping module comprises:
the marking interval parameter obtaining submodule is used for obtaining the minimum transverse interval and the minimum longitudinal interval displayed by equipment between the preset adjacent marking information;
and the marking information searching submodule is used for sequentially searching out the marking information meeting the interval according to the minimum transverse interval and the longitudinal interval and drawing the searched marking information on the display view of the equipment to be displayed.
20. The observation system shot-geophone point data mapping apparatus of claim 13, further comprising:
the observation system data loading unit is used for loading observation system data;
the observation system range determining unit is used for determining the range of the observation system according to the data of the observation system;
and the logical coordinate conversion unit is used for converting the coordinates of the shot point and the inspection point in the range of the observation system into logical coordinates.
21. The observation system shot point data drawing device of claim 20, wherein the logical coordinate conversion unit comprises:
the global-local coordinate conversion module is used for converting the coordinates of the shot point and the inspection point in the range of the observation system from global coordinates to local coordinates according to a preset global-local coordinate conversion matrix;
and the local-logic coordinate conversion module is used for converting the local coordinates of the shot point and the inspection point into logic coordinates for adapting the display equipment according to a preset local-logic coordinate conversion matrix.
22. The observation system shot point data drawing apparatus of claim 20, wherein the device coordinate conversion unit comprises:
and the logic-equipment coordinate conversion module is used for converting the logic coordinates of the shot point and the inspection point into equipment coordinates according to a preset logic-equipment coordinate conversion matrix.
23. The observation system shot-geophone point data drawing device according to claim 20, wherein said view display parameter obtaining unit is further configured to obtain a view display range to be displayed by the device selected by the user from within the observation system range and a corresponding zoom level.
24. The observation system shot point data drawing device of claim 13, wherein the view drawing unit comprises:
the multithreading drawing module is used for drawing the to-be-displayed equipment view in a background image display cache in a multithreading drawing mode;
and the image display cache switching module is used for replacing a foreground image display cache with the background image display cache so as to display the display view of the equipment to be displayed.
25. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 12 are implemented when the computer program is executed by the processor.
26. A computer-readable storage medium, in which a computer program is stored which, when being executed in a computer processor, carries out the steps of the method according to any one of claims 1 to 12.
CN201910072056.0A 2019-01-25 2019-01-25 Method and device for drawing shot point data of observation system Active CN111489410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910072056.0A CN111489410B (en) 2019-01-25 2019-01-25 Method and device for drawing shot point data of observation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910072056.0A CN111489410B (en) 2019-01-25 2019-01-25 Method and device for drawing shot point data of observation system

Publications (2)

Publication Number Publication Date
CN111489410A true CN111489410A (en) 2020-08-04
CN111489410B CN111489410B (en) 2023-11-28

Family

ID=71791513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910072056.0A Active CN111489410B (en) 2019-01-25 2019-01-25 Method and device for drawing shot point data of observation system

Country Status (1)

Country Link
CN (1) CN111489410B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114399567A (en) * 2022-01-11 2022-04-26 武汉华信联创技术工程有限公司 High-resolution grid distribution diagram display method and related equipment
CN116679759A (en) * 2023-05-16 2023-09-01 刘沛乐 Automatic control method and device for cradle head equipment

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020005847A1 (en) * 1996-10-23 2002-01-17 Toshiyuki Hiroi Image generating method and apparatus, recording medium and random number generator
US20030132934A1 (en) * 2001-12-12 2003-07-17 Technoguide As Three dimensional geological model construction
JP2011043871A (en) * 2009-08-19 2011-03-03 Nikon Systems Inc Image display method, program, and image display device
CN103116183A (en) * 2011-11-16 2013-05-22 中国石油天然气集团公司 Method of oil earthquake collection surface element covering degree property body slicing mapping
CN103454681A (en) * 2013-08-28 2013-12-18 中国石油集团川庆钻探工程有限公司地球物理勘探公司 Method and equipment for evaluating imaging effect of three-dimensional earthquake observing system
CN103869355A (en) * 2012-12-18 2014-06-18 中国石油天然气集团公司 Method for determining shot point combination
CN104160426A (en) * 2012-02-22 2014-11-19 株式会社微网 Augmented reality image processing device and method
CN104297790A (en) * 2014-09-19 2015-01-21 中国海洋石油总公司 Quantitative evaluation method for offset distribution in fluctuating submarine earthquake observation system
CN105093283A (en) * 2014-05-16 2015-11-25 中国石油化工股份有限公司 Three-dimensional observation system surface element attribute multi-thread rapid display method
WO2017028436A1 (en) * 2015-08-18 2017-02-23 百度在线网络技术(北京)有限公司 Drawing tool implementation method, apparatus, device, and computer storage medium
CN106802924A (en) * 2016-12-19 2017-06-06 北京科胜永昌软件有限公司 The cautious data of magnanimity observation system big gun based on multi-threaded parallel draw display methods
CN107703537A (en) * 2017-07-21 2018-02-16 中国石油天然气集团公司 A kind of big gun examines methods of exhibiting and device in three-dimensional earth's surface
CN107728201A (en) * 2017-09-29 2018-02-23 中国石油化工股份有限公司 A kind of two-dimension earthquake profile drawing method based on Web
CN109100795A (en) * 2018-06-12 2018-12-28 中国石油天然气集团有限公司 A kind of inspection point distribution method, the apparatus and system of face element

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020005847A1 (en) * 1996-10-23 2002-01-17 Toshiyuki Hiroi Image generating method and apparatus, recording medium and random number generator
US20030132934A1 (en) * 2001-12-12 2003-07-17 Technoguide As Three dimensional geological model construction
JP2011043871A (en) * 2009-08-19 2011-03-03 Nikon Systems Inc Image display method, program, and image display device
CN103116183A (en) * 2011-11-16 2013-05-22 中国石油天然气集团公司 Method of oil earthquake collection surface element covering degree property body slicing mapping
CN104160426A (en) * 2012-02-22 2014-11-19 株式会社微网 Augmented reality image processing device and method
CN103869355A (en) * 2012-12-18 2014-06-18 中国石油天然气集团公司 Method for determining shot point combination
CN103454681A (en) * 2013-08-28 2013-12-18 中国石油集团川庆钻探工程有限公司地球物理勘探公司 Method and equipment for evaluating imaging effect of three-dimensional earthquake observing system
CN105093283A (en) * 2014-05-16 2015-11-25 中国石油化工股份有限公司 Three-dimensional observation system surface element attribute multi-thread rapid display method
CN104297790A (en) * 2014-09-19 2015-01-21 中国海洋石油总公司 Quantitative evaluation method for offset distribution in fluctuating submarine earthquake observation system
WO2017028436A1 (en) * 2015-08-18 2017-02-23 百度在线网络技术(北京)有限公司 Drawing tool implementation method, apparatus, device, and computer storage medium
CN106802924A (en) * 2016-12-19 2017-06-06 北京科胜永昌软件有限公司 The cautious data of magnanimity observation system big gun based on multi-threaded parallel draw display methods
CN107703537A (en) * 2017-07-21 2018-02-16 中国石油天然气集团公司 A kind of big gun examines methods of exhibiting and device in three-dimensional earth's surface
CN107728201A (en) * 2017-09-29 2018-02-23 中国石油化工股份有限公司 A kind of two-dimension earthquake profile drawing method based on Web
CN109100795A (en) * 2018-06-12 2018-12-28 中国石油天然气集团有限公司 A kind of inspection point distribution method, the apparatus and system of face element

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114399567A (en) * 2022-01-11 2022-04-26 武汉华信联创技术工程有限公司 High-resolution grid distribution diagram display method and related equipment
CN114399567B (en) * 2022-01-11 2024-02-20 武汉华信联创技术工程有限公司 High-resolution grid point distribution diagram display method and related equipment
CN116679759A (en) * 2023-05-16 2023-09-01 刘沛乐 Automatic control method and device for cradle head equipment
CN116679759B (en) * 2023-05-16 2024-04-05 刘沛乐 Automatic control method and device for cradle head equipment

Also Published As

Publication number Publication date
CN111489410B (en) 2023-11-28

Similar Documents

Publication Publication Date Title
US10096086B2 (en) Enhanced anti-aliasing by varying sample patterns spatially and/or temporally
Zeng et al. Octree-based fusion for realtime 3D reconstruction
US9149309B2 (en) Systems and methods for sketching designs in context
US9881391B2 (en) Procedurally defined texture maps
US8749580B1 (en) System and method of texturing a 3D model from video
CN112184575B (en) Image rendering method and device
US8610737B2 (en) Graphic processing unit (GPU) with configurable filtering module and operation method thereof
CN101908202B (en) Method for fast displaying electronic chart
CN104616345A (en) Octree forest compression based three-dimensional voxel access method
WO2018212826A1 (en) A parallelized pipeline for vector graphics and image processing
CN104156480A (en) WPF-and-GDI+-based layered drawing method for map
CN116109765A (en) Three-dimensional rendering method and device for labeling objects, computer equipment and storage medium
CN111489410B (en) Method and device for drawing shot point data of observation system
US7570271B1 (en) High speed display of high resolution image
CN112732155B (en) Image display method, image display device, electronic apparatus, and storage medium
CN102855132A (en) Method and system for selection of graphic objects
US11682212B2 (en) Hierarchical data organization for dense optical flow processing in a computer vision system
US20130328876A1 (en) Building kd-trees in a depth first manner on heterogeneous computer systems
Chiang et al. Fast JND-based video carving with GPU acceleration for real-time video retargeting
CN114596383A (en) Line special effect processing method and device, electronic equipment, storage medium and product
KR20100068603A (en) Apparatus and method for generating mipmap
KR101487454B1 (en) method for parallel processing of LOD image
CN105427235A (en) Image browsing method and system
US20090213121A1 (en) Image processing method and apparatus
CN116883563A (en) Method, device, computer equipment and storage medium for rendering annotation points

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant