CN114388060B - Round controller-based protein spherical section generation method - Google Patents

Round controller-based protein spherical section generation method Download PDF

Info

Publication number
CN114388060B
CN114388060B CN202210046486.7A CN202210046486A CN114388060B CN 114388060 B CN114388060 B CN 114388060B CN 202210046486 A CN202210046486 A CN 202210046486A CN 114388060 B CN114388060 B CN 114388060B
Authority
CN
China
Prior art keywords
protein
controller
sphere
dimensional space
disc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210046486.7A
Other languages
Chinese (zh)
Other versions
CN114388060A (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.)
Westlake University
Original Assignee
Westlake University
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 Westlake University filed Critical Westlake University
Priority to CN202210046486.7A priority Critical patent/CN114388060B/en
Publication of CN114388060A publication Critical patent/CN114388060A/en
Application granted granted Critical
Publication of CN114388060B publication Critical patent/CN114388060B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16BBIOINFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR GENETIC OR PROTEIN-RELATED DATA PROCESSING IN COMPUTATIONAL MOLECULAR BIOLOGY
    • G16B15/00ICT specially adapted for analysing two-dimensional or three-dimensional molecular structures, e.g. structural or functional relations or structure alignment
    • G16B15/20Protein or domain folding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Abstract

The invention discloses a method and a device for generating a protein spherical section based on a circular controller, equipment and a computer readable storage medium, wherein the method comprises the following steps: establishing a three-dimensional space in a terminal, and loading a three-dimensional image of a protein to be observed in the three-dimensional space; mapping the three-dimensional space to a display module connected with the terminal in real time; connecting a circular controller with a terminal, and establishing a reference ball in the three-dimensional space according to the circular controller; controlling the reference ball according to the circular controller; and after receiving the confirmation instruction, taking the reference ball as a reference to generate a cross-sectional view of the protein to be observed. The method has the advantage of simplifying the protein cross-section generation mode.

Description

