CN115457216A - Core image panoramic switching dynamic display method, device, equipment and medium - Google Patents

Core image panoramic switching dynamic display method, device, equipment and medium Download PDF

Info

Publication number
CN115457216A
CN115457216A CN202211230998.5A CN202211230998A CN115457216A CN 115457216 A CN115457216 A CN 115457216A CN 202211230998 A CN202211230998 A CN 202211230998A CN 115457216 A CN115457216 A CN 115457216A
Authority
CN
China
Prior art keywords
core image
panoramic
core
dimensional
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211230998.5A
Other languages
Chinese (zh)
Inventor
齐德峰
张和松
韩迪超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Wenshi Jiechuang Information Technology Co ltd
Original Assignee
Beijing Wenshi Jiechuang Information Technology Co ltd
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 Beijing Wenshi Jiechuang Information Technology Co ltd filed Critical Beijing Wenshi Jiechuang Information Technology Co ltd
Priority to CN202211230998.5A priority Critical patent/CN115457216A/en
Publication of CN115457216A publication Critical patent/CN115457216A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2008Assembling, disassembling

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Architecture (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a method, a device, equipment and a medium for dynamically displaying panoramic switching of a core image, wherein the method comprises the following steps: acquiring a real-time core image observation request; calculating the minimum data volume meeting the real-time observation according to the real-time core image observation request, and acquiring a core image to be observed according to the minimum data volume; cutting, fusing and continuously splicing the top-bottom relation according to the state of the core image to be observed to obtain a panoramic plane core image and display the panoramic plane core image in real time; and acquiring a panoramic three-dimensional core image observation request, and performing three-dimensional restoration transformation on the panoramic plane core image to obtain a panoramic three-dimensional core image and displaying the panoramic three-dimensional core image in real time. The invention has the advantages of differential comparison, minimized transmission data volume, network pressure reduction, continuous splicing of the top-bottom relation of the core image, geological basic characteristics of the displayed core image, three-dimensional recovery transformation of the core image and reduction of the real three-dimensional characteristics of the core.

Description

Core image panoramic switching dynamic display method, device, equipment and medium
Technical Field
The invention relates to the technical field of computers and image processing, in particular to a core image panoramic switching dynamic display method, a core image panoramic switching dynamic display device, core image panoramic switching dynamic display equipment and a core image panoramic switching dynamic display medium.
Background
With the continuous development of social economy, the demands of oil field, geological and mining, coal, nonferrous, nuclear and oceanic exploration are increasing day by day, and the relevant research on core images acquired by exploration has great significance for determining the geological condition of an exploration area.
For massive core images generated in the exploration process, the traditional method can only load a few images or has very low speed, the core images cannot be dynamically loaded or the operation is delayed, and the display of the core images of the whole well can cause overlarge data volume and larger pressure on a network. The traditional method for observing the top-bottom relation of the core image is not considered when the core image is single-sheet display, so that the core image is observed without geological characteristics, the geological phenomenon is discontinuous, the real top-bottom relation of the core cannot be reflected, the prior art is lack of panoramic three-dimensional display of the core image, and the three-dimensional characteristic of the real core cannot be restored.
Disclosure of Invention
In view of this, it is necessary to provide a method, an apparatus, a device, and a medium for dynamically displaying a core image through panoramic switching, which solve the technical problems in the prior art that when a large amount of core images are loaded and displayed, the network transmission pressure is high, rapid dynamic loading cannot be realized, and the actual top-bottom relationship of the core and the three-dimensional characteristics of the core cannot be reflected in the display of the core images.
In order to solve the technical problem, in one aspect, the present invention provides a method for dynamically displaying core image by panoramic switching, including:
acquiring a real-time core image observation request;
calculating the minimum data volume meeting the real-time observation according to the real-time core image observation request, and acquiring a core image to be observed according to the minimum data volume;
cutting, fusing and continuously splicing the top-bottom relation according to the state of the core image to be observed to obtain a panoramic plane core image and display the panoramic plane core image in real time;
and acquiring a panoramic three-dimensional core image observation request, and performing three-dimensional restoration transformation on the panoramic plane core image to obtain a panoramic three-dimensional core image and displaying the panoramic three-dimensional core image in real time.
In some possible implementation manners, the calculating, according to the real-time core image observation request, a minimum data volume that satisfies real-time observation, and acquiring, according to the minimum data volume, a core image to be observed includes:
acquiring an observation scale according to the real-time core image observation request;
calculating the minimum data size meeting the real-time observation according to the observation scale;
and detecting whether the core image data of the client is lost or not according to the minimum data amount, and downloading and acquiring the lost part of the core image data from a server to obtain a core image to be observed.
In some possible implementation manners, detecting whether core image data of a client is missing according to the minimum data volume, and downloading and acquiring the missing part of the core image data from a server includes:
detecting whether a historical data record exists in the client according to the minimum data size meeting the real-time observation;
when the client has a historical data record, directly acquiring the core image to be observed according to the historical data record;
when the client does not have the historical data record, searching the historical data record which is closest to the minimum data size in the historical data records of the client, and calculating the difference data between the minimum data size and the closest historical data record;
and downloading and acquiring a core image difference part from the server according to the difference data to obtain a core image to be observed.
In some possible implementation manners, the cutting, fusing, and continuously splicing the top-bottom relationship according to the state of the core image to be observed to obtain a panoramic plane core image includes:
acquiring the core image to be observed;
sequencing a plurality of core images contained in the core image to be observed according to depth information;
and performing seamless splicing and fusion by adopting a color and brightness linear fusion mode according to the top-bottom relation of the sequenced core images to obtain the panoramic plane core image.
In some possible implementation manners, the seamlessly splicing and fusing the ordered core images in a color and brightness linear fusion manner to obtain the panoramic planar core image includes:
selecting two adjacent core images in the sequenced core images in sequence, and setting the superposed areas of the core image positioned above and the core image positioned below as a first superposed area and a second superposed area respectively;
converting the pixels of the first superposition area and the second superposition area into a YUV color coding mode;
calculating the brightness information of the pixels of the first superposition area and the second superposition area, and updating the YUV values of the pixels of the first superposition area and the second superposition area according to the calculation result;
converting the pixels of the first overlapping area and the second overlapping area into an RGB color coding mode according to the updated YUV values, and completing the fusion of the upper core image and the lower core image;
traversing two adjacent core images in the sequenced core images, and performing fusion processing to obtain the panoramic plane core image.
In some possible implementation manners, the obtaining a panoramic three-dimensional core image observation request, and performing three-dimensional restoration transformation on the panoramic planar core image to obtain a panoramic three-dimensional core image includes:
acquiring a panoramic three-dimensional rock core image observation request;
determining a three-dimensional recovery transformation mode of the panoramic plane core image according to the panoramic three-dimensional core image observation request;
and performing three-dimensional recovery transformation on the panoramic plane core image according to the three-dimensional recovery transformation mode to obtain the panoramic three-dimensional core image.
In some possible implementation manners, the three-dimensional transforming the panoramic plane core image according to the three-dimensional recovery transformation manner to obtain the panoramic three-dimensional core image includes:
determining that the three-dimensional recovery transformation mode is columnar deformation;
determining a mapping relation between the panoramic plane core image and the transformed target image according to the projection rule of the columnar deformation;
and performing three-dimensional transformation according to the mapping relation between the panoramic plane core image and the transformed target image to obtain the panoramic three-dimensional core image.
On the other hand, the invention also provides a core image panoramic switching dynamic display device, which comprises:
the request acquisition module is used for acquiring a real-time core image observation request;
the data acquisition module is used for calculating the minimum data volume meeting the real-time observation according to the real-time core image observation request and acquiring a core image to be observed according to the minimum data volume;
the first display module is used for cutting, fusing and continuously splicing the top-bottom relation according to the state of the core image to be observed to obtain a panoramic plane core image and displaying the panoramic plane core image in real time;
and the second display module is used for acquiring a panoramic three-dimensional core image observation request, performing three-dimensional restoration transformation on the panoramic plane core image to obtain a panoramic three-dimensional core image and displaying the panoramic three-dimensional core image in real time.
On the other hand, the invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the processor executes the program, the panoramic switching dynamic display method for the core image in the implementation mode is realized.
Finally, the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the method for dynamically displaying the panoramic switching of the core image in the above implementation manner.
The beneficial effects of adopting the above embodiment are: on one hand, the panoramic switching dynamic display method of the core image, provided by the invention, has the advantages that the observation request is obtained in real time, the core image is dynamically loaded according to the observation request, the effect of no lag in observation operation is achieved, the continuous observation of the core image is realized, and the differentiation comparison is carried out according to the observation request, so that the transmission data volume is minimized, and the network pressure is reduced; on the other hand, the top-bottom relation continuity splicing is carried out on the core image through the depth information, so that the displayed core image can embody the basic geological characteristics; and finally, restoring the real three-dimensional characteristic of the rock core by performing panoramic three-dimensional recovery on the rock core image.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of an embodiment of a method for dynamically displaying a core image through panoramic switching according to the present invention;
FIG. 2 is a flowchart illustrating an embodiment of step S102 in FIG. 1 according to the present invention;
FIG. 3 is a flowchart illustrating an embodiment of step S203 in FIG. 2 according to the present invention;
FIG. 4 is a flowchart illustrating an embodiment of step S103 in FIG. 1 according to the present invention;
FIG. 5 is a flowchart illustrating an embodiment of step S403 in FIG. 4 according to the present invention;
FIG. 6 is a flowchart illustrating an embodiment of step S104 in FIG. 1 according to the present invention;
fig. 7 is a flowchart illustrating an embodiment of step S603 in fig. 6 according to the present invention;
FIG. 8 is a schematic diagram of an embodiment of a mapping relationship between a panoramic three-dimensional core image width and a target three-dimensional image provided by the invention;
fig. 9 is a schematic structural diagram of an embodiment of a panoramic switching dynamic display device for a core image according to the present invention;
fig. 10 is a schematic structural diagram of an embodiment of an electronic device provided in the present invention.
Detailed Description
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. It should be apparent that the described embodiments are only some embodiments of the present invention, and not all 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.
It should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this disclosure illustrate operations implemented according to some embodiments of the present invention. It should be understood that the operations of the flow diagrams may be performed out of order, and that steps without logical context may be performed in reverse order or concurrently. One skilled in the art, under the direction of this summary, may add one or more other operations to, or remove one or more operations from, the flowchart.
Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor systems and/or microcontroller systems.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Before describing the specific embodiments, the application scenarios and inventive concepts of the present invention are described in detail:
aiming at the imaging quality of the current core scanner, the image resolution is basically 600DPI or higher, taking 600DPI as an example, the size of a core image with the diameter of 8cm and the length of 1m is 11868 multiplied by 23622 pixels, the size of occupied space in a memory is 802MB, the size of the image is compressed into a universal JPG format and is 20MB-50MB, the core is calculated by 100m coring in the petroleum industry, the loading of a common computer is difficult, the coring of 1000m in the solid mineral industry is very common, the data volume of the core image far exceeds the loading range of the common computer, and the following problems can be generated according to the traditional method in the practical application process:
the requirement for checking a single lithology image is not high, but the lithology trend of the stratum cannot be integrally analyzed by checking the single lithology image, and the analysis cannot be performed macroscopically; continuous observation is carried out by using a common mode, the image is too large, and the requirement on software performance is high for a plurality of continuous observations, the requirement on a hardware system (such as an ultra-large memory and a high-performance CPU) is high, and the pressure on a network is also very large; the common mode is only the upper and lower splicing of the images, the transverse fusion of the top-bottom relationship of the upper and lower images is not considered, and the observed geological appearance is often incomplete and wrong.
Therefore, the invention aims to provide a panoramic switching dynamic display method of a core image, which can dynamically calculate and load the minimum data volume in real time to guarantee the transmission efficiency, automatically fuse and splice the core image and can restore the three-dimensional original appearance of the core in a panoramic three-dimensional manner according to the actual requirement.
The embodiment of the invention provides a method, a device, equipment and a medium for dynamically displaying panoramic switching of a core image, which are respectively explained below.
As shown in fig. 1, fig. 1 is a schematic flow chart of an embodiment of a core image panoramic switching dynamic display method provided by the present invention, and the core image panoramic switching dynamic display method includes:
s101, acquiring a real-time core image observation request;
s102, calculating a minimum data volume meeting real-time observation according to the real-time core image observation request, and acquiring a core image to be observed according to the minimum data volume;
s103, cutting, fusing and continuously splicing top-bottom relations according to the state of the core image to be observed to obtain a panoramic plane core image and display the panoramic plane core image in real time;
and S104, acquiring a panoramic three-dimensional core image observation request, and performing three-dimensional restoration transformation on the panoramic plane core image to obtain a panoramic three-dimensional core image and displaying the panoramic three-dimensional core image in real time.
Compared with the prior art, the panoramic switching dynamic display method for the core image, provided by the embodiment of the invention, has the advantages that on one hand, the observation request is obtained in real time, the core image is dynamically loaded according to the observation request, the effect of no lag in observation operation is achieved, the continuous observation of the core image is realized, and the differentiation comparison is carried out according to the observation request, so that the transmission data volume is minimized, and the network pressure is reduced; on the other hand, the top-bottom relation continuity splicing is carried out on the core image through the depth information, so that the displayed core image can embody the basic geological characteristics; and finally, restoring the real three-dimensional characteristic of the rock core by performing panoramic three-dimensional recovery on the rock core image.
In some embodiments of the present invention, as shown in fig. 2, fig. 2 is a schematic flowchart of an embodiment of step S102 in fig. 1, where step S102 includes:
s201, acquiring an observation scale according to the real-time core image observation request;
s202, calculating the minimum data size meeting the real-time observation according to the observation scale;
s203, detecting whether the core image data of the client side is lost or not according to the minimum data volume, and downloading and obtaining the lost part of the core image data from a server to obtain a core image to be observed.
Further, in some embodiments of the present invention, as shown in fig. 3, fig. 3 is a schematic flowchart of an embodiment of step S203 in fig. 2, where step S203 includes:
s301, detecting whether a historical data record exists in the client according to the minimum data size meeting the real-time observation;
s302, when a historical data record exists in the client, directly obtaining the core image to be observed according to the historical data record;
s303, when the client has no historical data record, searching the historical data record which is closest to the minimum data size in the historical data record of the client, and calculating the difference data between the minimum data size and the closest historical data record;
s304, downloading and acquiring the core image difference part from the server according to the difference data to obtain the core image to be observed.
In a specific embodiment of the invention, mass core image data is stored in a server or a local client, when the client receives a user image observation request, a user real-time checking scale is obtained, the minimum data size meeting real-time observation is calculated according to the observation scale, and whether a historical data record exists in the client is detected; and when the client has no history data record, searching the history data record closest to the minimum data volume in the history data record of the client, calculating the difference data between the minimum data volume and the history data record closest to the minimum data volume, and downloading and acquiring the core image difference part from the server according to the difference data.
The method is mainly used for realizing network transmission with minimized quantity, and the server provides data service according to the data requirement of the client and realizes the dynamic distribution and transmission of data packets between the server and the client according to the data downloading request initiated by the client.
Firstly, searching classification data according to a client request, wherein in order to improve the response efficiency of the server, the classification data is dynamically processed and completed in a server background, and only a search command needs to be matched for each request of the client. The specific method comprises the following steps:
the image segmentation and transmission caching method of the server side comprises the following steps: the image data body segmentation frequency is N (under 600DPI, N generally takes a value of 10), a data request is carried out according to the size of an actual browsing area of a client, transmitted data are matched with the size of a preview area, the data body transmitted each time is stored locally, the data body transmitted each time has no repeated data, whether a local related data body exists or not is inquired before each data request, if the local data body exists, the local data body is directly read, if the local data body only has one part, a server is requested to transmit a differentiated part, and the data transmission amount is greatly reduced.
The client requests a data body description: and setting the image width as W, the image height as H, the image data volume division times as n, and each division is performed by alternate sampling, so that one image can be divided into data volumes without overlapped contents at the server.
The data for a single transmission can be represented as:
Figure BDA0003879669250000091
wherein
Figure BDA0003879669250000092
k is the data index matched with the current request, and k is more than or equal to 0 and less than or equal to N. The entire image data can be represented as follows:
Figure BDA0003879669250000093
in the embodiment, a differentiation comparison method is adopted, the local client data and the minimum data size worm server terminal with the data difference to be observed are compared according to the observation request of the user for downloading, so that the transmitted data size is minimized, the network pressure is reduced, the dynamic loading of the data is realized by acquiring the observation request in real time, and a basis is provided for the contact observation of the image.
Further, in some embodiments of the present invention, as shown in fig. 4, fig. 4 is a schematic flowchart of an embodiment of step S103 in fig. 1, where step S103 includes:
s401, obtaining the core image to be observed;
s402, sequencing a plurality of core images contained in the core image to be observed according to depth information;
and S403, seamlessly splicing and fusing the ordered core images in a color and brightness linear fusion mode to obtain the panoramic plane core image.
Further, in some embodiments of the present invention, as shown in fig. 5, fig. 5 is a schematic flowchart of an embodiment of step S403 in fig. 4, where step S403 includes:
s501, selecting two adjacent core images in the sequenced core images in sequence, and setting the superposed areas of the core image positioned above and the core image positioned below as a first superposed area and a second superposed area respectively;
s502, converting the pixels of the first superposition area and the second superposition area into a YUV color coding mode;
s503, calculating the brightness information of the pixels of the first overlapping area and the second overlapping area, and updating YUV values of the pixels of the first overlapping area and the second overlapping area according to the calculation result;
s504, converting the pixels of the first superposition area and the second superposition area into an RGB color coding mode according to the updated YUV values, and completing fusion of the upper rock core image and the rock core image positioned below;
and S505, traversing two adjacent rock core images in the sequenced rock core images, and performing fusion processing to obtain the panoramic plane rock core image.
In the specific embodiment of the invention, after the core image to be observed is obtained, the core image needs to be seamlessly spliced and fused in the top-bottom transverse direction and is continuous in the longitudinal direction, so that the geological characteristics of the core image are real and complete.
The purpose of fusion is to achieve smooth transition of the two overlapped parts in both image content and brightness, and to visually show consistency. The method adopts a color and brightness linear fusion mode, and comprises the following steps:
sequentially, the images are from top to bottom according to the top-bottom relation of the core out-of-barrel depth, and the overlapped area of the upper core image and the lower core image is assumed to be dividedIs other than S 1 And S 2 Converting the RGB color space into YUV, wherein Y represents brightness, and U and V are used for describing influence on color and saturation, and the conversion method is as follows:
Figure BDA0003879669250000101
and (3) image loading:
Figure BDA0003879669250000111
R 1 、G 1 、B 1 taking value of RGB color space of upper image, Y 1 、U 1 、V 1 For the upper image overlapping region S 1
The following images:
Figure BDA0003879669250000112
the main factor affecting the color difference of the left and right images is illumination, so that the uniform fusion of the left and right images is realized mainly through the brightness Y component.
The height of the image overlapping region is H and the width is L, the arithmetic mean Z of the brightness of the upper image 1 Comprises the following steps:
Figure BDA0003879669250000113
lower image luminance arithmetic mean Z 2 Comprises the following steps:
Figure BDA0003879669250000114
the overall brightness difference Z between the upper and lower images is:
Z=Z 1 -Z 2
by the region S 1 Setting the new brightness value of the fusion area as Y as the reference 3 Then, there are:
Figure BDA0003879669250000115
and then, converting the new YUV value into RGB to obtain a new value which is the value after brightness fusion:
Figure BDA0003879669250000116
and performing the transformation on each pixel point to realize the fusion of the upper image and the lower image.
According to the embodiment of the invention, the top-bottom relation among the images is considered, and seamless splicing and fusion are carried out in a color and brightness linear fusion mode, so that the panoramic plane core image is obtained, the geological characteristics of the core image and the continuity of geological phenomena can be restored, and the real top-bottom relation of the core is reflected.
Further, in some embodiments of the present invention, as shown in fig. 6, fig. 6 is a schematic flowchart of an embodiment of step S104 in fig. 1 provided by the present invention, and step S104 includes:
s601, acquiring a panoramic three-dimensional core image observation request;
s602, determining a three-dimensional recovery transformation mode of the panoramic plane core image according to the panoramic three-dimensional core image observation request;
and S603, performing three-dimensional recovery transformation on the panoramic plane core image according to the three-dimensional recovery transformation mode to obtain the panoramic three-dimensional core image.
In some embodiments of the present invention, as shown in fig. 7, fig. 7 is a schematic flowchart of an embodiment of step S603 in fig. 6 provided in the present invention, and step S603 includes:
s701, determining that the three-dimensional recovery transformation mode is columnar deformation;
s702, determining a mapping relation between the panoramic plane core image and a transformed target image according to the projection rule of the columnar deformation;
and S703, performing three-dimensional transformation according to the mapping relation between the panoramic plane core image and the transformed target image to obtain the panoramic three-dimensional core image.
In the specific embodiment of the invention, after the three-dimensional observation request of the user is obtained, the three-dimensional recovery of the core image is required to be realized, the three-dimensional characteristic of the physical core is restored, and the three-dimensional state of the core is simulated, so that the geological characteristics are more convenient to observe and research. The panoramic three-dimensional core image is rectangular, and the target three-dimensional recovery image is cylindrical.
The image columnar deformation is realized by adopting projection transformation and utilizing the mapping relation between a target image and an original image, and the pixel coordinate in the original image is set as (x) i ,y j ) The original width is W, the height is H, and the projected dot is (x' i ,x’ j ) As shown in fig. 8, fig. 8 is a schematic diagram of an embodiment of a mapping relationship between a panoramic three-dimensional core image width and a target three-dimensional image provided by the present invention.
According to the mapping relation, the method comprises the following steps:
2πR=W
then:
Figure BDA0003879669250000131
the transformed image width W' is then:
Figure BDA0003879669250000132
let the original image matrix be:
Figure BDA0003879669250000133
the mapped image matrix is:
Figure BDA0003879669250000134
then there are:
B=C×B
wherein C is a transformation matrix of size W' × H:
Figure BDA0003879669250000135
according to the embodiment of the invention, the panoramic three-dimensional core image is obtained by performing three-dimensional recovery transformation on the panoramic three-dimensional core image, so that the three-dimensional characteristic of a real core can be restored, and the geological characteristics can be observed and researched more conveniently.
In order to better implement the core image panoramic switching dynamic display method in the embodiment of the present invention, on the basis of the core image panoramic switching dynamic display method, correspondingly, an embodiment of the present invention further provides a core image panoramic switching dynamic display apparatus, as shown in fig. 9, the core image panoramic switching dynamic display apparatus 900 includes:
a request obtaining module 901, configured to obtain a real-time core image observation request;
a data obtaining module 902, configured to calculate a minimum data size meeting real-time observation according to the real-time core image observation request, and obtain a core image to be observed according to the minimum data size;
the first display module 903 is used for cutting, fusing and continuously splicing the top-bottom relation according to the state of the core image to be observed to obtain a panoramic plane core image and displaying the panoramic plane core image in real time;
and a second display module 904, configured to obtain a panoramic three-dimensional core image observation request, perform three-dimensional restoration transformation on the panoramic planar core image to obtain a panoramic three-dimensional core image, and display the panoramic three-dimensional core image in real time.
The core image panoramic switching dynamic display device 900 provided in the above embodiment may implement the technical solutions described in the above core image panoramic switching dynamic display method embodiments, and the specific implementation principle of each module or unit may refer to the corresponding content in the above core image panoramic switching dynamic display method embodiments, and is not described herein again.
As shown in fig. 10, the present invention further provides an electronic device 1000 accordingly. The electronic device 1000 includes a processor 1001, a memory 1002, and a display 1003. Fig. 10 shows only some of the components of the electronic device 1000, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components can be implemented instead.
The processor 1001 may be, in some embodiments, a Central Processing Unit (CPU), microprocessor or other data Processing chip for running program code or Processing data stored in the memory 1002, such as a panoramic-switched dynamic display program of a core image in the present invention.
In some embodiments, processor 1001 may be a single server or a group of servers. The server groups may be centralized or distributed. In some embodiments, the processor 1001 may be local or remote. In some embodiments, the processor 1001 may be implemented in a cloud platform. In an embodiment, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an intra-site, a multi-cloud, and the like, or any combination thereof.
The storage 1002 may be an internal storage unit of the electronic device 1000 in some embodiments, such as a hard disk or a memory of the electronic device 1000. The memory 1002 may also be an external storage device of the electronic device 1000 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the electronic device 1000.
Further, the memory 1002 may also include both internal storage units and external storage devices for the electronic device 1000. The memory 1002 is used for storing application software and various data for installing the electronic device 1000.
The display 1003 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 1003 is used to display information at the electronic device 1000 and to display a visual user interface. The components 1001-1003 of the electronic device 1000 communicate with each other via a system bus.
In one embodiment, when the processor 1001 executes the panoramic-switched dynamic display program of the core image in the memory 1002, the following steps may be implemented:
acquiring a real-time core image observation request;
calculating the minimum data volume meeting the real-time observation according to the real-time core image observation request, and acquiring a core image to be observed according to the minimum data volume;
cutting, fusing and continuously splicing the top-bottom relation according to the state of the core image to be observed to obtain a panoramic plane core image and display the panoramic plane core image in real time;
and acquiring a panoramic three-dimensional core image observation request, and performing three-dimensional restoration transformation on the panoramic plane core image to obtain a panoramic three-dimensional core image and displaying the panoramic three-dimensional core image in real time.
It should be understood that: when the processor 1001 executes the program of the panoramic-switched dynamic display method for core images in the memory 1002, the processor 1001 may also implement other functions in addition to the above functions, which may be specifically referred to the description of the corresponding method embodiment above.
Further, the type of the electronic device 1000 is not particularly limited in the embodiment of the present invention, and the electronic device 1000 may be a portable electronic device such as a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a wearable device, and a laptop computer (laptop). Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices that carry an IOS, android, microsoft, or other operating system. The portable electronic device may also be other portable electronic devices such as laptop computers (laptop) with touch sensitive surfaces (e.g., touch panels) and the like. It should also be understood that in other embodiments of the present invention, the electronic device 1000 may not be a portable electronic device, but may be a desktop computer having a touch-sensitive surface (e.g., a touch panel).
Accordingly, the present application further provides a computer-readable storage medium, which is used for storing a computer-readable program or instruction, and when the program or instruction is executed by a processor, the steps or functions in the method for dynamically displaying core images through panoramic switching provided by the above method embodiments can be implemented.
Those skilled in the art will appreciate that all or part of the flow of the method implementing the above embodiments may be implemented by instructing relevant hardware (such as a processor, a controller, etc.) by a computer program, and the computer program may be stored in a computer readable storage medium. The computer readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory.
The method, the device, the equipment and the medium for dynamically displaying the panoramic switching of the core image provided by the invention are described in detail above, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the above example is only used for helping to understand the method and the core idea of the invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A core image panoramic switching dynamic display method is characterized by comprising the following steps:
acquiring a real-time core image observation request;
calculating the minimum data volume meeting the real-time observation according to the real-time core image observation request, and acquiring a core image to be observed according to the minimum data volume;
cutting, fusing and continuously splicing the top-bottom relation according to the state of the core image to be observed to obtain a panoramic plane core image and display the panoramic plane core image in real time;
and acquiring a panoramic three-dimensional core image observation request, and performing three-dimensional restoration transformation on the panoramic plane core image to obtain a panoramic three-dimensional core image and displaying the panoramic three-dimensional core image in real time.
2. The core image panoramic switching dynamic display method according to claim 1, wherein the calculating a minimum data volume satisfying real-time observation according to the real-time core image observation request and obtaining a core image to be observed according to the minimum data volume comprises:
acquiring an observation scale according to the real-time core image observation request;
calculating the minimum data size meeting the real-time observation according to the observation scale;
and detecting whether the core image data of the client side is lost or not according to the minimum data quantity, and downloading and acquiring the lost part of the core image data from a server to obtain a core image to be observed.
3. The core image panoramic switching dynamic display method according to claim 2, wherein detecting whether core image data of a client is missing according to the minimum data volume, and downloading the missing part of the core image data from a server to obtain the missing part of the core image data comprises:
detecting whether a historical data record exists in the client according to the minimum data size meeting the real-time observation;
when the client has a historical data record, directly acquiring the core image to be observed according to the historical data record;
when the client does not have the historical data record, searching the historical data record which is closest to the minimum data size in the historical data records of the client, and calculating the difference data between the minimum data size and the closest historical data record;
and downloading and acquiring a core image difference part from the server according to the difference data to obtain a core image to be observed.
4. The core image panoramic switching dynamic display method according to claim 1, wherein the cutting, fusion and continuous splicing of top-bottom relationship are performed according to the state of the core image to be observed to obtain a panoramic planar core image, and the method comprises the following steps:
acquiring the core image to be observed;
sequencing a plurality of core images contained in the core image to be observed according to depth information;
and performing seamless splicing and fusion by adopting a color and brightness linear fusion mode according to the top-bottom relation of the sequenced core images to obtain the panoramic plane core image.
5. The core image panoramic switching dynamic display method according to claim 4, wherein the obtaining of the panoramic planar core image by seamlessly splicing and fusing the core images in a color and brightness linear fusion manner according to the top-bottom relationship of the sequenced core images comprises:
selecting two adjacent core images in the sequenced core images in sequence, and setting the superposed areas of the core image positioned above and the core image positioned below as a first superposed area and a second superposed area respectively;
converting the pixels of the first superposition area and the second superposition area into a YUV color coding mode;
calculating the brightness information of the pixels of the first superposition area and the second superposition area, and updating the YUV values of the pixels of the first superposition area and the second superposition area according to the calculation result;
converting the pixels of the first overlapping area and the second overlapping area into an RGB color coding mode according to the updated YUV values, and completing the fusion of the upper core image and the lower core image;
traversing two adjacent core images in the sequenced core images, and performing fusion processing to obtain the panoramic plane core image.
6. The core image panoramic switching dynamic display method according to claim 1, wherein the obtaining of the panoramic three-dimensional core image observation request and the three-dimensional restoration transformation of the panoramic planar core image to obtain the panoramic three-dimensional core image comprises:
acquiring a panoramic three-dimensional rock core image observation request;
determining a three-dimensional recovery transformation mode of the panoramic plane core image according to the panoramic three-dimensional core image observation request;
and performing three-dimensional recovery transformation on the panoramic plane core image according to the three-dimensional recovery transformation mode to obtain the panoramic three-dimensional core image.
7. The core image panoramic switching dynamic display method according to claim 6, wherein the three-dimensional transformation of the panoramic planar core image according to the three-dimensional restoration transformation mode to obtain the panoramic three-dimensional core image comprises:
determining that the three-dimensional recovery transformation mode is columnar deformation;
determining a mapping relation between the panoramic plane core image and the transformed target image according to the projection rule of the columnar deformation;
and performing three-dimensional transformation according to the mapping relation between the panoramic plane core image and the transformed target image to obtain the panoramic three-dimensional core image.
8. The utility model provides a developments display device is switched to panorama of rock core image which characterized in that includes:
the request acquisition module is used for acquiring a real-time core image observation request;
the data acquisition module is used for calculating the minimum data volume meeting the real-time observation according to the real-time core image observation request and acquiring a core image to be observed according to the minimum data volume;
the first display module is used for cutting, fusing and continuously splicing the top-bottom relation according to the state of the core image to be observed to obtain a panoramic plane core image and displaying the panoramic plane core image in real time;
and the second display module is used for acquiring a panoramic three-dimensional core image observation request, performing three-dimensional restoration transformation on the panoramic plane core image to obtain a panoramic three-dimensional core image and displaying the panoramic three-dimensional core image in real time.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for panoramic-switched dynamic display of a core image according to any one of claims 1 to 7 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements a method for panoramic-switched dynamic display of a core image according to any of claims 1 to 7.
CN202211230998.5A 2022-10-09 2022-10-09 Core image panoramic switching dynamic display method, device, equipment and medium Pending CN115457216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211230998.5A CN115457216A (en) 2022-10-09 2022-10-09 Core image panoramic switching dynamic display method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211230998.5A CN115457216A (en) 2022-10-09 2022-10-09 Core image panoramic switching dynamic display method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115457216A true CN115457216A (en) 2022-12-09

Family

ID=84308621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211230998.5A Pending CN115457216A (en) 2022-10-09 2022-10-09 Core image panoramic switching dynamic display method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115457216A (en)

Similar Documents

Publication Publication Date Title
CA2886429C (en) Method for partitioning, managing and displaying a collaboration space and interactive input system employing same
US10085056B2 (en) Method and system for improving application sharing by dynamic partitioning
US20050243097A1 (en) System and method for caching and rendering images
CN1239250A (en) Image delivery and display system
EP2277317A2 (en) Systems and methods for enhanced image encoding
US20140237357A1 (en) Two-dimensional document navigation
CN108198229A (en) Redundant sub-pixels mitigate
CN113368492A (en) Rendering method and device
CN111915673A (en) Image processing method, image processing device, terminal equipment and storage medium
CN103942258A (en) Streetscape image storing method and device based on road codes
CN105094289A (en) Method, device, and system for realizing graphical user interface
US8438199B1 (en) System and method for identifying and highlighting a graphic element
CN109615668B (en) Component-based digital image synchronization
CN115457216A (en) Core image panoramic switching dynamic display method, device, equipment and medium
Li et al. An improved distributed storage model of remote sensing images based on the HDFS and pyramid structure
CN108986031B (en) Image processing method, device, computer equipment and storage medium
US10019969B2 (en) Presenting digital images with render-tiles
CN110580397A (en) display system for engineering project centralized display platform
CN115810086A (en) Three-dimensional scene reconstruction method and device, computer equipment and storage medium
CN113706543B (en) Three-dimensional pose construction method, three-dimensional pose construction equipment and storage medium
US20120262478A1 (en) Information processing device and display device
CN114004918A (en) Poster generation method, device and medium
EP4131025A2 (en) Picture annotation method, apparatus, electronic device, and storage medium
CN113051491A (en) Method, apparatus, storage medium, and program product for map data processing
JP4345985B2 (en) Image display processing device

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