CN112013793A - Accelerator frame angle quality control method and device, electronic equipment and storage medium - Google Patents
Accelerator frame angle quality control method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112013793A CN112013793A CN202010911744.4A CN202010911744A CN112013793A CN 112013793 A CN112013793 A CN 112013793A CN 202010911744 A CN202010911744 A CN 202010911744A CN 112013793 A CN112013793 A CN 112013793A
- Authority
- CN
- China
- Prior art keywords
- angle
- quality control
- accelerator
- determining
- current projection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/26—Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/002—Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
- G01B11/2433—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures for measuring outlines by shadow casting
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Radiation-Therapy Devices (AREA)
- Feedback Control In General (AREA)
Abstract
The embodiment of the invention discloses an accelerator frame angle quality control method, an accelerator frame angle quality control device, electronic equipment and a storage medium, wherein the method comprises the following steps: setting the angle of the accelerator frame as a quality control angle; executing a set quality control plan under the quality control angle to obtain a current projection image of the die body; determining a current projection matrix based on the current projection image and the physical position of the motif; determining a real angle of the accelerator frame according to the current projection matrix; and determining a quality control result according to the deviation between the quality control angle and the real angle. According to the technical scheme of the embodiment of the invention, the automatic quality control of the angle of the rack is realized, and the quality control efficiency and precision are improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of chemoradiotherapy, in particular to an accelerator frame angle quality control method, an accelerator frame angle quality control device, electronic equipment and a storage medium.
Background
The quality control of the angle of the frame of the accelerator is a necessary link in modern radiotherapy, and is very important for the radiotherapy effect and the radiotherapy safety. Wherein, frame angle matter accuse indicates under setting for the frame angle, confirms the true frame angle of accelerator normal during operation, will true frame angle with set for the frame angle and compare, if both are unanimous, then think that the working property or the operating condition of accelerator accord with standard requirement, otherwise think that the working property or the operating condition of accelerator do not accord with standard requirement, need maintain the accelerator to the working property of guaranteeing the accelerator is better, thereby guarantees radiotherapy effect and radiotherapy safety.
The current commonly used rack angle quality control method comprises the following steps: the frame angle is measured by a level. The quality control method is complex in operation and low in efficiency, and the frame is generally provided with the shell, so that the reference surface capable of accurately measuring the angle of the frame is difficult to find.
Disclosure of Invention
The embodiment of the invention provides a method and a device for quality control of an accelerator frame angle, electronic equipment and a storage medium, which realize automatic quality control of the frame angle and improve the quality control efficiency and precision.
In a first aspect, an embodiment of the present invention provides a method for controlling an angle of an accelerator frame, where the method includes:
setting the angle of the accelerator frame as a quality control angle;
executing a set quality control plan under the quality control angle to obtain a current projection image of the die body;
determining a current projection matrix based on the current projection image and the physical position of the motif;
determining a real angle of the accelerator frame according to the current projection matrix;
and determining a quality control result according to the deviation between the quality control angle and the real angle.
In a second aspect, an embodiment of the present invention further provides an accelerator frame angle quality control apparatus, where the apparatus includes:
the setting module is used for setting the angle of the accelerator frame as a quality control angle;
the execution module is used for executing a set quality control plan under the quality control angle to obtain a current projection image of the die body;
a first determination module, configured to determine a current projection matrix based on the current projection image and a physical location of the phantom;
the second determination module is used for determining the real angle of the accelerator frame according to the current projection matrix;
and the third determining module is used for determining a quality control result according to the deviation between the quality control angle and the real angle.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method for accelerator frame angle quality control according to any of the embodiments of the present invention.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for controlling the angle of an accelerator stand according to any one of the embodiments of the present invention.
According to the technical scheme of the embodiment of the invention, when the quality control angle of the accelerator is set, a set quality control plan is executed under the quality control angle, specifically, a model is scanned to obtain a current projection image of the model, a current projection matrix is determined according to the current projection image and the physical position (the position is a known quantity) of the model, the real angle of the accelerator frame is determined according to the current projection matrix, a quality control result is determined according to the preset deviation between the quality control angle and the real angle, if the deviation between the quality control angle and the real angle is smaller, the quality control result is determined to be qualified, otherwise, the quality control result is determined to be unqualified, the frame of the accelerator needs to be adjusted, corrected and the like, so that the automatic quality control of the accelerator is realized, and the quality control efficiency and the precision are improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present invention will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flow chart of a method for controlling an angle of an accelerator frame according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an accelerator, an accelerator frame and an imaging system thereof according to a first embodiment of the present invention;
FIG. 3 is a two-dimensional front view of an accelerator, an accelerator frame, and an imaging system thereof according to one embodiment of the invention;
FIG. 4 is a diagram illustrating a mapping relationship between a first matrix element in a projection matrix and an angle of an accelerator gantry according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a mapping relationship between a third matrix element in a projection matrix and an angle of an accelerator gantry according to an embodiment of the present invention;
fig. 6 is a schematic flow chart illustrating an accelerator frame angle quality control method according to a second embodiment of the present invention;
fig. 7 is a schematic view of light source positions at different angles of the rack according to a second embodiment of the present invention;
fig. 8 is a schematic diagram illustrating a method for calculating included angles of different light source positions relative to an isocenter in a vector manner according to a second embodiment of the present invention;
fig. 9 is a schematic structural diagram of an accelerator frame angle quality control device according to a third embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and the embodiments of the present invention are illustrative only and are not intended to limit the scope of the present invention.
It should be understood that the various steps recited in the method embodiments of the present invention may be performed in a different order and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the invention is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present invention are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in the present invention are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
Example one
Fig. 1 is a schematic flowchart of a method for controlling an angle of an accelerator frame according to an embodiment of the present invention. The method can be applied to daily quality control of the angle of the accelerator frame, and aims to ensure the accuracy of the angle of the accelerator frame so as to ensure the safety and effect of radiotherapy. The accelerator frame angle quality control method can be executed by an accelerator frame angle quality control device, and the device can be realized in the form of software and/or hardware.
As shown in fig. 1, the method for controlling the angle of the accelerator frame according to this embodiment includes the following steps:
and step 110, setting the angle of the accelerator frame as a quality control angle.
The quality control angle is an expected included angle between the accelerator frame and the preset reference object when the accelerator works, for example, the quality control angle is set to be 15 degrees, the accelerator works under the set angle, and it is expected that the true angle between the accelerator frame and the preset reference object when the accelerator works is also 15 degrees. However, as time goes up, the accelerator is used for a long time, and due to various physical properties of the accelerator changing or a method of manually operating the accelerator, the accelerator has an error, that is, a set quality control angle and a real angle between the accelerator frame and a preset reference object when the accelerator is in operation begin to become different, so in order to ensure radiotherapy effect and safety, the quality control of the angle of the accelerator frame is usually performed once at certain intervals, and the error of the accelerator is corrected and calibrated.
It will be appreciated that modern accelerators are typically equipped with an EPID (Electronic Portal Imaging Devices) that rotates with the gantry, an Imaging system that uses a projection matrix to acquire images in the direction of the field beam. Referring to fig. 2, a schematic diagram of an accelerator, an accelerator frame and an imaging system EPID thereof is shown, wherein the accelerator 210 accelerates electrons to form high-energy electrons, the high-energy electrons strike a target to form X-rays (i.e., a light source 250 in fig. 2) to irradiate the phantom 220, and the EPID 230 acquires a projection image of the phantom 220 based on the received X-rays. Wherein the accelerator 210 and the EPID 230 are each fixedly coupled (e.g., rigidly coupled) to the gantry 240 and rotate with the gantry 240. In this embodiment, an included angle between a connection line between the light source 250 and the central point of the phantom 220 and the Z-axis of the setting space is defined as a gantry angle, and specifically, referring to a two-dimensional front view of the accelerator, the accelerator gantry and the imaging system thereof shown in fig. 3, the gantry angle is denoted by reference numeral 360 in fig. 3, where reference numeral 310 denotes the accelerator, reference numeral 320 denotes the central point of the phantom, reference numeral 330 denotes the EPID, reference numeral 340 denotes the gantry, and reference numeral 350 denotes the light source.
And 120, executing a set quality control plan under the quality control angle to obtain a current projection image of the phantom.
For example, the executing the set quality control plan under the quality control angle to obtain the current projection image of the phantom includes:
and emitting rays with set dosage under the quality control angle so as to acquire a projection image of the die body and obtain the current projection image.
Preferably, the projection image of the phantom is acquired by an electronic portal image device of the accelerator, and the current projection image is obtained.
Since the modern accelerator is generally equipped with the electronic portal imaging device EPID which rotates along with the gantry, the imaging device of the accelerator itself can be used to image the phantom, and the technical solution of the embodiment can be implemented without increasing any hardware cost. Meanwhile, the imaging device and the frame of the accelerator are fixedly connected, and high imaging precision is achieved.
Illustratively, the determining a current projection matrix based on the current projection image and the physical location of the phantom includes:
performing image processing on the current projection image to determine the projection coordinate of the motif on the current projection image;
and determining the current projection matrix according to the projection coordinates and the physical position of the die body based on the imaging principle of an electronic portal imaging device.
The imaging principle of the electronic portal imaging device comprises:
the physical position of the motif, the projection coordinates of the motif in the corresponding projection image and the corresponding projection matrix have a set relationship. The set relationship is shown by reference to the following equation system (1), where x, y, and z respectively represent spatial coordinates of a physical position of the phantom, u, and v respectively represent projection coordinates of the phantom on the current projection image, λ is an amplification factor representing a distance between the phantom and a light source (refer to the light source 250 and the light source 350 shown in fig. 2 and 3), and P is a matrix of 3 × 4, that is, the current projection matrix.
Wherein, the current projection matrix can be represented as:
the projection coordinates (u, v) of the phantom in the current projection image, the physical position (x, y, z) and λ of the phantom are known quantities, and a current projection matrix P can be determined according to the equation set (1).
And 140, determining the real angle of the accelerator frame according to the current projection matrix.
In general, geometric correction including EPID is performed by using some object with known physical size to correspond the coordinates of the object in the physical space to the coordinates of the object in the detected image, wherein the projection matrix is used to represent the correspondence between the coordinates of the object in the physical space and the coordinates of the object in the detected image. The 12 matrix elements of the projection matrix can theoretically establish more than 12 equation sets (1) by imaging more than 12 positions in space, and then the projection matrix P can be solved. For example, the phantom may contain more than 12 markers (e.g., beads) with known spatial locations for imaging on the EPID, the coordinates of the beads are determined from the projection images to obtain more than 12 sets (u, v) at the gantry angle, and then the projection matrix at the gantry angle may be determined from the known more than 12 sets (x, y, z). At each gantry angle θ, there is a corresponding projection matrix [ P ]θ]The projection matrix then has a one-to-one relationship with the gantry angle, which is the basis for gantry angle quality control using the projection matrix. Further, the gantry angle under the current projection can be obtained simply based on some matrix elements in the projection matrix, and the method can be named as matrixElemental method. Correspondingly, refer to a mapping relationship diagram between a first matrix element in a projection matrix and an accelerator frame angle shown in fig. 4, and a mapping relationship diagram between a third matrix element in a projection matrix and an accelerator frame angle shown in fig. 5; from fig. 4 and 5 it can be determined that the unique gantry angle can be determined based on only the first matrix element and the third matrix element.
Specifically, after the rack is subjected to acceptance test, the accuracy of the rack angle is ensured in a certain manner, in this state, the projection matrix at each rack angle is obtained by using the geometric correction phantom, the projection matrices are stored as reference data, and the correspondence between the rack angle and the matrix element shown in fig. 4 and 5 can be established by using the reference data.
In the quality control process, after the current projection matrix is determined, the current frame angle is determined according to the corresponding relation between the frame angle and the matrix elements which are constructed in advance.
Illustratively, the determining a true angle of the accelerator gantry from the current projection matrix includes:
determining a first angle of the accelerator frame corresponding to a target matrix element corresponding to at least one set matrix element in the current projection matrix according to a corresponding relation between the at least one set matrix element in the reference projection matrix and the angle of the accelerator frame;
determining the first angle as the true angle.
And the reference projection matrix is the projection matrix obtained by using the geometric correction die body after the machine frame is subjected to acceptance test. For example, as can be seen from FIG. 5, when matrix element p3 is set to 1, the corresponding gantry angle is between-150 degrees and-200 degrees. As can be seen from fig. 4 and 5, in some cases, the corresponding gantry angles are two (e.g., when the first matrix element p1 is 0, the corresponding one of the gantry angles is between-250 degrees and-300 degrees, and the other is-100 degrees), and in order to determine the unique gantry angle, the first matrix element p1 and the third matrix element p3 may be referred to simultaneously.
And 150, determining a quality control result according to the deviation between the quality control angle and the real angle.
For example, a deviation range may be set, and if the deviation between the quality control angle and the true angle is less than 1 degree, the quality control result is determined to be qualified, otherwise, the quality control result is determined to be unqualified. And when the quality control result is unqualified, the rack needs to be corrected to ensure the accuracy of the rack.
According to the technical scheme of the embodiment, when the quality control angle of the accelerator is set, the model is imaged under the quality control angle, then the current projection matrix is calculated, the set matrix elements in the current projection matrix are compared with reference data to determine the real angle of the frame, the quality control result is determined according to the preset deviation between the quality control angle and the real angle, if the deviation between the quality control angle and the real angle is smaller than a threshold value, the quality control result is determined to be qualified, otherwise, the quality control result is determined to be unqualified, the frame of the accelerator needs to be adjusted, corrected and the like, so that the automatic quality control of the accelerator is realized, and the quality control efficiency and the precision are improved. The threshold may be set according to industry specifications or enterprise standards, for example, the threshold may be 1 degree, or 0.5 degrees, or 0.3 degrees, or less.
Example two
Fig. 6 is a schematic flowchart of a method for controlling the angle of the accelerator frame according to a second embodiment of the present invention, and based on the second embodiment, the present embodiment provides another implementation method for determining the true angle of the accelerator frame according to the current projection matrix. Wherein explanations of the same or corresponding terms as those of the above-described embodiments are omitted.
Referring to fig. 6, the method for controlling the angle of the accelerator frame includes the following steps:
and step 610, setting the angle of the accelerator frame as a quality control angle.
And step 620, executing a set quality control plan under the quality control angle to obtain a current projection image of the phantom.
And 640, determining the current physical position of a light source under the quality control angle according to the current projection matrix based on the imaging principle of the electronic portal imaging device, wherein the accelerator comprises the light source, and the light source rotates along with an accelerator frame.
The imaging principle of the electronic portal imaging device comprises:
the physical position of the die body, the projection coordinate of the die body in the corresponding projection image and the corresponding projection matrix have a set relationship;
the physical location of the phantom includes a distance λ of the phantom from the light source. According to the equation set (1), when the distance λ between the phantom and the light source is equal to 0, it represents that the physical position of the light source is the physical position of the phantom, that is, the physical position of the light source is (x, y, z) in the equation set (1), and the following relation (2) can be obtained for the equation set (1):
when the distance λ between the phantom and the light source is 0, the physical position (x, y, z) of the light source can be determined by the above relation (2).
Fig. 7 is a schematic diagram showing the light source positions at different frame angles, after the light source position is determined, included angles of the different light source positions with respect to the isocenter are calculated in a vector manner, where the included angles are the corresponding frame angles, for example, fig. 8 is a schematic diagram showing the included angles of the different light source positions with respect to the isocenter calculated in a vector manner, where a point O represents the isocenterCenter point, S1 indicates a specific light source position, S1 corresponds to a gantry angle of 0, S2 indicates another specific light source position, S2 corresponds to a gantry angle of 0
It will be appreciated that the correspondence between the reference physical position of the light source and the accelerator gantry angle can be pre-constructed to serve as a basis for subsequent gantry angle quality control.
And 660, determining a quality control result according to the deviation between the quality control angle and the real angle.
The technical scheme provided by this embodiment provides another implementation method for determining a true angle of an accelerator frame according to a current projection matrix, and specifically includes executing a set quality control plan at a preset quality control angle to obtain a current projection image of a phantom, determining a current projection matrix based on the current projection image and a physical position of the phantom, then determining a current physical position of a light source at the quality control angle according to the current projection matrix based on an imaging principle of an electronic portal imaging device, determining a second angle of the accelerator frame corresponding to the current physical position according to a corresponding relationship between a reference physical position of the light source and an angle of the accelerator frame, and determining the second angle as the true angle, thereby implementing automatic quality control of the accelerator and improving quality control efficiency and accuracy.
EXAMPLE III
Fig. 9 is a schematic structural diagram of a quality control device for an accelerator frame angle according to a third embodiment of the present invention, and as shown in fig. 9, the device includes: a setting module 910, an executing module 920, a first determining module 930, a second determining module 940, and a third determining module 950.
The setting module 910 is configured to set an accelerator frame angle as a quality control angle; an executing module 920, configured to execute a set quality control plan under the quality control angle to obtain a current projection image of the phantom; a first determining module 930 configured to determine a current projection matrix based on the current projection image and a physical location of the phantom; a second determining module 940, configured to determine a true angle of the accelerator frame according to the current projection matrix; a third determining module 950, configured to determine a quality control result according to a deviation between the quality control angle and the real angle.
Further, the executing module 920 includes:
and the acquisition unit is used for transmitting rays with set dosage under the quality control angle so as to acquire a projection image of the die body and obtain the current projection image.
Further, the acquisition unit is specifically configured to: and acquiring a projection image of the mold body through an electronic field image device of the accelerator to obtain the current projection image.
Further, the first determining module 930 includes:
the processing unit is used for carrying out image processing on the current projection image so as to determine the projection coordinate of the motif on the current projection image;
and the determining unit is used for determining the current projection matrix according to the projection coordinates and the physical position of the motif based on the imaging principle of the electronic portal imaging device.
Further, the imaging principle of the electronic portal imaging device includes:
the physical position of the motif, the projection coordinates of the motif in the corresponding projection image and the corresponding projection matrix have a set relationship.
Further, the second determining module 940 includes:
the first determining unit is used for determining a first angle of the accelerator frame corresponding to a target matrix element corresponding to at least one set matrix element in the current projection matrix according to the corresponding relation between the at least one set matrix element in the reference projection matrix and the angle of the accelerator frame; determining the first angle as the true angle.
Further, the second determining module 940 includes:
the second determining unit is used for determining the current physical position of the light source under the quality control angle according to the current projection matrix based on the imaging principle of the electronic portal imaging device, wherein the accelerator comprises the light source, and the light source rotates along with the accelerator frame; determining a second angle of the accelerator frame corresponding to the current physical position according to the corresponding relation between the reference physical position of the light source and the angle of the accelerator frame; determining the second angle as the true angle.
Further, the imaging principle of the electronic portal imaging device includes:
the physical position of the die body, the projection coordinate of the die body in the corresponding projection image and the corresponding projection matrix have a set relationship;
the physical position of the phantom includes a distance of the phantom from the light source.
According to the technical scheme of the embodiment of the invention, when the quality control angle of the accelerator is set, the model is imaged under the quality control angle, then the current projection matrix is calculated, the set matrix elements in the current projection matrix are compared with the reference data to determine the real angle of the frame, the quality control result is determined according to the preset deviation between the quality control angle and the real angle, if the deviation between the quality control angle and the real angle is smaller, the quality control result is determined to be qualified, otherwise, the quality control result is determined to be unqualified, the frame of the accelerator needs to be adjusted, corrected and the like, so that the automatic quality control of the accelerator is realized, and the quality control efficiency and the precision are improved.
The accelerator frame angle quality control device provided by the embodiment of the invention can execute the accelerator frame angle quality control method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
Example four
Referring now to fig. 10, a schematic diagram of an electronic device (e.g., the terminal device or server of fig. 10) 400 suitable for implementing embodiments of the present invention is shown. The terminal device in the embodiments of the present invention may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 10, the electronic device 400 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 406 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 406 including, for example, magnetic tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 10 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, an embodiment of the invention includes a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 409, or from the storage means 406, or from the ROM 402. The computer program performs the above-described functions defined in the methods of embodiments of the invention when executed by the processing apparatus 401.
The terminal provided by the embodiment of the invention and the method for controlling the angle of the accelerator frame provided by the embodiment belong to the same inventive concept, technical details which are not described in detail in the embodiment of the invention can be referred to the embodiment, and the embodiment of the invention and the embodiment have the same beneficial effects.
EXAMPLE five
An embodiment of the present invention provides a computer storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for quality control of accelerator frame angle provided in the above-mentioned embodiment.
It should be noted that the computer readable medium of the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
setting the angle of the accelerator frame as a quality control angle;
executing a set quality control plan under the quality control angle to obtain a current projection image of the die body;
determining a current projection matrix based on the current projection image and the physical position of the motif;
determining a real angle of the accelerator frame according to the current projection matrix;
and determining a quality control result according to the deviation between the quality control angle and the real angle.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software or hardware. Where the name of a cell does not in some cases constitute a limitation on the cell itself, for example, an editable content display cell may also be described as an "editing cell".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of the present invention, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the invention and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents is encompassed without departing from the spirit of the disclosure. For example, the above features and (but not limited to) features having similar functions disclosed in the present invention are mutually replaced to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the invention. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims (11)
1. An accelerator frame angle quality control method is characterized by comprising the following steps:
setting the angle of the accelerator frame as a quality control angle;
executing a set quality control plan under the quality control angle to obtain a current projection image of the die body;
determining a current projection matrix based on the current projection image and the physical position of the motif;
determining a real angle of the accelerator frame according to the current projection matrix;
and determining a quality control result according to the deviation between the quality control angle and the real angle.
2. The method of claim 1, wherein the performing the set quality control plan at the quality control angle to obtain a current projection image of the phantom comprises:
and emitting rays with set dosage under the quality control angle so as to acquire a projection image of the die body and obtain the current projection image.
3. The method of claim 2, wherein acquiring a projection image of the phantom, obtaining the current projection image, comprises:
and acquiring a projection image of the mold body through an electronic field image device of the accelerator to obtain the current projection image.
4. The method of claim 1, wherein determining a current projection matrix based on the current projection image and a physical location of the phantom comprises:
performing image processing on the current projection image to determine the projection coordinate of the motif on the current projection image;
and determining the current projection matrix according to the projection coordinates and the physical position of the die body based on the imaging principle of an electronic portal imaging device.
5. The method of claim 4, wherein the imaging principle of the electronic portal imaging device comprises:
the physical position of the motif, the projection coordinates of the motif in the corresponding projection image and the corresponding projection matrix have a set relationship.
6. The method of any of claims 1-5, wherein determining the true angle of the accelerator gantry from the current projection matrix comprises:
determining a first angle of the accelerator frame corresponding to a target matrix element corresponding to at least one set matrix element in the current projection matrix according to a corresponding relation between the at least one set matrix element in the reference projection matrix and the angle of the accelerator frame;
determining the first angle as the true angle.
7. The method of any of claims 1-5, wherein determining the true angle of the accelerator gantry from the current projection matrix comprises:
determining the current physical position of a light source under the quality control angle according to the current projection matrix based on the imaging principle of an electronic portal image device, wherein the accelerator comprises the light source, and the light source rotates along with an accelerator frame;
determining a second angle of the accelerator frame corresponding to the current physical position according to the corresponding relation between the reference physical position of the light source and the angle of the accelerator frame;
determining the second angle as the true angle.
8. The method of claim 7, wherein the imaging principle of the electronic portal imaging device comprises:
the physical position of the die body, the projection coordinate of the die body in the corresponding projection image and the corresponding projection matrix have a set relationship;
the physical position of the phantom includes a distance of the phantom from the light source.
9. An accelerator frame angle quality control device, comprising:
the setting module is used for setting the angle of the accelerator frame as a quality control angle;
the execution module is used for executing a set quality control plan under the quality control angle to obtain a current projection image of the die body;
a first determination module, configured to determine a current projection matrix based on the current projection image and a physical location of the phantom;
the second determination module is used for determining the real angle of the accelerator frame according to the current projection matrix;
and the third determining module is used for determining a quality control result according to the deviation between the quality control angle and the real angle.
10. An electronic device, characterized in that the electronic device comprises: the system comprises an accelerator, a frame fixedly connected with the accelerator and an electron field imaging device fixedly connected with the frame;
the frame drives the accelerator and the electron field imaging device to rotate, and the relative position between the accelerator and the electron field imaging device is unchanged in the rotating process;
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the accelerator stand angle quality control method of any of claims 1-8.
11. A storage medium containing computer-executable instructions for performing the accelerator stand angle quality control method of any one of claims 1-8 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010911744.4A CN112013793B (en) | 2020-09-02 | 2020-09-02 | Accelerator frame angle quality control method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010911744.4A CN112013793B (en) | 2020-09-02 | 2020-09-02 | Accelerator frame angle quality control method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112013793A true CN112013793A (en) | 2020-12-01 |
CN112013793B CN112013793B (en) | 2022-09-06 |
Family
ID=73515653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010911744.4A Active CN112013793B (en) | 2020-09-02 | 2020-09-02 | Accelerator frame angle quality control method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112013793B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104764400A (en) * | 2015-03-10 | 2015-07-08 | 清华大学 | Detection method for isocenter and sphere radius of linear accelerator |
CN104783824A (en) * | 2014-01-20 | 2015-07-22 | 上海联影医疗科技有限公司 | Calibration method for X-ray imaging system |
CN107432750A (en) * | 2017-07-31 | 2017-12-05 | 上海联影医疗科技有限公司 | Correct the method and system of imaging system |
CN109289129A (en) * | 2018-09-07 | 2019-02-01 | 广州医科大学附属肿瘤医院 | The quality control method and device of linear accelerator |
CN208611612U (en) * | 2018-03-13 | 2019-03-19 | 中国医学科学院放射医学研究所 | A kind of accelerator for electron therapy rack rotary test die body |
CN110243312A (en) * | 2019-05-09 | 2019-09-17 | 上海联影医疗科技有限公司 | Rack the coaxial degree measurement, device, method and storage medium |
CN110812710A (en) * | 2019-10-22 | 2020-02-21 | 苏州雷泰智能科技有限公司 | Accelerator frame rotation angle measuring system and method and radiotherapy equipment |
CN111001096A (en) * | 2019-11-28 | 2020-04-14 | 上海联影医疗科技有限公司 | Radiotherapy equipment isocenter analysis method and device, computer equipment and medium |
-
2020
- 2020-09-02 CN CN202010911744.4A patent/CN112013793B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104783824A (en) * | 2014-01-20 | 2015-07-22 | 上海联影医疗科技有限公司 | Calibration method for X-ray imaging system |
CN104764400A (en) * | 2015-03-10 | 2015-07-08 | 清华大学 | Detection method for isocenter and sphere radius of linear accelerator |
CN107432750A (en) * | 2017-07-31 | 2017-12-05 | 上海联影医疗科技有限公司 | Correct the method and system of imaging system |
CN208611612U (en) * | 2018-03-13 | 2019-03-19 | 中国医学科学院放射医学研究所 | A kind of accelerator for electron therapy rack rotary test die body |
CN109289129A (en) * | 2018-09-07 | 2019-02-01 | 广州医科大学附属肿瘤医院 | The quality control method and device of linear accelerator |
CN110243312A (en) * | 2019-05-09 | 2019-09-17 | 上海联影医疗科技有限公司 | Rack the coaxial degree measurement, device, method and storage medium |
CN110812710A (en) * | 2019-10-22 | 2020-02-21 | 苏州雷泰智能科技有限公司 | Accelerator frame rotation angle measuring system and method and radiotherapy equipment |
CN111001096A (en) * | 2019-11-28 | 2020-04-14 | 上海联影医疗科技有限公司 | Radiotherapy equipment isocenter analysis method and device, computer equipment and medium |
Non-Patent Citations (1)
Title |
---|
杨莎等: ""医用直线加速器机架旋转角度的质量控制方法探讨"", 《新疆医学》 * |
Also Published As
Publication number | Publication date |
---|---|
CN112013793B (en) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110988849A (en) | Calibration method and device of radar system, electronic equipment and storage medium | |
CN102901473B (en) | Measure coordinates correction system and method | |
WO2024109796A1 (en) | Method and apparatus for detecting pose of scanning head, device, and medium | |
CN113787522B (en) | Hand-eye calibration method for eliminating accumulated errors of mechanical arm | |
CN116079697B (en) | Monocular vision servo method, device, equipment and medium based on image | |
CN112991465A (en) | Camera calibration method and device, electronic equipment and computer readable medium | |
CN116182878B (en) | Road curved surface information generation method, device, equipment and computer readable medium | |
CN111709999A (en) | Calibration plate, camera calibration method and device, electronic equipment and camera system | |
EP4318398A1 (en) | Calibration and verification method and apparatus for intrinsic camera parameter, device, and medium | |
CN117953063B (en) | Data processing method, scanning method, device, equipment, storage medium and system | |
CN112643665A (en) | Calibration method and device for installation error of absolute pose sensor | |
CN112013793B (en) | Accelerator frame angle quality control method and device, electronic equipment and storage medium | |
CN112785650A (en) | Camera parameter calibration method and device | |
CN116091619A (en) | Calibration method, device, equipment and medium | |
CN114748195A (en) | Scanning device, connection method and device thereof, electronic device and medium | |
CN110322517B (en) | Method, device and equipment for calibrating included angle of optical camera and storage medium | |
CN110207699B (en) | Positioning method and device | |
CN115170674B (en) | Camera principal point calibration method, device, equipment and medium based on single image | |
CN116010753B (en) | Assessment method, system, equipment and medium for pose errors of motion simulator | |
CN116100564B (en) | High-precision calibration method and device for calibrating manipulator | |
CN116442523B (en) | Light uniformity adjusting method, device, equipment and storage medium | |
CN111442756B (en) | Method and device for measuring unmanned aerial vehicle shaking angle based on laser array | |
US20240259549A1 (en) | Calibration verification method for camera intrinsic parameter and apparatus, device, and medium | |
CN115451813A (en) | Line structure light positioning method and device, electronic equipment and storage medium | |
CN113822940B (en) | Flat field correction calibration method, device and system, computer equipment and medium |
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 |