CN114299096A - Outline delineation method, device, equipment and storage medium - Google Patents

Outline delineation method, device, equipment and storage medium Download PDF

Info

Publication number
CN114299096A
CN114299096A CN202111647090.XA CN202111647090A CN114299096A CN 114299096 A CN114299096 A CN 114299096A CN 202111647090 A CN202111647090 A CN 202111647090A CN 114299096 A CN114299096 A CN 114299096A
Authority
CN
China
Prior art keywords
image sequence
contour
sequence
pixel position
main image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111647090.XA
Other languages
Chinese (zh)
Inventor
赵卫刚
景益鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN AOWO MEDICAL NEW TECHNOLOGY DEVELOPMENT CO LTD
Our United Corp
Original Assignee
SHENZHEN AOWO MEDICAL NEW TECHNOLOGY DEVELOPMENT CO LTD
Our United Corp
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 SHENZHEN AOWO MEDICAL NEW TECHNOLOGY DEVELOPMENT CO LTD, Our United Corp filed Critical SHENZHEN AOWO MEDICAL NEW TECHNOLOGY DEVELOPMENT CO LTD
Priority to CN202111647090.XA priority Critical patent/CN114299096A/en
Publication of CN114299096A publication Critical patent/CN114299096A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The embodiment of the invention provides a contour delineation method, a contour delineation device, contour delineation equipment and a storage medium, and relates to the field of medical image processing, wherein the method comprises the following steps: acquiring a main image sequence and a secondary image sequence of a target object; the main image sequence and the secondary image sequence are image sequences of different sections of the target object; adjusting each pixel position of the secondary image sequence to a corresponding pixel position in the primary image sequence to obtain a new image sequence; wherein the pixel position in the main image sequence is known; and carrying out contour delineation on the new image sequence to generate a three-dimensional contour. By adopting the method, the contour drawing is not limited by the image direction, and the medical image information can be analyzed more comprehensively and conveniently.

Description