Round controller-based protein spherical section generation method
Technical Field
The invention relates to the technical field of protein cross section generation, in particular to a method, a device and equipment for generating a protein spherical cross section based on a circular controller and a computer readable storage medium.
Background
The spatial structure body of protein formed by stacking polypeptide chains in a spatially disordered manner is widely used in the computer three-dimensional imaging technology of protein in order to understand the microstructure thereof.
However, attention is paid to the arrangement of basic amino acid functional units, and there is no clear knowledge of the dense distribution of the protein interior and the porosity.
In order to intuitively show the conditions of dense distribution, porosity and the like in the protein, it is common practice to perform a boolean subtraction operation on the protein with a virtual plane on a computer, so as to obtain a corresponding sectional view. The cross section operation needs to select a plurality of references and set a plurality of parameters, so that the operation is complex, and the professional ability of a user is high.
Disclosure of Invention
The embodiment of the application aims to simplify the section generation mode of the protein by providing the protein spherical section generation method based on the circular controller.
In order to achieve the above object, an embodiment of the present application provides a method for generating a spherical section of a protein based on a circular controller, including:
establishing a three-dimensional space in a terminal, and loading a three-dimensional image of a protein to be observed in the three-dimensional space;
mapping the three-dimensional space to a display module connected with the terminal in real time;
connecting a circular controller with a terminal, and establishing a reference ball in the three-dimensional space according to the circular controller;
controlling the reference ball according to the circular controller;
and after receiving the confirmation instruction, taking the reference ball as a reference to generate a cross-sectional view of the protein to be observed.
In one embodiment, the circular controller comprises a disk;
establishing a reference sphere in the three-dimensional space according to the circular controller, including:
mapping the circle center of the disc to a preset reference point in the three-dimensional space;
and establishing the reference ball by taking the preset reference point as a sphere center and taking the radius of the disc as a sphere radius.
In an embodiment, establishing a reference sphere in the three-dimensional space according to the circular controller further comprises:
taking the geometric center of the three-dimensional image as the preset reference point;
calculating the distance from the geometric center to the outermost edge of the three-dimensional image;
and scaling the reference sphere to overlap the outermost edge of the three-dimensional image by the ratio of the distance to the radius of the disc.
In one embodiment, controlling the reference ball according to the circular controller includes:
and adjusting the ball radius of the reference ball according to the round controller.
In one embodiment, the circular controller further comprises a displacement sensor, wherein the displacement sensor is movably arranged between the center of the circle and the edge of the disc and can linearly move along the radial direction of the disc;
controlling the sphere radius of the reference sphere according to a circular controller, comprising:
the ball radius of the reference ball is adjusted according to the movement of the displacement sensor in the radial direction of the disc.
In an embodiment, generating a cross-sectional view of the protein to be observed with reference to the reference sphere includes:
taking the intersection surface of the reference sphere and the three-dimensional image as a section position, and performing Boolean subtraction on the three-dimensional image of the protein to be observed to generate a spherical section view of the protein to be observed;
the spherical cross-section is displayed by the display module.
In an embodiment, the circular controller further includes a confirmation module, where the confirmation module is disposed on the disc, and the confirmation module may send the confirmation instruction to the terminal after being triggered.
In order to achieve the above object, an embodiment of the present application further provides a device for generating a spherical section of a protein based on a circular controller, including:
the terminal is used for establishing a three-dimensional space and loading a three-dimensional image of the protein to be observed;
the display module is connected with the terminal and used for displaying the three-dimensional space in real time;
the round controller is connected with the terminal and is used for establishing a reference ball in the three-dimensional space and adjusting the ball radius of the reference ball;
and the confirmation module is used for sending a confirmation instruction to the terminal so that the terminal can generate the cross-sectional view of the protein to be observed by taking the reference sphere as a reference.
In order to achieve the above object, an embodiment of the present application further provides a round controller-based protein spherical section generating device, which includes a memory, a processor, and a round controller-based protein spherical section generating program stored in the memory and capable of running on the processor, wherein the round controller-based protein spherical section generating method is implemented by the processor when the round controller-based protein spherical section generating program is executed.
To achieve the above object, an embodiment of the present application further provides a computer-readable storage medium, where a round controller-based protein spherical section generation program is stored, where the round controller-based protein spherical section generation program, when executed by a processor, implements the round controller-based protein spherical section generation method according to any one of the above.
According to the protein cross section generation method based on the circular controller, the reference ball is established in the three-dimensional space through the circular controller, then the reference ball is controlled to move or zoom in the three-dimensional space based on the circular controller, and finally the cross section of the protein to be observed is generated by taking the reference ball as a reference, so that any required protein cross section can be generated without inputting complex parameters, and the technical difficulty of acquiring the protein cross section is reduced; and moreover, the mode of controlling the reference ball through the circular controller is intuitive and convenient, accords with the intuition of operation of a user, and has low use threshold. Therefore, compared with the traditional method for generating the protein cross-sectional diagram by setting complex parameters, the method has the advantages of convenience in operation and low use threshold.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a block diagram illustrating an embodiment of a round controller-based protein sphere cross-section generating apparatus according to the present invention;
FIG. 2 is a schematic flow chart of an embodiment of a method for generating a spherical section of a protein based on a circular controller according to the present invention;
FIG. 3 is a schematic flow chart of another embodiment of a round controller-based method for generating a spherical section of a protein according to the present invention;
FIG. 4 is a block diagram showing an embodiment of a round controller-based apparatus for generating a spherical section of a protein according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In order that the above-described aspects may be better understood, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps other than those listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. And the use of "first," "second," and "third," etc. do not denote any order, and the terms may be construed as names.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a server 1 (also called a round controller-based protein sphere section generating device) of a hardware running environment according to an embodiment of the present invention.
The server provided by the embodiment of the invention is equipment with a display function, such as 'Internet of things equipment', AR/VR equipment with a networking function, a PC, a smart phone, a tablet personal computer, a portable computer and the like.
As shown in fig. 1, the server 1 includes: memory 11, processor 12 and network interface 13.
The memory 11 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the server 1, such as a hard disk of the server 1. The memory 11 may in other embodiments also be an external storage device of the server 1, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the server 1.
Further, the memory 11 may also include an internal storage unit of the server 1 as well as an external storage device. The memory 11 may be used not only for storing application software installed in the server 1 and various types of data, such as codes of the round controller-based spherical section generation program 10, but also for temporarily storing data that has been output or is to be output.
The processor 12 may in some embodiments be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chip for running program code or processing data stored in the memory 11, e.g. executing a circular controller based protein sphere cross-section generating program 10 or the like.
The network interface 13 may optionally comprise a standard wired interface, a wireless interface (e.g. WI-FI interface), typically used to establish a communication connection between the server 1 and other electronic devices.
The network may be the internet, a cloud network, a wireless fidelity (Wi-Fi) network, a Personal Area Network (PAN), a Local Area Network (LAN), and/or a Metropolitan Area Network (MAN). Various devices in a network environment may be configured to connect to a communication network according to various wired and wireless communication protocols. Examples of such wired and wireless communication protocols may include, but are not limited to, at least one of the following: transmission control protocol and internet protocol (TCP/IP), user Datagram Protocol (UDP), hypertext transfer protocol (HTTP), file Transfer Protocol (FTP), zigBee, EDGE, IEEE 802.11, light fidelity (Li-Fi), 802.16, IEEE 802.11s, IEEE 802.11g, multi-hop communications, wireless Access Points (APs), device-to-device communications, cellular communication protocol and/or bluetooth (bluetooth) communication protocol, or combinations thereof.
Optionally, the server may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or a display unit, for displaying information processed in the server 1 and for displaying a visual user interface.
Fig. 1 shows only a server 1 with components 11-13 and a round controller based protein sphere cross-section generation program 10, it will be understood by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the server 1, and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
In this embodiment, the processor 12 may be configured to call the round controller-based protein sphere section generation program stored in the memory 11, and perform the following operations:
establishing a three-dimensional space in a terminal, and loading a three-dimensional image of a protein to be observed in the three-dimensional space;
mapping the three-dimensional space to a display module connected with the terminal in real time;
connecting a circular controller with a terminal, and establishing a reference ball in the three-dimensional space according to the circular controller;
controlling the reference ball according to the circular controller;
and after receiving the confirmation instruction, taking the reference ball as a reference to generate a cross-sectional view of the protein to be observed.
In one embodiment, the processor 12 may be configured to call a round controller-based protein sphere cross-section generation program stored in the memory 11 and perform the following operations:
mapping the circle center of the disc to a preset reference point in the three-dimensional space;
and establishing the reference ball by taking the preset reference point as a sphere center and taking the radius of the disc as a sphere radius.
In one embodiment, the processor 12 may be configured to call a round controller-based protein sphere cross-section generation program stored in the memory 11 and perform the following operations:
taking the geometric center of the three-dimensional image as the preset reference point;
calculating the distance from the geometric center to the outermost edge of the three-dimensional image;
and scaling the reference sphere to overlap the outermost edge of the three-dimensional image by the ratio of the distance to the radius of the disc.
In one embodiment, the processor 12 may be configured to call a round controller-based protein sphere cross-section generation program stored in the memory 11 and perform the following operations:
and adjusting the ball radius of the reference ball according to the round controller.
In one embodiment, the processor 12 may be configured to call a round controller-based protein sphere cross-section generation program stored in the memory 11 and perform the following operations:
the ball radius of the reference ball is adjusted according to the movement of the displacement sensor in the radial direction of the disc.
In one embodiment, the processor 12 may be configured to call a round controller-based protein sphere cross-section generation program stored in the memory 11 and perform the following operations:
taking the intersection surface of the reference sphere and the three-dimensional image as a section position, and performing Boolean subtraction on the three-dimensional image of the protein to be observed to generate a spherical section view of the protein to be observed;
the spherical cross-section is displayed by the display module.
In one embodiment, the processor 12 may be configured to call a round controller-based protein sphere cross-section generation program stored in the memory 11 and perform the following operations:
the round controller further comprises a confirmation module, wherein the confirmation module is arranged on the disc, and the confirmation module can send the confirmation instruction to the terminal after being triggered.
Based on the hardware framework of the round controller-based protein spherical section generating device, the embodiment of the round controller-based protein spherical section generating method is provided. The invention discloses a round controller-based protein spherical section generation method, which aims to simplify a section generation mode of protein.
Referring to fig. 2, fig. 2 is an embodiment of a method for generating a spherical section of a protein based on a circular controller according to the present invention, the method for generating a spherical section of a protein based on a circular controller includes the following steps:
s10, establishing a three-dimensional space in the terminal, and loading a three-dimensional image of the protein to be observed in the three-dimensional space.
The terminal may be a local computing device, such as a PC, a portable computer, a tablet computer, a local server, or a cloud computing device, such as a cloud server.
In particular, the desired three-dimensional space may be established by enabling a specific three-dimensional program, such as UG, solidWorks, 3Dmax, blender, etc., on the terminal. After the establishment of the three-dimensional space is completed, loading the data of the protein to be observed, and generating a three-dimensional image of the corresponding protein in the three-dimensional space. The three-dimensional image is capable of sufficiently exhibiting the stereoscopic shape of the protein to be observed.
And S20, mapping the three-dimensional space to a display module connected with the terminal in real time.
The display module may be a display screen integrated by the terminal itself, or an external display, a projector, or the like connected to the terminal.
Specifically, after the three-dimensional image of the protein to be observed is loaded into the three-dimensional space, the content of the three-dimensional space can be displayed in real time through the display module, so that a user can more intuitively observe the shape and structure of the protein to be observed in the three-dimensional space, and the position of the reference surface in the three-dimensional space can be conveniently and intuitively adjusted by the user.
And S30, connecting the circular controller with the terminal, and establishing a reference ball in the three-dimensional space according to the circular controller.
The circular controller is a controller that can control movement, rotation, resizing, and the like of the target. The reference sphere refers to a spherical object built in three-dimensional space, and can be understood as a spherical reference surface.
Specifically, after the circular controller is connected with the terminal, a reference ball may be established in a three-dimensional space of the terminal based on the circular controller, and the reference ball may be moved and scaled in the three-dimensional space.
And S40, controlling the reference ball according to the circular controller.
Specifically, based on the control function of the circular controller, the reference ball may be taken as a control object to control the reference ball to perform operations such as movement, scaling, and the like in a three-dimensional space.
S50, after receiving the confirmation instruction, generating a cross-sectional view of the protein to be observed by taking the reference ball as a reference.
Specifically, when the reference ball is controlled in the three-dimensional space, if the reference ball moves to the section position required by any user, a confirmation instruction can be sent to the terminal, and after the terminal receives the corresponding confirmation instruction, the interface between the reference ball and the three-dimensional image can be taken as the section, so that a section view of the protein to be observed can be generated.
It can be understood that according to the protein cross section generation method based on the circular controller, the reference ball is established in the three-dimensional space through the circular controller, then the reference ball is controlled to move or zoom in the three-dimensional space based on the circular controller, and finally the cross section of the protein to be observed is generated by taking the reference ball as a reference, so that any required protein cross section can be generated without inputting complex parameters, and the technical difficulty of acquiring the protein cross section is reduced; and moreover, the mode of controlling the reference ball through the circular controller is intuitive and convenient, accords with the intuition of operation of a user, and has low use threshold. Therefore, compared with the traditional method for generating the protein cross-sectional diagram by setting complex parameters, the method has the advantages of convenience in operation and low use threshold.
In one embodiment, the circular controller comprises a disk. Specifically, after the circular controller is connected with the terminal, the center of the circle of the circular disc is mapped to a preset point in the three-dimensional space so as to establish a required reference sphere in the three-dimensional space. The puck will also serve as a reference object for reference ball movement or zoom in three-dimensional space.
On the basis that the circular controller comprises a circular disk, in one embodiment, establishing a reference sphere in the three-dimensional space according to the circular controller comprises:
s110, mapping the circle center of the disc to a preset reference point in the three-dimensional space;
s120, taking the preset datum point as a sphere center, and taking the radius of the disc as a sphere radius to establish the datum sphere.
Specifically, a preset reference point can be set in the three-dimensional space before the reference ball is established, the disc is mapped to the preset reference point, and after the radius of the disc is obtained, the reference ball can be established in the three-dimensional space by taking the reference point as the center of the sphere. The reference ball established in the three-dimensional space is the three-dimensional embodiment of the disc in the real environment in the three-dimensional space, so that a user can conveniently recognize the corresponding relation between the disc and the reference ball, and the user can conveniently control the reference ball through the disc.
As shown in fig. 3, in an embodiment, the method further includes establishing a reference sphere in the three-dimensional space according to the circular controller:
s210, taking the geometric center of the three-dimensional image as the preset reference point.
The geometric center of the three-dimensional image is the geometric center of the protein to be observed.
Specifically, when calculating the geometric center of the protein to be observed, the three-dimensional image may be equivalent to a regular polyhedron, such as a regular tetrahedron, a regular pentahedron, a regular hexahedron, or the like, and the geometric center of the protein to be observed may be found based on the equivalent regular polyhedron.
S220, calculating the distance from the geometric center to the outermost edge of the three-dimensional image.
Specifically, the distance between the geometric center of the three-dimensional image and the outermost edge of the three-dimensional image can be obtained by obtaining the three-dimensional coordinates of the geometric center and the three-dimensional coordinates of the outermost edge point of the three-dimensional image.
And S230, scaling the reference sphere to overlap the outermost edge of the three-dimensional image according to the ratio of the distance to the radius of the disc.
Specifically, the ratio of the geometric center of the three-dimensional image to the outermost edge of the three-dimensional image and the radius value of the disc can be calculated according to the distance value between the geometric center of the three-dimensional image and the outermost edge of the three-dimensional image, and then the spherical surface of the reference ball and the outermost edge of the three-dimensional image can be overlapped by reducing or enlarging the reference ball based on the ratio. After the above scaling, the reference sphere can be regarded as an circumscribed sphere of the three-dimensional image of the protein.
It can be understood that the three-dimensional image of the protein can be completely contained in the reference ball by the arrangement, and the user can intuitively observe the position relationship between the reference ball and the three-dimensional image after moving or scaling the reference ball due to the mutual correspondence of the reference ball and the disc, so that the required protein section is obtained.
In one embodiment, controlling the reference ball according to the circular controller includes:
and adjusting the ball radius of the reference ball according to the round controller.
It will be appreciated that by adjusting the sphere radius of the reference sphere, the reference sphere can be scaled, so that the intersection of the reference sphere and the three-dimensional image of the protein to be observed can be changed, and thus a complete spherical cross-sectional view can be generated finally, so that the user can observe the cross-sectional shape of the protein in all directions from 360 degrees without dead angles.
In one embodiment, the circular controller further comprises a displacement sensor, wherein the displacement sensor is movably arranged between the center and the edge of the disc and can linearly move along the radial direction of the disc. Specifically, the displacement sensor is also called a linear sensor, is a linear device which belongs to metal induction, and can be divided into an analog type and a digital type.
In one embodiment, adjusting the sphere radius of the reference sphere according to the circular controller comprises:
the ball radius of the reference ball is adjusted according to the movement of the displacement sensor in the radial direction of the disc.
Specifically, when the radius of the reference ball is actually adjusted, the displacement of the displacement sensor in the radial direction of the disc can be firstly collected, or the distance from the displacement sensor to the center of the disc is collected, and then the collected displacement or the distance from the displacement sensor to the center of the disc is amplified in equal proportion according to the distance from the geometric center of the protein to be observed to the outermost edge of the protein to the radius of the disc, so that the radius of the reference ball in the three-dimensional space can be reduced or amplified in real time, and real-time scaling of the reference ball is realized.
It will be appreciated that by the manner described above, a downsizing or upscaling of the reference ball may be achieved. And because the center of the disc is mapped to the geometric center of the protein to be observed, the outermost edge of the protein to be observed overlaps with the spherical surface of the reference ball which is initially established, the user can intuitively adjust the spherical radius of the reference ball by moving the displacement sensor on the disc, and the control of the reference ball in the three-dimensional space is simple and intuitive, and the user is easy to operate.
In an embodiment, generating a cross-sectional view of the protein to be observed with reference to the reference sphere includes:
s310, taking the intersection surface of the reference sphere and the three-dimensional image as a cross-section position, and performing Boolean subtraction on the three-dimensional image of the protein to be observed to generate a spherical cross-section diagram of the protein to be observed.
Among these, the boolean subtraction operation and the bool subtraction operation. The spherical cross section refers to a 360 degree full angle cross section. Specifically, when a protein cross section is generated, the spherical cross section of the protein to be observed at the current position can be obtained by performing Boolean subtraction on the three-dimensional image of the protein to be observed by using the intersection surface of the current reference sphere and the three-dimensional image of the protein to be observed.
S320, displaying the spherical section view through the display module.
Specifically, after the cross-sectional view of the protein to be observed is generated, the cross-sectional view may be displayed by the display module, so that the user may observe the truncated cross-sectional view of the protein in real time. The user may then determine whether to reacquire a new protein profile based on the current protein profile.
In an embodiment, the circular controller further includes a confirmation module, where the confirmation module is disposed on the disc, and the confirmation module may send the confirmation instruction to the terminal after being triggered.
It will be appreciated that by integrating the validation module on the puck, the user can intercept the cross-sectional view of the protein at any time while adjusting the radius of the reference sphere, thereby greatly facilitating user operation. Of course, the design of the present application is not limited thereto, and in other embodiments, the confirmation module may be provided as a separate switch, such as a foot switch, a hand switch, or the like.
In addition, referring to fig. 4, an embodiment of the present invention further provides a round controller-based protein spherical section generating device, where the round controller-based protein spherical section generating device includes:
a terminal 110 for creating a three-dimensional space and loading a three-dimensional image of a protein to be observed;
the display module 120 is connected with the terminal and is used for displaying the three-dimensional space in real time;
a circular controller 130 connected to the terminal, the circular controller being configured to establish a reference sphere in the three-dimensional space and adjust a sphere radius of the reference sphere;
and the confirmation module 140 is used for sending a confirmation instruction to the terminal so that the terminal can generate the cross-sectional view of the protein to be observed by taking the reference sphere as a reference.
The steps implemented by each functional module of the round controller-based protein spherical section generating device may refer to each embodiment of the round controller-based protein spherical section generating method according to the present invention, and will not be described herein.
In addition, the embodiment of the invention also provides a computer readable storage medium, which can be any one or any combination of a plurality of hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a USB memory and the like. The computer readable storage medium includes the circular controller-based protein spherical section generating program 10, and the specific embodiment of the computer readable storage medium of the present invention is substantially the same as the above-mentioned circular controller-based protein spherical section generating method and the specific embodiment of the server 1, and will not be described herein.
It will be appreciated by those skilled in the art that 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.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (7)

