WO2022011984A1 - Image processing method and apparatus, electronic device, storage medium, and program product - Google Patents

Image processing method and apparatus, electronic device, storage medium, and program product Download PDF

Info

Publication number
WO2022011984A1
WO2022011984A1 PCT/CN2020/140330 CN2020140330W WO2022011984A1 WO 2022011984 A1 WO2022011984 A1 WO 2022011984A1 CN 2020140330 W CN2020140330 W CN 2020140330W WO 2022011984 A1 WO2022011984 A1 WO 2022011984A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
segmentation result
neural network
deformation field
target object
Prior art date
Application number
PCT/CN2020/140330
Other languages
French (fr)
Chinese (zh)
Inventor
张宏
张靖阳
夏清
Original Assignee
上海商汤智能科技有限公司
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 上海商汤智能科技有限公司 filed Critical 上海商汤智能科技有限公司
Priority to JP2021578004A priority Critical patent/JP2022543531A/en
Priority to KR1020217043238A priority patent/KR20220016212A/en
Publication of WO2022011984A1 publication Critical patent/WO2022011984A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10072Tomographic images
    • G06T2207/10081Computed x-ray tomography [CT]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10116X-ray image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30101Blood vessel; Artery; Vein; Vascular

Definitions

  • the present disclosure is based on the Chinese patent application with the application number of 202010686919.6 and the filing date of July 16, 2020, and claims the priority of the Chinese patent application.
  • the entire content of the Chinese patent application is hereby incorporated into the present disclosure in its entirety. .
  • the present disclosure relates to the technical field of image processing, and in particular, to an image processing method and apparatus, an electronic device, a storage medium, and a program product.
  • Coronary heart disease has become one of the diseases with the highest mortality in the world, and the common treatment option is percutaneous coronary intervention.
  • Percutaneous coronary intervention is the use of a catheter to dilate the narrowed part of the blood vessel under the guidance of intraoperative X-rays to achieve the purpose of treatment.
  • the blood vessels displayed in the X-ray image of the coronary artery will become invisible as the contrast agent dissipates, which brings great challenges to the doctor, and the success rate of the operation also depends on the actual experience of the doctor .
  • CTA Computed tomography angiography
  • the embodiments of the present disclosure provide an image processing method and apparatus, an electronic device, a storage medium, and a program product.
  • an image processing method including:
  • the positional transformation relationship of each pixel of the target object between the first image and the second image can be determined.
  • the image information of the target object between the first image and the second image can be fused into the same coordinate system, so that the image information of the target object contained in the first image and the second image can be used at the same time.
  • the subsequent operations that need to be performed provide comprehensive guidance; moreover, since the position transformation relationship is the transformation relationship corresponding to each pixel point of the target object, the information fusion of the target object between the first image and the second image can have a higher level. accuracy.
  • the obtaining the deformation field between the first image and the second image according to the first segmentation result and the second segmentation result includes: A segmentation result and the second segmentation result are input to the first neural network to obtain the deformation fields of the first image and the second image.
  • the neural network can be used to realize the end-to-end deformation field prediction.
  • the acquisition time of the deformation field can be greatly shortened, the efficiency of the deformation field acquisition can be improved, and the whole process can be effectively improved.
  • the efficiency of the image processing process and the subsequent image registration process; on the other hand, the deformation field obtained by the neural network can include the positional transformation relationship of each pixel between the first image and the second image, which can maximize the deformation field.
  • the degree of freedom improves the precision and accuracy of the deformation field, thereby improving the accuracy of the entire image processing process and the subsequent image registration process.
  • the first image includes a three-dimensional image
  • the second image includes a two-dimensional image
  • the first segmentation result and the second segmentation result are used to obtain the first segmentation result.
  • the deformation field between the image and the second image includes: converting the first segmentation result into a two-dimensional third segmentation result according to the collection information of the second image; converting the third segmentation result with the The second segmentation result is input to the first neural network to obtain the deformation field between the first image and the second image.
  • the collection information of the two-dimensional second image can be used to project the first segmentation result of the first image to a two-dimensional plane, so that the first image and the second image can be obtained according to the two two-dimensional segmentation results. Therefore, the obtained deformation field can more accurately reflect the transformation relationship between the first image and the second image of the target object, and improve the accuracy and effect of image processing.
  • the method further includes: registering the first image and the second image according to the deformation field to obtain a registration result.
  • the obtained deformation field can be used to flexibly integrate the target object information contained in the first image and the target object information contained in the second image into one coordinate system, so that the target object-based Operation provides comprehensive and effective guidance.
  • the method further includes: obtaining an error loss of the first neural network according to the deformation field; and training the first neural network according to the error loss.
  • the transformation relationship between the two input images of the first neural network can be directly used to
  • the first neural network is trained without additional training images or labeled data, which reduces the difficulty and cost of training while ensuring the training accuracy of the first neural network.
  • the obtaining the error loss of the first neural network according to the deformation field includes: registering the first segmentation result according to the deformation field to obtain a registration After the first segmentation result, the error between the registered first segmentation result and the second segmentation result is used as the error loss of the first neural network; or, according to the deformation field, for all The second segmentation result is registered to obtain the registered second segmentation result, and the error between the registered second segmentation result and the first segmentation result is used as the error of the first neural network.
  • the first segmentation result is registered to obtain the registered first segmentation result, and the error between the registered first segmentation result and the second image is calculated As the error loss of the first neural network; or, according to the deformation field, the second segmentation result is registered to obtain the registered second segmentation result, and the registered second segmentation result is obtained.
  • the error between the result and the first image serves as the error loss for the first neural network.
  • an appropriate method can be flexibly selected to determine the error loss of the first neural network according to the actual situation, thereby improving the flexibility and convenience of training the first neural network.
  • the obtaining the first segmentation result of the target object in the first image includes: inputting the first image into a second neural network to obtain the target object in the first image The first segmentation result of the first segmentation result of the target object, wherein the first neural network is further configured to obtain the difference between the first image and the second image according to the first segmentation result and the second segmentation result deformation field.
  • the target object in the first image is segmented through the second neural network or the first neural network to obtain the first segmentation result, which can effectively improve the obtaining efficiency of the first segmentation result.
  • the second neural network or the first neural network can be obtained by training the first training image containing the target object annotation, the first segmentation result obtained based on the second neural network or the first neural network can have a higher Accurate segmentation effect.
  • the target object in the first image is segmented through the first neural network to obtain a first segmentation result, and the deformation field between the first image and the second image is further obtained through the first neural network.
  • the acquiring the second segmentation result of the target object in the second image includes: inputting the second image into a third neural network to obtain the target object in the second image The second segmentation result of the second segmentation result of the target object, wherein the first neural network is further configured to obtain the difference between the first image and the second image according to the first segmentation result and the second segmentation result deformation field.
  • the target object in the second image is segmented through the third neural network or the first neural network to obtain the second segmentation result, which can effectively improve the obtaining efficiency of the second segmentation result.
  • the third neural network or the first neural network can be obtained by training the second training image containing the target object annotation, the second segmentation result obtained based on the third neural network or the first neural network can have higher Accurate segmentation effect.
  • the target object in the second image is segmented through the first neural network to obtain a second segmentation result, and the deformation field between the first image and the second image is obtained through the first neural network.
  • the accuracy of the obtained deformation field can be further improved, and the acquisition process from the second image end to the deformation field end can be directly realized through the first neural network, and can also be obtained through the first neural network.
  • the first neural network directly realizes the acquisition process from the two image ends of the first image and the second image to the deformation field end.
  • the first image includes an electronic computed tomography angiography CTA image
  • the second image includes an X-ray image
  • the target object includes a coronary artery object.
  • the image processing method proposed in the embodiment of the present disclosure can effectively predict the deformation field between the CTA image and the X-ray image , thereby unifying the two modal data of coronary surgery into the same coordinate system, compensating for coronary blood vessels that cannot be seen on X-ray images during coronary surgery, providing better guidance for coronary surgery, and reducing the need for doctors.
  • the complexity of the operation increases the success rate of the operation.
  • an image processing apparatus including:
  • the first segmentation module is configured to obtain the first segmentation result of the target object in the first image
  • the second segmentation module is configured to obtain the second segmentation result of the target object in the second image
  • the deformation field acquisition module is configured to The first segmentation result and the second segmentation result obtain a deformation field between the first image and the second image, wherein the deformation field includes the target object between the first image and the second image.
  • an electronic device comprising: a processor; a memory configured to store instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory , to perform the above image processing method.
  • a computer-readable storage medium having computer program instructions stored thereon, the computer program instructions implementing the above-mentioned image processing method when executed by a processor.
  • a computer program product stores one or more program instructions, and the program instructions are loaded and executed by a processor to implement the above-mentioned image processing method.
  • the first segmentation result and the second segmentation result of the target object in the first image and the second image are obtained respectively, so as to obtain the first segmentation result and the second segmentation result according to the first segmentation result and the second segmentation result. and the deformation field between the second image.
  • the positional transformation relationship of each pixel of the target object between the first image and the second image can be determined, and the image information of the target object between the first image and the second image can be fused by using the positional transformation relationship to the same coordinate system, so that the image information of the target object contained in the first image and the second image can be used at the same time to provide comprehensive guidance for the subsequent operations of the target object; Therefore, the information fusion of the target object between the first image and the second image can have higher precision.
  • FIG. 1 shows a flowchart of an image processing method according to an embodiment of the present disclosure.
  • FIG. 2 shows a schematic diagram of a training process of a registration neural network in an application example according to the present disclosure.
  • FIG. 3 shows a block diagram of an image processing apparatus according to an embodiment of the present disclosure.
  • FIG. 4 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 5 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 1 shows a flowchart of an image processing method according to an embodiment of the present disclosure.
  • the method may be applied to an image processing apparatus, and the image processing apparatus may be a terminal device, a server, or other processing devices.
  • the terminal device may be user equipment (User Equipment, UE), mobile device, user terminal, terminal, cellular phone, cordless phone, Personal Digital Assistant (PDA), handheld device, computing device, in-vehicle device, available wearable devices, etc.
  • UE user equipment
  • PDA Personal Digital Assistant
  • the image processing method may be implemented by the processor calling computer-readable instructions stored in the memory.
  • the image processing method may include:
  • Step S11 obtaining a first segmentation result of the target object in the first image.
  • Step S12 acquiring a second segmentation result of the target object in the second image.
  • Step S13 obtaining a deformation field between the first image and the second image according to the first segmentation result and the second segmentation result, wherein the deformation field includes each pixel of the target object between the first image and the second image position transformation relationship.
  • the target object can be any object that needs to be registered between the two images. Its implementation form can be flexibly determined according to the actual application scenario of the image processing method proposed in the embodiments of the present disclosure.
  • the image processing method proposed by the embodiments of the present disclosure can be flexibly applied to various scenarios according to actual requirements.
  • the method proposed by the embodiments of the present disclosure may be applied in a surgical procedure, for example, may be used to register an image captured before surgery and an image captured during surgery, Or register the images taken before the operation and the images taken after the operation, etc.
  • the realization form of the target object can be flexibly changed according to the different objects of the operation.
  • the method proposed by the embodiments of the present disclosure may be applied to coronary artery surgery, such as percutaneous coronary intervention, etc.
  • the target object may be a coronary artery object or the like.
  • the method proposed by the embodiments of the present disclosure can also be applied to other scenarios, for example, can be applied to the process of diagnosing a patient's disease, for example, can be used to diagnose a patient for a certain period of time
  • the realization form of the target object can be flexibly changed according to the different positions of the monitored lesions.
  • the method proposed by the embodiments of the present disclosure may be applied to monitor the condition of the patient's heart, in this case, the target object may be a heart object or the like.
  • the subsequent disclosed embodiments are described by taking the image processing method used for the operation of the coronary artery as an example, and the target object is a coronary artery object. Flexible expansion is performed according to the subsequent disclosed embodiments, and will not be expanded one by one.
  • the realization forms of the first image and the second image can also be flexibly determined according to the application scenario of the image processing method.
  • the second image may be an image captured at different time periods before, during, or after coronary artery surgery, and the actual selection is not limited to the following disclosed embodiments.
  • the first image may be an image captured before surgery
  • the second image may be an image captured during surgery.
  • the first image and the second image may also be images with different attributes or types, for example, the first image may be a three-dimensional image, the second image may be a two-dimensional image, and the like.
  • the first image can include a three-dimensional CTA image captured before surgery
  • the second image may include an X-ray image taken during the operation
  • the target object may include a coronary artery object.
  • the image processing method proposed in the embodiment of the present disclosure can effectively predict the deformation field between the CTA image and the X-ray image , thereby unifying the two modal data of coronary surgery into the same coordinate system, compensating for coronary blood vessels that cannot be seen on X-ray images during coronary surgery, providing better guidance for coronary surgery, and reducing the need for doctors.
  • the complexity of the operation increases the success rate of the operation.
  • the second image may include multiple X-ray images, that is, the registration between the CTA image and the multiple X-ray images may be implemented.
  • the multiple X-ray images may be multiple X-ray images captured in real time of a coronary artery object during coronary surgery, by matching the CTA images with the multiple X-ray images captured during the surgery. It can realize real-time image registration in coronary surgery, so as to better display the position of blood vessels in real time during the operation, and provide real-time and accurate guidance and assistance to the doctor during the operation.
  • the first segmentation result of the target object can be obtained from the first image and the first segmentation result of the target object can be obtained from the second image through step S11 and step S12 respectively.
  • the numbers such as "first" and "second" in the first segmentation result and the second segmentation result are only used to distinguish the segmentation results obtained from different images, and do not limit the realization form of the segmentation results.
  • the realization forms of the first segmentation result and the second segmentation result are flexibly determined by the realization forms of the corresponding segmented images and the target object.
  • the implementation form of step S11 and step S12 is not limited. For details, please refer to the following disclosed embodiments, which will not be expanded here. It should be noted that, in the embodiment of the present disclosure, the implementation order of step S11 and step S12 is not limited, and step S11 and step S12 may be performed sequentially in a certain order according to requirements, or may be performed simultaneously.
  • the deformation field between the first image and the second image can be determined based on the first segmentation result and the second segmentation result through step S13, wherein the deformation field can reflect the The position transformation relationship of each pixel point between the first image and the second image.
  • the implementation form of step S13 can be flexibly selected according to the actual situation. For details, please refer to the subsequent disclosed embodiments, which will not be expanded here.
  • the first segmentation result and the second segmentation result of the target object in the first image and the second image are obtained respectively, so as to obtain the first segmentation result and the second segmentation result according to the first segmentation result and the second segmentation result. and the deformation field between the second image.
  • the positional transformation relationship of each pixel of the target object between the first image and the second image can be determined, and the image information of the target object between the first image and the second image can be fused by using the positional transformation relationship to the same coordinate system, so that the image information of the target object contained in the first image and the second image can be used at the same time to provide comprehensive guidance for the subsequent operations of the target object; Therefore, the information fusion of the target object between the first image and the second image can have higher precision.
  • the manner of obtaining the first segmentation result of the target object from the first image is not limited.
  • the first segmentation result may be obtained from the first image by applying any blood vessel segmentation algorithm in the image.
  • step S11 may include:
  • the first image is input to the second neural network to obtain a first segmentation result of the target object in the first image, wherein the second neural network is trained by the first training image containing the target object annotation.
  • the first image is input into the first neural network to obtain the first segmentation result of the target object in the first image, wherein the first neural network is also used to obtain the first image and the second segmentation result according to the first segmentation result and the second segmentation result.
  • the deformation field between the two images is input into the first neural network to obtain the first segmentation result of the target object in the first image, wherein the first neural network is also used to obtain the first image and the second segmentation result according to the first segmentation result and the second segmentation result.
  • the target object in the first image can be segmented through the second neural network having the segmentation function, thereby obtaining the first segmentation result.
  • the implementation form of the second neural network can be flexibly determined according to the actual situation, and is not limited to the following disclosed embodiments.
  • a convolutional neural network U-Net
  • the first training image for training the second neural network can also be flexibly selected according to the actual situation of the first image.
  • the first training image may include Pixel-by-pixel vessel annotated CTA images.
  • the target object in the first image can be segmented through the first neural network with the segmentation function, thereby obtaining the first segmentation result.
  • the first neural network can not only be used to segment the target object in the first image, but also has a deformation field acquisition function, that is, it can be used to obtain a deformation field according to the first segmentation result and the first Divide the result into two to obtain the deformation field between the first image and the second image.
  • the first neural network may sequentially obtain the first segmentation result of the first image by inputting the first image and the second segmentation result, and obtain the first image according to the first segmentation result and the second segmentation result and the deformation field between the second image.
  • the first neural network can be used to segment the target object in the first image and obtain the deformation field between the first image and the second image
  • the first neural network can be the same as the above-mentioned second neural network
  • the training is performed by the first training image containing the target object annotation
  • the training can also be performed according to the first segmentation result and the second segmentation result, wherein the first segmentation result can be the target object annotation in the first training image. Therefore, in a possible implementation manner, the first neural network may be trained by using the first training image and the second segmentation result marked with the target object.
  • the implementation form and training process of the first neural network can also be flexibly selected according to the actual situation.
  • the target object in the first image is segmented by the second neural network or the first neural network to obtain the first segmentation result, which can effectively improve the obtaining efficiency of the first segmentation result.
  • the second neural network or the first neural network It can be obtained by training on the first training image containing the target object label. Therefore, the first segmentation result obtained based on the second neural network or the first neural network can have a higher-precision segmentation effect.
  • the target object in the first image is segmented through the first neural network to obtain a first segmentation result
  • the deformation field between the first image and the second image is further obtained through the first neural network
  • step S12 may include:
  • the second image is input to the third neural network to obtain a second segmentation result of the target object in the second image, wherein the third neural network is trained by the second training image containing the target object annotation.
  • the first neural network Inputting the second image into the first neural network to obtain a second segmentation result of the target object in the second image, wherein the first neural network is also used to obtain the first image according to the first segmentation result and the second segmentation result and the deformation field between the second image.
  • the target object in the second image may be segmented through a third neural network with a segmentation function, thereby obtaining a second segmentation result.
  • the implementation form of the third neural network can be flexibly determined according to the actual situation, and is not limited to the following disclosed embodiments.
  • the U-Net network can also be used as the third neural network.
  • the second training image for training the third neural network can also be flexibly selected according to the actual situation of the second image.
  • the first training image can be X-ray images containing pixel-by-pixel vessel annotations.
  • the target object in the second image can be segmented by using the first neural network with segmentation function to obtain the second segmentation result.
  • the first neural network can not only be used to segment the target object in the second image, but also has a deformation field acquisition function, that is, it can be used to obtain a deformation field according to the first segmentation result and the third Divide the result into two to obtain the deformation field between the first image and the second image.
  • the first neural network can sequentially obtain the second segmentation result of the second image by inputting the second image and the first segmentation result, and obtain the first image according to the second segmentation result and the first segmentation result and the deformation field between the second image.
  • the first neural network may also be used to segment the target object in the first image, so in a possible implementation manner, the first neural network may also include segmenting the first image , segmenting the second image and obtaining the deformation field.
  • the first neural network can obtain the first segmentation result and the first segmentation result of the first image by inputting the first image and the second image, respectively.
  • the second segmentation result of the two images, and the deformation field between the first image and the second image is obtained according to the first segmentation result and the second segmentation result.
  • the first neural network can be used to segment the target object in the second image and obtain the deformation field between the first image and the second image
  • the first neural network can be similar to the third neural network described above.
  • training can be performed on the second training image containing the target object annotation, and training can also be performed according to the first segmentation result and the second segmentation result, wherein the second segmentation result can be the target object annotation in the second training image. Therefore, In a possible implementation manner, the first neural network can be trained by using the second training image marked with the target object and the first segmentation result.
  • the first neural network can both perform training on the first image
  • the first neural network can be simultaneously trained by the first training image containing the target object annotation and the second training image containing the target object annotation.
  • the implementation form and training process of the first neural network can also be flexibly selected according to the actual situation.
  • the labels such as “first”, “second” and “third” in the first neural network, the second neural network, and the third neural network in the embodiments of the present disclosure are only used to distinguish different The functional neural network does not limit the implementation form of the neural network. In the embodiments of the present disclosure, the implementation forms of the first neural network, the second neural network, and the third neural network may be the same or different.
  • the target object in the second image is segmented by the third neural network or the first neural network to obtain the second segmentation result, which can effectively improve the obtaining efficiency of the second segmentation result.
  • the third neural network or the first neural network It can be obtained by training on the second training image containing the target object label. Therefore, the second segmentation result obtained based on the third neural network or the first neural network can have a higher-precision segmentation effect.
  • the target object in the second image is segmented through the first neural network to obtain a second segmentation result
  • the deformation field between the first image and the second image is further obtained through the first neural network , through the above process, on the basis of improving the segmentation effect of the second segmentation result, the accuracy of the obtained deformation field can be further improved, and the acquisition process from the second image end to the deformation field end can be directly realized through the first neural network, and also The acquisition process from the two image ends, the first image and the second image, to the deformation field end is directly realized through the first neural network.
  • step S13 may include:
  • the first segmentation result and the second segmentation result are input into the first neural network to obtain the deformation fields of the first image and the second image.
  • the pixel position transformation relationship between the first segmentation result and the second segmentation result can be performed by the first neural network with the function of obtaining the deformation field. Extraction, thereby obtaining the deformation field between the first segmentation result and the second segmentation result.
  • the deformation field between the first segmentation result and the second segmentation result can be directly used as the deformation field between the first image and the second image; in a possible implementation , or according to the relationship between the first image and the first segmentation result, and the relationship between the second image and the second segmentation result, this deformation field can be correspondingly converted into the transformation relationship between the two images, so as to obtain The deformation field between the first image and the second image.
  • the implementation form of the first neural network can be flexibly determined according to the actual situation, and is not limited to the following disclosed embodiments.
  • a U-Net network can be used as the first neural network.
  • How to train the first neural network so that it can determine the deformation field according to the input first segmentation result and the second segmentation result, the training process can refer to the following disclosed embodiments, which will not be expanded here.
  • the first segmentation result and the second segmentation result are processed through the first neural network to obtain the deformation field between the first image and the second image.
  • the neural network can be used to realize the end-to-end deformation Compared with determining the position transformation relationship pixel by pixel, field prediction can greatly shorten the acquisition time of the deformation field, improve the acquisition efficiency of the deformation field, and then effectively improve the efficiency of the entire image processing process and subsequent image registration process; on the other hand,
  • the deformation field obtained by the neural network can include the positional transformation relationship of each pixel between the first image and the second image, which can maximize the degree of freedom of the deformation field, improve the precision and accuracy of the deformation field, and thus improve the overall Accuracy of image processing and subsequent image registration.
  • the first image and the second image may have different properties.
  • the first image may include a three-dimensional image
  • the second image may include a two-dimensional image.
  • step S13 may include:
  • Step S131 converting the first segmentation result into a two-dimensional third segmentation result according to the collection information of the second image
  • Step S132 the third segmentation result and the second segmentation result are input to the first neural network to obtain the deformation field between the first image and the second image.
  • the first segmentation result obtained from the first image may be a three-dimensional segmentation result
  • the second The second segmentation result obtained in the image may be a two-dimensional segmentation result
  • step S131 may be used to convert the first segmentation result into a two-dimensional third segmentation result according to the acquisition information of the second image.
  • the collection information of the second image may be any information related to the collection angle or collection method of the second image during the second image collection process, and its implementation form can be flexibly determined according to the actual situation, and is not limited to the following disclosure Example.
  • the acquisition information may include header file information of Digital Imaging and Communications in Medicine (DICOM) of the second image. Reading the DICOM header file information can determine the angle at which the X-ray image was taken.
  • DICOM Digital Imaging and Communications in Medicine
  • the manner of converting the first segmentation result into the two-dimensional third segmentation result according to the collected information is also not limited, and can be flexibly determined according to the actual situation of the collected information.
  • the collection information may include DICOM header file information
  • the shooting angle of the second image may be determined according to the DICOM header file information
  • the first segmentation result may be projected according to the shooting angle , to get the third segmentation result.
  • the manner of projecting the first segmentation result is not limited.
  • the projected third segmentation result may be obtained by using a ray projection algorithm.
  • the third segmentation result and the second segmentation result may be input into the first neural network through step S132 to obtain the deformation field between the first image and the second image.
  • the processing methods of the first neural network and the first neural network on the third segmentation result and the second segmentation result reference may be made to the processing methods of the first neural network on the first segmentation result and the second segmentation result in the above disclosed embodiments, It is not repeated here.
  • the deformation field obtained by the first neural network based on the third segmentation result and the second segmentation result is the third segmentation result.
  • the deformation field between the segmentation result and the second segmentation result in a possible implementation, this deformation field can be directly used as the deformation field between the first image and the second image; in a possible implementation , it is also possible to further process this deformation field according to the corresponding relationship between the transformation of the first image to the third segmentation result and the transformation of the second image to the second segmentation result to obtain the difference between the first image and the second image. direct deformation field.
  • the subsequent processing operations performed on the first image and the second image by using the deformation field may also change accordingly.
  • the process of converting the first segmentation result into the third segmentation result can also be implemented by the first neural network.
  • the first neural network can directly convert the first segmentation result and the second segmentation result as input, the conversion from the first segmentation result to the third segmentation result is sequentially performed inside the neural network, and the deformation between the first image and the second image is obtained according to the third segmentation result and the second segmentation result. field.
  • the first segmentation result is converted into a two-dimensional third segmentation result according to the acquisition information of the second image, so that the third segmentation result and the The second segmentation result is input to the first neural network to obtain the deformation field between the first image and the second image.
  • the first segmentation result of the first image can be divided into Projection to a two-dimensional plane, so as to obtain the deformation field between the first image and the second image according to the two two-dimensional segmentation results, so that the obtained deformation field can more accurately reflect the difference between the first image and the second image of the target object.
  • the transformation relationship between the two images improves the accuracy and effect of image processing.
  • the method proposed by the embodiment of the present disclosure may further include:
  • the first image and the second image are registered to obtain a registration result.
  • the deformation field can reflect the positional transformation relationship of each pixel of the target object between the first image and the second image. Therefore, the target object in the first image and the second image can be transformed by the deformation field. The target object in the image is transformed into the same coordinate system, so as to realize the registration between the first image and the second image, and obtain the registration result.
  • the deformation field may be the deformation field between the segmentation results, such as the deformation field between the first segmentation result and the second segmentation result, or the third segmentation result The result or the deformation field between the second segmentation results, etc.
  • the process of registering the first image and the second image can be the process of deforming the corresponding segmentation results according to the deformation field, that is, Transform the first segmentation result into the coordinate system of the second segmentation result using the deformation field, transform the third segmentation result into the coordinate system of the second segmentation result using the deformation field, and transform the second segmentation result into the first segmentation result using the deformation field or the coordinate system used to transform the second segmentation result to the third segmentation result by using the deformation field, etc.
  • the deformation field can also be obtained by further processing the deformation field between the images on the basis of the deformation field of the segmentation result, that is, the direct deformation field between the first image and the second image
  • the process of registering the first image and the second image may be a deformation process by directly processing the first image or the second image, that is, using the deformation field to transform the first image to the second image.
  • the coordinate system of the second image, or the coordinate system of the second image is transformed into the first image by using the deformation field, etc.
  • the registration process may not be limited to the image or the coordinate system where the segmentation result is located.
  • a deformation field may be used to register both the first image and the second image to a preset coordinate system, or both the first segmentation result and the second segmentation result are registered to a preset coordinate system, and so on.
  • the registration result can be obtained by comparing the images to be registered by using Spatial Transformer Networks (STN).
  • STN Spatial Transformer Networks
  • the obtained deformation field can be used to flexibly combine the target object information contained in the first image with the target object contained in the second image Information is unified and fused into a single coordinate system to provide comprehensive and effective guidance on the object-based operations to be performed.
  • the first neural network may be used to obtain the deformation field.
  • the first neural network can be trained to have higher accuracy. That is, the image processing method proposed by the embodiment of the present disclosure can also be used in the training process of the first neural network.
  • the image processing method proposed by the embodiment of the present disclosure may include:
  • Step S11 obtaining a first segmentation result of the target object in the first image.
  • Step S12 acquiring a second segmentation result of the target object in the second image.
  • Step S13 obtaining a deformation field between the first image and the second image according to the first segmentation result and the second segmentation result.
  • Step S14 according to the deformation field, obtain the error loss of the first neural network.
  • Step S15 train the first neural network according to the error loss.
  • the first neural network may be an untrained neural network, or may be a trained but incompletely trained neural network.
  • step S14 may include:
  • Step S141 according to the deformation field, register the first segmentation result, obtain the registered first segmentation result, and use the error between the registered first segmentation result and the second segmentation result as the error of the first neural network. error loss. or,
  • Step S142 According to the deformation field, the second segmentation result is registered to obtain the registered second segmentation result, and the error between the registered second segmentation result and the first segmentation result is used as the error of the first neural network. error loss. or,
  • Step S143 According to the deformation field, the first segmentation result is registered to obtain the registered first segmentation result, and the error between the registered first segmentation result and the second image is used as the error of the first neural network. loss. or,
  • Step S144 register the second segmentation result according to the deformation field, obtain the registered second segmentation result, and use the error between the registered second segmentation result and the first image as the error of the first neural network loss.
  • the deformation field can reflect the transformation relationship between the first segmentation result and the second segmentation
  • the first segmentation result after registration can be obtained by using the deformation field output by the first neural network to register the first segmentation result.
  • the deformation field is completely accurate, the registered first segmentation result and the second segmentation result will be consistent. Therefore, through the error between the registered first segmentation result and the second segmentation result, the first The error of the deformation field output by the neural network is used as the error loss of the first neural network to train the first neural network, which can improve the accuracy of the first neural network obtained after training.
  • the deformation field can also be used to register the second segmentation result, so that the error between the registered second segmentation result and the first segmentation result can be used to determine the error of the deformation field output by the first neural network. , and then determine the error loss of the first neural network.
  • the acquisition of the error loss of the first neural network may be configured during the training process of the first neural network, and during the training process, the first segmentation result input to the first neural network may be marked with is located on the first image in the form of , and the second segmentation result may also be located on the second image in the form of annotations. Therefore, in this case, the error between the registered first segmentation result and the second image where the second segmentation result is located, or the error between the registered second segmentation result and the first segmentation result The error between the first images is used as the error of the first neural network.
  • the deformation field may be the deformation field between the first segmentation result and the second segmentation result, the deformation field between the third segmentation result and the second segmentation result, or the deformation field between the third segmentation result and the second segmentation result.
  • the deformation field between one image and the second image, etc. therefore, with the different objects pointed by the deformation field, the determined error can change flexibly.
  • the deformation field is the difference between the third segmentation result and the second segmentation result
  • the deformation field can be used to register the third segmentation result to obtain the registered third segmentation result, and then determine the third segmentation result according to the error between the registered third segmentation result and the second segmentation result.
  • the manner of calculating the error between different objects can be flexibly selected according to the actual situation, and is not limited to the following disclosed embodiments.
  • the calculation method of a loss function such as Mean Squared Error (MSE) or Normalized Cross Correlation (NCC) can be used to determine the error between different objects.
  • MSE Mean Squared Error
  • NCC Normalized Cross Correlation
  • an appropriate method can be flexibly selected to determine the error loss of the first neural network according to the actual situation, thereby improving the flexibility and convenience of training the first neural network.
  • the first neural network can be trained through step S15, and the training method can be flexibly determined according to the actual situation, and is not limited to the following disclosed embodiments.
  • various network parameters and the like in the first neural network may be updated by using the method of back propagation according to the error loss of the first neural network.
  • the transformation relationship between the two input images of the first neural network can be directly used to
  • the first neural network is trained without additional training images or labeled data, which reduces the difficulty and cost of training while ensuring the training accuracy of the first neural network.
  • Coronary heart disease has become one of the diseases with the highest mortality in the world, and the common treatment option is percutaneous coronary intervention.
  • Percutaneous coronary intervention is the use of a catheter to dilate the narrowed part of the blood vessel under the guidance of intraoperative X-rays to achieve the purpose of treatment.
  • the blood vessels displayed in the X-ray image of the coronary artery will become invisible as the contrast agent dissipates, which brings great challenges to the doctor, and the success rate of the operation also depends on the actual experience of the doctor .
  • Preoperative CTA images can show the three-dimensional vascular structure well, but since CTA images cannot be captured in real time during the operation, it is necessary to register the preoperative CTA and intraoperative X-ray images to fuse them into the same coordinate system to provide doctors with information. Better guidance reduces the complexity of the surgery for doctors and improves the success rate of surgery.
  • the coronary registration method in the related art regards the registration problem as an optimization problem, defines a similarity to measure the distance between two blood vessels, and iteratively optimizes the distance to find an optimal transformation matrix.
  • Another scheme extends the nearest iterative point method from point sets to curves, and proposes an iterative nearest curve algorithm for the registration of curve structures.
  • There is also a probabilistic and statistical precise registration scheme for coherent point drift which defines the registration of two point sets as a probability density estimation problem.
  • the above schemes require iterative optimization using the most recent iterative point or the coherent point drift, which is often difficult to meet the requirements of intraoperative real-time performance.
  • deformations such as B-splines or thin-plate splines are used in the scheme, which cannot well meet the complex vessel deformation, resulting in low registration accuracy.
  • Deep learning techniques have made great achievements in the field of computer vision and also provide new solutions for medical image registration.
  • One scheme trains a fully convolutional neural network to perform non-rigid registration of 3D brain MR images using "self-supervision"; the other uses normalized cross-correlation to train a fully convolutional neural network to predict deformation fields, to register 4D cardiac MR images; another scheme uses convolutional neural networks and spatial transformation networks to register T1-weighted brain MR images; another scheme uses convolutional neural networks and spatial transformation networks to register T1-weighted brain MR images registration; another approach utilizes a transfer learning-based approach to separately register X-ray and cardiac sequence images.
  • the embodiments of the present disclosure propose an end-to-end coronary registration method.
  • the blood vessel bundle of the preoperative CTA image and the blood vessel bundle of the intraoperative X-ray image are firstly segmented, and the data of two different modalities and dimensions are unified into one coordinate system by using the ray projection method, and then input into a single coordinate system.
  • the deformation field is directly predicted in the U-Net network.
  • the method of the embodiment of the present disclosure can predict the deformation field end-to-end, and meet the requirements of intraoperative real-time performance while ensuring the registration accuracy.
  • the embodiment of the present disclosure proposes an image processing method, which can perform real-time registration of a preoperative CTA image and an intraoperative X-ray image of a coronary artery.
  • the image processing process can be as follows:
  • the 3D U-Net network (ie the second neural network in the above disclosed embodiment) is used to segment the preoperative CTA image (ie the first image in the above disclosed embodiment), and the blood vessels in the CTA image are extracted bundle (that is, the first segmentation result in the above disclosed embodiment);
  • the U-Net network (ie the third neural network in the above disclosed embodiment) is used to segment the intraoperative X-ray image (ie the second image in the above disclosed embodiment), and the blood vessel bundles in the X-ray image (ie the above-mentioned the second segmentation result in the disclosed embodiment);
  • Read the header file information of the DICOM in the X-ray image that is, the acquisition information in the above-mentioned disclosed embodiments
  • use the light projection algorithm to generate a digitally reconstructed radiological image for the blood vessel bundle in the CTA image, and obtain a two-dimensional blood vessel projection map (ie the third segmentation result in the above disclosed embodiment);
  • the registration neural network ie, the first neural network in the above disclosed embodiment
  • the registration neural network used in this process
  • the deformation field can be directly predicted end-to-end, which greatly improves the real-time performance; at the same time, the process predicts the displacement of each pixel point, maximizes the degree of freedom of the deformation field, and improves the registration accuracy.
  • the two-dimensional blood vessel projection map or the blood vessel bundle in the X-ray image can be transformed to complete the registration process.
  • the application example of the present disclosure also proposes an image processing method, which can be used for each of the above-mentioned neural networks. To train:
  • FIG. 2 shows a schematic diagram of a training process of a registration neural network in an application example of the present disclosure.
  • the training process may be:
  • an untrained initial registration neural network 206 which can be a U-Net network
  • the projected vascular bundle is deformed according to the predicted deformation field to obtain the deformed vascular bundle 209;
  • the calculation method can use mean square error or normalized cross-correlation, etc., and then use the back propagation algorithm to update the registration neural network. parameters to complete the training process of the registration neural network.
  • the embodiment of the present disclosure can obtain an end-to-end coronary registration network.
  • the network can directly predict the deformation field and complete the registration task: Using the trained U-Net to segment the X-ray image and the intraoperative X-ray image to obtain the blood vessel bundle of the X-ray image; read the DICOM header file information, and use the preoperative CTA blood vessel bundle to generate the projected blood vessel bundle; The beams are fed into the registration network and the deformation fields are obtained.
  • the registration method can greatly improve the registration accuracy.
  • the radiologist can use the method proposed in the application example of the present disclosure to perform fast and accurate registration, and unify the data of the two modalities into the same one In the coordinate system, it compensates for the problem of coronary vessels that cannot be seen on intraoperative X-ray images.
  • the application example of the present disclosure can perform real-time registration of the coronary arteries included in the preoperative CTA image and the intraoperative X-ray image, the intraoperative X-ray image can better display the position of the catheter, so that the doctor can perform the operation during the operation. Have a better judgement of the direction in which the catheter is traveling.
  • the image processing method in the embodiment of the present disclosure is not limited to be applied to the above-mentioned processing of coronary images of the heart, and may be applied to any image processing, which is not limited in the embodiment of the present disclosure.
  • embodiments of the present disclosure also provide image processing apparatuses, electronic devices, computer-readable storage media, and programs, all of which can be used to implement any image processing method provided by the embodiments of the present disclosure, and the corresponding technical solutions and descriptions and refer to the methods Some of the corresponding records will not be repeated.
  • FIG. 3 shows a block diagram of an image processing apparatus according to an embodiment of the present disclosure.
  • the image processing apparatus may be a terminal device, a server, or other processing devices.
  • the terminal device may be user equipment (User Equipment, UE), mobile device, user terminal, terminal, cellular phone, cordless phone, Personal Digital Assistant (PDA), handheld device, computing device, in-vehicle device, available wearable devices, etc.
  • UE User Equipment
  • PDA Personal Digital Assistant
  • the image processing apparatus may be implemented by a processor invoking computer-readable instructions stored in a memory.
  • the image processing apparatus 30 may include:
  • the first segmentation module 31 is configured to obtain a first segmentation result of the target object in the first image.
  • the second segmentation module 32 is configured to obtain a second segmentation result of the target object in the second image.
  • the deformation field acquiring module 33 is configured to obtain a deformation field between the first image and the second image according to the first segmentation result and the second segmentation result, wherein the deformation field includes the target object between the first image and the second image The position transformation relationship of each pixel of .
  • the deformation field acquisition module is configured to input the first segmentation result and the second segmentation result into the first neural network to obtain the deformation fields of the first image and the second image.
  • the first image includes a three-dimensional image
  • the second image includes a two-dimensional image
  • the deformation field acquisition module is configured to convert the first segmentation result into a two-dimensional third image according to the acquisition information of the second image Segmentation result; input the third segmentation result and the second segmentation result to the first neural network to obtain the deformation field between the first image and the second image.
  • the image processing apparatus 30 further includes: a registration module, configured to register the first image and the second image according to the deformation field to obtain a registration result.
  • the image processing apparatus 30 further includes: an error acquisition module, configured to acquire the error loss of the first neural network according to the deformation field; train.
  • the error acquisition module is configured to register the first segmentation result according to the deformation field, obtain the registered first segmentation result, and compare the registered first segmentation result with the second segmentation result.
  • the error between the results is used as the error loss of the first neural network; or, according to the deformation field, the second segmentation result is registered to obtain the registered second segmentation result, and the registered second segmentation result is compared with the first segmentation result.
  • the error between the first segmentation results is used as the error loss of the first neural network; according to the deformation field, the first segmentation results are registered to obtain the registered first segmentation results, and the registered first segmentation results and the first segmentation results are obtained.
  • the error between the two images is used as the error loss of the first neural network; or, according to the deformation field, the second segmentation result is registered to obtain the registered second segmentation result, and the registered second segmentation result is compared with The error between the first images is used as the error loss of the first neural network.
  • the first segmentation module is configured to input the first image into the second neural network to obtain a first segmentation result of the target object in the first image, wherein the second neural network is marked by including the target object
  • the first training image is trained; or, the first image is input into the first neural network, and the first segmentation result of the target object in the first image is obtained, wherein the first neural network is also used for according to the first segmentation result and the first segmentation result
  • the deformation field between the first image and the second image is obtained.
  • the second segmentation module is configured to input the second image into a third neural network to obtain a second segmentation result of the target object in the second image, wherein the third neural network is marked by including the target object
  • the second training image is trained; or, the second image is input to the first neural network to obtain the second segmentation result of the target object in the second image, wherein the first neural network is also used to As a result of the binary segmentation, the deformation field between the first image and the second image is obtained.
  • the first image includes an electronic computed tomography angiography CTA image
  • the second image includes an X-ray image
  • the target object includes a coronary artery object.
  • An embodiment of the present disclosure further provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above-mentioned image processing method is implemented.
  • the computer-readable storage medium may be a non-volatile computer-readable storage medium.
  • An embodiment of the present disclosure further provides an electronic device, comprising: a processor; a memory configured to store instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
  • Embodiments of the present disclosure also provide a computer program product, including computer-readable codes.
  • a processor in the device executes the image processing method for implementing the image processing method provided by any of the above embodiments. instruction.
  • Embodiments of the present disclosure further provide another computer program product for storing computer-readable instructions, which, when executed, cause the computer to perform the operations of the image processing method provided by any of the foregoing embodiments.
  • the electronic device may be provided as a terminal, server or other form of device.
  • FIG. 4 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure.
  • electronic device 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, and personal digital assistant, among other terminals.
  • an electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812 , sensor component 814 , and communication component 816 .
  • the processing component 802 generally controls the overall operations of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 802 can include one or more processors 820 to execute instructions to perform all or some of the steps of the methods described above.
  • processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components.
  • processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
  • Memory 804 is configured to store various types of data to support operation at electronic device 800 . Examples of such data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like.
  • the memory 804 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random-Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory) Erasable Programmable Read-Only Memory, EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read Only Memory (Read Only Memory) Memory, ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM Static Random-Access Memory
  • EPROM Erasable Programmable Read-Only Memory
  • PROM Programmable Read-Only Memory
  • Read Only Memory Read Only Memory
  • Power supply assembly 806 provides power to various components of electronic device 800 .
  • Power supply components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800 .
  • Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user.
  • the screen may include a Liquid Crystal Display (LCD) and a touch panel (TouchPanel, TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
  • the touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action.
  • the multimedia component 808 includes a front-facing camera and/or a rear-facing camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
  • Audio component 810 is configured to output and/or input audio signals.
  • the audio component 810 includes a microphone (Microphone, MIC) configured to receive external audio signals when the electronic device 800 is in an operating mode, such as a calling mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 804 or transmitted via communication component 816 .
  • audio component 810 also includes a speaker for outputting audio signals.
  • the I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
  • Sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of electronic device 800 .
  • sensor assembly 814 can detect the open/closed state of electronic device 800 and the relative positioning of the assembly.
  • the components are the display and keypad of the electronic device 800, the sensor component 814 can also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, the orientation of the electronic device 800, or the presence or absence of contact with the electronic device 800. Acceleration/deceleration and temperature change of electronic device 800.
  • Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.
  • Sensor assembly 814 may also include a light sensor, such as a Complementary Metal-Oxide-Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications.
  • CMOS Complementary Metal-Oxide-Semiconductor
  • CCD Charge Coupled Device
  • the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices.
  • the electronic device 800 can access a wireless network based on a communication standard, such as Wireless Fidelity (Wi-Fi), the 2nd Generation (The 2nd Generation, 2G) or the 3rd Generation (The 3nd Generation) , 3G) or their combination.
  • the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 816 also includes a Near Field Communication (NFC) module to facilitate short-range communication.
  • the NFC module may be based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (Blue Tooth, BT) technology and other technologies to achieve.
  • RFID Radio Frequency Identification
  • IrDA Infrared Data Association
  • UWB Ultra Wide Band
  • Bluetooth Bluetooth
  • the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (Digital Signal Processing Devices) , DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation, used to perform the above method.
  • ASICs Application Specific Integrated Circuits
  • DSPs Digital Signal Processors
  • DPD Digital Signal Processing Devices
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • controller microcontroller, microprocessor, or other electronic component implementation, used to perform the above method.
  • a non-volatile computer-readable storage medium such as a memory 804 comprising computer program instructions executable by the processor 820 of the electronic device 800 to perform the above method is also provided.
  • FIG. 5 shows a block diagram of an electronic device 1900 according to an embodiment of the present disclosure.
  • the electronic device 1900 may be provided as a server.
  • electronic device 1900 includes processing component 1922, which may include one or more processors, and memory resources represented by memory 1932 for storing instructions executable by processing component 1922, such as applications.
  • An application program stored in memory 1932 may include one or more modules, each corresponding to a set of instructions.
  • the processing component 1922 is configured to execute instructions to perform the above-described methods.
  • the electronic device 1900 may also include a power supply assembly 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an I/O interface 1958.
  • Electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
  • a non-volatile computer-readable storage medium such as memory 1932 comprising computer program instructions executable by processing component 1922 of electronic device 1900 to perform the above-described method.
  • Embodiments of the present disclosure may be systems, methods and/or computer program products.
  • the computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the embodiments of the present disclosure.
  • a computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Computer-readable storage media may include: portable computer disks, hard disks, random access memory (RAM), read-only memory, erasable programmable read-only memory (EPROM or flash memory), static random access memory, Portable Compact Disc Read-Only Memory (CD-ROM), Digital Video Disc (DVD), memory sticks, floppy disks, mechanical coding devices, such as punch cards on which instructions are stored Or the protruding structure in the groove, and any suitable combination of the above.
  • Computer-readable storage media, as used herein, are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, light pulses through fiber optic cables), or through electrical wires transmitted electrical signals.
  • the computer readable program instructions described herein may be downloaded to various computing/processing devices from a computer readable storage medium, or to an external computer or external storage device over a network such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
  • Computer program instructions for performing operations of embodiments of the present disclosure may be assembly instructions, Industry Standard Architecture (ISA) instructions, machine instructions, machine-related instructions, pseudocode, firmware instructions, state setting data, or in a form of Source or object code written in any combination of programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., as well as conventional procedural programming languages such as C or similar programming languages.
  • the computer readable program instructions 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 implement.
  • the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or Wide Area Network (WAN), or may be connected to an external computer (eg, using the Internet service provider to connect via the Internet).
  • LAN Local Area Network
  • WAN Wide Area Network
  • electronic circuits such as programmable logic circuits, field programmable gate arrays, or programmable logic arrays, that can execute computer readable program instructions are personalized by utilizing state information of computer readable program instructions , thereby implementing various aspects of the embodiments of the present disclosure.
  • These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
  • These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium on which the instructions are stored includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
  • Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more functions for implementing the specified logical function(s) executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks 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.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the computer program product can be implemented in hardware, software or a combination thereof.
  • the computer program product may be embodied as a computer storage medium, and in another optional embodiment, the computer program product may be embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.
  • a software development kit Software Development Kit, SDK
  • Embodiments of the present disclosure relate to an image processing method and apparatus, an electronic device, a storage medium, and a program product.
  • the method includes: acquiring a first segmentation result of a target object in a first image; acquiring a second segmentation result of the target object in a second image; and obtaining the first segmentation result according to the first segmentation result and the second segmentation result.
  • a deformation field between an image and the second image wherein the deformation field includes a positional transformation relationship of each pixel of the target object between the first image and the second image.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Biophysics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Apparatus For Radiation Diagnosis (AREA)
  • Image Analysis (AREA)
  • Multi-Process Working Machines And Systems (AREA)