Outline delineation method, device, equipment and storage medium
Technical Field
The invention relates to the field of medical image processing, in particular to a contour delineation method, a contour delineation device, contour delineation equipment and a storage medium.
Background
Radiotherapy is a treatment mode for tumor, and before radiotherapy, a medical image of a patient needs to be acquired, a tumor region in the medical image is outlined, and a treatment plan is made for the tumor region. Finally, the patient is treated with radiation according to the treatment plan corresponding to the patient.
The existing radiotherapy planning system only supports the delineation of the medical image of one section, and only contour points can be obtained based on the medical image of the one section. However, due to the difference in the location of the lesions, the medical images of other sections may need to be delineated for some lesions.
Therefore, a delineation scheme for medical images of different sections is needed to realize contour delineation in the medical images and accurate positioning of a lesion.
Disclosure of Invention
The embodiment of the invention provides a contour delineation method, a contour delineation device, contour delineation equipment and a storage medium, which are not limited by image directions during contour delineation and can analyze medical image information more comprehensively and conveniently.
In a first aspect, an embodiment of the present invention provides a method for contouring, where the method includes:
acquiring a main image sequence and a secondary image sequence of a target object; the main image sequence and the secondary image sequence are image sequences of different sections of the target object;
adjusting each pixel position of the secondary image sequence to a corresponding pixel position in the primary image sequence to obtain a new image sequence; wherein the pixel position in the main image sequence is known;
and carrying out contour delineation on the new image sequence to generate a three-dimensional contour.
In one embodiment, the adjusting each pixel position of the secondary image sequence to a corresponding pixel position in the primary image sequence to obtain a new image sequence includes:
registering the main image sequence and the secondary image sequence to obtain a conversion matrix;
and adjusting the positions of the pixels of the secondary image sequence to the positions of the corresponding pixels in the primary image sequence according to the conversion matrix to obtain the new image sequence.
In one embodiment, registering the primary image sequence with the secondary image sequence to obtain a transformation matrix includes:
adjusting the section direction of the secondary image sequence to the section direction of the main image sequence according to the direction matrix;
and registering the secondary image sequence adjusted according to the direction matrix with the main image sequence to obtain the conversion matrix.
In one embodiment, the contouring the new image sequence to generate a three-dimensional contour includes:
performing contour delineation on the new image sequence to obtain contour pixel point coordinates;
and generating the three-dimensional contour according to the coordinates of the contour pixel points and the section direction of the secondary image sequence.
In one embodiment, the generating the three-dimensional contour according to the coordinates of the contour pixel points and the tangent plane direction of the secondary image sequence includes:
and calling a volume three-dimensional reconstruction algorithm according to the coordinates of the contour pixel points and the section direction of the secondary image sequence to generate the three-dimensional contour.
In one embodiment, after the generating the three-dimensional contour, the method includes:
and cutting the three-dimensional contour by adopting a preset medical image filter to obtain contour point sets in different section directions, wherein the different section directions are different from the section directions of the secondary image sequence.
In one embodiment, before converting each pixel position of the secondary image sequence to a pixel position in the primary image sequence to obtain a new image sequence, the method further includes:
registering the main image sequence to obtain each pixel position in the main image sequence, wherein each pixel position in the main image sequence is as follows: and coordinates of each pixel point in the main image sequence under a treatment plan coordinate system.
In a second aspect, an embodiment of the present invention further provides a contour tracing apparatus, where the apparatus includes:
the acquisition module is used for acquiring a main image sequence and a secondary image sequence of the target object; the main image sequence and the secondary image sequence are image sequences of different sections of the target object;
the processing module is used for adjusting each pixel position of the secondary image sequence to a corresponding pixel position in the main image sequence to obtain a new image sequence; wherein the pixel position in the main image sequence is known;
and the drawing module is used for carrying out contour drawing on the new image sequence to generate a three-dimensional contour.
In a third aspect, an embodiment of the present invention further provides a contour drawing device, including: a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor executes the computer program to perform the contouring method according to any of the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the storage medium stores a computer program, and the computer program is executed by a processor to perform the contouring method according to any one of the first aspects.
The invention provides a contour delineation method, a device, equipment and a storage medium, which can adjust the pixel position of a secondary image sequence in different section directions of a main image sequence to the pixel position corresponding to the main image sequence by acquiring the main image sequence and the secondary image sequence in two section directions of a target object and utilizing the known pixel position of the main image sequence of the target object, obtain a new image sequence corresponding to the pixel position of the main image sequence, and carry out contour delineation on the new image sequence to generate a three-dimensional contour corresponding to the new image sequence, so that a radiotherapy planning system is not limited by the image delineation of a single section any more, the delineation of the radiotherapy planning system aiming at medical images of different sections is realized, the information error caused by the image delineation of the single section is effectively avoided, and the information of the region surrounded by the delineation contour can be more comprehensively and more accurately displayed through the image delineation of different sections, the accurate positioning of the focus position is facilitated, so that the accuracy and the reliability of a subsequent treatment plan are effectively ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a schematic flow chart of a method for contouring according to the present invention;
FIG. 2 is a schematic flow chart illustrating a method for adjusting pixel positions in a silhouette according to the present invention;
FIG. 3 is a schematic flow chart of an image registration method in a silhouette sketch according to the present invention;
FIG. 4 is a schematic flow chart of a method for generating a three-dimensional contour in contour delineation according to the present invention;
FIG. 5 is a schematic flow chart of another contouring method provided in the present invention;
FIG. 6 is a schematic flow chart of another contouring method provided in the present invention;
FIG. 7 is a schematic view of a contouring device of the present invention;
fig. 8 is a schematic diagram of a contour drawing apparatus provided by the present invention.
An obtaining module 1000, configured to obtain a main image sequence and a secondary image sequence of a target object; the main image sequence and the secondary image sequence are different modules of the target object; 2000, a processing module; 3000, a sketching module; 10, a contour drawing device; 11, a processor; 12, a memory.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Before explaining the present invention in detail, an application scenario of the present invention will be described.
Before radiotherapy is performed on a target object, a corresponding Treatment plan needs to be designed for the target object through a radiotherapy Planning System (TPS), and the design of the radiotherapy plan needs to specify the lesion position of the target object, and the contour delineation of a medical image is a main technical means for lesion positioning. Therefore, before the radiotherapy is performed on the target object, a medical image acquired by the medical imaging device aiming at the target object can be acquired, and the medical image is sketched by adopting an image sketching algorithm preset in the radiotherapy planning system to obtain a corresponding three-dimensional contour.
However, in the conventional technology, the image delineation algorithm of the radiotherapy planning system only supports a medical image of a single section, that is, only the medical image of a single section can be delineated, but delineation of medical images of different sections cannot be achieved. Due to the limitation of the direction of the section, the information in the medical image of a single section has limitations, so that the contour obtained by the medical image delineation of a single section may be difficult to completely represent the position of the lesion, and therefore, the contour obtained by the medical image delineation of other sections needs to be combined to accurately position the position of the lesion.
The image sequence provided by each of the following embodiments of the present application is formed by a plurality of slice medical images of the same section, the medical imaging device for acquiring the image sequence may be, for example, a Computed Tomography (CT) device, and accordingly, the image sequence is a CT image sequence, the medical imaging device may also be an ultrasound image acquisition device, and accordingly, the image sequence is an ultrasound image sequence, of course, the image imaging device may also be other types of medical imaging devices to acquire other similar image sequences, which is not limited in this application.
For example, taking a CT scanning device as an example, if a craniocerebral CT image is acquired, since a shaft-like position medical image can better represent a focus of a craniocerebral part, the craniocerebral medical image of the shaft-like position needs to be taken by CT; if CT images of other parts need to be acquired, and the focus of other parts needs to be acquired by means of CT images of other sections, CT images of other sections need to be acquired by CT. The radiotherapy planning system only supports the registration of a coordinate system of one section at present, so that the radiotherapy planning support can only perform the delineation on the image of one section, and cannot directly delineate the images of different sections.
Therefore, the embodiments of the present application provide a method, an apparatus, a device, and a storage medium for contour delineation, which can implement image delineation of different sections even when a radiotherapy planning system only supports the registration of a coordinate system of one gantry.
The contouring method provided by the present application is explained below by way of various embodiments in conjunction with the accompanying drawings. The contour drawing device for executing the contour drawing method may be a computer device having a processing function, and may be a computer device such as a laptop computer or a desktop computer, which is arbitrarily equipped with a radiotherapy planning system. Fig. 1 is a schematic flow chart of a contour drawing method provided in the present invention, and as shown in fig. 1, the contour drawing method may include:
s110, a main image sequence and a secondary image sequence of the target object are obtained.
The main image sequence and the secondary image sequence are image sequences of different sections of the target object.
The target object may be an object to be treated or a preset phantom object, and the main image sequence and the secondary image sequence are image sequences of different sections acquired by the same medical imaging device for the same target object. The image sequences of different sections acquired by the same medical imaging device refer to medical image sequences of different sections acquired by the same medical imaging device for the same target object.
The slice plane of the medical image is generally divided into axial, coronal, and sagittal. For example, the primary image sequence may be an image sequence of the axis of the target object, and the secondary image sequence may be an image sequence of the crown or the vector of the target object.
And S120, adjusting each pixel position of the secondary image sequence to a corresponding pixel position in the main image sequence to obtain a new image sequence.
The positions of the pixels in the main image sequence are known, that is, the positions of the pixel points in the main image sequence in the radiotherapy planning coordinate system are known. In a possible implementation example, the main image sequence may be used as a fixed image sequence, the secondary image sequence may be used as a floating image sequence, and the pixel positions in the main image sequence are used as references to adjust the pixel positions in the secondary image sequence to the corresponding pixel positions in the main image sequence, so as to obtain a new image sequence. The section of the new image sequence is consistent with the section of the secondary image sequence, but the pixel position in the new image sequence corresponds to the pixel position of the primary image sequence, that is, the position of the pixel point in the new image sequence in the radiotherapy plan coordinate system is obtained through the adjustment of the pixel position, so that the positions of the same pixel point in the new image sequence and the primary image sequence in the radiotherapy plan coordinate system are kept consistent.
And S130, performing contour delineation on the new image sequence to generate a three-dimensional contour.
After obtaining the new image sequence by performing the above S120, the three-dimensional contour may be generated by contouring the new image sequence. In one possible example, a new image sequence may be displayed, and a new image sequence may be subjected to contour delineation according to a contour delineation operation input by a user for the new image sequence, and then a three-dimensional contour may be generated according to contour point coordinates obtained by the contour delineation. In another possible example, the new image sequence may not be displayed, an automatic delineation algorithm is directly adopted to profile the new image sequence, and then a three-dimensional contour is generated according to the contour point coordinates obtained by the profile delineation.
In the embodiment, the main image sequence and the secondary image sequence in two section directions of the target object are obtained, the pixel positions of the secondary image sequence in different section directions from the main image sequence are adjusted to the pixel positions corresponding to the main image sequence by utilizing the known pixel positions of the main image sequence of the target object, a new image sequence corresponding to the pixel positions of the main image sequence is obtained, and the new image sequence is subjected to contour delineation to generate a three-dimensional contour corresponding to the new image sequence, so that the radiotherapy planning system is not limited by the image delineation of a single section any more, the delineation of medical images of different sections by the radiotherapy planning system is realized, information errors caused by the image delineation of the single section are effectively avoided, and the information of a region surrounded by the delineation contour can be displayed more comprehensively and accurately through the image delineation of different sections, thereby being beneficial to realizing the accurate positioning of a lesion position, thereby effectively ensuring the accuracy and reliability of subsequent treatment plans.
On the basis of the contour delineation method provided in fig. 1, the present invention also provides a possible implementation manner for adjusting the pixel position in the contour delineation method. Fig. 2 is a schematic flow chart of a method for adjusting pixel positions in outline delineation according to the present invention. As shown in fig. 2, the adjusting each pixel position of the secondary image sequence to a corresponding pixel position in the primary image sequence in the method S120 to obtain a new image sequence may include:
s201, registering the main image sequence and the secondary image sequence to obtain a conversion matrix.
In a possible implementation example, a preset medical image registration algorithm may be adopted to register the primary image sequence and the secondary image sequence, so as to obtain a transformation matrix. The preset medical image registration algorithm may be, for example, a registration algorithm previously compiled by a user through an open source program platform. The conversion matrix is used for representing the incidence relation of pixel positions in the main image sequence and the secondary image sequence.
S202, according to the conversion matrix, adjusting each pixel position of the secondary image sequence to a corresponding pixel position in the primary image sequence to obtain a new image sequence.
Under the condition that a conversion matrix is obtained through image registration, the conversion matrix can be applied to the secondary image sequence to adjust each pixel position of the secondary image sequence to a corresponding pixel position in the primary image sequence, so that the section of the new image sequence is consistent with the section of the secondary image sequence, but the pixel position of the new image sequence corresponds to the pixel position of the primary image sequence, and therefore the coordinate positions of the same pixel point in the image sequences of different sections in the radiotherapy plan coordinate system are the same.
In this embodiment, a new image sequence is generated by using a transformation matrix obtained by registering the main image sequence and the secondary image sequence and the original secondary image sequence, so that the positions of the same pixel points in the new image sequence and the main image sequence in the radiotherapy planning coordinate system are kept consistent, and the radiotherapy planning system can directly perform image delineation on the new image sequence, so that the radiotherapy planning system is not limited to image delineation of a single section.
On the basis of the method for adjusting the pixel position in the contour delineation provided by fig. 2, the present invention also provides a possible implementation manner of the image registration method in the contour delineation. Fig. 3 is a schematic flow chart of an image registration method in outline delineation provided by the present invention. As shown in fig. 3, registering the primary image sequence and the secondary image sequence in S201 in the above method to obtain a transformation matrix may include:
s301, adjusting the section direction of the secondary image sequence to the section direction of the main image sequence according to the direction matrix.
Before image registration, the section direction of the secondary image sequence needs to be adjusted to the section direction of the primary image sequence, so that the section directions of the adjusted primary and secondary image sequences are consistent. In a possible implementation example, the sectional direction of the secondary image sequence may be adjusted to the sectional direction of the primary image sequence according to a preset direction matrix. The preset direction matrix is used for representing: the transformation relationship between the sectional direction of the secondary image sequence and the sectional direction of the primary image sequence may be determined in advance by the sectional direction of the primary image sequence and the secondary image sequence. For example, if the primary image sequence is an image sequence of a shaft-like position and the secondary image sequence is an image sequence of a crown-like position, the predetermined direction matrix may be a direction matrix between the shaft-like position and the crown-like position.
And S302, registering the secondary image sequence and the main image sequence after being adjusted according to the direction matrix to obtain a conversion matrix.
After the section direction of the secondary image sequence is adjusted, a preset medical image registration algorithm can be adopted to perform image registration on the secondary image sequence and the main image sequence which are obtained after the adjustment according to the direction matrix, so that a conversion matrix is obtained.
In this embodiment, the sectional direction of the secondary image sequence is adjusted to be consistent with the primary image sequence before image registration, so that the subsequent registration can be directly performed by using two image sequences in the same sectional direction during medical image registration, thereby reducing errors during image registration and enabling the registration result to be more accurate.
On the basis of the contour delineation method provided in fig. 1, the present invention also provides a possible implementation manner of a method for generating a three-dimensional contour in contour delineation. Fig. 4 is a schematic flow chart of a method for generating a three-dimensional contour in contour delineation according to the present invention. As shown in fig. 4, the contouring the new image sequence to generate the three-dimensional contour in the method S130 may include:
s410, performing contour delineation on the new image sequence to obtain the coordinates of the contour pixel points.
Contours are a feature commonly used in medical images that contain information about the overall shape of a body tissue. In order to focus on only the tissue of the focus region in the subsequent radiotherapy and avoid the interference of irrelevant human tissue information around the focus, the focus in a new image sequence needs to be subjected to contour delineation to obtain the coordinates of contour pixel points of the corresponding focus, so that the focus is positioned. These contour pixels constitute the entire contour of the lesion. Optionally, for contour delineation in the medical sectional image, two modes of manual delineation and automatic delineation are available. For automatic delineation, the automatic delineation can be directly carried out by utilizing a preset medical delineation algorithm in a radiotherapy technical system. In one possible example, a new image sequence may be displayed, outlined according to a contouring operation input by a user for the new image sequence, and then outlined according to the obtained contour point coordinates. In another possible example, the new image sequence may not be displayed, and an automatic delineation algorithm is directly adopted to perform contour delineation on the new image sequence, and then the coordinates of the contour points obtained by contour delineation are obtained.
And S420, generating a three-dimensional contour according to the coordinates of the contour pixel points and the section direction of the secondary image sequence.
The new image sequence is generated on the basis of the secondary image sequence, for which the direction of the secondary image sequence is its sharpest image direction, and the cut plane of the new image sequence coincides with the cut plane of the secondary image sequence. After the contour is sketched, the contour pixel point coordinates of the focus in the new image sequence are obtained, and a three-dimensional contour created according to the two-dimensional contour of the focus can be generated according to the contour pixel point coordinates and the section direction of the secondary image sequence.
In this embodiment, since the positions of the same pixel point in the new image sequence and the main image sequence in the radiotherapy plan coordinate system are kept consistent, the new image sequence can be directly subjected to contour delineation to obtain the contour pixel point coordinates, and then the three-dimensional contour can be generated by depending on the section direction of the secondary image sequence, so that the setting of the treatment target point can be conveniently carried out according to the three-dimensional contour of the focus in the radiotherapy plan.
On the basis of the method for generating a three-dimensional contour provided in the foregoing embodiment, in order to better explain generation of a three-dimensional contour, in step S420, the generating a three-dimensional contour according to coordinates of a contour pixel point and a tangent plane direction of a secondary image sequence includes:
s401, calling a volume three-dimensional reconstruction algorithm according to the coordinates of the contour pixel points and the section direction of the secondary image sequence to generate a three-dimensional contour.
Generating the three-dimensional contour is a three-dimensional volume reconstruction method, and can be realized by calling a volume three-dimensional reconstruction algorithm. In one possible implementation, a voxel filling algorithm may be used as the three-dimensional reconstruction algorithm, and the voxels are basic units constituting the three-dimensional volume data. Specifically, the three-dimensional contour of the lesion may be first gridded using a preset gridding software. Meanwhile, the size of the divided grids can be correspondingly adjusted according to needs so as to meet different requirements on precision and speed under different conditions. In this embodiment, the contour pixel coordinates are the basic units that constitute the three-dimensional volume data. The contour pixel point coordinates obtained according to the contour delineation can be filled into grids one by one according to the section direction of the secondary image sequence, and for grids which are not filled, the filling can be carried out according to the relation between the points of the grids and the contour pixel point coordinates. For example, when the pixel point to be filled in the grid is located inside the contour pixel point coordinate, the pixel point is filled with 1, and for the point outside the contour pixel point coordinate, the pixel point is filled with 0. When all the grids are filled, the information of the three-dimensional contour of the lesion is generated.
In this embodiment, the original two-dimensional contour point set of the lesion is filled into the three-dimensional contour by using the three-dimensional volume reconstruction algorithm according to the coordinates of the contour pixel points and the section direction of the secondary image sequence, so that the information of the lesion in the radiation technology system is richer, and the lesion is accurately positioned.
On the basis of the contour tracing method provided by the above fig. 1, the present invention also provides another possible implementation manner of the contour tracing method. Fig. 5 is a schematic flow chart of another contouring method provided in the present invention. As shown in fig. 5, after generating the three-dimensional contour, step S130 of the method includes:
and S140, cutting the three-dimensional contour by adopting a preset medical image filter to obtain contour point sets in different section directions.
Wherein the different section direction is a section direction different from the section direction of the sub-image sequence.
In order to realize accurate positioning of the focus by using the three-dimensional contour of the focus, a preset medical image filter can be adopted to cut the three-dimensional contour to obtain contour point sets in different section directions, wherein the different section directions are different from the section directions of the secondary image sequence. Alternatively, an ITK (internal Registration and Registration Toolkit) image filter may be used to cut out a set of contour points in the three-dimensional contour, which are different from the direction of the section of the sequence of secondary images, to obtain contour information in different section directions. For example, when the secondary image sequence is a coronal image sequence, an ITK may be used to cut a contour point set of an axial position and a contour point set of a sagittal position of the lesion, and a contour point set at any angle may also be cut. The focal position can be accurately located by combining the contour point set of the axial position and the contour point set of the sagittal position.
In this embodiment, the three-dimensional contour is cut to obtain contour point sets in different directions, so that the coronal or sagittal images can be sketched to obtain two other contours in different directions, which facilitates accurate positioning of the lesion position in the radiation planning system according to the contour information of the medical images of other slices.
On the basis of the contour tracing method provided by the above fig. 1, the present invention also provides another possible implementation manner of the contour tracing method. Fig. 6 is a schematic flow chart of another contouring method provided in the present invention. As shown in fig. 6, in the above method, before adjusting each pixel position of the secondary image sequence to a corresponding pixel position in the primary image sequence in S120, the method includes:
and S115, registering the main image sequence to obtain the positions of all pixels in the main image sequence.
The positions of the pixels in the main image sequence are as follows: and coordinates of each pixel point in the main image sequence under a treatment plan coordinate system.
Currently, only one section image coordinate system is registered in a radiotherapy planning system, so the main image sequence needs to be registered in the radiotherapy planning coordinate system before contour delineation. For example, the main image sequence is an axis image sequence, and since the axis image is registered in the radiotherapy plan coordinate system, the pixel position in the main image sequence, that is, the coordinate of each pixel point in the main image sequence in the radiotherapy plan coordinate system, can be obtained.
In this embodiment, the registration of the main image sequence is completed to obtain the position of each pixel point in the main image sequence in the radiotherapy plan coordinate system, so that the secondary image sequence can adjust the pixel position according to the position of the main image sequence in the radiotherapy plan coordinate system, thereby facilitating the subsequent contour delineation of image sequences in different directions from the main image sequence in the radiotherapy plan system and realizing the positioning of the focus.
Fig. 7 is a schematic view of a contour drawing device provided in the present invention, as shown in fig. 7, the contour drawing device includes:
an obtaining module 1000, configured to obtain a main image sequence and a secondary image sequence of a target object; the main image sequence and the secondary image sequence are image sequences of different sections of the target object;
the processing module 2000 is configured to adjust each pixel position of the secondary image sequence to a corresponding pixel position in the primary image sequence to obtain a new image sequence; wherein the pixel position in the main image sequence is known;
the delineation module 3000 is configured to perform contour delineation on a new image sequence to generate a three-dimensional contour.
In one embodiment, the processing module 2000 is further configured to register the primary image sequence with the secondary image sequence, so as to obtain a transformation matrix; and adjusting the positions of the pixels of the secondary image sequence to the positions of the corresponding pixels in the primary image sequence according to the conversion matrix to obtain a new image sequence.
In one embodiment, the processing module 2000 is further configured to adjust the cross-sectional direction of the secondary image sequence to the cross-sectional direction of the primary image sequence according to the direction matrix; and registering the secondary image sequence and the main image sequence after the adjustment according to the direction matrix to obtain a conversion matrix.
In one embodiment, the delineation module 3000 is further configured to perform contour delineation on the new image sequence to obtain coordinates of contour pixel points; and generating a three-dimensional contour according to the coordinates of the contour pixel points and the section direction of the secondary image sequence.
In one embodiment, the delineation module 3000 is further configured to invoke a volumetric three-dimensional reconstruction algorithm according to the coordinates of the contour pixel points and the tangent plane direction of the secondary image sequence, so as to generate a three-dimensional contour.
In one embodiment, the contour tracing apparatus further includes a cutting module, configured to cut the three-dimensional contour by using a preset medical image filter to obtain contour point sets in different tangent plane directions, where the different tangent plane directions are tangent plane directions different from the tangent plane direction of the secondary image sequence.
In one embodiment, the contour drawing apparatus further includes a registration module, configured to register the main image sequence to obtain pixel positions in the main image sequence, where the pixel positions in the main image sequence are: and coordinates of each pixel point in the main image sequence under a treatment plan coordinate system.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, the modules may be integrated together and implemented in the form of a System-on-a-Chip (SOC).
Fig. 8 is a schematic diagram of an outline delineation apparatus provided in the present invention, which may be a computing apparatus or a server with a computing processing function.
The contouring device 10 comprises: a processor 11 and a memory 12, wherein the memory 12 stores a computer program executable by the processor 11, and the processor 11 executes the computer program to perform the above method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the contouring method in the above-mentioned embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method of contouring, said method comprising:
acquiring a main image sequence and a secondary image sequence of a target object; the main image sequence and the secondary image sequence are image sequences of different sections of the target object;
adjusting each pixel position of the secondary image sequence to a corresponding pixel position in the primary image sequence to obtain a new image sequence; wherein the pixel position in the main image sequence is known;
and carrying out contour delineation on the new image sequence to generate a three-dimensional contour.
2. The method according to claim 1, wherein adjusting each pixel position of the sequence of secondary images to a corresponding pixel position in the sequence of primary images results in a new sequence of images comprising:
registering the main image sequence and the secondary image sequence to obtain a conversion matrix;
and adjusting the positions of the pixels of the secondary image sequence to the positions of the corresponding pixels in the primary image sequence according to the conversion matrix to obtain the new image sequence.
3. The method according to claim 2, wherein registering the primary image sequence with the secondary image sequence results in a transformation matrix comprising:
adjusting the section direction of the secondary image sequence to the section direction of the main image sequence according to the direction matrix;
and registering the secondary image sequence adjusted according to the direction matrix with the main image sequence to obtain the conversion matrix.
4. The method of claim 1, wherein contouring the sequence of new images to generate a three-dimensional contour comprises:
performing contour delineation on the new image sequence to obtain contour pixel point coordinates;
and generating the three-dimensional contour according to the coordinates of the contour pixel points and the section direction of the secondary image sequence.
5. The method of claim 4, wherein generating the three-dimensional contour according to the coordinates of the contour pixel points and the tangential direction of the secondary image sequence comprises:
and calling a volume three-dimensional reconstruction algorithm according to the coordinates of the contour pixel points and the section direction of the secondary image sequence to generate the three-dimensional contour.
6. The method of claim 1, wherein after the generating the three-dimensional contour, comprising:
and cutting the three-dimensional contour by adopting a preset medical image filter to obtain contour point sets in different section directions, wherein the different section directions are different from the section directions of the secondary image sequence.
7. The method according to claim 1, wherein before converting each pixel position of the sequence of secondary images to a pixel position in the sequence of primary images to obtain a new sequence of images, the method further comprises:
registering the main image sequence to obtain each pixel position in the main image sequence, wherein each pixel position in the main image sequence is as follows: and coordinates of each pixel point in the main image sequence under a treatment plan coordinate system.
8. A profile delineating device, the device comprising:
the acquisition module is used for acquiring a main image sequence and a secondary image sequence of the target object; the main image sequence and the secondary image sequence are image sequences of different sections of the target object;
the processing module is used for adjusting each pixel position of the secondary image sequence to a corresponding pixel position in the main image sequence to obtain a new image sequence; wherein the pixel position in the main image sequence is known;
and the drawing module is used for carrying out contour drawing on the new image sequence to generate a three-dimensional contour.
9. A profile delineating device, comprising: a processor and a memory, the memory storing a computer program executable by the processor, the processor executing the computer program to perform the contouring method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the contouring method as claimed in any one of claims 1-7.
CN202111647090.XA 2021-12-30 2021-12-30 Outline delineation method, device, equipment and storage medium Pending CN114299096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111647090.XA CN114299096A (en) 2021-12-30 2021-12-30 Outline delineation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111647090.XA CN114299096A (en) 2021-12-30 2021-12-30 Outline delineation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114299096A true CN114299096A (en) 2022-04-08