1. A method for generating a protein spherical section based on a circular controller is characterized by comprising the following steps:
establishing a three-dimensional space in a terminal, and loading a three-dimensional image of a protein to be observed in the three-dimensional space;
mapping the three-dimensional space to a display module connected with the terminal in real time;
connecting a circular controller with a terminal, and establishing a reference ball in the three-dimensional space according to the circular controller;
controlling the reference ball according to the circular controller;
after receiving the confirmation instruction, taking the reference ball as a reference to generate a cross-sectional view of the protein to be observed; wherein, the liquid crystal display device comprises a liquid crystal display device,
the circular controller comprises a disc;
establishing a reference sphere in the three-dimensional space according to the circular controller, including:
mapping the circle center of the disc to a preset reference point in the three-dimensional space;
establishing the reference ball by taking the preset reference point as a sphere center and taking the radius of the disc as a sphere radius;
establishing a reference sphere in the three-dimensional space according to the circular controller, and further comprising:
taking the geometric center of the three-dimensional image as the preset reference point;
calculating the distance from the geometric center to the outermost edge of the three-dimensional image;
scaling the reference sphere to overlap the outermost edge of the three-dimensional image according to the ratio of the spacing to the radius of the disc;
controlling the reference ball according to the circular controller, comprising:
and adjusting the ball radius of the reference ball according to the round controller.
2. The method for generating a protein spherical section based on a circular controller according to claim 1, wherein the circular controller further comprises a displacement sensor, wherein the displacement sensor is movably arranged between the center and the edge of the disc and can linearly move along the radial direction of the disc;
controlling the sphere radius of the reference sphere according to a circular controller, comprising:
the ball radius of the reference ball is adjusted according to the movement of the displacement sensor in the radial direction of the disc.
3. The method for generating a spherical section of a protein based on a circular controller according to claim 1, wherein generating a section view of the protein to be observed with reference to the reference sphere comprises:
taking the intersection surface of the reference sphere and the three-dimensional image as a section position, and performing Boolean subtraction on the three-dimensional image of the protein to be observed to generate a spherical section view of the protein to be observed;
the spherical cross-section is displayed by the display module.
4. The method for generating a spherical section of a protein based on a circular controller according to claim 1, wherein,
the round controller further comprises a confirmation module, wherein the confirmation module is arranged on the disc, and the confirmation module can send the confirmation instruction to the terminal after being triggered.
5. A round controller-based protein sphere cross-section generating device, comprising:
the terminal is used for establishing a three-dimensional space and loading a three-dimensional image of the protein to be observed;
the display module is connected with the terminal and used for displaying the three-dimensional space in real time;
the round controller is connected with the terminal and is used for establishing a reference ball in the three-dimensional space and adjusting the ball radius of the reference ball;
the confirmation module is used for sending a confirmation instruction to the terminal so that the terminal can generate a cross-sectional view of the protein to be observed by taking the reference sphere as a reference; wherein, the liquid crystal display device comprises a liquid crystal display device,
the circular controller comprises a disc;
the circular controller establishes a reference sphere in the three-dimensional space, comprising:
mapping the circle center of the disc to a preset reference point in the three-dimensional space;
establishing the reference ball by taking the preset reference point as a sphere center and taking the radius of the disc as a sphere radius;
taking the geometric center of the three-dimensional image as the preset reference point;
calculating the distance from the geometric center to the outermost edge of the three-dimensional image;
and scaling the reference sphere to overlap the outermost edge of the three-dimensional image by the ratio of the distance to the radius of the disc.
6. A round controller-based protein spherical section generating apparatus comprising a memory, a processor, and a round controller-based protein spherical section generating program stored on the memory and executable on the processor, wherein the round controller-based protein spherical section generating program is executed by the processor to implement the round controller-based protein spherical section generating method according to any one of claims 1 to 4.
7. A computer-readable storage medium, wherein a round controller-based protein spherical section generation program is stored on the computer-readable storage medium, which when executed by a processor, implements the round controller-based protein spherical section generation method according to any one of claims 1 to 4.
CN202210046486.7A 2022-01-13 2022-01-13 Round controller-based protein spherical section generation method Active CN114388060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210046486.7A CN114388060B (en) 2022-01-13 2022-01-13 Round controller-based protein spherical section generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210046486.7A CN114388060B (en) 2022-01-13 2022-01-13 Round controller-based protein spherical section generation method