Abstract

Embodiments of the present invention relate to an image processing method and apparatus, an electronic device, a storage medium, and a program product. The method comprises: acquiring a first segmentation result of a target object in a first image; acquiring a second segmentation result of a target object in a second image; and obtaining a deformation field between the first image and the second image according to the first segmentation result and the second segmentation result, wherein the deformation field comprises a position transformation relationship of each pixel point of the target object between the first image and the second image.

Description

图像处理方法及装置、电子设备、存储介质和程序产品Image processing method and apparatus, electronic device, storage medium and program product
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本公开基于申请号为202010686919.6、申请日为2020年07月16日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以全文引入的方式引入本公开。The present disclosure is based on the Chinese patent application with the application number of 202010686919.6 and the filing date of July 16, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into the present disclosure in its entirety. .
技术领域technical field
本公开涉及图像处理技术领域,尤其涉及一种图像处理方法及装置、电子设备、存储介质和程序产品。The present disclosure relates to the technical field of image processing, and in particular, to an image processing method and apparatus, an electronic device, a storage medium, and a program product.
背景技术Background technique
冠心病已经成为世界上死亡率最高的疾病之一,常见的治疗方案是经皮冠状动脉介入手术。经皮冠状动脉介入手术是在术中X光的引导下,利用导管扩张血管狭窄部分以到达治疗的目的。但是在手术过程中,心脏冠脉的X光图像内显示的血管会随着造影剂的消散变得不可见,这给医生带来了很大的挑战,手术的成功率也依赖医生的实际经验。Coronary heart disease has become one of the diseases with the highest mortality in the world, and the common treatment option is percutaneous coronary intervention. Percutaneous coronary intervention is the use of a catheter to dilate the narrowed part of the blood vessel under the guidance of intraoperative X-rays to achieve the purpose of treatment. However, during the operation, the blood vessels displayed in the X-ray image of the coronary artery will become invisible as the contrast agent dissipates, which brings great challenges to the doctor, and the success rate of the operation also depends on the actual experience of the doctor .
手术前拍摄的电子计算机断层扫描血管造影(CT Angiography,CTA)图像能很好地展现血管结构,但是由于不能术中实时拍摄,因此无法在手术过程中给予医生指导。Computed tomography angiography (CTA) images taken before surgery can well demonstrate the vascular structure, but because they cannot be captured in real-time during surgery, it is impossible to give doctors guidance during surgery.
发明内容SUMMARY OF THE INVENTION
本公开实施例提出了一种图像处理方法及装置、电子设备、存储介质和程序产品。The embodiments of the present disclosure provide an image processing method and apparatus, an electronic device, a storage medium, and a program product.
根据本公开实施例的一方面,提供了一种图像处理方法,包括:According to an aspect of the embodiments of the present disclosure, an image processing method is provided, including:
获取第一图像中目标对象的第一分割结果;获取第二图像中目标对象的第二分割结果;根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场,其中,所述形变场包括所述目标对象在所述第一图像与所述第二图像之间的每个像素点的位置变换关系。Obtain the first segmentation result of the target object in the first image; obtain the second segmentation result of the target object in the second image; obtain the first image and the second segmentation result according to the first segmentation result and the second segmentation result A deformation field between second images, wherein the deformation field includes a positional transformation relationship of each pixel of the target object between the first image and the second image.
通过上述过程,可以确定目标对象在第一图像与第二图像之间每个像素点的位置变换关系。利用该位置变换关系,可以将第一图像和第二图像之间目标对象的图像信息融合到同一坐标系,从而可以同时利用第一图像与第二图像包含的目标对象的图像信息,对目标对象后续需要执行的操作提供全面的指导;而且,由于该位置变换关系为目标对象每个像素点所对应的变换关系,因此,第一图像与第二图像之间目标对象的信息融合可以具有更高的精度。Through the above process, the positional transformation relationship of each pixel of the target object between the first image and the second image can be determined. Using this position transformation relationship, the image information of the target object between the first image and the second image can be fused into the same coordinate system, so that the image information of the target object contained in the first image and the second image can be used at the same time. The subsequent operations that need to be performed provide comprehensive guidance; moreover, since the position transformation relationship is the transformation relationship corresponding to each pixel point of the target object, the information fusion of the target object between the first image and the second image can have a higher level. accuracy.
在一种可能的实现方式中,所述根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场,包括:将所述第一分割结果与所述第二分割结果输入至第一神经网络,得到所述第一图像与所述第二图像的形变场。In a possible implementation manner, the obtaining the deformation field between the first image and the second image according to the first segmentation result and the second segmentation result includes: A segmentation result and the second segmentation result are input to the first neural network to obtain the deformation fields of the first image and the second image.
通过上述过程,一方面可以利用神经网络,实现端到端的形变场预测,与逐像素点确定位置变换关系相比,可以大大缩短形变场的获取时间,提高形变场的获取效率,继而有效提升整个图像处理过程以及后续图像配准过程的效率;另一方面,通过神经网络获取的形变场,可以包含第一图像与第二图像之间每个像素点的位置变换关系,可以最大化形变场的自由度,提升了形变场的精度和准确率,从而提高整个图像处理过程以及后续进行图像配准过程的精度。Through the above process, on the one hand, the neural network can be used to realize the end-to-end deformation field prediction. Compared with determining the position transformation relationship by pixel, the acquisition time of the deformation field can be greatly shortened, the efficiency of the deformation field acquisition can be improved, and the whole process can be effectively improved. The efficiency of the image processing process and the subsequent image registration process; on the other hand, the deformation field obtained by the neural network can include the positional transformation relationship of each pixel between the first image and the second image, which can maximize the deformation field. The degree of freedom improves the precision and accuracy of the deformation field, thereby improving the accuracy of the entire image processing process and the subsequent image registration process.
在一种可能的实现方式中,所述第一图像包括三维图像,所述第二图像包括二维图像;所述根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场,包括:根据所述第二图像的采集信息,将所述第一分割结果转换为二维的第三分割结果;将所述第三分割结果与所述第二分割结果输入至第一神经网络,得 到所述第一图像与所述第二图像之间的形变场。In a possible implementation manner, the first image includes a three-dimensional image, and the second image includes a two-dimensional image; and the first segmentation result and the second segmentation result are used to obtain the first segmentation result. The deformation field between the image and the second image includes: converting the first segmentation result into a two-dimensional third segmentation result according to the collection information of the second image; converting the third segmentation result with the The second segmentation result is input to the first neural network to obtain the deformation field between the first image and the second image.
通过上述过程,可以利用二维的第二图像的采集信息,将第一图像的第一分割结果投影至二维平面,从而根据两个二维的分割结果来获取第一图像和第二图像之间的形变场,从而使得得到的形变场可以更加准确地反应出目标对象在第一图像与第二图像之间的变换关系,提升图像处理的精度和效果。Through the above process, the collection information of the two-dimensional second image can be used to project the first segmentation result of the first image to a two-dimensional plane, so that the first image and the second image can be obtained according to the two two-dimensional segmentation results. Therefore, the obtained deformation field can more accurately reflect the transformation relationship between the first image and the second image of the target object, and improve the accuracy and effect of image processing.
在一种可能的实现方式中,所述方法还包括:根据所述形变场,对所述第一图像与所述第二图像进行配准,得到配准结果。In a possible implementation manner, the method further includes: registering the first image and the second image according to the deformation field to obtain a registration result.
通过上述过程,可以利用得到的形变场,灵活地将第一图像中包含的目标对象信息与第二图像中包含的目标对象信息统一融合到一个坐标系下,从而对将执行的基于目标对象的操作提供全面有效的指导。Through the above process, the obtained deformation field can be used to flexibly integrate the target object information contained in the first image and the target object information contained in the second image into one coordinate system, so that the target object-based Operation provides comprehensive and effective guidance.
在一种可能的实现方式中,所述方法还包括:根据所述形变场,获取所述第一神经网络的误差损失;根据所述误差损失,对所述第一神经网络进行训练。In a possible implementation manner, the method further includes: obtaining an error loss of the first neural network according to the deformation field; and training the first neural network according to the error loss.
在本公开实施例中,通过根据形变场获取第一神经网络的误差损失,继而根据误差损失对第一神经网络进行训练,可以直接利用第一神经网络的两个输入图像之间的变换关系对第一神经网络进行训练,无需额外的训练图像或是标注数据等,在保障第一神经网络的训练精度的同时,降低了训练难度和成本。In the embodiment of the present disclosure, by obtaining the error loss of the first neural network according to the deformation field, and then training the first neural network according to the error loss, the transformation relationship between the two input images of the first neural network can be directly used to The first neural network is trained without additional training images or labeled data, which reduces the difficulty and cost of training while ensuring the training accuracy of the first neural network.
在一种可能的实现方式中,所述根据所述形变场,获取所述第一神经网络的误差损失,包括:根据所述形变场,对所述第一分割结果进行配准,得到配准后的第一分割结果,将所述配准后的第一分割结果与所述第二分割结果之间的误差作为所述第一神经网络的误差损失;或者,根据所述形变场,对所述第二分割结果进行配准,得到配准后的第二分割结果,将所述配准后的第二分割结果与所述第一分割结果之间的误差作为所述第一神经网络的误差损失;根据所述形变场,对所述第一分割结果进行配准,得到配准后的第一分割结果,将所述配准后的第一分割结果与所述第二图像之间的误差作为所述第一神经网络的误差损失;或者,根据所述形变场,对所述第二分割结果进行配准,得到配准后的第二分割结果,将所述配准后的第二分割结果与所述第一图像之间的误差作为所述第一神经网络的误差损失。In a possible implementation manner, the obtaining the error loss of the first neural network according to the deformation field includes: registering the first segmentation result according to the deformation field to obtain a registration After the first segmentation result, the error between the registered first segmentation result and the second segmentation result is used as the error loss of the first neural network; or, according to the deformation field, for all The second segmentation result is registered to obtain the registered second segmentation result, and the error between the registered second segmentation result and the first segmentation result is used as the error of the first neural network. loss; according to the deformation field, the first segmentation result is registered to obtain the registered first segmentation result, and the error between the registered first segmentation result and the second image is calculated As the error loss of the first neural network; or, according to the deformation field, the second segmentation result is registered to obtain the registered second segmentation result, and the registered second segmentation result is obtained. The error between the result and the first image serves as the error loss for the first neural network.
通过上述第一神经网络误差损失的获取过程,可以根据实际情况,灵活选择合适的方式来确定第一神经网络的误差损失,提升第一神经网络训练的灵活性和便捷性。Through the above process of obtaining the error loss of the first neural network, an appropriate method can be flexibly selected to determine the error loss of the first neural network according to the actual situation, thereby improving the flexibility and convenience of training the first neural network.
在一种可能的实现方式中,所述获取第一图像中目标对象的第一分割结果,包括:将所述第一图像输入至第二神经网络,得到所述第一图像中所述目标对象的第一分割结果,其中,所述第二神经网络通过包含目标对象标注的第一训练图像进行训练;或者,将所述第一图像输入至第一神经网络,得到所述第一图像中所述目标对象的第一分割结果,其中,所述第一神经网络还用于根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场。In a possible implementation manner, the obtaining the first segmentation result of the target object in the first image includes: inputting the first image into a second neural network to obtain the target object in the first image The first segmentation result of the first segmentation result of the target object, wherein the first neural network is further configured to obtain the difference between the first image and the second image according to the first segmentation result and the second segmentation result deformation field.
通过第二神经网络或第一神经网络对第一图像中的目标对象进行分割,得到第一分割结果,可以有效提高第一分割结果的获取效率。同时,由于第二神经网络或第一神经网络可以通过包含目标对象标注的第一训练图像训练所获得,因此,基于第二神经网络或第一神经网络得到的第一分割结果,可以具有较高精度的分割效果。通过第一神经网络对第一图像中的目标对象进行分割,得到第一分割结果,并进一步通过第一神经网络来得到第一图像与第二图像之间的形变场。通过上述过程,可以在提升第一分割结果的分割效果的基础上,进一步提升获取的形变场的精度,而且可以通过第一神经网络直接实现第一图像端到形变场端的获取过程。The target object in the first image is segmented through the second neural network or the first neural network to obtain the first segmentation result, which can effectively improve the obtaining efficiency of the first segmentation result. At the same time, since the second neural network or the first neural network can be obtained by training the first training image containing the target object annotation, the first segmentation result obtained based on the second neural network or the first neural network can have a higher Accurate segmentation effect. The target object in the first image is segmented through the first neural network to obtain a first segmentation result, and the deformation field between the first image and the second image is further obtained through the first neural network. Through the above process, the accuracy of the obtained deformation field can be further improved on the basis of improving the segmentation effect of the first segmentation result, and the acquisition process from the first image end to the deformation field end can be directly realized through the first neural network.
在一种可能的实现方式中,所述获取第二图像中目标对象的第二分割结果,包括:将所述第二图像输入至第三神经网络,得到所述第二图像中所述目标对象的第二分割结 果,其中,所述第三神经网络通过包含目标对象标注的第二训练图像进行训练;或者,将所述第二图像输入至第一神经网络,得到所述第二图像中所述目标对象的第二分割结果,其中,所述第一神经网络还用于根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场。In a possible implementation manner, the acquiring the second segmentation result of the target object in the second image includes: inputting the second image into a third neural network to obtain the target object in the second image The second segmentation result of the second segmentation result of the target object, wherein the first neural network is further configured to obtain the difference between the first image and the second image according to the first segmentation result and the second segmentation result deformation field.
通过第三神经网络或第一神经网络对第二图像中的目标对象进行分割,得到第二分割结果,可以有效提高第二分割结果的获取效率。同时,由于第三神经网络或第一神经网络可以通过包含目标对象标注的第二训练图像训练所获得,因此,基于第三神经网络或第一神经网络得到的第二分割结果,可以具有较高精度的分割效果。通过第一神经网络对第二图像中的目标对象进行分割,得到第二分割结果,并通过第一神经网络来得到第一图像与第二图像之间的形变场。通过上述过程,可以在提升第二分割结果的分割效果的基础上,进一步提升获取的形变场的精度,而且可以通过第一神经网络直接实现第二图像端到形变场端的获取过程,还可以通过第一神经网络直接实现第一图像与第二图像这两个图像端到形变场端的获取过程。The target object in the second image is segmented through the third neural network or the first neural network to obtain the second segmentation result, which can effectively improve the obtaining efficiency of the second segmentation result. At the same time, since the third neural network or the first neural network can be obtained by training the second training image containing the target object annotation, the second segmentation result obtained based on the third neural network or the first neural network can have higher Accurate segmentation effect. The target object in the second image is segmented through the first neural network to obtain a second segmentation result, and the deformation field between the first image and the second image is obtained through the first neural network. Through the above process, on the basis of improving the segmentation effect of the second segmentation result, the accuracy of the obtained deformation field can be further improved, and the acquisition process from the second image end to the deformation field end can be directly realized through the first neural network, and can also be obtained through the first neural network. The first neural network directly realizes the acquisition process from the two image ends of the first image and the second image to the deformation field end.
在一种可能的实现方式中,所述第一图像包括电子计算机断层扫描血管造影CTA图像,所述第二图像包括X光图像,所述目标对象包括冠状动脉对象。In a possible implementation manner, the first image includes an electronic computed tomography angiography CTA image, the second image includes an X-ray image, and the target object includes a coronary artery object.
在第一图像包括CTA图像,第二图像包括X光图像,目标对象包括冠状动脉的情况下,利用本公开实施例提出的图像处理方法,可以有效预测CTA图像与X光图像之间的形变场,从而将冠状动脉手术的两个模态数据统一到同一个坐标系下,补偿冠状动脉手术中X光图像上看不到的冠状动脉血管,为冠状动脉手术提供更好的指导,降低医生的手术复杂程度,提高手术成功率。When the first image includes a CTA image, the second image includes an X-ray image, and the target object includes a coronary artery, the image processing method proposed in the embodiment of the present disclosure can effectively predict the deformation field between the CTA image and the X-ray image , thereby unifying the two modal data of coronary surgery into the same coordinate system, compensating for coronary blood vessels that cannot be seen on X-ray images during coronary surgery, providing better guidance for coronary surgery, and reducing the need for doctors. The complexity of the operation increases the success rate of the operation.
根据本公开实施例的一方面,提供了一种图像处理装置,包括:According to an aspect of the embodiments of the present disclosure, there is provided an image processing apparatus, including:
第一分割模块,配置为获取第一图像中目标对象的第一分割结果;第二分割模块,配置为获取第二图像中目标对象的第二分割结果;形变场获取模块,配置为根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场,其中,所述形变场包括所述目标对象在所述第一图像与所述第二图像之间的每个像素点的位置变换关系。The first segmentation module is configured to obtain the first segmentation result of the target object in the first image; the second segmentation module is configured to obtain the second segmentation result of the target object in the second image; the deformation field acquisition module is configured to The first segmentation result and the second segmentation result obtain a deformation field between the first image and the second image, wherein the deformation field includes the target object between the first image and the second image. The position transformation relationship of each pixel point between the second images.
根据本公开实施例的一方面,提供了一种电子设备,包括:处理器;配置为存储所述处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述图像处理方法。According to an aspect of the embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; a memory configured to store instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory , to perform the above image processing method.
根据本公开实施例的一方面,提供了一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述图像处理方法。According to an aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having computer program instructions stored thereon, the computer program instructions implementing the above-mentioned image processing method when executed by a processor.
根据本公开实施例的一方面,提供了一种计算机程序产品,该程序产品存储有一条或多条程序指令,所述程序指令被处理器加载并执行以实现上述图像处理方法。According to an aspect of the embodiments of the present disclosure, a computer program product is provided, the program product stores one or more program instructions, and the program instructions are loaded and executed by a processor to implement the above-mentioned image processing method.
在本公开实施例中,通过分别获取目标对象在第一图像与第二图像中的第一分割结果和第二分割结果,从而根据第一分割结果与第二分割结果,来得到第一图像中与第二图像之间的形变场。通过上述过程,可以确定目标对象在第一图像与第二图像之间每个像素点的位置变换关系,利用该位置变换关系,可以将第一图像和第二图像之间目标对象的图像信息融合到同一坐标系,从而可以同时利用第一图像与第二图像包含的目标对象的图像信息,对目标对象后续需要执行的操作提供全面的指导;而且,由于该位置变换关系为目标对象每个像素点所对应的变换关系,因此,第一图像与第二图像之间目标对象的信息融合可以具有更高的精度。In the embodiment of the present disclosure, the first segmentation result and the second segmentation result of the target object in the first image and the second image are obtained respectively, so as to obtain the first segmentation result and the second segmentation result according to the first segmentation result and the second segmentation result. and the deformation field between the second image. Through the above process, the positional transformation relationship of each pixel of the target object between the first image and the second image can be determined, and the image information of the target object between the first image and the second image can be fused by using the positional transformation relationship to the same coordinate system, so that the image information of the target object contained in the first image and the second image can be used at the same time to provide comprehensive guidance for the subsequent operations of the target object; Therefore, the information fusion of the target object between the first image and the second image can have higher precision.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本公开实施例。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the disclosed embodiments.
根据下面参考附图对示例性实施例的详细说明,本公开实施例的其它特征及方面将 变得清楚。Other features and aspects of embodiments of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the technical solutions of the present disclosure.
图1示出根据本公开一实施例的图像处理方法的流程图。FIG. 1 shows a flowchart of an image processing method according to an embodiment of the present disclosure.
图2示出根据本公开一应用示例中配准神经网络训练过程的示意图。FIG. 2 shows a schematic diagram of a training process of a registration neural network in an application example according to the present disclosure.
图3示出根据本公开一实施例的图像处理装置的框图。FIG. 3 shows a block diagram of an image processing apparatus according to an embodiment of the present disclosure.
图4示出根据本公开实施例的一种电子设备的框图。FIG. 4 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
图5示出根据本公开实施例的一种电子设备的框图。FIG. 5 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
以下将参考附图详细说明本公开实施例的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features and aspects of embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures denote elements that have the same or similar functions. While various aspects of the embodiments are shown in the drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases. In addition, the term "at least one" herein refers to any combination of any one of the plurality or at least two of the plurality, for example, including at least one of A, B, and C, and may mean including from A, B, and C. Any one or more elements selected from the set of B and C.
另外,为了更好地说明本公开实施例,在下文的具体实施方式中给出了众多的实现细节。本领域技术人员应当理解,没有某些细节,本公开实施例同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开实施例的主旨。In addition, in order to better illustrate the embodiments of the present disclosure, numerous implementation details are given in the following detailed description. It should be understood by those skilled in the art that embodiments of the present disclosure may be practiced without certain details. In some instances, methods, means, components and circuits well known to those skilled in the art have not been described in detail so as not to obscure the subject matter of the embodiments of the present disclosure.
图1示出根据本公开一实施例的图像处理方法的流程图,该方法可以应用于图像处理装置,图像处理装置可以为终端设备、服务器或者其他处理设备等。其中,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字处理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等。FIG. 1 shows a flowchart of an image processing method according to an embodiment of the present disclosure. The method may be applied to an image processing apparatus, and the image processing apparatus may be a terminal device, a server, or other processing devices. Wherein, the terminal device may be user equipment (User Equipment, UE), mobile device, user terminal, terminal, cellular phone, cordless phone, Personal Digital Assistant (PDA), handheld device, computing device, in-vehicle device, available wearable devices, etc.
在一些可能的实现方式中,该图像处理方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。In some possible implementations, the image processing method may be implemented by the processor calling computer-readable instructions stored in the memory.
如图1所示,所述图像处理方法可以包括:As shown in Figure 1, the image processing method may include:
步骤S11,获取第一图像中目标对象的第一分割结果。Step S11, obtaining a first segmentation result of the target object in the first image.
步骤S12,获取第二图像中目标对象的第二分割结果。Step S12, acquiring a second segmentation result of the target object in the second image.
步骤S13,根据第一分割结果与第二分割结果,得到第一图像与第二图像之间的形变场,其中,形变场包括目标对象在第一图像与第二图像之间的每个像素点的位置变换关系。Step S13, obtaining a deformation field between the first image and the second image according to the first segmentation result and the second segmentation result, wherein the deformation field includes each pixel of the target object between the first image and the second image position transformation relationship.
其中,目标对象可以是任何需要在两个图像之间进行配准的对象。其实现形式可以根据本公开实施例中提出的图像处理方法的实际应用场景灵活决定。The target object can be any object that needs to be registered between the two images. Its implementation form can be flexibly determined according to the actual application scenario of the image processing method proposed in the embodiments of the present disclosure.
本公开实施例提出的图像处理方法可以根据实际需求灵活应用于各种场景。举例来说,在一种可能的实现方式中,本公开实施例提出的方法,可以应用于手术过程中,比如,可以用于对手术前拍摄的图像和手术过程中拍摄的图像进行配准,或是将手术前拍摄的图像和手术后拍摄的图像进行配准等,在这种情况下,目标对象的实现形式可以随着手术所面向对象的不同而灵活发生变化。在一个示例中,本公开实施例提出的方法可 以应用于心脏冠脉的手术,比如经皮冠状动脉介入手术等,在这种情况下,目标对象可以是冠状动脉对象等。The image processing method proposed by the embodiments of the present disclosure can be flexibly applied to various scenarios according to actual requirements. For example, in a possible implementation manner, the method proposed by the embodiments of the present disclosure may be applied in a surgical procedure, for example, may be used to register an image captured before surgery and an image captured during surgery, Or register the images taken before the operation and the images taken after the operation, etc. In this case, the realization form of the target object can be flexibly changed according to the different objects of the operation. In one example, the method proposed by the embodiments of the present disclosure may be applied to coronary artery surgery, such as percutaneous coronary intervention, etc. In this case, the target object may be a coronary artery object or the like.
在一种可能的实现方式中,本公开实施例提出的方法,也可以应用于其他场景,举例来说,可以应用于对病人的疾病诊断过程中,比如,可以用于对病人在某段时间内拍摄的多个病灶图像相互之间进行配准等,在这种情况下,目标对象的实现形式可以随着所监控的病灶的位置不同而灵活发生变化。在一个示例中,本公开实施例提出的方法可以应用于对病人心脏的状况进行监控,在这种情况下,目标对象可以是心脏对象等。In a possible implementation manner, the method proposed by the embodiments of the present disclosure can also be applied to other scenarios, for example, can be applied to the process of diagnosing a patient's disease, for example, can be used to diagnose a patient for a certain period of time In this case, the realization form of the target object can be flexibly changed according to the different positions of the monitored lesions. In one example, the method proposed by the embodiments of the present disclosure may be applied to monitor the condition of the patient's heart, in this case, the target object may be a heart object or the like.
为了便于描述,后续各公开实施例均以图像处理方法用于心脏冠脉的手术,目标对象为冠状动脉对象为例进行描述,图像处理方法应用于其他场景,目标对象为其他对象的情况,可以根据后续各公开实施例进行灵活扩展,不再一一展开。For the convenience of description, the subsequent disclosed embodiments are described by taking the image processing method used for the operation of the coronary artery as an example, and the target object is a coronary artery object. Flexible expansion is performed according to the subsequent disclosed embodiments, and will not be expanded one by one.
第一图像和第二图像的实现形式同样可以根据图像处理方法的应用场景所灵活决定,在一种可能的实现方式中,在图像处理方法用于心脏冠脉手术的情况下,第一图像和第二图像可以是心脏冠脉手术前、手术中或手术后等不同时间段所拍摄的图像,实际如何选择不局限于下述公开实施例。比如,第一图像可以是手术前所拍摄的图像,第二图像可以是手术过程中所拍摄的图像。在一种可能的实现方式中,第一图像与第二图像也可以是具有不同属性或类型的图像,比如,第一图像可以是三维图像,第二图像可以是二维图像等。The realization forms of the first image and the second image can also be flexibly determined according to the application scenario of the image processing method. The second image may be an image captured at different time periods before, during, or after coronary artery surgery, and the actual selection is not limited to the following disclosed embodiments. For example, the first image may be an image captured before surgery, and the second image may be an image captured during surgery. In a possible implementation manner, the first image and the second image may also be images with different attributes or types, for example, the first image may be a three-dimensional image, the second image may be a two-dimensional image, and the like.
上述第一图像和第二图像的各种不同可能的实现形式也可以相互之间灵活组合,举例来说,在一种可能的实现方式中,第一图像可以包括手术前所拍摄的三维CTA图像,第二图像可以包括手术过程中所拍摄的X光图像,目标对象可以包括冠状动脉对象。在第一图像包括CTA图像,第二图像包括X光图像,目标对象包括冠状动脉的情况下,利用本公开实施例提出的图像处理方法,可以有效预测CTA图像与X光图像之间的形变场,从而将冠状动脉手术的两个模态数据统一到同一个坐标系下,补偿冠状动脉手术中X光图像上看不到的冠状动脉血管,为冠状动脉手术提供更好的指导,降低医生的手术复杂程度,提高手术成功率。Various possible implementation forms of the above-mentioned first image and second image can also be flexibly combined with each other. For example, in a possible implementation form, the first image can include a three-dimensional CTA image captured before surgery , the second image may include an X-ray image taken during the operation, and the target object may include a coronary artery object. When the first image includes a CTA image, the second image includes an X-ray image, and the target object includes a coronary artery, the image processing method proposed in the embodiment of the present disclosure can effectively predict the deformation field between the CTA image and the X-ray image , thereby unifying the two modal data of coronary surgery into the same coordinate system, compensating for coronary blood vessels that cannot be seen on X-ray images during coronary surgery, providing better guidance for coronary surgery, and reducing the need for doctors. The complexity of the operation increases the success rate of the operation.
由于第一图像和第二图像的实现形式不受限定,相应地,第一图像与第二图像的数量在本公开实施例中不做限制,可以根据实际情况灵活选择,不局限于下述公开实施例。在一种可能的实现方式中,第二图像可以包括多个X光图像,即可以实现CTA图像与多个X光图像之间的配准。在一个示例中,这多个X光图像可以是冠状动脉手术过程中,对冠状动脉对象所实时拍摄的多张X光图像,通过将CTA图像与手术过程中拍摄的多张X光图像进行配准,可以实现冠状动脉手术中的实时图像配准,从而在手术过程中更好地实时显示出血管的位置,给医生的手术过程提供实时准确的指导和辅助。Since the implementation forms of the first image and the second image are not limited, correspondingly, the number of the first image and the second image is not limited in the embodiments of the present disclosure, and can be flexibly selected according to the actual situation, and is not limited to the following disclosure Example. In a possible implementation manner, the second image may include multiple X-ray images, that is, the registration between the CTA image and the multiple X-ray images may be implemented. In one example, the multiple X-ray images may be multiple X-ray images captured in real time of a coronary artery object during coronary surgery, by matching the CTA images with the multiple X-ray images captured during the surgery. It can realize real-time image registration in coronary surgery, so as to better display the position of blood vessels in real time during the operation, and provide real-time and accurate guidance and assistance to the doctor during the operation.
在确定了第一图像、第二图像与目标对象以后,可以分别通过步骤S11和步骤S12,来从第一图像中获取目标对象的第一分割结果,以及从第二图像中获取目标对象的第二分割结果。其中,第一分割结果和第二分割结果中的“第一”与“第二”等编号仅用于区分其为从不同图像中所得到的分割结果,并不对分割结果的实现形式进行限定,实际上,第一分割结果和第二分割结果的实现形式由其对应的被分割的图像以及目标对象的实现形式所灵活决定。步骤S11和步骤S12的实现形式不受限定,可以详见下述各公开实施例,在此先不做展开。需要注意的是,本公开实施例中,步骤S11与步骤S12的实现顺序不受限定,步骤S11和步骤S12既可以根据需求按一定的顺序先后执行,也可以同时执行。After the first image, the second image and the target object are determined, the first segmentation result of the target object can be obtained from the first image and the first segmentation result of the target object can be obtained from the second image through step S11 and step S12 respectively. Divide the result. Among them, the numbers such as "first" and "second" in the first segmentation result and the second segmentation result are only used to distinguish the segmentation results obtained from different images, and do not limit the realization form of the segmentation results. In fact, the realization forms of the first segmentation result and the second segmentation result are flexibly determined by the realization forms of the corresponding segmented images and the target object. The implementation form of step S11 and step S12 is not limited. For details, please refer to the following disclosed embodiments, which will not be expanded here. It should be noted that, in the embodiment of the present disclosure, the implementation order of step S11 and step S12 is not limited, and step S11 and step S12 may be performed sequentially in a certain order according to requirements, or may be performed simultaneously.
在得到了第一分割结果与第二分割结果以后,可以通过步骤S13,基于第一分割结果与第二分割结果来确定第一图像和第二图像之间的形变场,其中,形变场可以反应第一图像和第二图像之间每个像素点的位置变换关系。步骤S13的实现形式可以根据实际 情况灵活选择,详见后续各公开实施例,在此先不做展开。After the first segmentation result and the second segmentation result are obtained, the deformation field between the first image and the second image can be determined based on the first segmentation result and the second segmentation result through step S13, wherein the deformation field can reflect the The position transformation relationship of each pixel point between the first image and the second image. The implementation form of step S13 can be flexibly selected according to the actual situation. For details, please refer to the subsequent disclosed embodiments, which will not be expanded here.
在本公开实施例中,通过分别获取目标对象在第一图像与第二图像中的第一分割结果和第二分割结果,从而根据第一分割结果与第二分割结果,来得到第一图像中与第二图像之间的形变场。通过上述过程,可以确定目标对象在第一图像与第二图像之间每个像素点的位置变换关系,利用该位置变换关系,可以将第一图像和第二图像之间目标对象的图像信息融合到同一坐标系,从而可以同时利用第一图像与第二图像包含的目标对象的图像信息,对目标对象后续需要执行的操作提供全面的指导;而且,由于该位置变换关系为目标对象每个像素点所对应的变换关系,因此,第一图像与第二图像之间目标对象的信息融合可以具有更高的精度。In the embodiment of the present disclosure, the first segmentation result and the second segmentation result of the target object in the first image and the second image are obtained respectively, so as to obtain the first segmentation result and the second segmentation result according to the first segmentation result and the second segmentation result. and the deformation field between the second image. Through the above process, the positional transformation relationship of each pixel of the target object between the first image and the second image can be determined, and the image information of the target object between the first image and the second image can be fused by using the positional transformation relationship to the same coordinate system, so that the image information of the target object contained in the first image and the second image can be used at the same time to provide comprehensive guidance for the subsequent operations of the target object; Therefore, the information fusion of the target object between the first image and the second image can have higher precision.
如上述公开实施例所述,从第一图像中获取目标对象的第一分割结果的方式不受限定。在一种可能的实现方式中,可以通过应用于图像中的任意血管分割算法,来从第一图像中得到第一分割结果。在一种可能的实现方式中,步骤S11可以包括:As described in the above disclosed embodiments, the manner of obtaining the first segmentation result of the target object from the first image is not limited. In a possible implementation manner, the first segmentation result may be obtained from the first image by applying any blood vessel segmentation algorithm in the image. In a possible implementation manner, step S11 may include:
将第一图像输入至第二神经网络,得到第一图像中目标对象的第一分割结果,其中,第二神经网络通过包含目标对象标注的第一训练图像进行训练。或者,The first image is input to the second neural network to obtain a first segmentation result of the target object in the first image, wherein the second neural network is trained by the first training image containing the target object annotation. or,
将第一图像输入至第一神经网络,得到第一图像中目标对象的第一分割结果,其中,第一神经网络还用于根据第一分割结果与第二分割结果,得到第一图像与第二图像之间的形变场。The first image is input into the first neural network to obtain the first segmentation result of the target object in the first image, wherein the first neural network is also used to obtain the first image and the second segmentation result according to the first segmentation result and the second segmentation result. The deformation field between the two images.
通过上述公开实施例可以看出,在一种可能的实现方式中,可以通过具有分割功能的第二神经网络,对第一图像中的目标对象进行分割,从而得到第一分割结果。其中,第二神经网络的实现形式可以根据实际情况灵活决定,不局限于下述公开实施例。在一种可能的实现方式中,可以通过卷积神经网络(U-Net)来作为第二神经网络。训练该第二神经网络的第一训练图像也可以根据第一图像的实际情况灵活选择,在一种可能的实现方式中,在第一图像包括CTA图像的情况下,第一训练图像可以是包含逐像素血管标注的CTA图像。It can be seen from the above disclosed embodiments that, in a possible implementation manner, the target object in the first image can be segmented through the second neural network having the segmentation function, thereby obtaining the first segmentation result. The implementation form of the second neural network can be flexibly determined according to the actual situation, and is not limited to the following disclosed embodiments. In a possible implementation manner, a convolutional neural network (U-Net) can be used as the second neural network. The first training image for training the second neural network can also be flexibly selected according to the actual situation of the first image. In a possible implementation manner, in the case that the first image includes a CTA image, the first training image may include Pixel-by-pixel vessel annotated CTA images.
通过上述公开实施例还可以看出,在一种可能的实现方式中,还可以通过具有分割功能的第一神经网络,对第一图像中的目标对象进行分割,从而得到第一分割结果。其中,基于上述公开实施例可以看出,第一神经网络除了可以用于对第一图像中的目标对象进行分割以外,还可以具有形变场获取功能,即可以用于根据第一分割结果与第二分割结果来得到第一图像与第二图像之间的形变场。在这种情况下,第一神经网络可以通过输入第一图像和第二分割结果,来依次获取第一图像的第一分割结果,以及根据第一分割结果和第二分割结果来得到第一图像和第二图像之间的形变场。It can also be seen from the above disclosed embodiments that, in a possible implementation manner, the target object in the first image can be segmented through the first neural network with the segmentation function, thereby obtaining the first segmentation result. Among them, based on the above disclosed embodiments, it can be seen that the first neural network can not only be used to segment the target object in the first image, but also has a deformation field acquisition function, that is, it can be used to obtain a deformation field according to the first segmentation result and the first Divide the result into two to obtain the deformation field between the first image and the second image. In this case, the first neural network may sequentially obtain the first segmentation result of the first image by inputting the first image and the second segmentation result, and obtain the first image according to the first segmentation result and the second segmentation result and the deformation field between the second image.
在第一神经网络可以用于对第一图像中的目标对象进行分割,以及获取第一图像与第二图像之间的形变场的情况下,第一神经网络既可以像上述第二神经网络一样,通过包含目标对象标注的第一训练图像进行训练,还可以根据第一分割结果和第二分割结果进行训练,其中,第一分割结果可以为第一训练图像中的目标对象标注,因此,在一种可能的实现方式中,第一神经网络可以通过包含目标对象标注的第一训练图像和第二分割结果进行训练。In the case where the first neural network can be used to segment the target object in the first image and obtain the deformation field between the first image and the second image, the first neural network can be the same as the above-mentioned second neural network , the training is performed by the first training image containing the target object annotation, and the training can also be performed according to the first segmentation result and the second segmentation result, wherein the first segmentation result can be the target object annotation in the first training image. Therefore, in In a possible implementation manner, the first neural network may be trained by using the first training image and the second segmentation result marked with the target object.
在其他一些实施例中,第一神经网络的实现形式和训练过程同样也可以根据实际情况灵活选择,详见后续各公开实施例,在此不进行展开。In some other embodiments, the implementation form and training process of the first neural network can also be flexibly selected according to the actual situation. For details, please refer to the subsequent disclosed embodiments, which will not be expanded here.
通过第二神经网络或第一神经网络对第一图像中的目标对象进行分割,得到第一分割结果,可以有效提高第一分割结果的获取效率,同时,由于第二神经网络或第一神经网络可以通过包含目标对象标注的第一训练图像训练所获得,因此,基于第二神经网络或第一神经网络得到的第一分割结果,可以具有较高精度的分割效果。The target object in the first image is segmented by the second neural network or the first neural network to obtain the first segmentation result, which can effectively improve the obtaining efficiency of the first segmentation result. At the same time, due to the second neural network or the first neural network It can be obtained by training on the first training image containing the target object label. Therefore, the first segmentation result obtained based on the second neural network or the first neural network can have a higher-precision segmentation effect.
在其他一些实施例中,通过第一神经网络对第一图像中的目标对象进行分割,得到 第一分割结果,并进一步通过第一神经网络来得到第一图像与第二图像之间的形变场,通过上述过程,可以在提升第一分割结果的分割效果的基础上,进一步提升获取的形变场的精度,而且可以通过第一神经网络直接实现第一图像端到形变场端的获取过程。In some other embodiments, the target object in the first image is segmented through the first neural network to obtain a first segmentation result, and the deformation field between the first image and the second image is further obtained through the first neural network Through the above process, the accuracy of the obtained deformation field can be further improved on the basis of improving the segmentation effect of the first segmentation result, and the acquisition process from the first image end to the deformation field end can be directly realized through the first neural network.
同理,从第二图像中获取目标对象的第而分割结果的方式也不受限定。在一种可能的实现方式中,也可以利用应用于图像中的任意血管分割算法,来从第二图像中得到第二分割结果。在一种可能的实现方式中,步骤S12可以包括:Similarly, the manner of obtaining the first segmentation result of the target object from the second image is not limited. In a possible implementation manner, any blood vessel segmentation algorithm applied to the image can also be used to obtain the second segmentation result from the second image. In a possible implementation manner, step S12 may include:
将第二图像输入至第三神经网络,得到第二图像中目标对象的第二分割结果,其中,第三神经网络通过包含目标对象标注的第二训练图像进行训练。或者,The second image is input to the third neural network to obtain a second segmentation result of the target object in the second image, wherein the third neural network is trained by the second training image containing the target object annotation. or,
将第二图像输入至第一神经网络,得到第二图像中目标对象的第二分割结果,其中,第一神经网络还用于根据第一分割结果与所述第二分割结果,得到第一图像与第二图像之间的形变场。Inputting the second image into the first neural network to obtain a second segmentation result of the target object in the second image, wherein the first neural network is also used to obtain the first image according to the first segmentation result and the second segmentation result and the deformation field between the second image.
通过上述公开实施例可以看出,在一种可能的实现方式中,可以通过具有分割功能的第三神经网络,对第二图像中的目标对象进行分割,从而得到第二分割结果。其中,第三神经网络的实现形式可以根据实际情况灵活决定,不局限于下述公开实施例。在一种可能的实现方式中,也可以通过U-Net网络来作为第三神经网络。训练该第三神经网络的第二训练图像也可以根据第二图像的实际情况灵活选择,在一种可能的实现方式中,在第二图像包括X光图像的情况下,第一训练图像可以是包含逐像素血管标注的X光图像。It can be seen from the above disclosed embodiments that, in a possible implementation manner, the target object in the second image may be segmented through a third neural network with a segmentation function, thereby obtaining a second segmentation result. The implementation form of the third neural network can be flexibly determined according to the actual situation, and is not limited to the following disclosed embodiments. In a possible implementation manner, the U-Net network can also be used as the third neural network. The second training image for training the third neural network can also be flexibly selected according to the actual situation of the second image. In a possible implementation manner, when the second image includes an X-ray image, the first training image can be X-ray images containing pixel-by-pixel vessel annotations.
通过上述公开实施例还可以看出,在一种可能的实现方式中,还可以通过具有分割功能的第一神经网络,对第二图像中的目标对象进行分割,从而得到第二分割结果。其中,基于上述公开实施例可以看出,第一神经网络除了可以用于对第二图像中的目标对象进行分割以外,还可以具有形变场获取功能,即可以用于根据第一分割结果与第二分割结果来得到第一图像与第二图像之间的形变场。在这种情况下,第一神经网络可以通过输入第二图像和第一分割结果,来依次获取第二图像的第二分割结果,以及根据第二分割结果和第一分割结果来得到第一图像和第二图像之间的形变场。It can also be seen from the above disclosed embodiments that, in a possible implementation manner, the target object in the second image can be segmented by using the first neural network with segmentation function to obtain the second segmentation result. Among them, based on the above disclosed embodiments, it can be seen that the first neural network can not only be used to segment the target object in the second image, but also has a deformation field acquisition function, that is, it can be used to obtain a deformation field according to the first segmentation result and the third Divide the result into two to obtain the deformation field between the first image and the second image. In this case, the first neural network can sequentially obtain the second segmentation result of the second image by inputting the second image and the first segmentation result, and obtain the first image according to the second segmentation result and the first segmentation result and the deformation field between the second image.
如上述公开实施例所述,第一神经网络也可以用于对第一图像中的目标对象进行分割,因此在一种可能的实现方式中,第一神经网络可以同时包含对第一图像进行分割、对第二图像进行分割以及形变场获取这三种功能,在这种情况下,第一神经网络可以通过输入第一图像和第二图像,来分别获取第一图像的第一分割结果以及第二图像的第二分割结果,并根据第一分割结果和第二分割结果来得到第一图像和第二图像之间的形变场。As described in the above disclosed embodiments, the first neural network may also be used to segment the target object in the first image, so in a possible implementation manner, the first neural network may also include segmenting the first image , segmenting the second image and obtaining the deformation field. In this case, the first neural network can obtain the first segmentation result and the first segmentation result of the first image by inputting the first image and the second image, respectively. The second segmentation result of the two images, and the deformation field between the first image and the second image is obtained according to the first segmentation result and the second segmentation result.
在第一神经网络可以用于对第二图像中的目标对象进行分割,以及获取第一图像与第二图像之间的形变场的情况下,第一神经网络可以既可以像上述第三神经网络一样,通过包含目标对象标注的第二训练图像进行训练,还可以根据第一分割结果和第二分割结果进行训练,其中,第二分割结果可以为第二训练图像中的目标对象标注,因此,在一种可能的实现方式中,第一神经网络可以通过包含目标对象标注的第二训练图像和第一分割结果进行训练,在其他一些实施例中,在第一神经网络既可以对第一图像进行分割,又可以对第二图像进行分割,以及获取形变场的情况下,第一神经网络可以通过包含目标对象标注的第一训练图像和包含目标对象标注的第二训练图像同时进行训练。In the case where the first neural network can be used to segment the target object in the second image and obtain the deformation field between the first image and the second image, the first neural network can be similar to the third neural network described above. In the same way, training can be performed on the second training image containing the target object annotation, and training can also be performed according to the first segmentation result and the second segmentation result, wherein the second segmentation result can be the target object annotation in the second training image. Therefore, In a possible implementation manner, the first neural network can be trained by using the second training image marked with the target object and the first segmentation result. In some other embodiments, the first neural network can both perform training on the first image In the case of segmenting, segmenting the second image, and obtaining the deformation field, the first neural network can be simultaneously trained by the first training image containing the target object annotation and the second training image containing the target object annotation.
在其他一些实施例中,第一神经网络的实现形式和训练过程同样也可以根据实际情况灵活选择,详见后续各公开实施例,在此不进行展开。In some other embodiments, the implementation form and training process of the first neural network can also be flexibly selected according to the actual situation. For details, please refer to the subsequent disclosed embodiments, which will not be expanded here.
需要注意的是,本公开实施例中的第一神经网络、第二神经网络和第三神经网络中的“第一”、“第二”与“第三”等标号,仅用于区分具有不同功能的神经网络,不对神经网络的实现形式所进行限定,在本公开实施例中,第一神经网络、第二神经网络与第 三神经网络的实现形式可以相同,也可以不同。It should be noted that the labels such as "first", "second" and "third" in the first neural network, the second neural network, and the third neural network in the embodiments of the present disclosure are only used to distinguish different The functional neural network does not limit the implementation form of the neural network. In the embodiments of the present disclosure, the implementation forms of the first neural network, the second neural network, and the third neural network may be the same or different.
通过第三神经网络或第一神经网络对第二图像中的目标对象进行分割,得到第二分割结果,可以有效提高第二分割结果的获取效率,同时,由于第三神经网络或第一神经网络可以通过包含目标对象标注的第二训练图像训练所获得,因此,基于第三神经网络或第一神经网络得到的第二分割结果,可以具有较高精度的分割效果。The target object in the second image is segmented by the third neural network or the first neural network to obtain the second segmentation result, which can effectively improve the obtaining efficiency of the second segmentation result. At the same time, due to the third neural network or the first neural network It can be obtained by training on the second training image containing the target object label. Therefore, the second segmentation result obtained based on the third neural network or the first neural network can have a higher-precision segmentation effect.
在其他一些实施例中,通过第一神经网络对第二图像中的目标对象进行分割,得到第二分割结果,并进一步通过第一神经网络来得到第一图像与第二图像之间的形变场,通过上述过程,可以在提升第二分割结果的分割效果的基础上,进一步提升获取的形变场的精度,而且可以通过第一神经网络直接实现第二图像端到形变场端的获取过程,还可以通过第一神经网络直接实现第一图像与第二图像这两个图像端,到形变场端的获取过程。In some other embodiments, the target object in the second image is segmented through the first neural network to obtain a second segmentation result, and the deformation field between the first image and the second image is further obtained through the first neural network , through the above process, on the basis of improving the segmentation effect of the second segmentation result, the accuracy of the obtained deformation field can be further improved, and the acquisition process from the second image end to the deformation field end can be directly realized through the first neural network, and also The acquisition process from the two image ends, the first image and the second image, to the deformation field end is directly realized through the first neural network.
在得到了第一分割结果和第二分割结果以后,可以通过步骤S13来获取第一图像与第二图像之间的形变场。在一种可能的实现方式中,步骤S13可以包括:After the first segmentation result and the second segmentation result are obtained, the deformation field between the first image and the second image may be acquired through step S13. In a possible implementation manner, step S13 may include:
将第一分割结果与第二分割结果输入至第一神经网络,得到第一图像与第二图像的形变场。The first segmentation result and the second segmentation result are input into the first neural network to obtain the deformation fields of the first image and the second image.
通过上述公开实施例可以看出,在一种可能的实现方式中,可以通过具有形变场获取功能的第一神经网络,对第一分割结果和第二分割结果之间的像素点位置变换关系进行提取,从而得到第一分割结果与第二分割结果之间的形变场。在一种可能的实现方式中,可以直接将这一第一分割结果与第二分割结果之间的形变场作为第一图像与第二图像之间的形变场;在一种可能的实现方式中,也可以根据第一图像与第一分割结果之间的关系,以及第二图像与第二分割结果之间的关系,将这一形变场对应转换为两个图像之间的变换关系,从而得到第一图像与第二图像之间的形变场。It can be seen from the above disclosed embodiments that, in a possible implementation manner, the pixel position transformation relationship between the first segmentation result and the second segmentation result can be performed by the first neural network with the function of obtaining the deformation field. Extraction, thereby obtaining the deformation field between the first segmentation result and the second segmentation result. In a possible implementation, the deformation field between the first segmentation result and the second segmentation result can be directly used as the deformation field between the first image and the second image; in a possible implementation , or according to the relationship between the first image and the first segmentation result, and the relationship between the second image and the second segmentation result, this deformation field can be correspondingly converted into the transformation relationship between the two images, so as to obtain The deformation field between the first image and the second image.
其中,第一神经网络的实现形式可以根据实际情况灵活决定,不局限于下述公开实施例。在一种可能的实现方式中,可以通过U-Net网络来作为第一神经网络。如何训练第一神经网络,使得其可以根据输入的第一分割结果和第二分割结果来确定形变场,其训练过程可以参见下述各公开实施例,在此先不做展开。The implementation form of the first neural network can be flexibly determined according to the actual situation, and is not limited to the following disclosed embodiments. In a possible implementation manner, a U-Net network can be used as the first neural network. How to train the first neural network so that it can determine the deformation field according to the input first segmentation result and the second segmentation result, the training process can refer to the following disclosed embodiments, which will not be expanded here.
通过第一神经网络来对第一分割结果和第二分割结果进行处理,从而得到第一图像与第二图像之间的形变场,通过上述过程,一方面可以利用神经网络,实现端到端的形变场预测,与逐像素点确定位置变换关系相比,可以大大缩短形变场的获取时间,提高形变场的获取效率,继而有效提升整个图像处理过程以及后续图像配准过程的效率;另一方面,通过神经网络获取的形变场,可以包含第一图像与第二图像之间每个像素点的位置变换关系,可以最大化形变场的自由度,提升了形变场的精度和准确率,从而提高整个图像处理过程以及后续进行图像配准过程的精度。The first segmentation result and the second segmentation result are processed through the first neural network to obtain the deformation field between the first image and the second image. Through the above process, on the one hand, the neural network can be used to realize the end-to-end deformation Compared with determining the position transformation relationship pixel by pixel, field prediction can greatly shorten the acquisition time of the deformation field, improve the acquisition efficiency of the deformation field, and then effectively improve the efficiency of the entire image processing process and subsequent image registration process; on the other hand, The deformation field obtained by the neural network can include the positional transformation relationship of each pixel between the first image and the second image, which can maximize the degree of freedom of the deformation field, improve the precision and accuracy of the deformation field, and thus improve the overall Accuracy of image processing and subsequent image registration.
如上述各公开实施例所述,第一图像与第二图像可能具有不同的属性,在一种可能的实现方式中,第一图像可以包括三维图像,第二图像可以包括二维图像,在这种情况下,根据第一分割结果和第二分割结果获取第一图像与第二图像之间的形变场的过程可以灵活发生变化。因此,在一种可能的实现方式中,步骤S13可以包括:As described in the above disclosed embodiments, the first image and the second image may have different properties. In a possible implementation manner, the first image may include a three-dimensional image, and the second image may include a two-dimensional image. In this case, the process of acquiring the deformation field between the first image and the second image according to the first segmentation result and the second segmentation result can be flexibly changed. Therefore, in a possible implementation manner, step S13 may include:
步骤S131,根据第二图像的采集信息,将第一分割结果转换为二维的第三分割结果;Step S131, converting the first segmentation result into a two-dimensional third segmentation result according to the collection information of the second image;
步骤S132,将第三分割结果与第二分割结果输入至第一神经网络,得到第一图像与第二图像之间的形变场。Step S132, the third segmentation result and the second segmentation result are input to the first neural network to obtain the deformation field between the first image and the second image.
如上述公开实施例所述,由于第一图像包括三维图像,第二图像包括二维图像,因此,相应的,从第一图像中获取的第一分割结果可以为三维的分割结果,而第二图像中获取的第二分割结果则可以为二维的分割结果,将第一分割结果转换为二维的分割结果, 可以便于后续获取三维的第一图像与二维的第二图像之间的形变场,因此,在一种可能的实现方式中,可以通过步骤S131,来根据第二图像的采集信息,将第一分割结果转换为二维的第三分割结果。As described in the above disclosed embodiments, since the first image includes a three-dimensional image and the second image includes a two-dimensional image, correspondingly, the first segmentation result obtained from the first image may be a three-dimensional segmentation result, and the second The second segmentation result obtained in the image may be a two-dimensional segmentation result, and converting the first segmentation result into a two-dimensional segmentation result can facilitate subsequent acquisition of the deformation between the three-dimensional first image and the two-dimensional second image. Therefore, in a possible implementation manner, step S131 may be used to convert the first segmentation result into a two-dimensional third segmentation result according to the acquisition information of the second image.
其中,第二图像的采集信息,可以是第二图像采集过程中,与第二图像的采集角度或采集方式所相关的任意信息,其实现形式可以根据实际情况灵活决定,不局限于下述公开实施例。在一种可能的实现方式中,在第二图像为X光图像的情况下,采集信息可以包括第二图像的医学数字成像和通信(Digital Imaging and Communications in Medicine,DICOM)的头文件信息,通过读取DICOM头文件信息,可以确定X光图像拍摄的角度。Wherein, the collection information of the second image may be any information related to the collection angle or collection method of the second image during the second image collection process, and its implementation form can be flexibly determined according to the actual situation, and is not limited to the following disclosure Example. In a possible implementation manner, in the case where the second image is an X-ray image, the acquisition information may include header file information of Digital Imaging and Communications in Medicine (DICOM) of the second image. Reading the DICOM header file information can determine the angle at which the X-ray image was taken.
根据采集信息将第一分割结果转换为二维的第三分割结果的方式同样不受限定,可以根据采集信息的实际情况所灵活确定。在一种可能的实现方式中,在采集信息可以包括DICOM的头文件信息的情况下,可以根据DICOM头文件信息确定第二图像的拍摄角度,并根据该拍摄角度,对第一分割结果进行投影,得到第三分割结果。其中对第一分割结果进行投影的方式不作限定,在一个示例中,可以通过光线投影算法来得到投影后的第三分割结果。The manner of converting the first segmentation result into the two-dimensional third segmentation result according to the collected information is also not limited, and can be flexibly determined according to the actual situation of the collected information. In a possible implementation manner, in the case where the collection information may include DICOM header file information, the shooting angle of the second image may be determined according to the DICOM header file information, and the first segmentation result may be projected according to the shooting angle , to get the third segmentation result. The manner of projecting the first segmentation result is not limited. In an example, the projected third segmentation result may be obtained by using a ray projection algorithm.
在得到了二维的第三分割结果后,可以通过步骤S132,将第三分割结果与第二分割结果输入至第一神经网络,得到第一图像与第二图像之间的形变场。其中,第一神经网络以及第一神经网络对第三分割结果和第二分割结果的处理方式,可以参见上述公开实施例中第一神经网络对第一分割结果和第二分割结果的处理方式,在此不再赘述。After the two-dimensional third segmentation result is obtained, the third segmentation result and the second segmentation result may be input into the first neural network through step S132 to obtain the deformation field between the first image and the second image. For the processing methods of the first neural network and the first neural network on the third segmentation result and the second segmentation result, reference may be made to the processing methods of the first neural network on the first segmentation result and the second segmentation result in the above disclosed embodiments, It is not repeated here.
需要注意的是,在本公开实施例中,将第一分割结果处理为第三分割结果后,再基于第三分割结果和第二分割结果通过第一神经网络所得到的形变场,为第三分割结果和第二分割结果之间的形变场,在一种可能的实现方式中,可以将这一形变场直接作为第一图像与第二图像之间的形变场;在一种可能的实现方式中,也可以根据第一图像变换至第三分割结果,以及第二图像变换至第二分割结果之间的对应关系,对这一形变场进行进一步处理,来得到第一图像与第二图像之间直接的形变场。随着形变场实现形式的不同,后续利用此形变场对第一图像和第二图像所执行处理的操作,也可以相应发生变化。It should be noted that, in the embodiment of the present disclosure, after the first segmentation result is processed as the third segmentation result, the deformation field obtained by the first neural network based on the third segmentation result and the second segmentation result is the third segmentation result. The deformation field between the segmentation result and the second segmentation result, in a possible implementation, this deformation field can be directly used as the deformation field between the first image and the second image; in a possible implementation , it is also possible to further process this deformation field according to the corresponding relationship between the transformation of the first image to the third segmentation result and the transformation of the second image to the second segmentation result to obtain the difference between the first image and the second image. direct deformation field. With the different realization forms of the deformation field, the subsequent processing operations performed on the first image and the second image by using the deformation field may also change accordingly.
在一种可能的实现方式中,将第一分割结果转换为第三分割结果的过程,也可以通过第一神经网络来实现,在这种情况下,第一神经网络可以直接将第一分割结果和第二分割结果作为输入,在神经网络内部依次进行第一分割结果到第三分割结果的转换,以及根据第三分割结果和第二分割结果来得到第一图像与第二图像之间的形变场。In a possible implementation manner, the process of converting the first segmentation result into the third segmentation result can also be implemented by the first neural network. In this case, the first neural network can directly convert the first segmentation result and the second segmentation result as input, the conversion from the first segmentation result to the third segmentation result is sequentially performed inside the neural network, and the deformation between the first image and the second image is obtained according to the third segmentation result and the second segmentation result. field.
在第一图像包括三维图像,第二图像包括二维图像的情况下,通过根据第二图像的采集信息,将第一分割结果转换为二维的第三分割结果,从而将第三分割结果与第二分割结果输入至第一神经网络,得到第一图像与第二图像之间的形变场,通过上述过程,可以利用二维的第二图像的采集信息,将第一图像的第一分割结果投影至二维平面,从而根据两个二维的分割结果来获取第一图像和第二图像之间的形变场,从而使得得到的形变场可以更加准确地反应出目标对象在第一图像与第二图像之间的变换关系,提升图像处理的精度和效果。In the case where the first image includes a three-dimensional image and the second image includes a two-dimensional image, the first segmentation result is converted into a two-dimensional third segmentation result according to the acquisition information of the second image, so that the third segmentation result and the The second segmentation result is input to the first neural network to obtain the deformation field between the first image and the second image. Through the above process, the first segmentation result of the first image can be divided into Projection to a two-dimensional plane, so as to obtain the deformation field between the first image and the second image according to the two two-dimensional segmentation results, so that the obtained deformation field can more accurately reflect the difference between the first image and the second image of the target object. The transformation relationship between the two images improves the accuracy and effect of image processing.
在获取了第一图像与第二图像之间的形变场以后,可以利用该形变场,对第一图像和第二图像进行相应处理,比如上述公开实施例中所提到的配准等。因此,在一种可能的实现方式中,本公开实施例提出的方法还可以包括:After the deformation field between the first image and the second image is acquired, the first image and the second image can be processed correspondingly by using the deformation field, such as the registration mentioned in the above disclosed embodiments. Therefore, in a possible implementation manner, the method proposed by the embodiment of the present disclosure may further include:
根据形变场,对第一图像与所述第二图像进行配准,得到配准结果。According to the deformation field, the first image and the second image are registered to obtain a registration result.
如上述各公开实施例所述,形变场可以反应目标对象在第一图像与第二图像之间每个像素的位置变换关系,因此,可以通过形变场将第一图像中的目标对象和第二图像中 的目标对象变换到同一坐标系下,从而实现第一图像与第二图像之间的配准,来得到配准结果。As described in the above disclosed embodiments, the deformation field can reflect the positional transformation relationship of each pixel of the target object between the first image and the second image. Therefore, the target object in the first image and the second image can be transformed by the deformation field. The target object in the image is transformed into the same coordinate system, so as to realize the registration between the first image and the second image, and obtain the registration result.
配准的过程,其实现方式可以根据形变场的实际情况灵活决定。如上述公开实施例所述,在一种可能的实现方式中,形变场可以为分割结果之间的形变场,比如第一分割结果与第二分割结果之间的形变场,或是第三分割结果或是第二分割结果之间的形变场等,在这种情况下,对第一图像和第二图像进行配准的过程,可以是对相应的分割结果根据形变场进行形变的过程,即利用形变场将第一分割结果变换到第二分割结果的坐标系、利用形变场将第三分割结果变换到第二分割结果的坐标系、利用形变场将第二分割结果变换到第一分割结果的坐标系或是利用形变场将第二分割结果变换到第三分割结果的坐标系等。The registration process can be flexibly determined according to the actual situation of the deformation field. As described in the above disclosed embodiments, in a possible implementation manner, the deformation field may be the deformation field between the segmentation results, such as the deformation field between the first segmentation result and the second segmentation result, or the third segmentation result The result or the deformation field between the second segmentation results, etc. In this case, the process of registering the first image and the second image can be the process of deforming the corresponding segmentation results according to the deformation field, that is, Transform the first segmentation result into the coordinate system of the second segmentation result using the deformation field, transform the third segmentation result into the coordinate system of the second segmentation result using the deformation field, and transform the second segmentation result into the first segmentation result using the deformation field or the coordinate system used to transform the second segmentation result to the third segmentation result by using the deformation field, etc.
在一种可能的实现方式中,形变场也可以在分割结果的形变场的基础上通过进一步处理所得到的图像之间的形变场,即第一图像和第二图像之间直接的形变场,在这种情况下,对第一图像和第二图像进行配准的过程,可以是直接对第一图像或第二图像进行处理所进行形变的过程,即利用形变场将第一图像变换到第二图像的坐标系,或是利用形变场将第二图像变换到第一图像的坐标系等。In a possible implementation manner, the deformation field can also be obtained by further processing the deformation field between the images on the basis of the deformation field of the segmentation result, that is, the direct deformation field between the first image and the second image, In this case, the process of registering the first image and the second image may be a deformation process by directly processing the first image or the second image, that is, using the deformation field to transform the first image to the second image. The coordinate system of the second image, or the coordinate system of the second image is transformed into the first image by using the deformation field, etc.
在一种可能的实现方式中,配准过程也可以不局限于图像或是分割结果所在的坐标系,比如可以利用形变场,将第一图像和第二图像均配准至某一预设的坐标系中,或是将第一分割结果和第二分割结果均配准至某一预设的坐标系中等等。In a possible implementation, the registration process may not be limited to the image or the coordinate system where the segmentation result is located. For example, a deformation field may be used to register both the first image and the second image to a preset coordinate system, or both the first segmentation result and the second segmentation result are registered to a preset coordinate system, and so on.
实际的配准方式,在本公开实施例中也不做限制,不局限于下述公开实施例。在一个示例中,可以通过空间变换网络(Spatial Transformer Networks,STN),对待配准的图像进行相比,来得到配准结果。The actual registration method is not limited in the embodiments of the present disclosure, and is not limited to the following disclosed embodiments. In one example, the registration result can be obtained by comparing the images to be registered by using Spatial Transformer Networks (STN).
通过根据形变场,对第一图像和第二图像进行配准,得到配准结果,可以利用得到的形变场,灵活地将第一图像中包含的目标对象信息与第二图像中包含的目标对象信息统一与融合到一个坐标系下,从而对将执行的基于目标对象的操作提供全面有效的指导。By registering the first image and the second image according to the deformation field to obtain the registration result, the obtained deformation field can be used to flexibly combine the target object information contained in the first image with the target object contained in the second image Information is unified and fused into a single coordinate system to provide comprehensive and effective guidance on the object-based operations to be performed.
如上述各公开实施例所述,在一种可能的实现方式中,可以利用第一神经网络来获取形变场。为了使得获取的形变场更为准确,可以对第一神经网络进行训练使其具有更高的精度。即本公开实施例提出的图像处理方法,还可以用于第一神经网络的训练过程,在这种情况下,在一种可能的实现方式中,本公开实施例提出的图像处理方法可以包括:As described in the above disclosed embodiments, in a possible implementation manner, the first neural network may be used to obtain the deformation field. In order to make the acquired deformation field more accurate, the first neural network can be trained to have higher accuracy. That is, the image processing method proposed by the embodiment of the present disclosure can also be used in the training process of the first neural network. In this case, in a possible implementation manner, the image processing method proposed by the embodiment of the present disclosure may include:
步骤S11,获取第一图像中目标对象的第一分割结果。Step S11, obtaining a first segmentation result of the target object in the first image.
步骤S12,获取第二图像中目标对象的第二分割结果。Step S12, acquiring a second segmentation result of the target object in the second image.
步骤S13,根据第一分割结果与第二分割结果,得到第一图像与第二图像之间的形变场。Step S13, obtaining a deformation field between the first image and the second image according to the first segmentation result and the second segmentation result.
步骤S14,根据形变场,获取第一神经网络的误差损失。Step S14, according to the deformation field, obtain the error loss of the first neural network.
步骤S15,根据误差损失,对第一神经网络进行训练。Step S15, train the first neural network according to the error loss.
其中,步骤S11至步骤S13的实现过程可以参考上述各公开实施例,在此不再赘述。第一神经网络可以为未经训练的神经网络,也可以为经过训练,但未完全完成训练的神经网络。For the implementation process of steps S11 to S13, reference may be made to the above disclosed embodiments, and details are not described herein again. The first neural network may be an untrained neural network, or may be a trained but incompletely trained neural network.
在得到形变场以后,可以根据形变场,来获取第一神经网络的误差损失。该误差损失的获取方式可以根据实际情况灵活选择。在一种可能的实现方式中,步骤S14可以包括:After the deformation field is obtained, the error loss of the first neural network can be obtained according to the deformation field. The acquisition method of the error loss can be flexibly selected according to the actual situation. In a possible implementation manner, step S14 may include:
步骤S141,根据形变场,对第一分割结果进行配准,得到配准后的第一分割结果,将配准后的第一分割结果与第二分割结果之间的误差作为第一神经网络的误差损失。或者,Step S141, according to the deformation field, register the first segmentation result, obtain the registered first segmentation result, and use the error between the registered first segmentation result and the second segmentation result as the error of the first neural network. error loss. or,
步骤S142,根据形变场,对第二分割结果进行配准,得到配准后的第二分割结果, 将配准后的第二分割结果与第一分割结果之间的误差作为第一神经网络的误差损失。或者,Step S142: According to the deformation field, the second segmentation result is registered to obtain the registered second segmentation result, and the error between the registered second segmentation result and the first segmentation result is used as the error of the first neural network. error loss. or,
步骤S143,根据形变场,对第一分割结果进行配准,得到配准后的第一分割结果,将配准后的第一分割结果与第二图像之间的误差作为第一神经网络的误差损失。或者,Step S143: According to the deformation field, the first segmentation result is registered to obtain the registered first segmentation result, and the error between the registered first segmentation result and the second image is used as the error of the first neural network. loss. or,
步骤S144,根据形变场,对第二分割结果进行配准,得到配准后的第二分割结果,将配准后的第二分割结果与第一图像之间的误差作为第一神经网络的误差损失。Step S144, register the second segmentation result according to the deformation field, obtain the registered second segmentation result, and use the error between the registered second segmentation result and the first image as the error of the first neural network loss.
由于形变场可以反应第一分割结果和第二分割之间的变换关系,因此可以利用第一神经网络输出的形变场,对第一分割结果进行配准,来得到配准后的第一分割结果,若形变场完全准确,则配准后的第一分割结果与第二分割结果将一致,因此,通过配准后的第一分割结果与第二分割结果之间的误差,则可以确定第一神经网络输出的形变场的误差,将其作为第一神经网络的误差损失对第一神经网络进行训练,可以提高训练后得到的第一神经网络的精度。Since the deformation field can reflect the transformation relationship between the first segmentation result and the second segmentation, the first segmentation result after registration can be obtained by using the deformation field output by the first neural network to register the first segmentation result. , if the deformation field is completely accurate, the registered first segmentation result and the second segmentation result will be consistent. Therefore, through the error between the registered first segmentation result and the second segmentation result, the first The error of the deformation field output by the neural network is used as the error loss of the first neural network to train the first neural network, which can improve the accuracy of the first neural network obtained after training.
同理,也可以利用形变场来对第二分割结果进行配准,从而利用配准后的第二分割结果与第一分割结果之间的误差,来确定第一神经网络输出的形变场的误差,继而确定第一神经网络的误差损失。Similarly, the deformation field can also be used to register the second segmentation result, so that the error between the registered second segmentation result and the first segmentation result can be used to determine the error of the deformation field output by the first neural network. , and then determine the error loss of the first neural network.
在一种可能的实现方式中,由于获取第一神经网络的误差损失可以配置为对第一神经网络的训练过程中,而训练过程中,输入至第一神经网络的第一分割结果可能以标注的形式位于第一图像上,同理第二分割结果也可能以标注的形式位于第二图像上。因此,在这种情况下,也可以将配准后的第一分割结果与第二分割结果所在的第二图像之间的误差,或是配准后的第二分割结果与第一分割结果所在的第一图像之间的误差,来作为第一神经网络的误差。In a possible implementation manner, the acquisition of the error loss of the first neural network may be configured during the training process of the first neural network, and during the training process, the first segmentation result input to the first neural network may be marked with is located on the first image in the form of , and the second segmentation result may also be located on the second image in the form of annotations. Therefore, in this case, the error between the registered first segmentation result and the second image where the second segmentation result is located, or the error between the registered second segmentation result and the first segmentation result The error between the first images is used as the error of the first neural network.
由于上述公开实施例中已经提到,形变场可以是第一分割结果和第二分割结果之间的形变场,也可以是第三分割结果和第二分割结果之间的形变场,或是第一图像与第二图像之间的形变场等,因此,随着形变场所指向的对象的不同,所确定的误差可以灵活发生变化,比如,在形变场为第三分割结果与第二分割结果之间的形变场的情况下,可以利用形变场对第三分割结果进行配准,得到配准后的第三分割结果,再根据配准后的第三分割结果与第二分割结果的误差确定第一神经网络的误差损失等,其余的实现形式可以根据上述各公开实施例灵活扩展,在此不再一一列举。配准的方式可以参考上述各公开实施例,在此不再赘述。As mentioned in the above disclosed embodiments, the deformation field may be the deformation field between the first segmentation result and the second segmentation result, the deformation field between the third segmentation result and the second segmentation result, or the deformation field between the third segmentation result and the second segmentation result. The deformation field between one image and the second image, etc., therefore, with the different objects pointed by the deformation field, the determined error can change flexibly. For example, when the deformation field is the difference between the third segmentation result and the second segmentation result In the case of the deformation field between the two, the deformation field can be used to register the third segmentation result to obtain the registered third segmentation result, and then determine the third segmentation result according to the error between the registered third segmentation result and the second segmentation result. The error loss of a neural network, etc., other implementation forms can be flexibly expanded according to the above disclosed embodiments, and will not be listed one by one here. For the registration method, reference may be made to the above disclosed embodiments, and details are not described herein again.
计算不同对象之间的误差的方式可以根据实际情况灵活选择,不局限于下述公开实施例。在一个示例中,可以利用均方误差(Mean Squared Error,MSE)或归一化互相关(Normalized Cross Correlation,NCC)等损失函数的计算方式,来确定不同对象之间的误差。The manner of calculating the error between different objects can be flexibly selected according to the actual situation, and is not limited to the following disclosed embodiments. In one example, the calculation method of a loss function such as Mean Squared Error (MSE) or Normalized Cross Correlation (NCC) can be used to determine the error between different objects.
通过上述第一神经网络误差损失的获取过程,可以根据实际情况,灵活选择合适的方式来确定第一神经网络的误差损失,提升第一神经网络训练的灵活性和便捷性。Through the above process of obtaining the error loss of the first neural network, an appropriate method can be flexibly selected to determine the error loss of the first neural network according to the actual situation, thereby improving the flexibility and convenience of training the first neural network.
在获取第一神经网络的误差损失后,可以通过步骤S15对第一神经网络进行训练,训练的方式可以根据实际情况灵活决定,不局限于下述公开实施例。在一种可能的实现方式中,可以根据第一神经网络的误差损失,利用反向传播的方法,更新第一神经网络中的各项网络参数等。After the error loss of the first neural network is obtained, the first neural network can be trained through step S15, and the training method can be flexibly determined according to the actual situation, and is not limited to the following disclosed embodiments. In a possible implementation manner, various network parameters and the like in the first neural network may be updated by using the method of back propagation according to the error loss of the first neural network.
在本公开实施例中,通过根据形变场获取第一神经网络的误差损失,继而根据误差损失对第一神经网络进行训练,可以直接利用第一神经网络的两个输入图像之间的变换关系对第一神经网络进行训练,无需额外的训练图像或是标注数据等,在保障第一神经网络的训练精度的同时,降低了训练难度和成本。In the embodiment of the present disclosure, by obtaining the error loss of the first neural network according to the deformation field, and then training the first neural network according to the error loss, the transformation relationship between the two input images of the first neural network can be directly used to The first neural network is trained without additional training images or labeled data, which reduces the difficulty and cost of training while ensuring the training accuracy of the first neural network.
冠心病已经成为世界上死亡率最高的疾病之一,常见的治疗方案是经皮冠状动脉介 入手术。经皮冠状动脉介入手术是在术中X光的引导下,利用导管扩张血管狭窄部分以到达治疗的目的。但是在手术过程中,心脏冠脉的X光图像内显示的血管会随着造影剂的消散变得不可见,这给医生带来了很大的挑战,手术的成功率也依赖医生的实际经验。Coronary heart disease has become one of the diseases with the highest mortality in the world, and the common treatment option is percutaneous coronary intervention. Percutaneous coronary intervention is the use of a catheter to dilate the narrowed part of the blood vessel under the guidance of intraoperative X-rays to achieve the purpose of treatment. However, during the operation, the blood vessels displayed in the X-ray image of the coronary artery will become invisible as the contrast agent dissipates, which brings great challenges to the doctor, and the success rate of the operation also depends on the actual experience of the doctor .
术前CTA图像可以很好地展现三维血管结构,但是由于不能在术中实时拍摄CTA图像,因此需要将术前CTA和术中X光图像进行配准来融合到同一个坐标系下给医生提供更好的指导,降低医生的手术复杂程度,提高手术成功率。Preoperative CTA images can show the three-dimensional vascular structure well, but since CTA images cannot be captured in real time during the operation, it is necessary to register the preoperative CTA and intraoperative X-ray images to fuse them into the same coordinate system to provide doctors with information. Better guidance reduces the complexity of the surgery for doctors and improves the success rate of surgery.
相关技术中的冠状动脉配准方法是将配准问题看成最优化问题,定义一个相似度来度量两个血管之间的距离,迭代优化该距离去寻找一个最优的变换矩阵。另一种方案则把最近迭代点方法从点集扩展到曲线,提出了一种迭代最近曲线算法用于曲线结构的配准。还有一种相干点漂移的概率统计精配准方案,把两个点集的配准定义为一个概率密度估计问题。上述方案使用最近迭代点或相干点漂移都需要迭代优化,往往很难满足术中实时性的要求。同时方案中使用B样条或薄板样条等形变,不能很好的满足复杂的血管形变,使得配准的准确率低。The coronary registration method in the related art regards the registration problem as an optimization problem, defines a similarity to measure the distance between two blood vessels, and iteratively optimizes the distance to find an optimal transformation matrix. Another scheme extends the nearest iterative point method from point sets to curves, and proposes an iterative nearest curve algorithm for the registration of curve structures. There is also a probabilistic and statistical precise registration scheme for coherent point drift, which defines the registration of two point sets as a probability density estimation problem. The above schemes require iterative optimization using the most recent iterative point or the coherent point drift, which is often difficult to meet the requirements of intraoperative real-time performance. At the same time, deformations such as B-splines or thin-plate splines are used in the scheme, which cannot well meet the complex vessel deformation, resulting in low registration accuracy.
深度学习技术在计算机视觉领域取得了巨大的成绩,也为医学图像配准提供了新的解决方案。一种方案中训练一个全卷积神经网络,使用“自我监督”对3D大脑MR图像进行非刚性配准;另一种方案利用归一化互相关来训练一个全卷积神经网络预测形变场,来配准4D心脏MR图像;又一种方案利用卷积神经网络和空间变换网络对T1加权大脑MR图像进行配准;再一种方案利用卷积神经网络和空间变换网络对T1加权大脑MR图像进行配准;还有一种方案利用一种基于迁移学习的方法分别对X-ray和心脏序列图像进行了配准。尽管上述的配准方法取得了很大的成功,但是都很难满足多模态多维度的配准问题。Deep learning techniques have made great achievements in the field of computer vision and also provide new solutions for medical image registration. One scheme trains a fully convolutional neural network to perform non-rigid registration of 3D brain MR images using "self-supervision"; the other uses normalized cross-correlation to train a fully convolutional neural network to predict deformation fields, to register 4D cardiac MR images; another scheme uses convolutional neural networks and spatial transformation networks to register T1-weighted brain MR images; another scheme uses convolutional neural networks and spatial transformation networks to register T1-weighted brain MR images registration; another approach utilizes a transfer learning-based approach to separately register X-ray and cardiac sequence images. Although the above registration methods have achieved great success, they are difficult to meet the multi-modal and multi-dimensional registration problem.
本公开实施例提出了一种端到端的冠状动脉配准方法。本公开实施例首先对术前CTA图像的血管束和术中X光图像的血管束进行分割,利用光线投影法将两个不同模态和维度的数据统一到一个坐标系下,然后输入到一个U-Net网络中直接预测形变场。本公开实施例的方法可以端到端的预测形变场,在保证配准精度的同时满足术中实时性的要求。The embodiments of the present disclosure propose an end-to-end coronary registration method. In the embodiment of the present disclosure, the blood vessel bundle of the preoperative CTA image and the blood vessel bundle of the intraoperative X-ray image are firstly segmented, and the data of two different modalities and dimensions are unified into one coordinate system by using the ray projection method, and then input into a single coordinate system. The deformation field is directly predicted in the U-Net network. The method of the embodiment of the present disclosure can predict the deformation field end-to-end, and meet the requirements of intraoperative real-time performance while ensuring the registration accuracy.
本公开实施例提出了一种图像处理方法,这一处理方法可以对冠状动脉的术前CTA图像和术中X光图像进行实时配准,该图像处理的过程可以为:The embodiment of the present disclosure proposes an image processing method, which can perform real-time registration of a preoperative CTA image and an intraoperative X-ray image of a coronary artery. The image processing process can be as follows:
利用三维卷积神经网络3D U-Net网络(即上述公开实施例中的第二神经网络)对术前CTA图像(即上述公开实施例中的第一图像)进行分割,提取CTA图像中的血管束(即上述公开实施例中的第一分割结果);The 3D U-Net network (ie the second neural network in the above disclosed embodiment) is used to segment the preoperative CTA image (ie the first image in the above disclosed embodiment), and the blood vessels in the CTA image are extracted bundle (that is, the first segmentation result in the above disclosed embodiment);
利用U-Net网络(即上述公开实施例中的第三神经网络)对术中X光图像(即上述公开实施例中的第二图像)进行分割,提取X光图像中的血管束(即上述公开实施例中的第二分割结果);The U-Net network (ie the third neural network in the above disclosed embodiment) is used to segment the intraoperative X-ray image (ie the second image in the above disclosed embodiment), and the blood vessel bundles in the X-ray image (ie the above-mentioned the second segmentation result in the disclosed embodiment);
读取X光图像中DICOM的头文件信息(即上述公开实施例中的采集信息),利用光线投影算法,对CTA图像中的血管束生成数字重建放射影像,得到二维的血管投影图(即上述公开实施例中的第三分割结果);Read the header file information of the DICOM in the X-ray image (that is, the acquisition information in the above-mentioned disclosed embodiments), and use the light projection algorithm to generate a digitally reconstructed radiological image for the blood vessel bundle in the CTA image, and obtain a two-dimensional blood vessel projection map (ie the third segmentation result in the above disclosed embodiment);
将二维的血管投影图和X光图像中的血管束输入到配准神经网络(即上述公开实施例中的第一神经网络)中,输出对应的形变场;该过程使用的配准神经网络为深度学习网络,可以直接端到端地预测形变场,大大提高了实时性;同时该过程预测每个像素点的位移,最大化了形变场的自由度,提高了配准精度。Input the two-dimensional blood vessel projection map and the blood vessel bundle in the X-ray image into the registration neural network (ie, the first neural network in the above disclosed embodiment), and output the corresponding deformation field; the registration neural network used in this process For the deep learning network, the deformation field can be directly predicted end-to-end, which greatly improves the real-time performance; at the same time, the process predicts the displacement of each pixel point, maximizes the degree of freedom of the deformation field, and improves the registration accuracy.
利用输出的形变场,可以对二维的血管投影图或X光图像中的血管束进行变换,完成配准过程。Using the output deformation field, the two-dimensional blood vessel projection map or the blood vessel bundle in the X-ray image can be transformed to complete the registration process.
在一些实施例中,由于上述配准过程需要利用到3D U-Net网络、U-Net网络以及配 准神经网络,因此,本公开应用示例还提出一种图像处理方法,可以对上述各神经网络进行训练:In some embodiments, since the above-mentioned registration process needs to utilize 3D U-Net network, U-Net network and registration neural network, the application example of the present disclosure also proposes an image processing method, which can be used for each of the above-mentioned neural networks. To train:
对术前CTA图像进行逐像素的血管标注得到对应的标签,利用术前CTA图像的原图与对应的标签(即上述公开实施例中的包含目标对象标注的第一训练图像),训练用于CTA血管分割的3D U-Net网络;Perform pixel-by-pixel blood vessel labeling on the preoperative CTA image to obtain the corresponding label, and use the original image of the preoperative CTA image and the corresponding label (that is, the first training image containing the target object label in the above disclosed embodiment) to train for 3D U-Net network for CTA vessel segmentation;
对术中X光图像进行逐像素的血管标注得到对应的标签,利用术中X光图像的原图与对应的标签(即上述公开实施例中的包含目标对象标注的第二训练图像),训练用于X光血管分割的U-Net网络。Perform pixel-by-pixel blood vessel labeling on the intraoperative X-ray image to obtain the corresponding label, and use the original image of the intraoperative X-ray image and the corresponding label (that is, the second training image containing the target object label in the above disclosed embodiment) to train U-Net network for X-ray vessel segmentation.
图2示出根据本公开一应用示例中配准神经网络训练过程的示意图,如图2所示,该训练过程可以为:FIG. 2 shows a schematic diagram of a training process of a registration neural network in an application example of the present disclosure. As shown in FIG. 2 , the training process may be:
利用训练好的3D U-Net网络和U-Net网络分别对术前CTA图像201和术中X光图像202进行分割,得到CTA图像中的血管束203和X光图像中的血管束204;Use the trained 3D U-Net network and U-Net network to segment the preoperative CTA image 201 and the intraoperative X-ray image 202, respectively, to obtain the blood vessel bundle 203 in the CTA image and the blood vessel bundle 204 in the X-ray image;
读取X光图像中的DICOM头文件信息,确定术中X光图像的拍摄角度,利用光线投影算法对CTA图像中的血管束203进行投影,得到投影血管束205;Read the DICOM header file information in the X-ray image, determine the shooting angle of the intraoperative X-ray image, and use the light projection algorithm to project the blood vessel bundle 203 in the CTA image to obtain the projected blood vessel bundle 205;
将投影血管束205和X光图像中的血管束204输入到未训练的初始配准神经网络206(可以为U-Net网络)中,输出一个和输入图像(投影血管束或X光图像中的血管束)大小相同的预测形变场207,该预测形变场包含每个像素的位移;Input the projected blood vessel bundle 205 and the blood vessel bundle 204 in the X-ray image into an untrained initial registration neural network 206 (which can be a U-Net network), and output a vascular bundle) of the same size as the predicted deformation field 207, the predicted deformation field containing the displacement of each pixel;
利用空间变换网络208,对投影血管束根据预测形变场进行形变,得到形变后的血管束209;Using the spatial transformation network 208, the projected vascular bundle is deformed according to the predicted deformation field to obtain the deformed vascular bundle 209;
计算形变后的血管束209和X光图像中的血管束205之间的损失函数210,计算方式可以采用均方误差或者归一化互相关等,再使用反向传播算法更新配准神经网络的参数,完成配准神经网络的训练过程。Calculate the loss function 210 between the deformed blood vessel bundle 209 and the blood vessel bundle 205 in the X-ray image. The calculation method can use mean square error or normalized cross-correlation, etc., and then use the back propagation algorithm to update the registration neural network. parameters to complete the training process of the registration neural network.
通过上述过程,本公开实施例可以得到一个端到端的冠状动脉配准网络,通过输入术前CTA图像和术中X光图像,网络可以直接预测形变场,完成配准任务:将术前CTA图像和术中X光图像利用已训练好的U-Net进行分割,得到X光图像的血管束;读取DICOM头文件信息,利用术前CTA血管束生成投影血管束;将投影血管束和投影血管束输入到配准网络中,得到形变场。Through the above process, the embodiment of the present disclosure can obtain an end-to-end coronary registration network. By inputting preoperative CTA images and intraoperative X-ray images, the network can directly predict the deformation field and complete the registration task: Using the trained U-Net to segment the X-ray image and the intraoperative X-ray image to obtain the blood vessel bundle of the X-ray image; read the DICOM header file information, and use the preoperative CTA blood vessel bundle to generate the projected blood vessel bundle; The beams are fed into the registration network and the deformation fields are obtained.
本公开实施例可以无需迭代优化相似性度量函数来寻找术前CTA图像和术中X光图像之间的最优变换关系,而是通过一个深度学习网络即配准神经网络,直接实现端到端的形变场预测。经过实验验证,在中央处理器(Central Processing Unit,CPU)上进行上述配准过程,可以在1秒钟以内获得形变场,大大提高了配准过程的实时性。同时,由于预测的形变场包含了血管束中每个像素点的位移,最大化形变的自由度,相对于基于B样条或者是薄板样条等变换方式来说,本公开应用示例提出的配准方法可以大大提高配准的精度。In the embodiment of the present disclosure, there is no need to iteratively optimize the similarity measure function to find the optimal transformation relationship between the preoperative CTA image and the intraoperative X-ray image, but directly realize the end-to-end transformation through a deep learning network, that is, a registration neural network. Deformation field prediction. After experimental verification, the above-mentioned registration process is performed on the Central Processing Unit (CPU), and the deformation field can be obtained within 1 second, which greatly improves the real-time performance of the registration process. At the same time, since the predicted deformation field includes the displacement of each pixel point in the vascular bundle, the degree of freedom of deformation is maximized. Compared with the transformation methods based on B-splines or thin-plate splines, the configuration proposed in the application example of the present disclosure is improved. The registration method can greatly improve the registration accuracy.
在实际应用过程中,放射科医生在得到术前CTA图像和术中X光图像后,可以利用本公开应用示例提出的方法进行快速准确的配准,将两个模态的数据统一到同一个坐标系下,补偿术中X光图像上看不到的冠状动脉血管的问题。同时,由于本公开应用示例可以对术前CTA图像和术中X光图像包含的冠状动脉进行实时配准,可以使得术中X光图像较好地显示出导管的位置,使得医生在手术过程中对导管行进的方向有一个更好的判断。In the actual application process, after obtaining the preoperative CTA image and the intraoperative X-ray image, the radiologist can use the method proposed in the application example of the present disclosure to perform fast and accurate registration, and unify the data of the two modalities into the same one In the coordinate system, it compensates for the problem of coronary vessels that cannot be seen on intraoperative X-ray images. At the same time, since the application example of the present disclosure can perform real-time registration of the coronary arteries included in the preoperative CTA image and the intraoperative X-ray image, the intraoperative X-ray image can better display the position of the catheter, so that the doctor can perform the operation during the operation. Have a better judgement of the direction in which the catheter is traveling.
需要说明的是,本公开实施例的图像处理方法不限于应用在上述心脏冠脉图像的处理中,可以应用于任意的图像处理,本公开实施例对此不作限定。It should be noted that, the image processing method in the embodiment of the present disclosure is not limited to be applied to the above-mentioned processing of coronary images of the heart, and may be applied to any image processing, which is not limited in the embodiment of the present disclosure.
可以理解,本公开实施例提及的上述各个方法实施例,在不违背原理逻辑的情况下,均可以彼此相互结合形成结合后的实施例,限于篇幅,本公开实施例不再赘述。本领域 技术人员可以理解,在具体实施方式的上述方法中,各步骤的执行顺序应当以其功能和可能的内在逻辑确定。It can be understood that the above method embodiments mentioned in the embodiments of the present disclosure can be combined with each other to form a combined embodiment without violating the principle and logic. Those skilled in the art can understand that, in the above-mentioned method of the specific embodiment, the execution order of each step should be determined by its function and possible internal logic.
此外,本公开实施例还提供了图像处理装置、电子设备、计算机可读存储介质、程序,上述均可用来实现本公开实施例提供的任一种图像处理方法,相应技术方案和描述和参见方法部分的相应记载,不再赘述。In addition, the embodiments of the present disclosure also provide image processing apparatuses, electronic devices, computer-readable storage media, and programs, all of which can be used to implement any image processing method provided by the embodiments of the present disclosure, and the corresponding technical solutions and descriptions and refer to the methods Some of the corresponding records will not be repeated.
图3示出根据本公开实施例的图像处理装置的框图。该图像处理装置可以为终端设备、服务器或者其他处理设备等。其中,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字处理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等。FIG. 3 shows a block diagram of an image processing apparatus according to an embodiment of the present disclosure. The image processing apparatus may be a terminal device, a server, or other processing devices. Wherein, the terminal device may be user equipment (User Equipment, UE), mobile device, user terminal, terminal, cellular phone, cordless phone, Personal Digital Assistant (PDA), handheld device, computing device, in-vehicle device, available wearable devices, etc.
在一些可能的实现方式中,该图像处理装置可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。In some possible implementations, the image processing apparatus may be implemented by a processor invoking computer-readable instructions stored in a memory.
如图3所示,所述图像处理装置30可以包括:As shown in FIG. 3 , the image processing apparatus 30 may include:
第一分割模块31,配置为获取第一图像中目标对象的第一分割结果。The first segmentation module 31 is configured to obtain a first segmentation result of the target object in the first image.
第二分割模块32,配置为获取第二图像中目标对象的第二分割结果。The second segmentation module 32 is configured to obtain a second segmentation result of the target object in the second image.
形变场获取模块33,配置为根据第一分割结果与第二分割结果,得到第一图像与第二图像之间的形变场,其中,形变场包括目标对象在第一图像与第二图像之间的每个像素点的位置变换关系。The deformation field acquiring module 33 is configured to obtain a deformation field between the first image and the second image according to the first segmentation result and the second segmentation result, wherein the deformation field includes the target object between the first image and the second image The position transformation relationship of each pixel of .
在一种可能的实现方式中,形变场获取模块配置为将第一分割结果与第二分割结果输入至第一神经网络,得到第一图像与第二图像的形变场。In a possible implementation manner, the deformation field acquisition module is configured to input the first segmentation result and the second segmentation result into the first neural network to obtain the deformation fields of the first image and the second image.
在一种可能的实现方式中,第一图像包括三维图像,第二图像包括二维图像;形变场获取模块配置为根据第二图像的采集信息,将第一分割结果转换为二维的第三分割结果;将第三分割结果与第二分割结果输入至第一神经网络,得到第一图像与第二图像之间的形变场。In a possible implementation manner, the first image includes a three-dimensional image, and the second image includes a two-dimensional image; the deformation field acquisition module is configured to convert the first segmentation result into a two-dimensional third image according to the acquisition information of the second image Segmentation result; input the third segmentation result and the second segmentation result to the first neural network to obtain the deformation field between the first image and the second image.
在一种可能的实现方式中,图像处理装置30还包括:配准模块,配置为根据形变场,对第一图像与第二图像进行配准,得到配准结果。In a possible implementation manner, the image processing apparatus 30 further includes: a registration module, configured to register the first image and the second image according to the deformation field to obtain a registration result.
在一种可能的实现方式中,图像处理装置30还包括:误差获取模块,配置为根据形变场,获取第一神经网络的误差损失;训练模块,配置为根据误差损失,对第一神经网络进行训练。In a possible implementation manner, the image processing apparatus 30 further includes: an error acquisition module, configured to acquire the error loss of the first neural network according to the deformation field; train.
在一种可能的实现方式中,误差获取模块配置为根据形变场,对第一分割结果进行配准,得到配准后的第一分割结果,将配准后的第一分割结果与第二分割结果之间的误差作为第一神经网络的误差损失;或者,根据形变场,对第二分割结果进行配准,得到配准后的第二分割结果,将配准后的第二分割结果与第一分割结果之间的误差作为第一神经网络的误差损失;根据形变场,对第一分割结果进行配准,得到配准后的第一分割结果,将配准后的第一分割结果与第二图像之间的误差作为第一神经网络的误差损失;或者,根据形变场,对第二分割结果进行配准,得到配准后的第二分割结果,将配准后的第二分割结果与第一图像之间的误差作为第一神经网络的误差损失。In a possible implementation manner, the error acquisition module is configured to register the first segmentation result according to the deformation field, obtain the registered first segmentation result, and compare the registered first segmentation result with the second segmentation result. The error between the results is used as the error loss of the first neural network; or, according to the deformation field, the second segmentation result is registered to obtain the registered second segmentation result, and the registered second segmentation result is compared with the first segmentation result. The error between the first segmentation results is used as the error loss of the first neural network; according to the deformation field, the first segmentation results are registered to obtain the registered first segmentation results, and the registered first segmentation results and the first segmentation results are obtained. The error between the two images is used as the error loss of the first neural network; or, according to the deformation field, the second segmentation result is registered to obtain the registered second segmentation result, and the registered second segmentation result is compared with The error between the first images is used as the error loss of the first neural network.
在一种可能的实现方式中,第一分割模块配置为将第一图像输入至第二神经网络,得到第一图像中目标对象的第一分割结果,其中,第二神经网络通过包含目标对象标注的第一训练图像进行训练;或者,将第一图像输入至第一神经网络,得到第一图像中目标对象的第一分割结果,其中,第一神经网络还用于根据第一分割结果与第二分割结果,得到第一图像与第二图像之间的形变场。In a possible implementation manner, the first segmentation module is configured to input the first image into the second neural network to obtain a first segmentation result of the target object in the first image, wherein the second neural network is marked by including the target object The first training image is trained; or, the first image is input into the first neural network, and the first segmentation result of the target object in the first image is obtained, wherein the first neural network is also used for according to the first segmentation result and the first segmentation result As a result of the binary segmentation, the deformation field between the first image and the second image is obtained.
在一种可能的实现方式中,第二分割模块配置为将第二图像输入至第三神经网络,得到第二图像中目标对象的第二分割结果,其中,第三神经网络通过包含目标对象标注的第二训练图像进行训练;或者,将第二图像输入至第一神经网络,得到第二图像中目 标对象的第二分割结果,其中,第一神经网络还用于根据第一分割结果与第二分割结果,得到第一图像与第二图像之间的形变场。In a possible implementation manner, the second segmentation module is configured to input the second image into a third neural network to obtain a second segmentation result of the target object in the second image, wherein the third neural network is marked by including the target object The second training image is trained; or, the second image is input to the first neural network to obtain the second segmentation result of the target object in the second image, wherein the first neural network is also used to As a result of the binary segmentation, the deformation field between the first image and the second image is obtained.
在一种可能的实现方式中,第一图像包括电子计算机断层扫描血管造影CTA图像,第二图像包括X光图像,目标对象包括冠状动脉对象。In a possible implementation, the first image includes an electronic computed tomography angiography CTA image, the second image includes an X-ray image, and the target object includes a coronary artery object.
本公开实施例还提出一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述图像处理方法。计算机可读存储介质可以是非易失性计算机可读存储介质。An embodiment of the present disclosure further provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above-mentioned image processing method is implemented. The computer-readable storage medium may be a non-volatile computer-readable storage medium.
本公开实施例还提出一种电子设备,包括:处理器;配置为存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。An embodiment of the present disclosure further provides an electronic device, comprising: a processor; a memory configured to store instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
本公开实施例还提供了一种计算机程序产品,包括计算机可读代码,当计算机可读代码在设备上运行时,设备中的处理器执行用于实现如上任一实施例提供的图像处理方法的指令。Embodiments of the present disclosure also provide a computer program product, including computer-readable codes. When the computer-readable codes are run on a device, a processor in the device executes the image processing method for implementing the image processing method provided by any of the above embodiments. instruction.
本公开实施例还提供了另一种计算机程序产品,用于存储计算机可读指令,指令被执行时使得计算机执行上述任一实施例提供的图像处理方法的操作。Embodiments of the present disclosure further provide another computer program product for storing computer-readable instructions, which, when executed, cause the computer to perform the operations of the image processing method provided by any of the foregoing embodiments.
电子设备可以被提供为终端、服务器或其它形态的设备。The electronic device may be provided as a terminal, server or other form of device.
图4示出根据本公开实施例的一种电子设备800的框图。例如,电子设备800可以是移动电话、计算机、数字广播终端、消息收发设备、游戏控制台、平板设备、医疗设备、健身设备和个人数字助理等终端。FIG. 4 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure. For example, electronic device 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, and personal digital assistant, among other terminals.
参照图4,电子设备800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(Input/Output,I/O)的接口812,传感器组件814,以及通信组件816。4, an electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812 , sensor component 814 , and communication component 816 .
处理组件802通常控制电子设备800的整体操作,诸如与显示、电话呼叫、数据通信、相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operations of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 can include one or more processors 820 to execute instructions to perform all or some of the steps of the methods described above. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
存储器804被配置为存储各种类型的数据以支持在电子设备800的操作。这些数据的示例包括用于在电子设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random-Access Memory,SRAM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、可编程只读存储器(Programmable Read-Only Memory,PROM),只读存储器(Read Only Memory,ROM)、磁存储器、快闪存储器、磁盘或光盘。 Memory 804 is configured to store various types of data to support operation at electronic device 800 . Examples of such data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random-Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory) Erasable Programmable Read-Only Memory, EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read Only Memory (Read Only Memory) Memory, ROM), magnetic memory, flash memory, magnetic disk or optical disk.
电源组件806为电子设备800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为电子设备800生成、管理和分配电力相关联的组件。 Power supply assembly 806 provides power to various components of electronic device 800 . Power supply components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800 .
多媒体组件808包括在所述电子设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(Liquid Crystal Display,LCD)和触摸面板(TouchPanel,TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当电子设备800处于操作模式,如拍摄模式或视频模式时,前置 摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a touch panel (TouchPanel, TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front-facing camera and/or a rear-facing camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(Microphone,MIC),当电子设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。 Audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (Microphone, MIC) configured to receive external audio signals when the electronic device 800 is in an operating mode, such as a calling mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in memory 804 or transmitted via communication component 816 . In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘、点击轮、按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
传感器组件814包括一个或多个传感器,用于为电子设备800提供各个方面的状态评估。例如,传感器组件814可以检测到电子设备800的打开/关闭状态和组件的相对定位。例如所述组件为电子设备800的显示器和小键盘,传感器组件814还可以检测电子设备800或电子设备800一个组件的位置改变、用户与电子设备800接触的存在或不存在、电子设备800方位或加速/减速和电子设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如互补金属氧化物半导体(Complementary Metal-Oxide-Semiconductor,CMOS)或电荷耦合器件(Charge Coupled Device,CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器、陀螺仪传感器、磁传感器、压力传感器或温度传感器。 Sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of electronic device 800 . For example, sensor assembly 814 can detect the open/closed state of electronic device 800 and the relative positioning of the assembly. For example, the components are the display and keypad of the electronic device 800, the sensor component 814 can also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, the orientation of the electronic device 800, or the presence or absence of contact with the electronic device 800. Acceleration/deceleration and temperature change of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include a light sensor, such as a Complementary Metal-Oxide-Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件816被配置为便于电子设备800和其他设备之间有线或无线方式的通信。电子设备800可以接入基于通信标准的无线网络,如无线保真(Wireless Fidelity,Wi-Fi)、第二代移动通信技术(The 2nd Generation,2G)或第三代移动通信技术(The 3nd Generation,3G)或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(Near Field Communication,NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(Radio Frequency Identification,RFID)技术、红外数据协会(Infrared Data Association,IrDA)技术、超宽带(Ultra Wide Band,UWB)技术、蓝牙(Blue Tooth,BT)技术和其他技术来实现。 Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as Wireless Fidelity (Wi-Fi), the 2nd Generation (The 2nd Generation, 2G) or the 3rd Generation (The 3nd Generation) , 3G) or their combination. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (Blue Tooth, BT) technology and other technologies to achieve.
在示例性实施例中,电子设备800可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理设备(Digital Signal Processing Device,DSPD)、可编程逻辑器件(Programmable Logic Device,PLD)、现场可编程门阵列(Field Programmable Gate Array,FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (Digital Signal Processing Devices) , DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation, used to perform the above method.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器804,上述计算机程序指令可由电子设备800的处理器820执行以完成上述方法。In an exemplary embodiment, a non-volatile computer-readable storage medium, such as a memory 804 comprising computer program instructions executable by the processor 820 of the electronic device 800 to perform the above method is also provided.
图5示出根据本公开实施例的一种电子设备1900的框图。例如,电子设备1900可以被提供为一服务器。参照图5,电子设备1900包括处理组件1922,可以包括一个或多个处理器,以及由存储器1932所代表的存储器资源,用于存储可由处理组件1922的执行的指令,例如应用程序。存储器1932中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1922被配置为执行指令,以执行上述方法。FIG. 5 shows a block diagram of an electronic device 1900 according to an embodiment of the present disclosure. For example, the electronic device 1900 may be provided as a server. 5, electronic device 1900 includes processing component 1922, which may include one or more processors, and memory resources represented by memory 1932 for storing instructions executable by processing component 1922, such as applications. An application program stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. Additionally, the processing component 1922 is configured to execute instructions to perform the above-described methods.
电子设备1900还可以包括一个电源组件1926被配置为执行电子设备1900的电源 管理,一个有线或无线网络接口1950被配置为将电子设备1900连接到网络,和一个I/O接口1958。电子设备1900可以操作基于存储在存储器1932的操作系统,例如Windows ServerTM、Mac OS XTM、UnixTM、LinuxTM、FreeBSDTM或类似系统。The electronic device 1900 may also include a power supply assembly 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an I/O interface 1958. Electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or the like.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器1932,上述计算机程序指令可由电子设备1900的处理组件1922执行以完成上述方法。In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as memory 1932 comprising computer program instructions executable by processing component 1922 of electronic device 1900 to perform the above-described method.
本公开实施例可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开实施例的各个方面的计算机可读程序指令。Embodiments of the present disclosure may be systems, methods and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the embodiments of the present disclosure.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是但不限于电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质可以包括:便携式计算机盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器、便携式压缩盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能盘(Digital Video Disc,DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. Computer-readable storage media may include: portable computer disks, hard disks, random access memory (RAM), read-only memory, erasable programmable read-only memory (EPROM or flash memory), static random access memory, Portable Compact Disc Read-Only Memory (CD-ROM), Digital Video Disc (DVD), memory sticks, floppy disks, mechanical coding devices, such as punch cards on which instructions are stored Or the protruding structure in the groove, and any suitable combination of the above. Computer-readable storage media, as used herein, are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, light pulses through fiber optic cables), or through electrical wires transmitted electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer readable program instructions described herein may be downloaded to various computing/processing devices from a computer readable storage medium, or to an external computer or external storage device over a network such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本公开实施例操作的计算机程序指令可以是汇编指令、指令集架构(Industry Standard Architecture,ISA)指令、机器指令、机器相关指令、伪代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言例如C语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列或可编程逻辑阵列,该电子电路可以执行计算机可读程序指令,从而实现本公开实施例的各个方面。Computer program instructions for performing operations of embodiments of the present disclosure may be assembly instructions, Industry Standard Architecture (ISA) instructions, machine instructions, machine-related instructions, pseudocode, firmware instructions, state setting data, or in a form of Source or object code written in any combination of programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., as well as conventional procedural programming languages such as C or similar programming languages. The computer readable program instructions 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 implement. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or Wide Area Network (WAN), or may be connected to an external computer (eg, using the Internet service provider to connect via the Internet). In some embodiments, electronic circuits, such as programmable logic circuits, field programmable gate arrays, or programmable logic arrays, that can execute computer readable program instructions are personalized by utilizing state information of computer readable program instructions , thereby implementing various aspects of the embodiments of the present disclosure.
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开实施例的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of embodiments of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功 能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams. These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium on which the instructions are stored includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本公开实施例的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。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 disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more functions for implementing the specified logical function(s) executable instructions. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks 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 is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.
该计算机程序产品可以通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品可以体现为计算机存储介质,在另一个可选实施例中,计算机程序产品可以体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The computer program product can be implemented in hardware, software or a combination thereof. In an optional embodiment, the computer program product may be embodied as a computer storage medium, and in another optional embodiment, the computer program product may be embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Various embodiments of the present disclosure have been described above, and the foregoing descriptions are exemplary, not exhaustive, and not limiting of the disclosed embodiments. Numerous modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the various embodiments, the practical application or improvement over the technology in the marketplace, or to enable others of ordinary skill in the art to understand the various embodiments disclosed herein.
工业实用性Industrial Applicability
本公开实施例涉及一种图像处理方法及装置、电子设备、存储介质和程序产品。所述方法包括:获取第一图像中目标对象的第一分割结果;获取第二图像中目标对象的第二分割结果;根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场,其中,所述形变场包括所述目标对象在所述第一图像与所述第二图像之间的每个像素点的位置变换关系。通过上述过程,可以使得第一图像与第二图像之间目标对象的信息融合可以具有更高的精度。Embodiments of the present disclosure relate to an image processing method and apparatus, an electronic device, a storage medium, and a program product. The method includes: acquiring a first segmentation result of a target object in a first image; acquiring a second segmentation result of the target object in a second image; and obtaining the first segmentation result according to the first segmentation result and the second segmentation result. A deformation field between an image and the second image, wherein the deformation field includes a positional transformation relationship of each pixel of the target object between the first image and the second image. Through the above process, the information fusion of the target object between the first image and the second image can have higher precision.

Claims (21)

  1. 一种图像处理方法,包括:An image processing method, comprising:
    获取第一图像中目标对象的第一分割结果;obtaining the first segmentation result of the target object in the first image;
    获取第二图像中所述目标对象的第二分割结果;obtaining the second segmentation result of the target object in the second image;
    根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场,其中,所述形变场包括所述目标对象在所述第一图像与所述第二图像之间的每个像素点的位置变换关系。According to the first segmentation result and the second segmentation result, a deformation field between the first image and the second image is obtained, wherein the deformation field includes the target object in the first image and the position transformation relationship of each pixel point between the second image.
  2. 根据权利要求1所述的方法,其中,所述根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场,包括:The method according to claim 1, wherein the obtaining a deformation field between the first image and the second image according to the first segmentation result and the second segmentation result comprises:
    将所述第一分割结果与所述第二分割结果输入至第一神经网络,得到所述第一图像与所述第二图像之间的形变场。The first segmentation result and the second segmentation result are input into a first neural network to obtain a deformation field between the first image and the second image.
  3. 根据权利要求1所述的方法,其中,所述第一图像包括三维图像,所述第二图像包括二维图像;The method of claim 1, wherein the first image comprises a three-dimensional image and the second image comprises a two-dimensional image;
    所述根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场,包括:The obtaining of the deformation field between the first image and the second image according to the first segmentation result and the second segmentation result includes:
    根据所述第二图像的采集信息,将所述第一分割结果转换为二维的第三分割结果;converting the first segmentation result into a two-dimensional third segmentation result according to the collection information of the second image;
    将所述第三分割结果与所述第二分割结果输入至第一神经网络,得到所述第一图像与所述第二图像之间的形变场。The third segmentation result and the second segmentation result are input into the first neural network to obtain the deformation field between the first image and the second image.
  4. 根据权利要求2或3中所述的方法,其中,所述方法还包括:The method according to claim 2 or 3, wherein the method further comprises:
    根据所述形变场,对所述第一图像与所述第二图像进行配准,得到配准结果。According to the deformation field, the first image and the second image are registered to obtain a registration result.
  5. 根据权利要求2或3所述的方法,其中,所述方法还包括:The method according to claim 2 or 3, wherein the method further comprises:
    根据所述形变场,获取所述第一神经网络的误差损失;obtaining the error loss of the first neural network according to the deformation field;
    根据所述误差损失,对所述第一神经网络进行训练。The first neural network is trained according to the error loss.
  6. 根据权利要求5所述的方法,其中,所述根据所述形变场,获取所述第一神经网络的误差损失,包括:The method according to claim 5, wherein the obtaining the error loss of the first neural network according to the deformation field comprises:
    根据所述形变场,对所述第一分割结果进行配准,得到配准后的第一分割结果,将所述配准后的第一分割结果与所述第二分割结果之间的误差作为所述第一神经网络的误差损失;或者,According to the deformation field, the first segmentation result is registered to obtain the registered first segmentation result, and the error between the registered first segmentation result and the second segmentation result is taken as the error loss of the first neural network; or,
    根据所述形变场,对所述第二分割结果进行配准,得到配准后的第二分割结果,将所述配准后的第二分割结果与所述第一分割结果之间的误差作为所述第一神经网络的误差损失;或者,According to the deformation field, the second segmentation result is registered to obtain the registered second segmentation result, and the error between the registered second segmentation result and the first segmentation result is taken as the error loss of the first neural network; or,
    根据所述形变场,对所述第一分割结果进行配准,得到配准后的第一分割结果,将所述配准后的第一分割结果与所述第二图像之间的误差作为所述第一神经网络的误差损失;或者,According to the deformation field, the first segmentation result is registered to obtain the registered first segmentation result, and the error between the registered first segmentation result and the second image is used as the the error loss of the first neural network; or,
    根据所述形变场,对所述第二分割结果进行配准,得到配准后的第二分割结果,将所述配准后的第二分割结果与所述第一图像之间的误差作为所述第一神经网络的误差损失。According to the deformation field, the second segmentation result is registered to obtain the registered second segmentation result, and the error between the registered second segmentation result and the first image is used as the The error loss of the first neural network is described.
  7. 根据权利要求2至6中任意一项所述的方法,其中,所述获取第一图像中目标对象的第一分割结果,包括:The method according to any one of claims 2 to 6, wherein the acquiring the first segmentation result of the target object in the first image comprises:
    将所述第一图像输入至第二神经网络,得到所述第一图像中所述目标对象的第一分割结果,其中,所述第二神经网络通过包含目标对象标注的第一训练图像进行训练;或者,Inputting the first image to a second neural network to obtain a first segmentation result of the target object in the first image, wherein the second neural network is trained by using the first training image marked with the target object ;or,
    将所述第一图像输入至所述第一神经网络,得到所述第一图像中所述目标对象的第一分割结果,其中,所述第一神经网络还用于根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场。Inputting the first image to the first neural network to obtain a first segmentation result of the target object in the first image, wherein the first neural network is further configured to obtain a first segmentation result according to the first segmentation result With the second segmentation result, a deformation field between the first image and the second image is obtained.
  8. 根据权利要求2至7中任意一项所述的方法,其中,所述获取第二图像中目标对象的第二分割结果,包括:The method according to any one of claims 2 to 7, wherein the acquiring the second segmentation result of the target object in the second image comprises:
    将所述第二图像输入至第三神经网络,得到所述第二图像中所述目标对象的第二分割结果,其中,所述第三神经网络通过包含目标对象标注的第二训练图像进行训练;或者,Inputting the second image into a third neural network to obtain a second segmentation result of the target object in the second image, wherein the third neural network is trained by using the second training image marked with the target object ;or,
    将所述第二图像输入至所述第一神经网络,得到所述第二图像中所述目标对象的第二分割结果,其中,所述第一神经网络还用于根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场。Inputting the second image to the first neural network to obtain a second segmentation result of the target object in the second image, wherein the first neural network is further configured to obtain a second segmentation result according to the first segmentation result With the second segmentation result, a deformation field between the first image and the second image is obtained.
  9. 根据权利要求1至8中任意一项所述的方法,其中,所述第一图像包括CTA图像,所述第二图像包括X光图像,所述目标对象包括冠状动脉对象。8. The method of any one of claims 1 to 8, wherein the first image comprises a CTA image, the second image comprises an X-ray image, and the target object comprises a coronary artery object.
  10. 一种图像处理装置,包括:An image processing device, comprising:
    第一分割模块,配置为获取第一图像中目标对象的第一分割结果;a first segmentation module, configured to obtain a first segmentation result of the target object in the first image;
    第二分割模块,配置为获取第二图像中目标对象的第二分割结果;a second segmentation module, configured to obtain a second segmentation result of the target object in the second image;
    形变场获取模块,配置为根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场,其中,所述形变场包括所述目标对象在所述第一图像与所述第二图像之间的每个像素点的位置变换关系。A deformation field acquisition module, configured to obtain a deformation field between the first image and the second image according to the first segmentation result and the second segmentation result, wherein the deformation field includes the target The position transformation relationship of each pixel of the object between the first image and the second image.
  11. 根据权利要求10所述的装置,其中,所述形变场获取模块还配置为:The apparatus according to claim 10, wherein the deformation field acquisition module is further configured to:
    将第一分割结果与第二分割结果输入至第一神经网络,得到第一图像与第二图像的形变场。The first segmentation result and the second segmentation result are input into the first neural network to obtain the deformation fields of the first image and the second image.
  12. 根据权利要求10所述的装置,其中,所述第一图像包括三维图像,所述第二图像包括二维图像;所述形变场获取模块还配置为:The apparatus according to claim 10, wherein the first image includes a three-dimensional image, and the second image includes a two-dimensional image; the deformation field acquisition module is further configured to:
    根据第二图像的采集信息,将第一分割结果转换为二维的第三分割结果;将第三分割结果与第二分割结果输入至第一神经网络,得到第一图像与第二图像之间的形变场。According to the collection information of the second image, the first segmentation result is converted into a two-dimensional third segmentation result; the third segmentation result and the second segmentation result are input into the first neural network, and the difference between the first image and the second image is obtained. deformation field.
  13. 根据权利要求11或12所述的装置,其中,所述装置还包括:The apparatus of claim 11 or 12, wherein the apparatus further comprises:
    配准模块,配置为根据所述形变场,对所述第一图像与所述第二图像进行配准,得到配准结果。The registration module is configured to perform registration on the first image and the second image according to the deformation field to obtain a registration result.
  14. 根据权利要求11或12所述的装置,其中,所述装置还包括:The apparatus of claim 11 or 12, wherein the apparatus further comprises:
    误差获取模块,配置为根据所述形变场,获取所述第一神经网络的误差损失;an error obtaining module, configured to obtain the error loss of the first neural network according to the deformation field;
    训练模块,配置为根据所述误差损失,对所述第一神经网络进行训练。A training module configured to train the first neural network according to the error loss.
  15. 根据权利要求11所述的装置,其中,The apparatus of claim 11, wherein,
    所述误差获取模块,还配置为根据所述形变场,对所述第一分割结果进行配准,得到配准后的第一分割结果,将所述配准后的第一分割结果与所述第二分割结果之间的误差作为所述第一神经网络的误差损失;或者,The error acquisition module is further configured to perform registration on the first segmentation result according to the deformation field, obtain a registered first segmentation result, and compare the registered first segmentation result with the The error between the second segmentation results is used as the error loss of the first neural network; or,
    根据所述形变场,对所述第二分割结果进行配准,得到配准后的第二分割结果,将所述配准后的第二分割结果与所述第一分割结果之间的误差作为所述第一神经网络的误差损失;或者,According to the deformation field, the second segmentation result is registered to obtain the registered second segmentation result, and the error between the registered second segmentation result and the first segmentation result is taken as the error loss of the first neural network; or,
    根据所述形变场,对所述第一分割结果进行配准,得到配准后的第一分割结果,将所述配准后的第一分割结果与所述第二图像之间的误差作为所述第一神经网络的误差损失;或者,According to the deformation field, the first segmentation result is registered to obtain the registered first segmentation result, and the error between the registered first segmentation result and the second image is used as the the error loss of the first neural network; or,
    根据所述形变场,对所述第二分割结果进行配准,得到配准后的第二分割结果,将所述配准后的第二分割结果与所述第一图像之间的误差作为所述第一神经网络的误差 损失。According to the deformation field, the second segmentation result is registered to obtain the registered second segmentation result, and the error between the registered second segmentation result and the first image is used as the The error loss of the first neural network is described.
  16. 根据权利要求11至15任意一项所述的装置,其中,The device according to any one of claims 11 to 15, wherein,
    所述第一分割模块还配置为将所述第一图像输入至第二神经网络,得到所述第一图像中所述目标对象的第一分割结果,其中,所述第二神经网络通过包含目标对象标注的第一训练图像进行训练;或者,The first segmentation module is further configured to input the first image into a second neural network to obtain a first segmentation result of the target object in the first image, wherein the second neural network includes the target object-labeled first training image for training; or,
    将所述第一图像输入至所述第一神经网络,得到所述第一图像中所述目标对象的第一分割结果,其中,所述第一神经网络还用于根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场。Inputting the first image to the first neural network to obtain a first segmentation result of the target object in the first image, wherein the first neural network is further configured to obtain a first segmentation result according to the first segmentation result With the second segmentation result, a deformation field between the first image and the second image is obtained.
  17. 根据权利要求11至16任意一项所述的装置,其中,The apparatus of any one of claims 11 to 16, wherein,
    所述第二分割模块,用于将所述第二图像输入至第三神经网络,得到所述第二图像中所述目标对象的第二分割结果,其中,所述第三神经网络通过包含目标对象标注的第二训练图像进行训练;或者,The second segmentation module is configured to input the second image into a third neural network to obtain a second segmentation result of the target object in the second image, wherein the third neural network includes the target object-labeled second training images for training; or,
    将所述第二图像输入至所述第一神经网络,得到所述第二图像中所述目标对象的第二分割结果,其中,所述第一神经网络还用于根据所述第一分割结果与所述第二分割结果,得到所述第一图像与所述第二图像之间的形变场。Inputting the second image into the first neural network to obtain a second segmentation result of the target object in the second image, wherein the first neural network is further configured to obtain a second segmentation result according to the first segmentation result With the second segmentation result, a deformation field between the first image and the second image is obtained.
  18. 根据权利要求10至17任意一项所述的装置,其中,所述第一图像包括CTA图像,所述第二图像包括X光图像,所述目标对象包括冠状动脉对象。18. The apparatus of any one of claims 10 to 17, wherein the first image includes a CTA image, the second image includes an X-ray image, and the target object includes a coronary artery object.
  19. 一种电子设备,包括:An electronic device comprising:
    处理器;processor;
    配置为存储所述处理器可执行指令的存储器;a memory configured to store instructions executable by the processor;
    其中,所述处理器被配置为调用所述存储器存储的指令,以执行权利要求1至9中任意一项所述的方法。wherein the processor is configured to invoke the memory-stored instructions to perform the method of any one of claims 1-9.
  20. 一种计算机可读存储介质,所述存储介质中存储有计算机程序指令,所述计算机程序指令被处理器执行时实现权利要求1至9中任意一项所述的方法。A computer-readable storage medium, storing computer program instructions in the storage medium, the computer program instructions implementing the method of any one of claims 1 to 9 when executed by a processor.
  21. 一种计算机程序产品,所述程序产品中存储有计算机可读指令,所述计算机可读指令被执行时实现如权利要求1至9中任意一项所述的方法。A computer program product having computer-readable instructions stored in the program product, the computer-readable instructions implementing the method according to any one of claims 1 to 9 when executed.
PCT/CN2020/140330 2020-07-16 2020-12-28 Image processing method and apparatus, electronic device, storage medium, and program product WO2022011984A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021578004A JP2022543531A (en) 2020-07-16 2020-12-28 Image processing method and device, electronic equipment, storage medium and program product
KR1020217043238A KR20220016212A (en) 2020-07-16 2020-12-28 Image processing method and apparatus, electronic device, storage medium and program product

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010686919.6 2020-07-16
CN202010686919.6A CN111798498A (en) 2020-07-16 2020-07-16 Image processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022011984A1 true WO2022011984A1 (en) 2022-01-20

Family

ID=72807442

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/140330 WO2022011984A1 (en) 2020-07-16 2020-12-28 Image processing method and apparatus, electronic device, storage medium, and program product

Country Status (5)

Country Link
JP (1) JP2022543531A (en)
KR (1) KR20220016212A (en)
CN (1) CN111798498A (en)
TW (1) TWI767614B (en)
WO (1) WO2022011984A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111798498A (en) * 2020-07-16 2020-10-20 上海商汤智能科技有限公司 Image processing method and device, electronic equipment and storage medium
TWI790508B (en) * 2020-11-30 2023-01-21 宏碁股份有限公司 Blood vessel detecting apparatus and blood vessel detecting method based on image
CN112651931B (en) * 2020-12-15 2024-04-26 浙江大华技术股份有限公司 Building deformation monitoring method and device and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170098311A1 (en) * 2014-03-21 2017-04-06 U.S. Department Of Veterans Affairs Graph search using non-euclidean deformed graph
CN111080680A (en) * 2019-12-29 2020-04-28 苏州体素信息科技有限公司 Patient-oriented three-dimensional chest organ reconstruction method and system
CN111091589A (en) * 2019-11-25 2020-05-01 北京理工大学 Ultrasonic and nuclear magnetic image registration method and device based on multi-scale supervised learning
CN111260700A (en) * 2020-01-09 2020-06-09 复旦大学 Full-automatic registration and segmentation method for multi-parameter magnetic resonance image
CN111798498A (en) * 2020-07-16 2020-10-20 上海商汤智能科技有限公司 Image processing method and device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5491929B2 (en) * 2009-04-10 2014-05-14 株式会社東芝 X-ray diagnostic apparatus and method
US11938344B2 (en) * 2018-07-24 2024-03-26 Brainlab Ag Beam path based patient positioning and monitoring
CN111047629B (en) * 2019-11-04 2022-04-26 中国科学院深圳先进技术研究院 Multi-modal image registration method and device, electronic equipment and storage medium
CN110930438B (en) * 2019-11-22 2023-05-05 上海联影医疗科技股份有限公司 Image registration method, device, electronic equipment and storage medium
CN111161330B (en) * 2019-12-20 2024-03-22 东软医疗系统股份有限公司 Non-rigid image registration method, device, system, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170098311A1 (en) * 2014-03-21 2017-04-06 U.S. Department Of Veterans Affairs Graph search using non-euclidean deformed graph
CN111091589A (en) * 2019-11-25 2020-05-01 北京理工大学 Ultrasonic and nuclear magnetic image registration method and device based on multi-scale supervised learning
CN111080680A (en) * 2019-12-29 2020-04-28 苏州体素信息科技有限公司 Patient-oriented three-dimensional chest organ reconstruction method and system
CN111260700A (en) * 2020-01-09 2020-06-09 复旦大学 Full-automatic registration and segmentation method for multi-parameter magnetic resonance image
CN111798498A (en) * 2020-07-16 2020-10-20 上海商汤智能科技有限公司 Image processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
TW202203854A (en) 2022-02-01
CN111798498A (en) 2020-10-20
TWI767614B (en) 2022-06-11
KR20220016212A (en) 2022-02-08
JP2022543531A (en) 2022-10-13

Similar Documents

Publication Publication Date Title
WO2022011984A1 (en) Image processing method and apparatus, electronic device, storage medium, and program product
WO2021147257A1 (en) Network training method and apparatus, image processing method and apparatus, and electronic device and storage medium
WO2021051965A1 (en) Image processing method and apparatus, electronic device, storage medium, and computer program
JP2022537974A (en) Neural network training method and apparatus, electronic equipment and storage medium
CN112767329B (en) Image processing method and device and electronic equipment
WO2021259391A2 (en) Image processing method and apparatus, and electronic device and storage medium
CN112541928A (en) Network training method and device, image segmentation method and device and electronic equipment
WO2022007342A1 (en) Image processing method and apparatus, electronic device, storage medium, and program product
WO2021103554A1 (en) Image positioning interactive display method, apparatus, electronic device, and storage medium
CN113222038B (en) Breast lesion classification and positioning method and device based on nuclear magnetic image
KR102108418B1 (en) Method for providing an image based on a reconstructed image group and an apparatus using the same
TWI765386B (en) Neural network training and image segmentation method, electronic device and computer storage medium
CN113012166A (en) Intracranial aneurysm segmentation method and device, electronic device, and storage medium
US20110122068A1 (en) Virtual colonoscopy navigation methods using a mobile device
CN113469948B (en) Left ventricle segment identification method and device, electronic equipment and storage medium
CN113902730A (en) Image processing and neural network training method and device
Hsieh et al. Markerless Augmented Reality via Stereo Video See‐Through Head‐Mounted Display Device
CN112767541A (en) Three-dimensional reconstruction method and device, electronic equipment and storage medium
WO2022012038A1 (en) Image processing method and apparatus, electronic device, storage medium and program product
WO2022179014A1 (en) Image processing method and apparatus, electronic device, storage medium, and program product
WO2021120603A1 (en) Target object display method and apparatus, electronic device and storage medium
Gong et al. Intensity-mosaic: automatic panorama mosaicking of disordered images with insufficient features
CN113192606A (en) Medical data processing method and device, electronic equipment and storage medium
CN113553460B (en) Image retrieval method and device, electronic device and storage medium
WO2023032436A1 (en) Medical image processing device, medical image processing method, and program

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2021578004

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20217043238

Country of ref document: KR

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20945506

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20945506

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11.07.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20945506

Country of ref document: EP

Kind code of ref document: A1