Family

ID=80971756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111647090.XA Pending CN114299096A (en) 2021-12-30 2021-12-30 Outline delineation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114299096A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117038019A (en) * 2023-10-09 2023-11-10 四川省肿瘤医院 Focal contour drawing method and focal contour drawing system thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117038019A (en) * 2023-10-09 2023-11-10 四川省肿瘤医院 Focal contour drawing method and focal contour drawing system thereof
CN117038019B (en) * 2023-10-09 2023-12-19 四川省肿瘤医院 Focal contour drawing method and focal contour drawing system thereof

Similar Documents

Publication Publication Date Title
US10867436B2 (en) Systems and methods for reconstruction of 3D anatomical images from 2D anatomical images
Huang et al. Bezier interpolation for 3-D freehand ultrasound
US9495725B2 (en) Method and apparatus for medical image registration
WO2018119766A1 (en) Multi-modal image processing system and method
US9471987B2 (en) Automatic planning for medical imaging
CN109060849B (en) Method, system and device for determining radiation dose modulation line
US9498645B2 (en) Dose deformation error calculation method and system
US10614598B2 (en) Systems and methods for generating 2D projection from previously generated 3D dataset
CN109124666A (en) A kind of mthods, systems and devices of determining dose of radiation modulation lines
CN106600619B (en) Data processing method and device
CN112001979A (en) Motion artifact processing method, system, readable storage medium and device
CN114299096A (en) Outline delineation method, device, equipment and storage medium
CN109255806B (en) Two-dimensional and three-dimensional image registration method, system, storage medium and registration device for medical images
Kyung et al. Perspective projection-based 3d CT reconstruction from biplanar X-rays
CN113888698A (en) Dynamic three-dimensional reconstruction method and system for hepatectomy
CN109077746A (en) A kind of mthods, systems and devices of determining dose of radiation modulation lines
CN108492299B (en) Cutting method of three-dimensional image
CN116168097A (en) Method, device, equipment and medium for constructing CBCT sketching model and sketching CBCT image
CN111062998B (en) Image reconstruction method, device, CT system and storage medium
US20220215601A1 (en) Image Reconstruction by Modeling Image Formation as One or More Neural Networks
JP7048760B2 (en) Area modifiers, methods and programs
CN116524118B (en) Multi-mode rendering method based on three-dimensional tooth CBCT data and oral cavity scanning model
CN112766258B (en) Image segmentation method, system, electronic device and computer readable storage medium
KR101613391B1 (en) Method and system for removing scatter using plan CT images
CN117078612B (en) CBCT image-based rapid three-dimensional dose verification method and device

Legal Events

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