Publications (2)

Publication Number Publication Date
CN114388060A CN114388060A (en) 2022-04-22
CN114388060B true CN114388060B (en) 2023-06-20

Family

ID=81202286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210046486.7A Active CN114388060B (en) 2022-01-13 2022-01-13 Round controller-based protein spherical section generation method

Country Status (1)

Country Link
CN (1) CN114388060B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182726A (en) * 2017-12-29 2018-06-19 努比亚技术有限公司 Three-dimensional rebuilding method, cloud server and computer readable storage medium
CN113686235A (en) * 2021-08-16 2021-11-23 中国科学院力学研究所 Method for estimating protein conformation morphology characteristics based on nanopore via hole current

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763702B (en) * 2016-03-30 2019-07-26 努比亚技术有限公司 Three-D imaging method and device based on mobile terminal
CN110249082B (en) * 2016-12-01 2023-07-07 诺迪勒思附属公司 Method for determining protein
CN108428230B (en) * 2018-03-16 2020-06-16 青岛海信医疗设备股份有限公司 Method, device, storage medium and equipment for processing curved surface in three-dimensional virtual organ

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182726A (en) * 2017-12-29 2018-06-19 努比亚技术有限公司 Three-dimensional rebuilding method, cloud server and computer readable storage medium
CN113686235A (en) * 2021-08-16 2021-11-23 中国科学院力学研究所 Method for estimating protein conformation morphology characteristics based on nanopore via hole current

Also Published As

Publication number Publication date
CN114388060A (en) 2022-04-22

Similar Documents

Publication Publication Date Title
CN109087239B (en) Face image processing method and device and storage medium
US10909768B2 (en) Virtual item simulation using detected surfaces
CN108876934B (en) Key point marking method, device and system and storage medium
CN110162236B (en) Display method and device between virtual sample boards and computer equipment
CN110163942B (en) Image data processing method and device
US9268410B2 (en) Image processing device, image processing method, and program
CN104922906B (en) Action executes method and apparatus
US9344623B2 (en) Methods and systems for providing functionality of an interface to control orientations of a camera on a device
CN110489027B (en) Handheld input device and display position control method and device of indication icon of handheld input device
CN112118358B (en) Shot picture display method, terminal and storage medium
KR20230003555A (en) Texture-based pose validation
CN112138386A (en) Volume rendering method and device, storage medium and computer equipment
US11934628B2 (en) 3D user interface depth forgiveness
CN108038916B (en) Augmented reality display method
CN114388060B (en) Round controller-based protein spherical section generation method
US11918888B2 (en) Multi-user AR experience with offline synchronization
CN114388059B (en) Protein section generation method based on three-dimensional force feedback controller
CN114388056B (en) AR-based protein section generation method
JP2017168132A (en) Virtual object display system, display system program, and display method
CN114388058A (en) Protein arbitrary section generation method based on nine-axis IMU
CN114388055B (en) Protein section generation method based on brain infrared control
CN114385010A (en) Protein section generation method based on brain wave control
US11948266B1 (en) Virtual object manipulation with gestures in a messaging system
US20240087242A1 (en) 3d cursor functionality for augmented reality content in messaging systems
US20240087244A1 (en) Cursor functionality for augmented reality content in messaging systems

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