WO2020093987A1 - Medical image processing method and system, computer device, and readable storage medium - Google Patents

Medical image processing method and system, computer device, and readable storage medium Download PDF

Info

Publication number
WO2020093987A1
WO2020093987A1 PCT/CN2019/115549 CN2019115549W WO2020093987A1 WO 2020093987 A1 WO2020093987 A1 WO 2020093987A1 CN 2019115549 W CN2019115549 W CN 2019115549W WO 2020093987 A1 WO2020093987 A1 WO 2020093987A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
interest
region
target
area
Prior art date
Application number
PCT/CN2019/115549
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
Priority claimed from CN201811306115.8A external-priority patent/CN109493328B/en
Priority claimed from CN201811626399.9A external-priority patent/CN109859233B/en
Priority claimed from CN201910133231.2A external-priority patent/CN109934220B/en
Application filed by 上海联影智能医疗科技有限公司 filed Critical 上海联影智能医疗科技有限公司
Publication of WO2020093987A1 publication Critical patent/WO2020093987A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Definitions

  • This application relates to the field of image processing, and in particular to a medical image processing method, system, computer device, and readable storage medium.
  • Medical imaging equipment refers to various instruments that use various media as information carriers to reproduce the internal structure of the human body as images.
  • Electronic computer tomography is a device that uses precise collimated X-ray beams, gamma rays, ultrasonic waves, etc. to perform a cross-sectional scan one after another around a part of the human body with a highly sensitive detector to finally generate a medical image .
  • CT computer tomography
  • the patient can be scanned by a CT scanner to generate scan data.
  • Generate image sequences based on scan data.
  • the image sequence includes multiple cross-sectional images, and each cross-sectional image represents a cross-sectional image of the patient. Then generate a three-dimensional image of the patient according to the image sequence.
  • the cross-sectional images can also be processed and reconstructed by computer software to obtain multi-planar cross-sectional images required for diagnosis, such as coronal, sagittal, oblique, curved, and other two-dimensional images.
  • the physician observes the image sequence and three-dimensional images Further determine the patient's lesion area.
  • a medical image processing method characterized in that the method includes:
  • the dynamic image is displayed.
  • the inputting the image to be detected into a neural network model for processing to obtain the detection result of the region of interest includes: inputting the image to be detected into the neural network model for network forward propagation calculation To obtain the detection result of the region of interest.
  • the method further includes: acquiring the attribute parameter threshold value input by the user in real time; and acquiring the attribute parameter threshold value input by the user in real time includes: controlling the control information of the component and the attribute parameter threshold value according to a preset threshold value The mapping relationship determines the attribute parameter threshold input by the user.
  • the region of interest attribute parameters include region of interest confidence, region of interest category, region of interest size; information of the target region of interest includes location information of the target region of interest and / Or size information of the target region of interest.
  • the acquiring multiple images based on the target region of interest and generating a dynamic image according to a preset order of the multiple images includes:
  • a plurality of the planar images are generated in a predetermined order to generate dynamic images.
  • acquiring the target region of interest image based on the target region of interest includes: using the target region of interest as a reference, selecting an image within a preset range as the target sense Area of interest image.
  • the acquiring multiple plane images according to the target area of interest image includes: acquiring multiple plane images in the target area of interest image according to a preset acquisition method.
  • the generating the dynamic images in the predetermined order by the plurality of the planar images includes: generating the dynamic images in the acquisition order or in an order opposite to the acquisition order.
  • displaying the dynamic image includes: displaying the dynamic image according to a preset position.
  • the system includes:
  • the processing module is configured to input the image to be detected into a neural network model for processing to obtain a detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest;
  • An information obtaining module configured to obtain information of the target interest area from the detection result of the interest area according to the attribute parameter of the interest area and the attribute parameter threshold;
  • An interest area acquisition module configured to determine the target interest area in the image to be detected according to the information of the target interest area
  • a dynamic image generation module configured to acquire multiple images based on the target region of interest, and generate dynamic images according to the preset order of the multiple images;
  • the display module is used for displaying the dynamic image.
  • An embodiment of the present application provides a computer device, including a memory and a processor.
  • a computer program that can run on the processor is stored on the memory.
  • the processor implements the computer program to implement the following steps:
  • the dynamic image is displayed.
  • An embodiment of the present application provides a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are realized:
  • the dynamic image is displayed.
  • An image processing method includes:
  • Input the image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result;
  • the neural network model is determined by machine training and learning based on the training image.
  • the inputting the image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result and a bone fracture detection result includes:
  • n is less than n, and m and n are positive integers.
  • the method further includes:
  • a training method for processing an image processing model includes:
  • the trained neural network model is configured to output the bone segmentation result, the bone centerline segmentation result and the bone fracture detection result simultaneously according to the input image.
  • the training a neural network model based on the training image includes:
  • a processing image processing system includes:
  • the image-to-be-detected module is used to obtain the image to be detected
  • a to-be-detected image processing module configured to input the to-be-detected image into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result;
  • the neural network model is determined by machine training and learning based on the training image.
  • the image processing module block to be detected includes:
  • a first acquiring unit configured to input the image to be detected into the neural network model for network forward propagation calculation, and insert m times of upsampling codes after the mth downsampling code to obtain the bone fracture detection result;
  • a second obtaining unit configured to continue down-sampling and encoding, and after performing the n-th down-sampling and encoding, perform n up-sampling and encoding to obtain the bone segmentation result and the bone centerline segmentation result;
  • n is less than n, and m and n are positive integers.
  • system further includes a post-processing module, the post-processing module is configured to:
  • An image processing model training system includes:
  • Training image acquisition module for acquiring training images
  • a model training module for training a neural network model based on the training image
  • the trained neural network model is configured to output the bone segmentation result, the bone centerline segmentation result and the bone fracture detection result simultaneously according to the input image.
  • the model training module includes a first training unit and a second training unit
  • the first training unit is used for inputting the training image into a preset neural network for bone segmentation training and bone centerline segmentation training, and fixing parameters in the training process to obtain a bone segmentation module and a bone centerline segmentation module;
  • the second training unit is configured to continue to perform bone fracture detection training on the training image through the preset neural network, and fix parameters in the training process to obtain a bone fracture detection module.
  • the ratio of positive and negative samples of bone fractures is much larger than the ratio of positive and negative samples of bones.
  • the two tasks are simultaneously performed on a single network Training will cause the loss function to be extremely difficult to converge.
  • This application adopts training bone segmentation and bone centerline segmentation first, in the way of transfer learning, fixes the already trained parameters, and then trains bone fracture detection, which can make the loss function quickly converge and solve the data between different tasks in the multi-task model Extremely unbalanced situation; the use of a trained deep learning network to achieve bone segmentation, bone centerline segmentation and bone fracture detection functions, compared with the three processes of bone segmentation, bone centerline segmentation and bone fracture detection separately, the network implementation
  • the three processes can shorten the total time consumption by 50% and the model saves memory space by 40%; using artificial intelligence to achieve the extraction of bone centerlines (such as rib centerline) and fracture detection, bone detection rate For more than 90%, the segmentation of the skeletal centerline can help us to perform visual post-processing such as labeling and unfolding of the ribs, helping doctors to see the rib lesions more easily; at the same time, rib segmentation, rib centerline and rib fracture detection are integrated at a depth Learning network can help doctors reduce the burden of reading and speed
  • a method for displaying a region of interest in an image comprising:
  • the detection result of the region of interest in the image where the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest;
  • the comparison result of the attribute parameter of the region of interest and the threshold value of the attribute parameter obtain the information of the target region of interest from the detection result of the region of interest;
  • the region of interest attribute parameter includes one of the following: region of interest confidence, region of interest category, and region of interest size.
  • the real-time acquisition of the attribute parameter threshold input by the user includes:
  • the attribute parameter threshold input by the user is determined according to the mapping relationship between the control information of the preset threshold control component and the attribute parameter threshold.
  • the information displaying the target region of interest includes:
  • the rendered partial image is displayed.
  • the information of the target interest area includes position information of the target interest area and / or size information of the target interest area;
  • the information displaying the target area of interest further includes:
  • the original image containing the target region of interest is displayed.
  • the information displaying the target region of interest further includes:
  • the target index is displayed.
  • the method further includes:
  • the selection signal determine the target interest region information corresponding to the target index
  • the target interest area corresponding to the information of the target interest area is identified in the original image, and / or the rendered partial image corresponding to the information of the target interest area is identified.
  • the region of interest includes an anatomical structure or a lesion.
  • a display device for video interest regions includes:
  • a first acquisition module configured to acquire the detection result of the region of interest in the image, the detection result of the region of interest including information of the region of interest and attribute parameters of the region of interest;
  • the second obtaining module is used to obtain the attribute parameter threshold value input by the user in real time
  • a third obtaining module configured to obtain the information of the target interest area from the detection result of the interest area according to the comparison result of the attribute parameter of the interest area and the threshold value of the attribute parameter;
  • a display module is used to display the information of the target region of interest.
  • a terminal includes a processor and a memory.
  • the memory stores at least one instruction, at least one program, code set, or instruction set.
  • the at least one instruction, the at least one program, code set, or instruction set is composed of
  • the processor loads and executes to implement any one of the methods for displaying image interest regions as described above.
  • the method, device and terminal for displaying the image interest area described above obtain the detection result of the interest area in the image, and the detection result of the interest area includes the information of the interest area and the attribute parameter of the interest area, and obtain the attribute input by the user in real time Parameter threshold, according to the comparison result of the attribute parameter of the region of interest and the threshold value of the attribute parameter, obtain the information of the target region of interest from the detection result of the region of interest, and display the information of the target region of interest , Realizing that users can adjust the threshold of attribute parameters in real time, so that they can display the detection results under different attribute parameter thresholds in real time, which is beneficial to users according to different usage scenarios and different case characteristics, weighing different degrees of diagnostic accuracy and reading The balance of the film time improves the flexibility of the computer-aided diagnosis system.
  • a medical image display method includes:
  • the dynamic image is displayed according to a preset position.
  • the acquiring the region of interest selected in the original image includes:
  • the original image is input into the neural network trained based on the image training set to obtain the target region of interest.
  • the acquiring multiple plane images in the target area of interest image according to a preset acquisition method includes:
  • a plurality of slice images perpendicular to the preset direction are intercepted in the target interest region image in sequence along the preset direction as a plane image.
  • the acquiring multiple plane images in the target area of interest image according to a preset acquisition method includes:
  • the target region of interest image is rotated according to a preset direction, and each time the preset angle is rotated, a maximum density projection is performed on the target region of interest image in the Z-axis direction to project the maximum density
  • the image is used as a planar image until the target region of interest image is rotated to the initial position including:
  • the plane image after being rotated around the Y axis by a preset angle and the plane image after being rotated around the X axis by a preset angle are alternately obtained until the target region of interest image is rotated to the initial position.
  • the preset direction is: clockwise direction or counterclockwise direction.
  • the generating the dynamic images according to the preset order from the plurality of planar images includes:
  • a plurality of the planar images are generated in the order of acquisition or the order opposite to the order of acquisition.
  • a medical image viewing device includes: an original image acquisition module for acquiring an original image of a detected object;
  • An interest area acquisition module configured to acquire an interest area selected in the original image
  • An image selection module which is used to select an image within a preset range as the target region of interest image based on the region of interest;
  • a planar image extraction module configured to acquire multiple planar images in the target area of interest image according to a preset acquisition method
  • a dynamic image generation module configured to generate a plurality of the planar images according to a preset order
  • the display module is configured to display the dynamic image according to a preset position.
  • a computer device includes a memory and a processor.
  • the memory stores a computer program, and is characterized in that when the processor executes the computer program, any of the steps of the above method is implemented.
  • the above medical image display method, viewing device, computer device and storage medium obtain the original image of the detected object, select the target interest area from the original image, and then select the image within the preset range as the center of the target interest area as the center
  • For the target region of interest image a plurality of plane images are acquired in the target region of interest image in a preset manner, and the multiple plane images are generated in a predetermined order to generate a dynamic image.
  • the physician determines the location of the lesion by observing the dynamic image, which can save the workload of the physician and save the doctor's time for determining the lesion.
  • FIG. 1 is a schematic flowchart of a medical image processing method provided by an embodiment
  • FIG. 2 is a schematic flowchart of a medical image processing method provided by another embodiment
  • FIG. 3 is a schematic flowchart of a medical image processing method provided by another embodiment
  • FIG. 4 is a schematic diagram of results of a medical image processing system provided by an embodiment
  • FIG. 5 is a schematic structural diagram of a terminal provided by an embodiment
  • FIG. 6 is a schematic flowchart of an image processing method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a process of inputting an image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result provided by an embodiment of the present application;
  • FIG. 8 is a structural block diagram of a neural network model provided by an embodiment of the present application.
  • FIG. 9 is another schematic flowchart of an image processing method provided by an embodiment of the present application.
  • FIG. 10 is a block diagram of the working principle of image processing provided by an embodiment of the present application.
  • FIG. 11 is a screenshot of a cross section, a sagittal plane, and a coronal plane of an image to be detected provided by an embodiment of the present application;
  • FIG. 12 is a schematic diagram of an analysis result of performing image processing on the image to be detected in FIG. 11;
  • FIG. 13 is a schematic flowchart of a training method of an image processing model provided by an embodiment of the present application.
  • FIG. 14 is a schematic flow chart of training a neural network model based on training images provided by an embodiment of the present application
  • 16 is a structural block diagram of an image processing system provided by an embodiment of the present application.
  • FIG 17 is another structural block diagram of an image processing system provided by an embodiment of the present application.
  • FIG. 18 is a structural block diagram of an image processing model training system provided by an embodiment of the present application.
  • FIG. 19 is another structural block diagram of an image processing model training system provided by an embodiment of the present application.
  • FIG. 20 is another structural block diagram of an image processing system provided by an embodiment of the present application.
  • FIG. 21 is a schematic flowchart of a method for displaying video interest points according to an embodiment of the present application.
  • FIG. 22 is a schematic flowchart of a method for obtaining an attribute parameter threshold input by a user in real time according to an embodiment of the present application
  • 23 is a schematic diagram of an interface for displaying information on target points of interest provided by an embodiment of the present application.
  • 24 is a schematic diagram of another interface for displaying information on target points of interest provided by an embodiment of the present application.
  • FIG. 25 is a schematic flowchart of another method for displaying video interest points according to an embodiment of the present application.
  • 26 is a schematic structural diagram of a video interest point display device provided by an embodiment of the present application.
  • FIG. 27 is a schematic structural diagram of a second acquisition module provided by an embodiment of the present application.
  • FIG. 28 is a schematic structural diagram of a display module provided by an embodiment of the present application.
  • 29 is a schematic structural diagram of another video interest point display device provided by an embodiment of the present application.
  • FIG. 30 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • FIG. 31 is a schematic flowchart of a medical image display method in an embodiment
  • FIG. 33 is a schematic flowchart of a method for acquiring a planar image in an embodiment
  • 34 is a first state diagram of dynamic display of rib fractures in an embodiment
  • 35 is a second state diagram of dynamic display of rib fractures in an embodiment
  • 36 is a third state diagram of dynamic display of rib fractures in an embodiment
  • 39 is a third state diagram of dynamic display of rib fractures in another embodiment.
  • 40 is a first state diagram of dynamic display of lung nodules in an embodiment
  • 41 is a second state diagram of dynamic display of lung nodules in an embodiment
  • 43 is a first state diagram of dynamic display of lung nodules in another embodiment
  • 44 is a second state diagram of dynamic display of lung nodules in another embodiment
  • 46 is a structural block diagram of a medical image viewing device in an embodiment
  • FIG. 48 is a structural block diagram of a planar image extraction module in another embodiment
  • 49 is a structural block diagram of a rotating unit in an embodiment
  • FIG. 50 is an internal structure diagram of a computer device in an embodiment.
  • Reference signs: 4100 is the original image acquisition module, 4200 is the lesion area acquisition module, 4300 is the region of interest image selection module, 4400 is the planar image extraction module, 4410 is the interception unit, 4420 is the coordinate system establishment unit, and 4430 is the initial position
  • the maximum density projection unit 4440 is a rotation unit, 4441 is an X-axis rotation subunit, 4442 is a Y-axis rotation subunit, 4443 is an acquisition subunit, 4500 is a dynamic image generation module, and 4600 is a display module.
  • patients can be scanned by CT scanners to generate scan data.
  • An image sequence is generated based on the scan data, and the image sequence includes a plurality of slice images, each slice image represents a cross-sectional image of the patient, and then a three-dimensional image of the patient is generated according to the image sequence.
  • the physician further determines the target region of interest of the patient by observing the image sequence and the three-dimensional image.
  • one embodiment of the present application proposes a medical image processing method and medical image processing system.
  • a medical image processing method including the following steps:
  • step S1002 the image to be detected is input into a neural network model for processing to obtain a detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest.
  • the above medical image processing method may further include the steps of acquiring an image to be detected and preprocessing the image to be detected, wherein the preprocessing includes:
  • Step S1004 Acquire the target region of interest information from the detection result of the region of interest based on the region of interest region attribute parameter and the attribute parameter threshold.
  • the region of interest attribute parameters include region of interest confidence, category of region of interest, and region of interest size; the information of the target region of interest includes location information of the target region of interest and / or Describe the size information of the target area of interest.
  • the neural network model may be determined based on the training image for machine learning training, specifically for the machine learning training based on the training image and the corresponding region of interest label.
  • the region of interest may include different types of lesions, that is, tissues or organs that are affected by pathogenic factors and cause lesions, and are the parts of the body where lesions occur, such as fractures, lung nodules, tumors, cerebral hemorrhage, Heart disease, nerve disease, etc .; can also include anatomical structures, such as blood vessels, ossification centers, nerves, muscles, soft tissue, trachea, cartilage, ligaments, cracks, etc.
  • the area of interest can also be other senses in the image Interest characteristics.
  • the region of interest may include a target region of interest, which is equivalent to that the region of interest may include not only a target lesion area to be determined by the physician, but also a lesion area that the physician does not currently need to determine.
  • the target region of interest may include a specific type of lesion, and may also include a specific type of specific lesion distinction, which is not limited in this embodiment.
  • the information of the target interest area may include size information of the target interest area and position information of the target interest area.
  • the medical image processing system may perform judgment processing on the attribute parameters of the region of interest and the thresholds of the attribute parameters, and obtain information on the target region of interest from the detection result of the region of interest according to the judgment result.
  • the attribute parameter of the region of interest may be any parameter that affects the detection result of the region of interest and can be adjusted in real time during the use phase of the medical image processing system of the embodiments of the present specification.
  • the confidence level of the region of interest may be characterized as the degree of certainty that the region or part in the image detected by the detection model, such as the deep learning model, belongs to the region of interest.
  • the size of the region of interest may be characterized as a parameter of the size of the region or part corresponding to the region of interest.
  • the threshold value of the interest area attribute parameter corresponds to the interest area attribute parameter, and may include the confidence level of the interest area, the category of the interest area, the size of the interest area, and the like.
  • the information of the interest area may be the detection result information of all the interest areas, or may be the detection result information of a part of the interest areas.
  • an image block is selected from the image blocks to be detected to form an image block to be detected, and the image block to be detected is input to a neural network model for processing.
  • Step S1006 Determine the target area of interest in the image to be detected according to the information of the target area of interest.
  • the medical image processing system may determine the corresponding target interest area in the image to be detected according to the size information and position information of the target interest area.
  • the target interest area may be a target lesion area.
  • the target region of interest may be a limited diseased tissue with pathogenic microorganisms. For example, a part of the lung is destroyed by tuberculosis bacteria, then the destroyed part is called the target area of interest.
  • a part of the image has nothing to do with determining the target lesion.
  • Step S1008 Acquire multiple images based on the target region of interest, and generate a dynamic image according to the preset order of the multiple images.
  • the above-mentioned preset order may be the order in which the plane images are captured, or may be a specific interception order preset when the plane images are captured.
  • the medical image processing system may acquire a plurality of planar images based on the target region of interest, and the planar image may be a cross-sectional image.
  • Step S1010 displaying the dynamic image.
  • displaying a dynamic image can be characterized as a way in which the image can be displayed at any viewing angle.
  • the step of displaying the dynamic image in the above step S1010 may specifically include: displaying the dynamic image according to a preset position.
  • the display interface layout has a plurality of display windows (usually interpreted as cells in the art), and a plurality of cells respectively display a curved surface reconstruction image in which the region of interest is a rib and a corresponding multi-plane reconstruction image (For example, a cross-sectional image), a dynamic image of the rib obtained through the previous steps.
  • the above rib dynamic image can also be displayed in a floating window.
  • steps S1006 to S1010 in the display window of the rib curved surface reconstruction image during adjustment of the reading area during the observation of the rib dynamic image by the physician, and display the adjusted Dynamic images to meet the doctor's reading habits, improve diagnosis efficiency and accuracy.
  • the above display manner may include selecting the playback speed of the dynamic image according to the input of the responding physician, such as accelerated playback or slow playback, forward or reverse playback, infinite loop playback or pause playback.
  • the medical image processing system can first obtain the detection information of the region of interest, and then obtain the information of the target region of interest from the detection result of the region of interest according to the attribute parameters of the region of interest and the threshold of the attribute parameters Determine the target area of interest, and then obtain multiple images based on the target area of interest, generate dynamic images from the multiple images in a predetermined order, and display them; the physician can observe the dynamic images to determine the location of the lesion, thereby saving the doctor's work Volume and saves the physician time to determine the lesion.
  • the step of inputting the image to be detected in the neural network model in the above step S1002 for processing to obtain the detection result of the region of interest may specifically include: Step S1002a, inputting the image to be detected into the nerve
  • the network model performs network forward propagation calculation to obtain the detection result of the region of interest.
  • the medical image processing system may input the image to be detected into a neural network model for forward propagation calculation, and after performing multiple downsampling encoding and multiple upsampling encoding methods, the detection result of the region of interest is obtained.
  • the medical image processing system can obtain the detection information of the region of interest, and then obtain the information of the target region of interest from the detection result of the region of interest according to the attribute parameter of the region of interest and the threshold value of the attribute parameter to determine the target Area of interest, and then obtain multiple images based on the target area of interest, generate dynamic images from the multiple images in a predetermined order, and display them; the physician can observe the dynamic images to determine the location of the lesion, thereby saving the workload of the physician, And save the doctor's time to determine the lesion.
  • the medical image processing method may further include:
  • step S1002b the attribute parameter threshold value input by the user is obtained in real time.
  • acquiring the attribute parameter threshold value input by the user in real time includes: determining the attribute parameter threshold value input by the user according to a mapping relationship between the control information of the preset threshold value control component and the attribute parameter threshold value.
  • the user can adjust the attribute parameter threshold in real time according to actual needs.
  • the medical image processing system can obtain the attribute parameter threshold input by the user in real time.
  • the mapping relationship between the control information of the threshold control component and the attribute parameter threshold may be preset.
  • the above mapping relationship may be searched to obtain an attribute parameter threshold corresponding to the control information of the current threshold control component.
  • the medical image processing system can obtain the information of the target interest area from the detection result of the interest area according to the threshold value of the attribute parameter of the interest area and the attribute parameter to determine the target interest area and then use the target Obtain multiple images based on the area, and generate dynamic images according to the preset order and display them; the physician can observe the dynamic images to determine the location of the lesion, thereby saving the workload of the physician and the time for the physician to determine the lesion .
  • a schematic flowchart of another medical image processing method is provided.
  • step S1004 multiple images based on the target region of interest are obtained, and based on the multiple images
  • the steps of generating dynamic images in the preset order of may include:
  • Step S1014 Acquire the target region of interest image based on the target region of interest.
  • the target region of interest taking the target region of interest as a reference, it extends around the target region of interest to obtain another range of regions larger than the range of the target region of interest, and selects the image within the region as the target region of interest image.
  • the step of acquiring an image of a target area of interest based on the target area of interest may specifically include: using the target area of interest as a reference, selecting an image within a preset range as the target sense Area of interest image.
  • the medical image processing system may take the target region of interest as the center region, and select the images within the preset range as the target region of interest image by uniformly extending the center region.
  • the shape of the preset range may be circular, square, rectangular, and various other shapes.
  • the shape of the target interest area may also be circular, square, rectangular, and various other shapes.
  • the number of images in the selected preset range may be one; or it may be multiple.
  • the target region of interest image may include not only the image of the target lesion area, but also sufficient related background images and medical information of the target lesion area, such as the size and location of the target lesion, to help the doctor make the final lesion confirmation.
  • the target region of interest image may be a three-dimensional image.
  • Step S1024 Acquire a plurality of planar images according to the target region of interest image.
  • the manner of rotation may be clockwise rotation or counterclockwise rotation, which is not limited in this embodiment.
  • the step of acquiring a plurality of planar images according to the target area of interest image in step S1024 may specifically include: acquiring a plurality of the planar images in the target area of interest image according to a preset acquisition method .
  • the above-mentioned plane image may be that, in the target region of interest image, multiple slice images perpendicular to the preset direction are sequentially intercepted along the preset direction as the plane image.
  • the plane image may be an image captured on the cross-section of the target region of interest image; the plane image may also be an image captured on the sagittal plane of the target region of interest image; the plane image may also be an image on the target region of interest An image captured on the coronal plane; the planar image may also be an image captured from one end to the other end of the target region of interest image in any direction, and multiple captured images are used as planar images.
  • the planar image may also be that, by establishing a rectangular coordinate system in the target area of interest image, first, the maximum density projection of the target area of interest image in the Z-axis direction is performed at the initial position of the target area of interest image, and the maximum Density projection image as a plane image, and then rotate the target area of interest image in a preset direction, each rotation of a preset angle, the target area of interest image in the Z-axis direction of the maximum density projection, the maximum density projection image as Planar images until the target region of interest image is rotated to the initial position, and multiple planar images are obtained.
  • the above rectangular coordinate system can be established based on the position of the bed during the CT scanning process, with the rectangular coordinate system from left to right as the x axis, from top to bottom as the y axis, and from foot to head as the z axis.
  • the above rectangular coordinate system can also be established based on the medical information of the target area of interest, such as spatial morphology, for example, in the CT image of the rib, the plane of the central axis of the rib is the xy axis plane, and the normal vector of the central axis plane is z Axis direction.
  • step S1034 a plurality of the planar images are generated in a predetermined order to generate dynamic images.
  • the above preset order may be the numbering order from the largest to the smallest after multiple planar images are acquired; then the medical image processing system may generate the multiple planar images in the order of the largest to the smallest Dynamic image.
  • the above-mentioned preset order can also be a numbering sequence from small to large after arbitrarily numbering the acquired multiple planar images; then the medical image processing system can generate dynamic images from the multiple planar images in the order of small to large numbers .
  • the step of generating a plurality of the planar images in a preset order in step S1034 may specifically include: generating the dynamics in a plurality of the planar images in an acquisition order or an order opposite to the acquisition order image.
  • the above-mentioned preset order may also be based on intercepting a part of the planar image based on a certain layer thickness, and generating a dynamic image according to the order in which the acquisition order is opposite to the acquisition order.
  • the target area of interest image is respectively in Z
  • the maximum density projection is performed in the axis direction, and the maximum density projection image is used as the plane image until the target region of interest image is rotated to the initial position, and then the dynamic image is generated in the order of acquiring the plane image or in the reverse order of acquiring the plane image.
  • the above dynamic image may be a video obtained by using a video encoder of a different video compression format to obtain multiple planar images; the dynamic image may also be to compress the acquired multiple planar images into GIF images. Change format file.
  • the medical image processing system can acquire the target region of interest image based on the target region of interest, acquire multiple plane images based on the target region of interest image, and generate dynamic images from the multiple plane images in a preset order , And then display the dynamic image; the physician can observe the dynamic image to determine the location of the lesion, thereby saving the workload of the physician and saving the doctor's time for determining the lesion.
  • Each module in the medical image processing system of the computer device described above may be implemented in whole or in part by software, hardware, or a combination thereof.
  • the above modules may be embedded in the hardware or independent of the processor in the computer device, or may be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • the medical image processing system includes: a processing module 1100, an information acquisition module 1200, a region of interest acquisition module 1300, and a dynamic image
  • the generation module 1400 and the display module 1500 are provided.
  • the processing module 1100 is configured to input the image to be detected into a neural network model for processing to obtain the detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and interest Regional attribute parameters;
  • the information obtaining module 1200 is configured to obtain information of the target interest area from the detection result of the interest area according to the attribute parameter of the interest area and the threshold value of the attribute parameter;
  • the region of interest acquisition module 1300 is configured to determine the target region of interest in the image to be detected according to the information of the target region of interest;
  • the dynamic image generating module 1400 is configured to acquire multiple images based on the target region of interest, and generate dynamic images according to the preset order of the multiple images;
  • the display module 1500 is used to display the dynamic image.
  • the medical image processing system provided in this embodiment can execute the above method embodiments, and its implementation principles and technical effects are similar, which will not be repeated here.
  • a computer device is provided, and its internal structure diagram may be as shown in FIG. 5.
  • the computer equipment includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and computer programs.
  • the internal memory provides an environment for the operating system and computer programs in the non-volatile storage medium.
  • the network interface of the computer device is used to communicate with an external computer device through a network connection.
  • the computer program is executed by the processor to implement an image processing method.
  • the display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the computer device housing , Can also be an external keyboard, touchpad or mouse.
  • a computer device which includes a memory and a processor, and a computer program is stored in the memory, and the processor implements the following steps when the processor executes the computer program:
  • the dynamic image is displayed.
  • a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are realized:
  • the dynamic image is displayed.
  • Bone fractures (such as rib fractures) are a common phenomenon. X-ray plain films show low sensitivity to bone fractures and are difficult to display clearly. Other lesions of the chest and chest wall, so CT is the preferred imaging method for chest diseases, and is often used as an important means of responsibility identification for chest trauma respondents, especially after bone trauma. Although most of the bone fractures are not harmful, but because of the judicial evaluation of the number of rib fractures, and the performance of some bone fractures is hidden, small bone fractures are easy to miss the diagnosis and are prone to disputes.
  • Existing bone segmentation and bone fracture detection are handled separately.
  • the user can manually set an appropriate threshold to determine the approximate range of the ribs, and then use the area growth or watershed algorithm to fill the holes and smooth boundaries, or through machine learning Method, or combining the texture features and grayscale features of the ribs to achieve bone segmentation, for example, based on the user's medical knowledge, the software can be used to view the features of the ribs layer by layer to determine whether it is a fracture or fracture detection through machine learning It is found that the existing process of separate processing of bone segmentation and bone fracture detection is complicated and takes a long time.
  • Another embodiment of the present application proposes an image processing, image processing model training method and system.
  • an embodiment of the present application provides an image processing method.
  • the method includes:
  • the method further includes the step of preprocessing the image to be detected, and the preprocessing includes:
  • S2020 Input the image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result;
  • the neural network model is determined by machine training and learning based on the training image, specifically for machine training and learning based on the training image and corresponding bone labels, bone midline labels, and bone fracture labels.
  • an image block is selected from the image blocks to be detected to form an image block to be detected, and the image block to be detected is input to a neural network model for processing.
  • an improved or optimized neural network model is used for image processing, and the segmentation and detection functions are mainly realized by coupling a down-sampling encoding module and a multi-branch up-sampling decoding module, as shown in FIG. 7,
  • S2020 specifically includes the following steps:
  • S2021 Input the image to be detected (specifically, the image block to be detected) into the neural network model to perform network forward propagation calculation;
  • n is less than n, and m and n are positive integers.
  • S2030 specifically includes the following steps:
  • S2031 Perform binarization processing on the bone segmentation result, bone centerline segmentation result, and bone fracture detection result according to a preset threshold;
  • the probability map is processed according to a preset threshold to obtain a binary mask, the threshold is set to 0.5, and the probability value in the mask greater than or equal to the preset threshold is set to 1. , The rest is set to 0, that is, the probability value of the binary mask value of 1 is retained, and the probability value corresponding to the position of the mask value of 0 becomes 0;
  • the binarized image is provided with multiple connected domains, and the connected domains are labeled to obtain a multi-labeled image;
  • S2033 Count the number of pixels of each marker in the multi-marker image according to a preset threshold to obtain a skeleton segmentation mask, a skeleton centerline mask and each fracture in the to-be-detected image at high resolution Position coordinates;
  • the number of pixels in the connected domain of the tag is counted, and the tag with the number of pixels less than the preset threshold is set to 0, and the tag greater than or equal to the preset threshold is set to 1.
  • the threshold in is different.
  • the image block to be detected is processed by image blocks, rather than the entire original image, mainly considering the limitation of graphics processor (GPU) memory, and processing with part of the image can be regarded as a regular It can improve the efficiency and accuracy of image processing.
  • GPU graphics processor
  • the neural network in this embodiment is preferably an improved and optimized V-Net network. Of course, it is not limited to the V-Net network, and may also be other convolutional neural networks.
  • the bones in this embodiment are preferably ribs, and may also be vertebrae, limb bones, or sacrums.
  • the segmentation result or detection result output by the neural network model in this embodiment is preferably a probability graph, and may also be a coordinate graph or the like.
  • the core of the V-Net network includes the image down-sampling the encoding channel n times, then up-sampling the encoding channel n times, and finally using softmax to classify the pixels.
  • Fig. 8 shows the structure of the neural network model in this embodiment.
  • the data input in Fig. 8 is a 3D medical image, the solid arrow is the network path direction, and the dashed process is the data splicing process.
  • One parameter is the input channel and the second is the output channel.
  • the structure used in the module is a residual network or a bottleneck network or a dense network structure.
  • V-Net is improved and optimized to obtain an optimized neural network model, and image processing is performed through the neural network model, that is, after the m-th down sampling of V-Net (m is less than n), m times are inserted.
  • the softmax (normalized exponential function) module of the second classification is used to output the detection of rib fractures; after the nth downsampling, n times of upsampling are performed, and finally the softmax module of the third classification is used to output the rib segmentation and rib center Line segmentation.
  • n The reason why m is required to be less than n is because rib segmentation requires a larger field of view to determine whether it is a rib, and fractures require more local features to judge.
  • the reason for sharing down-sampling encoding channel parameters is that in addition to faster time and smaller memory, the detection and segmentation targets have common features that can be extracted, such as rib edge information and bone cortical distortion information have common features, these features are Both rib segmentation and fracture detection are useful.
  • an embodiment of the present application provides another image processing method.
  • the method includes:
  • This step is the same as S2110, and is not cumbersome here.
  • the neural network model in this embodiment is specifically determined by performing machine training and learning based on the training image and the corresponding bone label, bone centerline label, and bone fracture label.
  • the coarse network model in this embodiment is mainly used for positioning processing of the image to be detected, so as to improve the accuracy of subsequent image processing.
  • the neural network in this embodiment may be an improved and optimized V-Net network. Of course, it is not limited to the V-Net network, and may also be other convolutional neural networks.
  • the bones in this embodiment may be ribs, vertebrae, limb bones or sacrums.
  • the segmentation result or detection result output by the neural network model in this embodiment may be a probability graph, a coordinate graph, or the like.
  • the neural network in this embodiment is preferably an improved and optimized V-Net network, the fracture is preferably a rib, and the segmentation result or detection result is preferably a probability map.
  • S2120 further includes:
  • S2121 Input the image to be detected (specifically, the image block to be detected) into the coarse network model to perform network forward propagation calculation to obtain a rib distribution probability map;
  • the coarse network model has multiple hidden layers in the forward process, and each hidden layer includes a convolution layer and an excitation layer.
  • the network structure of the coarse network model in this embodiment adopts the following accumulation formula:
  • y 1 w 1 * x l-1 + b 1 ;
  • l represents the hidden layer of the lth layer
  • y represents the output of the convolution
  • x represents the input of the convolution
  • w and b are the trained parameters.
  • the incentive layer uses ReLU, the specific formula is as follows:
  • z i is equal to x i
  • x represents the input of the excitation layer
  • i represents the subscript of the data vector .
  • Post-process the rib distribution probability map to obtain a rib segmentation mask at a low resolution (that is, a coarser resolution), mark a target frame for the rib segmentation mask at the low resolution, and obtain a positioning area ;
  • This step specifically includes: performing a binarization process on the probability map of the rib distribution through a preset threshold, removing connected domains less than the preset threshold, and performing a frame selection operation on the connected domains greater than or equal to the preset threshold, that is, using a border Frame the connected domain greater than or equal to the preset threshold;
  • S2123 Input the image in the target frame into the thin network model to perform network forward propagation calculation to obtain a rib probability map, a rib centerline probability map, and a rib fracture probability map;
  • This step specifically includes:
  • the pre-processing method is similar to the pre-processing method of the image to be detected, and is no longer cumbersome here;
  • the process of the forward propagation of the fine network model is the same as that of the coarse model, the difference is that the data resolution is different (for example, the resolution of the coarse model and the fine model are 4mm and 1mm, respectively), and the network parameters are different.
  • This step specifically includes:
  • S2131 Perform binarization processing on the rib probability map, the rib centerline probability map, and the rib fracture probability map according to a preset threshold, for example, setting a threshold to 0.5, and setting the probability map to be greater than or equal to a preset threshold
  • the probability value is set to 1, and the rest is set to 0:
  • S2131 Process the number of pixels of each mark in the multi-mark image according to the preset threshold statistics (for example, set a mark whose pixel number is less than the preset threshold to 0, and set a mark greater than or equal to the preset threshold to 1) Obtain the high-resolution rib segmentation mask, rib centerline mask, and position coordinates of each fracture in the image to be detected.
  • the preset threshold statistics for example, set a mark whose pixel number is less than the preset threshold to 0, and set a mark greater than or equal to the preset threshold to 1
  • the neural network model is divided into a fine network model and a coarse network model.
  • the coarse network model is used to locate the image to be inspected, and the fine network model is used to process the image to be inspected.
  • the fine network model is trained at a high resolution (for example, the resolution is 1mm).
  • a coarse model positioning step is added to improve the accuracy of subsequent image processing.
  • FIG. 10 is a block diagram showing the working principle of image processing in this embodiment (using ribs as an example), and FIG. 11 is a screenshot of the cross-section, sagittal plane, and coronal plane of the image to be detected in this embodiment.
  • a fracture can be seen in the figure (in the dotted circle in Figure 11), the image to be detected is analyzed according to the process shown in Figure 10, and the output result is shown in Figure 12, where the white bright area is the rib centerline segmentation As a result, gray is the rib segmentation result, and the white dotted rectangular frame is the fracture detection result frame.
  • this embodiment discloses an image processing model training method.
  • the training method is used to train the neural network model in Embodiment 1.
  • the method includes:
  • the image block operation is performed on the image, and the image block training is used for training instead of the entire training image, mainly considering the limitation of the graphics processor (GPU) memory, and the image block training can be regarded as a regularization Means to make the model performance better.
  • GPU graphics processor
  • this step specifically includes:
  • S2221 Input the training image into a preset neural network for bone segmentation training and bone centerline segmentation training, and fix the parameters in the training process to obtain a bone segmentation module and a bone centerline segmentation module;
  • the neural network model is trained based on the training image.
  • the trained neural network model has the function of simultaneously outputting the bone segmentation result, the bone centerline segmentation result, and the bone fracture detection result.
  • this embodiment first performs bone segmentation training and bone centerline segmentation training (the training path is input module_1_16, downsampling module_16_32, downsampling module_32_64, downsampling module in FIG. 8).
  • this embodiment needs to train the segmentation module first and then the detection module is because the segmentation information of the segmentation module differs greatly from the information of the surrounding environment, and the loss (Loss) of the training process can reach a lower value more quickly; Part of the detection information is not much different from the surrounding environment information, such as bone cortical distortion and minor fractures. Loss during the training process requires more time to reach a lower value.
  • Using a segmentation module that is easier to train first and a detection module that is more difficult to train can speed up the Loss of the detection module to reach a lower value faster, because some parameters have been trained, and the remaining parameters that need to be trained become fewer, so Loss can reach lower values faster. After many iterations, when the Loss to be trained is low, the training model file is saved.
  • the neural network model preset in S2210 is preferably an improved and optimized V-Net network.
  • V-Net network it is not limited to the V-Net network, but may also be other convolutional neural networks. It is preferably a V-Net network.
  • the trained neural network model in this embodiment is configured to simultaneously output a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result according to the input image.
  • the bone is preferably a rib. It can be vertebrae, limb bones or sacrum.
  • the split knot / detection result in this embodiment is preferably a probability map or a coordinate map.
  • this embodiment discloses another training method for an image processing model.
  • the training method is used to train the neural network model in Embodiment 2.
  • the method includes:
  • the step of obtaining the training image in this step is the same as that in Embodiment 3, and is not cumbersome here.
  • the trained neural network model is configured to be able to simultaneously output a bone probability map, a bone centerline probability map and a bone fracture probability map according to the input image
  • the trained neural network models include a coarse network model and a fine network model.
  • the coarse network model is used for positioning the fine network model.
  • This step specifically includes:
  • the coarse network model only trains the bone segmentation, which only includes the bone segmentation module, which is used for the subsequent positioning and detection of the fine network model segmentation, which can improve the efficiency and accuracy of the fine network model training.
  • the three modules are the centerline segmentation module and the bone fracture detection module.
  • the preset neural network model in S2321 is preferably an improved and optimized V-Net network, of course, it is not limited to the V-Net network, and may also be other convolutional neural networks.
  • the trained neural network model in this embodiment is configured to output the bone segmentation result, bone centerline segmentation result, and bone fracture detection result at the same time according to the input image.
  • the bones are preferably ribs, vertebrae, and limb bone Or sacrum.
  • the split knot / detection result in this embodiment is preferably a probability map, and may also be a coordinate map or the like.
  • this embodiment provides an image processing system.
  • the system includes:
  • An image-to-be-detected module 2510 is used to obtain an image to be detected
  • the image processing module 2520 to be detected is configured to input the image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result;
  • the neural network model is determined by machine training and learning based on the training image.
  • the image processing module 2520 to be detected further includes:
  • the first obtaining unit 2521 is configured to input the image to be detected into the neural network model for network forward propagation calculation, and insert m times of upsampling codes after the mth downsampling code to obtain the bone fracture detection result ;
  • the second obtaining unit 2522 is configured to continue to perform downsampling coding, and perform n times upsampling coding after the nth downsampling coding to obtain the bone segmentation result and the bone centerline segmentation result;
  • n is less than n, and m and n are positive integers.
  • the post-processing module 2530 is configured to perform binarization processing on the bone segmentation result, bone centerline segmentation result, and bone fracture detection result according to a preset threshold; the bone segmentation result, bone center after the binarization process
  • the results of line segmentation and bone fracture detection are respectively labeled with connected domains to obtain multi-labeled images; according to a preset threshold, the number of pixels of each label in the multi-labeled image is counted to obtain a bone segmentation mask at high resolution
  • image processing system in this embodiment corresponds to the image processing method in Embodiment 1.
  • image processing method in Embodiment 1 For specific analysis principles and procedures, please refer to the description in Embodiment 1.
  • this embodiment provides an image processing system.
  • the system includes:
  • the image-to-be-detected module 2610 is used to obtain an image to be detected
  • the image-to-be-detected processing module 2620 is configured to input the image-to-be-detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result; wherein, the neural network model is based on a training image Determined by machine training and learning, which includes a coarse network model and a fine network model;
  • the image processing module 2620 to be detected further includes:
  • the coarse network model processing unit 2621 is configured to input the image to be detected (specifically, the image block to be detected) into the coarse network model to perform network forward propagation calculation to obtain a rib distribution probability map;
  • the positioning area acquisition unit 2622 is used to post-process the rib distribution probability map to obtain a rib segmentation mask at a low resolution (that is, a coarser resolution), and mark the rib segmentation mask at the low resolution Target frame, get positioning area;
  • the thin network model processing unit 2623 is configured to input the image in the target frame into the thin network model for network forward propagation calculation to obtain a rib probability map, a rib centerline probability map, and a rib fracture probability map.
  • the post-processing module 2630 is configured to perform binarization processing on the bone segmentation result, bone centerline segmentation result, and bone fracture detection result according to a preset threshold; the bone segmentation result, bone center after the binarization process
  • the results of line segmentation and bone fracture detection are respectively labeled with connected domains to obtain multi-labeled images; according to a preset threshold, the number of pixels of each label in the multi-labeled image is counted to obtain a bone segmentation mask at high resolution, The bone centerline mask and the position coordinates of each fracture in the image to be detected.
  • the image processing system in this embodiment corresponds to the image processing method in Embodiment 2. For specific analysis principles and procedures, please refer to the description in Embodiment 2.
  • this embodiment discloses an image processing model training system.
  • the system includes:
  • Training image acquisition module 2710 used to obtain training images
  • a model training module 2720 configured to train a neural network model based on the training image
  • the trained neural network model is configured to output the bone segmentation result, bone centerline segmentation result and bone fracture detection result simultaneously according to the input image;
  • the model training module 2720 further includes:
  • the first training unit 2721 is configured to input the training image into a preset neural network for bone segmentation training and bone centerline segmentation training, and fix parameters in the training process to obtain a bone segmentation module and a bone centerline segmentation module ;
  • the second training unit 2722 is configured to continue to perform bone fracture detection training on the training image through the preset neural network, and fix parameters in the training process to obtain a bone fracture detection module.
  • the training system of the image processing model in this embodiment corresponds to the training method of the image processing model in Embodiment 3.
  • the training system of the image processing model in this embodiment corresponds to the training method of the image processing model in Embodiment 3.
  • this embodiment provides another training system for image processing models.
  • the system includes:
  • Training image acquisition module 2810 used to acquire training images
  • a model training module 2820 configured to train a neural network model based on the training image
  • the trained neural network model is configured to be able to simultaneously output a bone probability map, a bone centerline probability map and a bone fracture probability map according to the input image
  • the trained neural network models include a coarse network model and a fine network model.
  • the coarse network model is used for positioning the fine network model
  • the model training module 2820 further includes:
  • the coarse network model training unit 2821 is used to input the training image into a preset neural network for skeleton segmentation training and skeleton center line segmentation training at low resolution, and fix the parameters in the training process to obtain a coarse network model;
  • the fine network model training unit 2822 is used to continue the skeleton segmentation training and skeleton center line segmentation training of the training image through the preset neural network at high resolution, and fix the parameters in the training process, and then The training image is trained for bone fracture detection, and the parameters in the training process are fixed to obtain a fine network model.
  • the training system of the image processing model in this embodiment corresponds to the training method of the image processing model in Embodiment 4.
  • the training system of the image processing model in this embodiment corresponds to the training method of the image processing model in Embodiment 4.
  • this embodiment discloses another image processing system, which includes:
  • the image acquisition module 2910 is used to acquire training images and images to be detected
  • the model training module 2920 trains a neural network model based on the training image, wherein the trained neural network model is configured to output multiple types of analysis results based on the input image;
  • the image-to-be-detected processing module 2930 is configured to input the image-to-be-detected into a trained neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result.
  • Embodiment 5-8 the image processing system and the image processing model training system in Embodiment 5-8 are combined to form a whole.
  • the description in Embodiment 5-8 please refer to the description in Embodiment 5-8.
  • ROC curve Receiveiver Operating Characteristic Curve
  • an appropriate parameter threshold is selected based on the ROC curve as the actual computer.
  • the threshold for the screening results of the auxiliary diagnostic system but once the parameter threshold is selected, when using this computer-aided diagnostic system, doctors cannot use different parameter thresholds to weigh the detection rate and the different use cases for different use scenarios and different case characteristics.
  • the rate of false positives which makes it impossible to achieve a balance between different degrees of diagnostic accuracy and reading time, reduces the flexibility of the computer-aided diagnostic system.
  • another embodiment of the present application proposes a method, device, and terminal for displaying image interest regions.
  • a method for displaying an image region of interest including the following steps:
  • Step S3002 Acquire the original image of the detected object.
  • S3001 Obtain a detection result of an interest area in an image, where the detection result of the interest area includes information of the interest area and an attribute parameter of the interest area.
  • the image may include projection images obtained by various imaging systems.
  • the imaging system may be a single-mode imaging system, such as a computed tomography (CT) system, emission computed tomography (ECT), ultrasound imaging system, X-ray optical imaging system, positron emission tomography (PET) system, and the like.
  • the imaging system may also be a multi-mode imaging system, such as a computed tomography-magnetic resonance imaging (CT-MRI) system, positron emission tomography-magnetic resonance imaging (PET-MRI) system, single-photon emission tomography-computed tomography (SPECT-CT) system, digital subtraction angiography-computed tomography (DSA-CT) system, etc.
  • CT-MRI computed tomography-magnetic resonance imaging
  • PET-MRI positron emission tomography-magnetic resonance imaging
  • SPECT-CT single-photon emission tomography-computed tomography
  • DSA-CT digital subtraction angiography
  • the detection result of the region of interest in the image may be, but not limited to, an output result obtained by processing the corresponding image through a deep learning model, and may include information of the region of interest and attribute parameters of the region of interest.
  • the region of interest may include anatomical structures, such as blood vessels, ossification centers, nerves, muscles, soft tissue, trachea, cartilage, ligaments, cracks, etc .; the region of interest may also include lesions, that is, tissues or organs that have suffered from pathogenic factors The location of the lesion caused by the action is the part of the body where the lesion occurs, such as fractures, lung nodules, tumors, cerebral hemorrhage, heart disease, nerve disease, and so on.
  • the region of interest may also be other regions of interest in the image.
  • the attribute parameter of the region of interest may be any parameter that affects the detection result of the region of interest and can be adjusted in real time during the use stage of the display device of the image region of interest of the embodiment of the present specification.
  • the region of interest attribute parameters may include one of the following: region of interest confidence, region of interest category, region of interest size, where region of interest confidence is in the image detected by a detection model such as a deep learning model The degree of certainty that the area or part belongs to the area of interest.
  • the size of the region of interest is a parameter for characterizing the size of the region or part corresponding to the region of interest.
  • the information of the region of interest may be the detection result information of all the regions of interest, or may be the detection result information of a part of the regions of interest.
  • the attribute parameter threshold corresponds to the attribute parameter of the region of interest, and may include the region of interest confidence, the region of interest category, the region of interest size, and the like.
  • the user can adjust the attribute parameter threshold according to need.
  • the computer-aided diagnosis system obtains the attribute parameter threshold input by the user in real time.
  • the method for obtaining the attribute parameter threshold input by the user in real time may use the method shown in FIG. 22, and as shown in FIG. 22, the method may include:
  • S3101 In response to the user's operation on the threshold control component, obtain control information of the threshold control component.
  • a threshold control component may be set on the human-computer interaction interface, and the threshold control component may be, but not limited to, a slide bar, a pull-down menu, or the like.
  • the threshold control component When the user operates the threshold control component, it can respond to the operation to obtain the control information of the threshold control component. For example, when the user operates the slider, the position information of the slider can be acquired.
  • S3103 Determine the attribute parameter threshold input by the user according to the mapping relationship between the control information of the preset threshold control component and the attribute parameter threshold.
  • the mapping relationship between the control information of the threshold control component and the attribute parameter threshold may be preset.
  • the mapping relationship between the position information of the slider and the attribute parameter threshold may be preset.
  • the position information and attributes of the slider The relationship between the parameter thresholds may be, but not limited to, a linear mapping relationship.
  • S3005 Acquire the information of the target interest area from the detection result of the interest area according to the comparison result of the attribute parameter of the interest area and the threshold value of the attribute parameter.
  • the region of interest attribute parameter is the region of interest confidence
  • the information of the region of interest corresponding to the confidence of the region of interest greater than or equal to the confidence threshold is obtained from the detection result of the region to obtain the information of the target region of interest.
  • the interest area attribute parameter is the area of interest category or the size of the area of interest
  • the sense that the area of interest category or the size of the area of interest matches the category threshold or size threshold input by the user can be obtained from the detection result of the area of interest Information about the area of interest to obtain information about the target area of interest.
  • S3007 Display the information of the target interest area.
  • the target region of interest may include one or more, and the number thereof may change according to the change of the attribute parameter threshold.
  • partial images of one or more target interest areas may be displayed.
  • a partial image corresponding to the target area of interest may be obtained, the partial image may be rendered, and the rendered partial image may be displayed.
  • the rendering of partial images may include at least one of the following methods: Multi-Planner Reform (MPR), Volume Rendering Technology (VRT), Maximum Intensity Projection (abbreviation) MIP), Curved Planar Reformat (CPR).
  • MPR is to superimpose all the axial images in the scanning range, and then reorganize the tissue specified by the reorganization lines marked by certain reticles in the coronal, sagittal, and arbitrary angle oblique positions.
  • the use of MPR can arbitrarily generate new tomographic images without repeated scanning, and the reorganization of curved surfaces can unfold the growth of curved objects in an image.
  • VRT is to make the assumed projection line pass through the scanning volume from a given angle, and comprehensively display the pixel information in the volume.
  • VRT can give images with different pseudo-colors and transparency, giving the impression of a realistic three-dimensional structure. This method loses very little data information during reconstruction, and can better display the anatomical structure or the spatial relationship of the lesions.
  • MIP is a computer visualization method for projecting three-dimensional spatial data on a visualization plane.
  • the brightness of each voxel density value will be attenuated in some way, and the voxel with the highest brightness is finally presented on the projection plane.
  • the projection plane is rotated one rotation at a certain angle step, the MIP at each angle is saved, and then each Angled MIPs can be stacked to obtain the effect of rotating to observe the area corresponding to the area of interest.
  • CPR is a special method of MPR, suitable for the display of some curved structure organs of the human body, such as: jaw bone, tortuous blood vessels, bronchus, etc.
  • the information of the target interest area may include position information of the target interest area and / or size information of the target interest area.
  • the original image when displaying the information of the target area of interest, the original image may also be obtained, and the target image of interest in the original image may be determined according to the position information of the target area of interest and / or the size information of the target area of interest Corresponding target interest area, and displaying the original image containing the target interest area.
  • the original images are images of various modalities directly obtained by various imaging systems.
  • a target index corresponding to the information of the target region of interest may also be generated and displayed.
  • the target index may include a serial number, such as a number in the form of Arabic numerals, and some brief information about the target interest, such as the location overview of the target interest area, etc. When the target index is displayed, it may be listed according to the serial number. Form display.
  • FIG. 23 and FIG. 24 are schematic diagrams of interfaces for displaying information of target interest regions obtained under different confidence thresholds.
  • the threshold control component is set on the human-machine interaction interface in the form of a slider.
  • the mapping relationship between the sliding position of the slider and the confidence threshold the closer the sliding position is to the right, the greater the corresponding confidence threshold.
  • the leftmost end of the slider corresponds to a preset lowest threshold (such as 0)
  • the rightmost end of the slider corresponds to a preset highest threshold (such as 1.0).
  • the confidence threshold corresponding to the sliding position of the slide bar in FIG. 23 is large, and the confidence threshold corresponding to the sliding position of the slide bar in FIG.
  • the target index can also intuitively obtain some brief information about the target interest, such as the location overview of the target interest area.
  • S3201 Receive a selection signal for one of the target indexes.
  • the user can select the target index displayed on the human-computer interaction interface, and accordingly, the terminal can receive a selection signal applied by the user to select the target index.
  • S3203 Determine, according to the selection signal, information of a target region of interest corresponding to the target index.
  • the terminal may determine the information of the target interest area corresponding to the currently selected target index.
  • the target region of interest corresponding to the information of the target region of interest has been determined in the original image, after the information of the target region of interest corresponding to the selection signal is determined based on step S3203, it can be further For the information of the area of interest, the target area of interest corresponding to the information of the target area of interest is identified in the displayed original image.
  • the position selected by the frame in the left image in FIG. 23 and FIG. 24 is the The target interest area corresponding to a target index selected on the right.
  • the rendered partial image corresponding to the information of the target region of interest may also be identified, as shown in FIGS. 23 and 24.
  • FIGS. 23 and 24 only give two possible examples, and do not constitute a limitation on the present application.
  • the present application enables users to adjust the attribute parameter threshold in real time, thereby displaying the detection results under different attribute parameter thresholds in real time, which is beneficial to the user according to different usage scenarios and different case characteristics. Different degrees of diagnostic accuracy and the balance of reading time improve the flexibility of the computer-aided diagnostic system.
  • an embodiment of the present application further provides a device for displaying the image interest region. Since the device for displaying the image interest region provided by the embodiment of the present application is the same as the above The method for displaying the image interest region provided by the several embodiments corresponds to each other, so the implementation of the method for displaying the image interest region is also applicable to the device for displaying the image interest region provided in this embodiment. In the embodiment of this specification No more detailed description.
  • FIG. 26 is a schematic structural diagram of a device for displaying an image region of interest provided by an embodiment of the present application.
  • the device may include: a first acquisition module 3610 and a second acquisition module 3620 , A third acquisition module 3630 and a display module 3640, where,
  • the first acquisition module 3610 may be used to acquire the detection result of the region of interest in the image, where the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest.
  • the second obtaining module 3620 can be used to obtain the attribute parameter threshold value input by the user in real time;
  • the third obtaining module 3630 may be used to obtain the information of the target interest area from the detection result of the interest area according to the comparison result of the attribute parameter of the interest area and the threshold value of the attribute parameter;
  • the display module 3640 may be used to display the information of the target region of interest.
  • the region of interest attribute parameter includes one of the following: region of interest confidence, region of interest category, and region of interest size.
  • the region of interest includes an anatomical structure or a lesion.
  • the second obtaining module 3620 may include:
  • the response module 3621 may be used to obtain control information of the threshold control component in response to the user's operation on the threshold control component;
  • the first determining module 3622 may be used to determine the attribute parameter threshold input by the user according to the mapping relationship between the control information of the preset threshold control component and the attribute parameter threshold.
  • the display module 3640 may include:
  • the fourth obtaining module 3641 can be used to obtain local images corresponding to the target region of interest
  • the rendering module 3642 can be used to render the partial image
  • the first display module 3643 may be used to display the rendered partial image.
  • the information of the target interest area includes position information of the target interest area and / or size information of the target interest area.
  • the display module 3640 may further include:
  • the fifth acquisition module 3644 can be used to acquire original images
  • the second determination module 3645 may be used to determine the target interest area corresponding to the target interest area in the original image according to the position information of the target interest area and / or the size information of the target interest area;
  • the second display module 3646 can be used to display the original image containing the target region of interest.
  • the display module 3640 may further include:
  • the generating module 3647 may be used to generate a target index corresponding to the information of the target interest area
  • the third display module 3648 may be used to display the target index.
  • FIG. 29 is a schematic structural diagram of another display device of an image interest region provided by an embodiment of the present application.
  • the device may include: a first acquisition module 3910 and a second acquisition module 3920, a third acquisition module 3930, a display module 3940, a reception module 3950, a third determination module 3960, and an identification module 3970.
  • the first obtaining module 3910, the second obtaining module 3920, the third obtaining module 3930, and the display module 3940 can refer to the function description of the corresponding modules in FIG. 26 to FIG. 28, which will not be repeated here.
  • the receiving module 3950 may be used to receive a selection signal for one of the target indexes
  • the third determining module 3960 may be used to determine the target interest region information corresponding to the target index according to the selection signal;
  • the identification module 3970 may be used to identify the target region of interest corresponding to the target region of interest information in the original image, and / or render the corresponding target region of interest information Local images are marked.
  • the display device of the image interest region in the embodiment of the present application enables the user to adjust the attribute parameter threshold in real time, thereby displaying the detection results under different attribute parameter thresholds in real time, which is beneficial to the user according to different usage scenarios and different case characteristics , Balancing different degrees of diagnostic accuracy and the balance of reading time, improve the flexibility of the computer-aided diagnosis system.
  • FIG. 30 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the terminal is used to implement the method for displaying an image interest region provided in the foregoing embodiment. Specifically:
  • the terminal 3000 may include an RF (Radio Frequency) circuit 3010, a memory 3020 including one or more computer-readable storage media, an input unit 3030, a display unit 3040, a video sensor 3050, an audio circuit 3060, WiFi (wireless fidelity, Wireless fidelity) module 3070, a processor 3080 including one or more processing cores, and a power supply 300 and other components.
  • RF Radio Frequency
  • the RF circuit 3010 can be used to receive and send signals during sending and receiving information or during a call. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 3080; in addition, uplink data is sent to the base station .
  • the RF circuit 3010 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • SIM subscriber identity module
  • the RF circuit 3010 can also communicate with the network and other devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to global mobile communication system, general packet radio service, code division multiple access, broadband code division multiple access, long-term evolution, e-mail, and short message service.
  • the memory 3020 may be used to store software programs and modules.
  • the processor 3080 executes various functional applications and data processing by running the software programs and modules stored in the memory 3020.
  • the memory 3020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for at least one function, and the like; the storage data area may store data created according to the use of the terminal 3000, and the like.
  • the memory 3020 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the memory 3020 may further include a memory controller to provide access to the memory 3020 by the processor 3080 and the input unit 3030.
  • the input unit 3030 may be used to receive input numeric or character information, and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
  • the input unit 3030 may include an image input device 3031 and other input devices 3032.
  • the image input device 3031 may be a camera or a photoelectric scanning device.
  • the input unit 3030 may include other input devices 3032.
  • other input devices 3032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and so on.
  • the display unit 3040 may be used to display information input by the user or provided to the user, and various graphical user interfaces of the terminal 3000. These graphical user interfaces may be composed of graphics, text, icons, videos, and any combination thereof.
  • the display unit 3040 may include a display panel 3041.
  • the display panel 3041 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the terminal 3000 may include at least one video sensor 3050, and the video sensor is used to obtain user's video information.
  • the terminal 3000 may also include other sensors (not shown), such as light sensors, motion sensors, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 3041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 3041 and the display panel 3041 when the terminal 3000 moves to the ear / Or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in various directions, and can detect the magnitude and direction of gravity when at rest. It can be used to identify the gesture of mobile phones, vibration recognition related functions, etc.
  • the terminal 3000 it can also be configured Gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors will not be repeated here.
  • the video circuit 3060, the speaker 3061, and the microphone 3062 can provide a video interface between the user and the terminal 3000.
  • the audio circuit 3060 can transmit the converted electrical signal of the received audio data to the speaker 3061, which converts the speaker 3061 into a sound signal output; on the other hand, the microphone 3062 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 3060 After receiving, it is converted into audio data, and then processed by the audio data output processor 3080, and then sent to another terminal via the RF circuit 3011, or the audio data is output to the memory 3020 for further processing.
  • the audio circuit 3060 may further include an earplug jack to provide communication between the peripheral earphone and the terminal 3000.
  • WiFi is a short-range wireless transmission technology.
  • Terminal 3000 can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 3070. It provides users with wireless broadband Internet access.
  • FIG. 30 shows the WiFi module 3070, it can be understood that it is not a necessary component of the terminal 3000, and can be omitted as long as it does not change the essence of the application as needed.
  • the processor 3080 is the control center of the terminal 3000, and uses various interfaces and lines to connect the various parts of the entire mobile phone, by running or executing the software programs and / or modules stored in the memory 3020, and calling the data stored in the memory 3020, Execute various functions and process data of terminal 3000 to monitor the mobile phone as a whole.
  • the processor 3080 may include one or more processing cores; preferably, the processor 3080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs, etc.
  • the modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 3080.
  • the terminal 3000 further includes a power supply 300 that supplies power to various components.
  • the power supply can be logically connected to the processor 3080 through a power management system, so as to realize functions such as charging, discharging, and power consumption management through the power management system.
  • the power supply 300 may further include any component such as one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
  • the terminal 3000 may also include a Bluetooth module, etc., and will not be repeated here.
  • the terminal 3000 further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and are configured to be executed by one or more processors.
  • the above one or more programs include instructions for executing the method for displaying the image interest region provided by the above method embodiment.
  • An embodiment of the present application further provides a storage medium, which may be set in a terminal to store at least one instruction and at least one paragraph related to a method for displaying an image interest region in the method embodiment
  • a program, a code set, or an instruction set, the at least one instruction, the at least one program, the code set, or the instruction set may be loaded and executed by the processor of the terminal to implement the method of displaying the image interest region provided by the foregoing method embodiments.
  • patients can be scanned by CT scanners to generate scan data.
  • An image sequence is generated based on the scan data, and the image sequence includes a plurality of slice images, each slice image represents a cross-sectional image of the patient, and then a three-dimensional image of the patient is generated according to the image sequence.
  • the physician further determines the lesion area of the patient by observing the image sequence and the three-dimensional image.
  • the medical imaging device In order to obtain the medical image of the scanned object, first, the medical imaging device needs to be used to scan the scanned object, where the scanned object may be the patient's whole body organ, or the patient's organ, tissue, or cell collection that needs to be focused on.
  • the medical imaging device scans the scanned object to obtain scan data, and generates a medical image sequence according to the scan data.
  • the medical image sequence is an image of each cross-section of the scanned object in the scanning direction. Based on the image sequence, a three-dimensional image of the internal structure of the scanned object can be generated.
  • the medical imaging equipment may be: X-ray imaging instruments, CT (general CT, spiral CT), positive scan (PET), nuclear magnetic resonance imaging (MR), infrared scanning equipment, and a combination of various scanning equipment.
  • a medical image display method including the following steps:
  • Step S4002 Acquire the original image of the detected object.
  • the medical imaging device scans the detected object according to preset scanning parameters. Get a three-dimensional image of the scanned object.
  • the original image is a three-dimensional image scanned by a medical imaging device.
  • the scanned object may be a whole-body organ of a human or animal, or an organ, tissue, or cell collection that needs to be detected by the human or animal.
  • Step S4004 Acquire the region of interest selected in the original image.
  • the region of interest is a limited diseased tissue with pathogenic microorganisms.
  • a part of the lung is destroyed by tuberculosis bacteria, then the destroyed part is called the region of interest.
  • the way to obtain the region of interest may be to input the original image into the neural network trained based on the image training set, and then obtain the region of interest through big data analysis.
  • the neural network is trained based on machine learning by learning features or variables, and the input data is input into the trained neural network, and the output data is obtained by extracting and matching the features or variables. More specifically, the neural network is trained to detect the region of interest in the original image, where the region of interest is expressed by the coordinates of the region of interest.
  • the image used for training may be a two-dimensional image or a three-dimensional image.
  • the training image can be a two-dimensional image or a three-dimensional image obtained by any medical imaging device.
  • the neural network is obtained by training the image training set, and the coordinates of the region of interest are determined by inputting the original image to the neural network to further determine the region of interest.
  • the manner of acquiring the region of interest may also be that the physician determines the region of interest in the original image by observing the original image, receives the physician input, and determines the region of interest in the original image based on the physician input.
  • the determined area of interest can be highlighted by highlighting the outline of the area, or displayed by the area intercepted by the border.
  • the border is generally called Bounding Box in the art, and can also be marked in the form of a label, or a file can also be used. Marks such as identifiers are displayed.
  • step S4006 the image in the preset range is selected as the target area of interest image based on the area of interest.
  • the region of interest is used as a reference, that is, the region of interest is used as the central region, and an image within a preset range is selected as the target region of interest image.
  • the selected target region of interest image includes not only the target region of interest image, but also enough relevant background images and medical information of the target region of interest, such as the size and location of the lesion, to help the doctor make the final lesion confirmation.
  • Step S4008 Acquire a plurality of planar images in the target region of interest image according to a preset acquisition method.
  • the plane image may be that, in the target region of interest image, a plurality of slice images perpendicular to the preset direction are sequentially intercepted along the preset direction as the plane image.
  • the plane image may be an image captured on the cross-section of the target region of interest image; the plane image may also be an image captured on the sagittal plane of the target region of interest image; the plane image may also be an image on the target region of interest An image captured on the coronal plane of the image; a planar image can also be an image captured from one end to the other end of the target region of interest image in either direction.
  • the captured multiple images are used as plane images.
  • the planar image may also be: by establishing a rectangular coordinate system in the target area of interest image, firstly, the maximum density projection of the target area of interest image in the Z-axis direction is performed at the initial position of the target area of interest image, and the maximum density projection image is used as Plane image, and then rotate the target area of interest image in a preset direction, each time the preset angle is rotated, the maximum density projection of the target area of interest image in the Z-axis direction is performed, and the maximum density projection image is used as a plane image until The target region of interest image is rotated to the initial position to obtain multiple planar images.
  • the rectangular coordinate system can be established according to the position of the bed during the CT scanning, with the direct coordinate system from left to right as the x axis, from top to bottom as the y axis, and from foot to head as the z axis.
  • the rectangular coordinate system can also be established based on the medical information of the target region of interest, such as spatial morphology.
  • the plane of the central axis of the rib is the xy axis plane, and the normal vector of the central axis plane belongs to the z-axis direction.
  • step S4010 a plurality of planar images are generated in a predetermined order to generate a dynamic image.
  • a plurality of planar images are generated in the order of acquisition or the order opposite to the order of acquisition.
  • a plurality of planar images are images that are intercepted from one end to the other end of the target region of interest image
  • dynamic images are generated in the order of interception or the reverse order of the interception order.
  • the preset order may also be to intercept a part of the planar image based on a certain layer thickness and generate a dynamic image according to the order in which the acquisition order is reverse to the acquisition order.
  • the maximum density projection uses the maximum density projection image as a plane image until the target region of interest image is rotated to the initial position, and then the dynamic image is generated in the order of acquiring the plane image or in the reverse order of acquiring the plane image.
  • the generated dynamic image can be the video obtained by inputting the obtained multiple flat images into the video encoder of the MPEG4 video compression format; the generated dynamic image can be the video obtained by inputting the obtained multiple flat images into the H.264 video compression format
  • the video obtained by the encoder; generating a dynamic image can also be, compressing multiple acquired flat images into a GIF image interchange format file.
  • Step S4012 is executed: the moving image is displayed according to a preset position.
  • the display interface layout has a plurality of display windows (usually interpreted as cells in the art), and a plurality of cells respectively display a curved surface reconstruction image in which the region of interest is a rib and a corresponding multi-plane reconstruction image (For example, a cross-sectional image), a dynamic image of the rib obtained through the previous steps.
  • the rib dynamic image can also be displayed in a floating window.
  • steps S4002-S4012 in the display window of the reconstructed image of the curved surface of the rib during the adjustment of the reading area during the observation of the rib dynamic image by the physician, and the adjusted dynamic state is displayed in conjunction with the switching of the rib dynamic image display window Images to meet the doctor's reading habits, improve the diagnosis efficiency and accuracy.
  • the display can select the playback speed of the dynamic image in response to the input of the physician, such as accelerated playback or slow playback, forward or reverse playback, infinite loop playback or pause playback.
  • the region of interest is selected from the original image, and then the image within the preset range is selected as the target region of interest image based on the region of interest.
  • multiple plane images are acquired in a preset manner, and the multiple plane images are generated in a predetermined order to generate a dynamic image.
  • the physician determines the location of the lesion by observing the dynamic image, which can save the workload of the physician and save the doctor's time for determining the lesion.
  • another medical image display method including the following steps:
  • Step S4102 Acquire the original image of the detected object.
  • Step S4104 acquiring the region of interest selected in the original image.
  • the above fracture detection model can be learned and trained based on the convolutional neural network algorithm.
  • a deep convolutional neural network model including a 5-layer convolutional neural network model is used.
  • the 5-layer convolutional neural network model includes: a convolutional layer, a pooling layer, a convolutional layer, a pooling layer, and a full Connection layer.
  • the process of deep convolutional neural network processing is:
  • the two-dimensional slice image is input to the convolutional layer, the size of the two-dimensional slice image is 64 ⁇ 64, and 36 5 ⁇ 5 size convolution kernels are obtained by pre-training in the perception stage to convolve the input image to obtain 36 64 ⁇ 64 Feature map of size;
  • Convolutional layer sampling 36 images of the pooling layer to obtain one or more sets of 5 ⁇ 5 image blocks, and then training this set using a sparse self-encoding network to obtain 64 5 ⁇ 5 weights, use This weight is used as a convolution kernel and convolution with 36 images of the pooling layer to obtain 64 feature maps of 24 ⁇ 24 size.
  • the training data set used in this application has a total of 1300 images.
  • the feature map of the entire network is 1300 ⁇ 64 ⁇ 8 ⁇ 8, indicating that for each input image of 64 ⁇ 64 size, it can be obtained 64 maps of 8 ⁇ 8 size.
  • the number of training samples comes from 26 patients (subjects). Positive sample images are extracted from each patient's three-dimensional fracture connected domain, and negative sample images are extracted from non-fracture connected regions. The total number of positive and negative sample images is 100,000. About Zhang. The data can be amplified to 1 million. The data amplification method is to rotate and translate the two-dimensional slice image. The size of the positive and negative sample images is a 32 * 32 (32-64 can be) two-dimensional image of pixels, and the resolution of all slice images is uniformly 0.25mm (between 0.2-0.6). The original CT value of the image is used as input for training.
  • the neural network uses a convolutional neural network (CNN), and the optimization algorithm uses a stochastic gradient descent method (SGD) to update the weights.
  • CNN convolutional neural network
  • SGD stochastic gradient descent method
  • the convolutional neural network has a total of 12 layers, including three convolutional layers, three nonlinear mapping layers, three pooling layers, two fully connected layers, and a Loss layer.
  • the first layer is a convolutional layer. Its function is to extract features from the input image, set 64 convolution kernels, each convolution kernel size is 5 * 5, and perform convolution operation on the input image and the convolution kernel to obtain the first One layer of 64 feature maps, the size is 32 * 32;
  • the second layer is a non-linear mapping layer. Its function is to add non-linearity to the neural network and accelerate the convergence rate. Use the modified linear unit function (Relu) to perform non-linear mapping on the first-layer feature map to obtain the second-layer feature map;
  • the third layer is the pooling layer, which is used to reduce the image size and reduce noise.
  • the size of the pooling kernel is 3 * 3
  • the second layer feature map is pooled.
  • the method of pooling is to take the maximum value in the 3 * 3 pixel box to obtain the third layer feature map with a size of 16 * 16 pixels , The number is 64;
  • each convolution kernel size is 5 * 5, get 64 feature maps of the fourth layer, the size is 16 * 16;
  • the sixth layer is the pooling layer, the size of each pooling core is 3 * 3, and the fifth layer feature map is pooled to obtain the sixth layer feature map, the size is 8 * 8 pixels, and the number is 64;
  • each convolution kernel size is 5 * 5, get the seventh layer feature map
  • the size of each pooling core is 3 * 3, and pool the eighth layer feature map to obtain the ninth layer feature map, the size is 4 * 4, and the number is 128;
  • each convolution kernel is 1 * 1, and perform full connection processing on the tenth layer feature map to obtain the eleventh layer feature map;
  • the twelfth layer is the softmax loss layer, which calculates the difference between the predicted value and the actual value, passes the gradient back through the back propagation algorithm (BP algorithm), and updates the weight and bias of each layer .
  • BP algorithm back propagation algorithm
  • the Loss value of the training set and the verification set continues to decrease.
  • the Loss value of the verification set no longer decreases, the training is stopped to prevent overfitting.
  • the neural network model at this moment is taken as a slice classifier.
  • the twelfth layer was changed to the softmax layer, and the eleventh layer feature map was input to this layer for classification prediction. The probability that the input image was fractured and non-fractured was obtained, and the classification result was obtained.
  • the initialization of the neural network model may include building a neural network model based on: a convolutional neural network (CNN), a generative adversarial network (GAN), or the like, or a combination thereof, as shown in FIG. 32 and its description .
  • CNN convolutional neural networks
  • Examples of convolutional neural networks (CNN) may include SRCNN (Super-Resolution Convolutional Neural Network, Super Resolution Convolutional Neural Network), DnCNN (Denoising Convolutional Neural Network, Denoising Convolutional Neural Network), U-net, V- net and FCN (Fully Convolutional Network, fully convolutional neural network).
  • the neural network model may include multiple layers, such as an input layer, multiple hidden layers, and an output layer.
  • the multiple hidden layers may include one or more convolutional layers, one or more batch normalization layers, one or more activation layers, fully connected layers, cost function layers, and so on. Each of the multiple layers may include multiple nodes.
  • Step S4106 taking the region of interest as a reference, and selecting an image within a preset range as the target region of interest image.
  • Step S4108 Establish a three-dimensional rectangular coordinate system for the target region of interest.
  • the method for establishing the rectangular coordinate system may be: first, center the target interest area in the target interest area image, select a rotation axis as the Y axis, and then select any one of the target interest area image and the Y axis
  • the vertical direction is taken as the X axis
  • the direction perpendicular to both the X axis and the Y axis is taken as the Z axis.
  • the establishment of a rectangular coordinate system can be as follows: first calculate the covariance matrix for the positions of all coordinate points of the target interest area in the target area of interest image, then calculate the eigenvalues and eigenvectors of the covariance matrix, and compare the features corresponding to the largest
  • the vector is taken as the central axis direction of the target interest area, and the central axis direction is taken as the Y axis, and then any direction perpendicular to the Y axis is selected as the X axis in the target interest area image, and then the X axis and the Y axis are both perpendicular
  • the direction is used as the Z axis.
  • Step S4110 the maximum density projection is performed on the target region of interest image in the Z-axis direction at the initial position, and the maximum density projection image is used as the plane image.
  • the maximum density projection is performed on the target region of interest image in the Z-axis direction at the initial position, and the maximum density projection image is used as the planar image.
  • the maximum density projection is generated by calculating the maximum density pixels encountered on each ray along the target site. That is, when light passes through the target region of interest image, the pixel with the highest density in the target region of interest image is retained and projected onto a two-dimensional plane, thereby forming the maximum density projection image of the target region of interest image.
  • Step S4112 rotate the target region of interest image according to the preset direction, and every time the preset angle is rotated, the maximum density projection is performed on the target region of interest image in the Z-axis direction, and the maximum density projection image is used as a planar image until the target region of interest The image is rotated to the initial position.
  • acquiring the plane image may be: after rotating the target area of interest image around the Y axis by a preset angle in a preset direction, performing maximum density projection on the target area of interest image in the Z axis direction, and using the maximum density projection image as a plane Image; after rotating the target area of interest image around the X axis in a preset direction by a preset angle, the target area of interest image is projected at the maximum density in the Z axis direction, using the maximum density projection image as a planar image; alternately get around Y
  • the plane image after the axis is rotated by a preset angle and the plane image after the preset angle is rotated around the X axis until the target region of interest image is rotated to the initial position.
  • Acquiring the plane image may also be: after rotating the target area of interest image around the X axis in a preset direction by a preset angle, performing the maximum density projection on the target area of interest image in the Z axis direction, and using the maximum density projection image as the plane image; After rotating the target area of interest image around the Y axis in a preset direction by a preset angle, the target area of interest image is projected at the maximum density in the Z axis direction, and the maximum density projection image is used as a planar image; the rotation around the X axis is alternately obtained The plane image after the preset angle and the plane image after the preset angle is rotated around the Y axis until the target region of interest image rotates to the initial position.
  • the preset angle rotating around the Y axis and the preset angle rotating around the X axis may be the same or different.
  • the preset angle of rotation around the Y axis is the same as the preset angle of rotation around the X axis.
  • the direction of rotation about the Y axis is the same as the direction of rotation about the X axis, and may be clockwise or counterclockwise.
  • step S4114 a plurality of planar images are generated in a predetermined order to generate dynamic images.
  • Step S4116 displaying the dynamic image according to the preset position.
  • the region of interest is selected from the original image, and the image within the preset range is selected as the target region of interest image based on the focus region. Then, a rectangular coordinate system is established for the target area of interest image. First, at the initial position, the target area of interest image is subjected to maximum density projection in the Z-axis direction, and the maximum density projection image is obtained as a planar image. Then rotate the target region of interest image according to the preset direction, each time the preset angle is rotated, the maximum density projection is performed on the target region of interest image in the Z-axis direction, and the maximum density projection image is used as the plane image until the target region of interest image Rotate to the initial position.
  • a method for acquiring a planar image including the following steps:
  • Step S4202 After rotating the target region of interest image by a preset angle around the Y axis in a preset direction, perform maximum density projection on the target region of interest image in the Z axis direction, and use the maximum density projection image as a planar image.
  • the target region of interest image is first rotated around the Y axis in a preset direction by a preset angle, where the preset direction may be clockwise or reverse Hour hand direction.
  • the preset angle is a small angle.
  • the maximum density projection is performed on the target region of interest image in the Z-axis direction, and the maximum density projection image is used as the planar image.
  • Step S4204 After rotating the target area of interest image by a preset angle around the X axis in a preset direction, perform maximum density projection on the target area of interest image in the Z axis direction, and use the maximum density projection image as a planar image.
  • the target region of interest image is then rotated around the X axis in the preset direction by a preset angle, where the preset direction may be clockwise or counterclockwise direction.
  • the rotation direction around the Y axis is the same as the rotation direction around the X axis.
  • the rotation around the X axis is also clockwise; when the rotation around the Y axis is counterclockwise, the rotation around the X axis is also reverse The hour hand rotates.
  • the preset angle is a small angle.
  • the preset angle of rotation about the Y axis and the preset angle of rotation about the X axis may be the same or different.
  • the preset angle of rotation around the Y axis is the same as the preset angle of rotation around the X axis.
  • step S4206 a plane image rotated by a preset angle about the Y axis and a plane image rotated by a preset angle about the X axis are alternately obtained until the target region of interest image is rotated to the initial position.
  • the above-mentioned method of acquiring a planar image can acquire an accurate planar image showing the lesion area, and then use the acquired planar image to generate a dynamic video, which further makes the focal area display more complete, enables the physician to accurately observe the focal area, and saves the physician To determine the time of the lesion.
  • the first state diagram, the second state diagram, and the third state diagram are three different moments intercepted in chronological order in the dynamic display image of the current rib fracture 'S display status.
  • the box in the second state diagram is the target region of interest, that is, the region of the rib fracture.
  • the first state diagram, the second state diagram, and the third state diagram are three different types of rib fractures captured in chronological order.
  • the box in the second state diagram is the target region of interest, that is, the region of the rib fracture.
  • the first state diagram, the second state diagram, and the third state diagram are three kinds of chronological interception of the dynamic display image of the current lung nodule. Display status at different moments.
  • the box in the second state diagram is the target region of interest, that is, the lung nodule region.
  • the first state diagram, the second state diagram, and the third state diagram are three kinds of chronological interception of the dynamic display image of the current lung nodule. Display status at different moments.
  • the box in the second state diagram is the target region of interest, that is, the lung nodule region.
  • steps in the flowcharts of FIGS. 31-33 are displayed in order according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless clearly stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least some of the steps in FIGS. 30-32 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or The execution order of the stages is not necessarily sequential, but may be executed in turn or alternately with other steps or sub-steps of the other steps or at least a part of the stages.
  • a structural block diagram of a medical image viewing device including: an original image acquisition module 4100, an interest area acquisition module 4200, an image selection module 4300, a planar image extraction module 4400, Dynamic image generation module 4500 and display module 4600, in which:
  • the original image acquisition module 4100 is used to acquire the original image of the detected object.
  • the region of interest acquisition module 4200 is used to acquire the region of interest selected in the original image.
  • the image selection module 4300 is configured to select an image within a preset range as a target area of interest image based on the area of interest.
  • the planar image extraction module 4400 is configured to acquire multiple planar images in the target region of interest image according to a preset acquisition method.
  • the dynamic image generation module 4500 is used to generate a plurality of planar images in a preset order.
  • the display module 4600 is configured to display the dynamic image according to a preset position.
  • the original image acquisition module 4100 is also used to input the original image into the neural network trained based on the image training set to obtain the region of interest.
  • the dynamic image generation module 4500 is also used to generate a plurality of planar images in an acquisition order or an order opposite to the acquisition order.
  • planar image extraction module 4400 includes: an interception unit 4410.
  • the intercepting unit 4410 is configured to sequentially intercept a plurality of slice images perpendicular to the preset direction in the target interest region image along the preset direction as a plane image.
  • planar image extraction module 4400 includes: a coordinate system establishment unit 4420, an initial position maximum density projection unit 4430, and a rotation unit 4440 .
  • the coordinate system establishing unit 4420 is configured to establish a three-dimensional rectangular coordinate system for the target region of interest image.
  • the initial position maximum density projection unit 4430 is configured to perform maximum density projection on the target region of interest image in the Z-axis direction at the initial position, and use the maximum density projection image as a planar image.
  • the rotation unit 4440 is used to rotate the target region of interest image according to the preset direction, and every time the preset angle is rotated, the maximum density projection is performed on the target region of interest image in the Z-axis direction, and the maximum density projection image is used as the plane image until the target The region of interest image is rotated to the initial position.
  • FIG. 49 a structural block diagram of a rotation unit is provided, wherein the rotation unit 4440 includes: an X-axis rotation sub-unit 4441, a Y-axis rotation sub-unit 4442, and an acquisition sub-unit 4443.
  • the X-axis rotation subunit 4441 is used to rotate the target region-of-interest image around the Y-axis in a preset direction by a preset angle, and then perform the maximum density projection on the target region-of-interest image in the Z-axis direction, using the maximum density projection image as a plane image.
  • the Y-axis rotation sub-unit 4442 rotates the target region-of-interest image around the X-axis by a preset angle in a preset direction, and then performs maximum-density projection on the target-interest region image in the Z-axis direction, and uses the maximum-density projection image as a planar image.
  • the obtaining subunit 4443 alternately obtains a plane image rotated by a preset angle about the Y axis and a plane image rotated by a preset angle about the X axis until the target region of interest image rotates to the initial position.
  • Each module in the above medical image viewing device may be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above modules may be embedded in the hardware or independent of the processor in the computer device, or may be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device is provided.
  • the computer device may be a terminal, and an internal structure diagram thereof may be as shown in FIG. 50.
  • the computer equipment includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and computer programs.
  • the internal memory provides an environment for the operating system and computer programs in the non-volatile storage medium.
  • the network interface of the computer device is used to communicate with external terminals through a network connection.
  • the computer program is executed by the processor to implement a medical image display method.
  • the display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the computer device housing , Can also be an external keyboard, touchpad or mouse.
  • a computer device which includes a memory and a processor, and a computer program is stored in the memory, and the processor implements the following steps when the processor executes the computer program:
  • Acquire the original image of the detected object Get the region of interest selected in the original image. Based on the region of interest, the image within the preset range is selected as the target region of interest image.
  • the processor also implements the following steps when executing the computer program:
  • the original image of the detected object Get the region of interest selected in the original image. Based on the region of interest, the image within the preset range is selected as the target region of interest image. Establish a three-dimensional rectangular coordinate system for the target region of interest image. At the initial position, the maximum density projection is performed on the target region of interest image in the Z-axis direction, and the maximum density projection image is used as a planar image. Rotate the target area of interest image according to the preset direction, and each time the preset angle is rotated, the maximum density projection of the target area of interest image in the Z-axis direction is performed, using the maximum density projection image as a planar image until the target area of interest image is rotated to initial position. Generate dynamic images from multiple planar images in a preset order. The dynamic image is displayed according to a preset position.
  • the processor also implements the following steps when executing the computer program:
  • the image of the region of interest is rotated around the Y axis in a predetermined direction by a predetermined angle
  • the image of the region of interest is projected at the maximum density in the direction of the Z axis, and the projected image of the maximum density is used as a planar image.
  • the image of the region of interest is rotated around the X axis in a predetermined direction by a predetermined angle
  • the image of the region of interest is projected at the maximum density in the direction of the Z axis
  • the projected image of the maximum density is used as a planar image.
  • the plane image after the preset angle is rotated around the Y axis and the plane image after the preset angle is rotated around the X axis are alternately obtained until the image of the region of interest rotates to the initial position.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are realized:
  • Acquire the original image of the detected object Get the region of interest selected in the original image. Based on the region of interest, the image within the preset range is selected as the target region of interest image.
  • the computer program also implements the following steps when executed by the processor:
  • the original image of the detected object Get the region of interest selected in the original image. Based on the region of interest, the image within the preset range is selected as the target region of interest image. Establish a three-dimensional rectangular coordinate system for the target region of interest image. At the initial position, the maximum density projection is performed on the target region of interest image in the Z-axis direction, and the maximum density projection image is used as a planar image. Rotate the target area of interest image according to the preset direction, and each time the preset angle is rotated, the maximum density projection of the target area of interest image in the Z-axis direction is performed, using the maximum density projection image as a planar image until the target area of interest image is rotated to initial position. Generate dynamic images from multiple planar images in a preset order. The dynamic image is displayed according to a preset position.
  • the computer program also implements the following steps when executed by the processor:
  • the target region of interest image After the target region of interest image is rotated around the Y axis in a preset direction by a predetermined angle, the target region of interest image is projected at the maximum density in the Z axis direction, and the maximum density projection image is used as a planar image.
  • the target region of interest image is rotated by a predetermined angle around the X axis in a preset direction, the target region of interest image is projected at the maximum density in the Z axis direction, and the maximum density projected image is used as a planar image.
  • the plane image after the preset angle is rotated around the Y axis and the plane image after the preset angle is rotated around the X axis are alternately obtained until the target region of interest image is rotated to the initial position.

Abstract

The present application provides a medical image processing method and system, a computer device, and a readable storage medium. According to the method, a physician can determine a lesion location by observing a dynamic image, the workload of the physician can be saved, and the time duration for the physician to determine a lesion can be saved. According to the method, a user can further adjust an attribute parameter threshold in real time, so as to display detection results in real time under different attribute parameter thresholds, facilitate a user weighing the balance between different levels of diagnostic accuracy and the time duration for reading a radiograph according to different use scenarios and different case characteristics, and improve the flexibility of a computer aided diagnosis system. Finally, the method can simultaneously achieve bone segmentation, bone center line segmentation, and bone fracture detection functions by adopting a trained deep learning network, can shorten the total time-consuming by 50%, a model saves 40% of the memory space; moreover, the method can help a doctor reduce the burden of reading the radiograph, speed up the time for reading the radiograph, reduce the probability for missed diagnosis, and reduce conflicts between doctors and patients.

Description

医学图像处理方法、系统、计算机设备以及可读存储介质Medical image processing method, system, computer equipment and readable storage medium
相关申请的交叉引用Cross-reference of related applications
本申请的相关申请分别要求于2018年12月28日申请的,申请号为201811626399.9,名称为“图像处理、图像处理模型的训练方法及系统”,于2019年02月22日申请的,申请号为201910133231.2,名称为“影像兴趣点的展示方法、装置及终端”,于2018年11月05日申请的,申请号为201811306115.8,名称为“医学图像显示方法、查看设备、计算机设备和存储介质”,的中国专利申请的优先权,在此将其全文引入作为参考。The relevant applications of this application are required to be applied on December 28, 2018, the application number is 201811626399.9, the name is "image processing, image processing model training method and system", and the application is on February 22, 2019, the application number It is 201910133231.2 and the name is "Displaying methods, devices and terminals of image points of interest". It was applied on November 5, 2018. The application number is 201811306115.8 and the name is "Medical image display method, viewing equipment, computer equipment and storage media" , The priority of Chinese patent applications, the full text of which is hereby incorporated by reference.
技术领域Technical field
本申请涉及图像处理领域,具体涉及一种医学图像处理方法、系统、计算机设备以及可读存储介质。This application relates to the field of image processing, and in particular to a medical image processing method, system, computer device, and readable storage medium.
背景技术Background technique
医学成像设备是指利用各种媒介作为信息载体,将人体内部的结构重现为影像的各种仪器。电子计算机断层扫描(CT)是利用精确准直的X线束、γ射线、超声波等,与灵敏度极高的探测器一同围绕人体的某一部位作一个接一个的断面扫描,最终生成医学图像的设备。为了获取患者特定部位的图像,可以通过CT扫描仪对患者进行扫描,生成扫描数据。根据扫描数据生成图像序列。图像序列包括多个切面图像,每一个切面图像代表患者的一个横断面图像。再根据图像序列生成患者的三维图像。所述横断面图像还可以通过计算机软件的处理重组,获得诊断所需的多平面的断面图像,例如冠状、矢状、斜位、曲面等方位的二维图像,医师通过观察图像序列以及三维图像进一步的确定患者的病灶区域。Medical imaging equipment refers to various instruments that use various media as information carriers to reproduce the internal structure of the human body as images. Electronic computer tomography (CT) is a device that uses precise collimated X-ray beams, gamma rays, ultrasonic waves, etc. to perform a cross-sectional scan one after another around a part of the human body with a highly sensitive detector to finally generate a medical image . In order to obtain an image of a specific part of the patient, the patient can be scanned by a CT scanner to generate scan data. Generate image sequences based on scan data. The image sequence includes multiple cross-sectional images, and each cross-sectional image represents a cross-sectional image of the patient. Then generate a three-dimensional image of the patient according to the image sequence. The cross-sectional images can also be processed and reconstructed by computer software to obtain multi-planar cross-sectional images required for diagnosis, such as coronal, sagittal, oblique, curved, and other two-dimensional images. The physician observes the image sequence and three-dimensional images Further determine the patient's lesion area.
发明内容Summary of the invention
一种医学图像处理方法,其特征在于,所述方法包括:A medical image processing method, characterized in that the method includes:
将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果,其中,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;Input the image to be detected into a neural network model for processing to obtain the detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest;
根据所述感兴趣区域属性参数以及属性参数阈值,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;Acquiring information on the target region of interest from the detection result of the region of interest according to the property parameter of the region of interest and the threshold of the property parameter;
根据所述目标感兴趣区域的信息,在所述待检测图像中确定所述目标感兴趣区域;Determine the target area of interest in the image to be detected according to the information of the target area of interest;
获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像;Acquiring multiple images based on the target region of interest, and generating a dynamic image according to the preset order of the multiple images;
显示所述动态图像。The dynamic image is displayed.
在其中一个实施例中,所述将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果,包括:将所述待检测图像输入所述神经网络模型进行网络前向传播计算,得到所述感兴趣区域的检测结果。In one of the embodiments, the inputting the image to be detected into a neural network model for processing to obtain the detection result of the region of interest includes: inputting the image to be detected into the neural network model for network forward propagation calculation To obtain the detection result of the region of interest.
在其中一个实施例中,所述方法还包括:实时获取用户输入的属性参数阈值;所述实时获取用户输入的属性参数阈值,包括:根据预设的阈值控制组件的控制信息与属性参数 阈值的映射关系,确定所述用户输入的属性参数阈值。In one of the embodiments, the method further includes: acquiring the attribute parameter threshold value input by the user in real time; and acquiring the attribute parameter threshold value input by the user in real time includes: controlling the control information of the component and the attribute parameter threshold value according to a preset threshold value The mapping relationship determines the attribute parameter threshold input by the user.
在其中一个实施例中,所述感兴趣区域属性参数包括感兴趣区域置信度、感兴趣区域类别、感兴趣区域尺寸;所述目标感兴趣区域的信息包括所述目标感兴趣区域的位置信息和/或所述目标感兴趣区域的尺寸信息。In one of the embodiments, the region of interest attribute parameters include region of interest confidence, region of interest category, region of interest size; information of the target region of interest includes location information of the target region of interest and / Or size information of the target region of interest.
在其中一个实施例中,所述获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像,包括:In one of the embodiments, the acquiring multiple images based on the target region of interest and generating a dynamic image according to a preset order of the multiple images includes:
以所述目标感兴趣区域为基准,获取目标感兴趣区域图像;Acquiring the target region of interest image based on the target region of interest;
根据所述目标感兴趣区域图像获取多个平面图像;Acquiring multiple planar images according to the target region of interest image;
将多个所述平面图像按照预设顺序生成动态图像。A plurality of the planar images are generated in a predetermined order to generate dynamic images.
在其中一个实施例中,所述以所述目标感兴趣区域为基准,获取目标感兴趣区域图像,包括:以所述目标感兴趣区域为基准,选取预设范围内的图像作为所述目标感兴趣区域图像。In one of the embodiments, acquiring the target region of interest image based on the target region of interest includes: using the target region of interest as a reference, selecting an image within a preset range as the target sense Area of interest image.
在其中一个实施例中,所述根据所述目标感兴趣区域图像获取多个平面图像,包括:在所述目标感兴趣区域图像中按照预设获取方式,获取多个所述平面图像。In one of the embodiments, the acquiring multiple plane images according to the target area of interest image includes: acquiring multiple plane images in the target area of interest image according to a preset acquisition method.
在其中一个实施例中,所述将多个所述平面图像按照预设顺序生成动态图像,包括:将多个所述平面图像按照获取顺序或者与获取顺序相反的顺序生成所述动态图像。In one of the embodiments, the generating the dynamic images in the predetermined order by the plurality of the planar images includes: generating the dynamic images in the acquisition order or in an order opposite to the acquisition order.
在其中一个实施例中,所述显示所述动态图像,包括:根据预设位置显示所述动态图像。In one of the embodiments, displaying the dynamic image includes: displaying the dynamic image according to a preset position.
在其中一个实施例中,所述系统包括:In one of the embodiments, the system includes:
处理模块,用于将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果,其中,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;The processing module is configured to input the image to be detected into a neural network model for processing to obtain a detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest;
信息获取模块,用于根据所述感兴趣区域属性参数以及属性参数阈值,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;An information obtaining module, configured to obtain information of the target interest area from the detection result of the interest area according to the attribute parameter of the interest area and the attribute parameter threshold;
感兴趣区域获取模块,用于根据所述目标感兴趣区域的信息,在所述待检测图像中确定所述目标感兴趣区域;An interest area acquisition module, configured to determine the target interest area in the image to be detected according to the information of the target interest area;
动态图像生成模块,用于获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像;A dynamic image generation module, configured to acquire multiple images based on the target region of interest, and generate dynamic images according to the preset order of the multiple images;
显示模块,用于显示所述动态图像。The display module is used for displaying the dynamic image.
本申请实施例提供一种计算机设备,包括存储器、处理器,所述存储器上存储有可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:An embodiment of the present application provides a computer device, including a memory and a processor. A computer program that can run on the processor is stored on the memory. The processor implements the computer program to implement the following steps:
将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果,其中,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;Input the image to be detected into a neural network model for processing to obtain the detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest;
根据所述感兴趣区域属性参数以及属性参数阈值,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;Acquiring information on the target region of interest from the detection result of the region of interest according to the property parameter of the region of interest and the threshold of the property parameter;
根据所述目标感兴趣区域的信息,在所述待检测图像中确定所述目标感兴趣区域;Determine the target area of interest in the image to be detected according to the information of the target area of interest;
获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像;Acquiring multiple images based on the target region of interest, and generating a dynamic image according to the preset order of the multiple images;
显示所述动态图像。The dynamic image is displayed.
本申请实施例提供一种可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:An embodiment of the present application provides a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are realized:
将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果,其中,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;Input the image to be detected into a neural network model for processing to obtain the detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest;
根据所述感兴趣区域属性参数以及属性参数阈值,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;Acquiring information on the target region of interest from the detection result of the region of interest according to the property parameter of the region of interest and the threshold of the property parameter;
根据所述目标感兴趣区域的信息,在所述待检测图像中确定所述目标感兴趣区域;Determine the target area of interest in the image to be detected according to the information of the target area of interest;
获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像;Acquiring multiple images based on the target region of interest, and generating a dynamic image according to the preset order of the multiple images;
显示所述动态图像。The dynamic image is displayed.
一种图像处理方法,所述方法包括:An image processing method, the method includes:
获取待检测图像;Obtain the image to be detected;
将所述待检测图像输入神经网络模型进行处理,得到骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果;Input the image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result;
其中,所述神经网络模型是基于训练图像进行机器训练学习确定的。Wherein, the neural network model is determined by machine training and learning based on the training image.
在其中一个实施例中,所述将所述待检测图像输入神经网络模型进行处理,得到骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果,包括:In one of the embodiments, the inputting the image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result and a bone fracture detection result includes:
将所述待检测图像输入所述神经网络模型进行网络前向传播计算;Input the image to be detected into the neural network model for network forward propagation calculation;
在第m次下采样编码之后,插入m次上采样编码,得到所述骨骼骨折检测结果;After the m-th down-sampling code, insert m-time up-sampling code to obtain the bone fracture detection result;
继续进行下采样编码,在第n次下采样编码之后,进行n次上采样编码,得到所述骨骼分割结果和所述骨骼中心线分割结果;Continue to perform down-sampling coding, and perform n times of up-sampling coding after the n-th down-sampling coding to obtain the bone segmentation result and the bone centerline segmentation result;
其中,m小于n,且m、n为正整数。Where m is less than n, and m and n are positive integers.
在其中一个实施例中,述将所述待检测图像输入神经网络模型进行处理,得到骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果之后,还包括:In one embodiment, after inputting the image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result, the method further includes:
根据预设阈值对所述骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果分别进行二值化处理:Perform binarization processing on the bone segmentation result, bone centerline segmentation result and bone fracture detection result according to a preset threshold:
对二值化处理后的所述骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果分别进行连通域标记,得到多标记的图像;Connect the domain labels to the bone segmentation results, bone centerline segmentation results, and bone fracture detection results after the binarization process to obtain multi-label images;
根据预设阈值统计所述多标记图像中每一个标记的像素个数,得到高分辨率下的骨骼分割掩膜、骨骼中心线掩膜和每一处骨折在所述待检测图像中的位置坐标。Count the number of pixels of each marker in the multi-marker image according to a preset threshold to obtain the skeleton segmentation mask, the skeleton centerline mask and the position coordinates of each fracture in the image to be detected at high resolution .
一种处理图像处理模型的训练方法,所述方法包括:A training method for processing an image processing model, the method includes:
获取训练图像;Get training images;
基于所述训练图像训练神经网络模型;Training a neural network model based on the training image;
其中,经训练的神经网络模型被配置为能够根据输入的图像同时输出骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果。Among them, the trained neural network model is configured to output the bone segmentation result, the bone centerline segmentation result and the bone fracture detection result simultaneously according to the input image.
在其中一个实施例中,所述基于所述训练图像训练神经网络模型包括:In one of the embodiments, the training a neural network model based on the training image includes:
将所述训练图像输入预设的神经网络进行骨骼分割训练和骨骼中心线分割训练,并固定训练过程中的参数,得到骨骼分割模块和骨骼中心线分割模块;Input the training image into a preset neural network for bone segmentation training and bone centerline segmentation training, and fix the parameters in the training process to obtain a bone segmentation module and a bone centerline segmentation module;
继续通过所述预设的神经网络对所述训练图像进行骨骼骨折检测训练,并固定训练过程中的参数,得到骨骼骨折检测模块。Continue to perform bone fracture detection training on the training image through the preset neural network, and fix the parameters in the training process to obtain a bone fracture detection module.
一种处理图像处理系统,所述系统包括:A processing image processing system, the system includes:
待检测图像获取模块,用于获取待检测图像;The image-to-be-detected module is used to obtain the image to be detected;
待检测图像处理模块,用于将所述待检测图像输入神经网络模型进行处理,得到骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果;A to-be-detected image processing module, configured to input the to-be-detected image into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result;
其中,所述神经网络模型是基于训练图像进行机器训练学习确定的。Wherein, the neural network model is determined by machine training and learning based on the training image.
在其中一个实施例中,所述待检测图像处理模块块包括:In one of the embodiments, the image processing module block to be detected includes:
第一获取单元,用于将所述待检测图像输入所述神经网络模型进行网络前向传播计算,在第m次下采样编码之后,插入m次上采样编码,得到所述骨骼骨折检测结果;A first acquiring unit, configured to input the image to be detected into the neural network model for network forward propagation calculation, and insert m times of upsampling codes after the mth downsampling code to obtain the bone fracture detection result;
第二获取单元,用于继续进行下采样编码,在第n次下采样编码之后,进行n次上采样编码,得到所述骨骼分割结果和所述骨骼中心线分割结果;A second obtaining unit, configured to continue down-sampling and encoding, and after performing the n-th down-sampling and encoding, perform n up-sampling and encoding to obtain the bone segmentation result and the bone centerline segmentation result;
其中,m小于n,且m、n为正整数。Where m is less than n, and m and n are positive integers.
在其中一个实施例中,所述系统还包括后处理模块,所述后处理模块用于:In one of the embodiments, the system further includes a post-processing module, the post-processing module is configured to:
根据预设阈值对所述骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果分别进行二值化处理:Perform binarization processing on the bone segmentation result, bone centerline segmentation result and bone fracture detection result according to a preset threshold:
对二值化处理后的所述骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果分别进行连通域标记,得到多标记的图像;Connect the domain labels to the bone segmentation results, bone centerline segmentation results, and bone fracture detection results after the binarization process to obtain multi-label images;
根据预设阈值统计所述多标记图像中每一个标记的像素个数,得到高分辨率下的骨骼分割掩膜、骨骼中心线掩膜和每一处骨折在所述待检测图像中的位置坐标。Count the number of pixels of each marker in the multi-marker image according to a preset threshold to obtain the skeleton segmentation mask, the skeleton centerline mask and the position coordinates of each fracture in the image to be detected at high resolution .
一种图像处理模型的训练系统,所述系统包括:An image processing model training system, the system includes:
训练图像获取模块,用于获取训练图像;Training image acquisition module for acquiring training images;
模型训练模块,用于基于所述训练图像训练神经网络模型;A model training module for training a neural network model based on the training image;
其中,经训练的神经网络模型被配置为能够根据输入的图像同时输出骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果。Among them, the trained neural network model is configured to output the bone segmentation result, the bone centerline segmentation result and the bone fracture detection result simultaneously according to the input image.
在其中一个实施例中,所述模型训练模块包括第一训练单元和第二训练单元,In one of the embodiments, the model training module includes a first training unit and a second training unit,
所述第一训练单元,用于将所述训练图像输入预设的神经网络进行骨骼分割训练和骨骼中心线分割训练,并固定训练过程中的参数,得到骨骼分割模块和骨骼中心线分割模块;The first training unit is used for inputting the training image into a preset neural network for bone segmentation training and bone centerline segmentation training, and fixing parameters in the training process to obtain a bone segmentation module and a bone centerline segmentation module;
所述第二训练单元,用于继续通过所述预设的神经网络对所述训练图像进行骨骼骨折检测训练,并固定训练过程中的参数,得到骨骼骨折检测模块。The second training unit is configured to continue to perform bone fracture detection training on the training image through the preset neural network, and fix parameters in the training process to obtain a bone fracture detection module.
上述图像处理、图像处理模型的训练方法及系统,在骨骼分析网络中,骨骼骨折的正反样本比远远大于骨骼的正负样本比,这种情况下,将这两个任务同时进行单一网络训练,会导致损耗函数极难收敛。本申请采用先训练骨骼分割和骨骼中心线分割,在通过迁移学习的方式,固定已经训练好的参数,再训练骨骼骨折检测,可以使损耗函数快速收敛,解决多任务模型下不同任务之间数据极其不平衡的情况;采用训练好的深度学习网络实现骨骼分割,骨骼中心线分割和骨骼骨折检出功能,与骨骼分割、骨骼中心线分割和骨骼骨折检测三个过程单独进行相比,网络实现三个过程可以使总耗时缩短百分之五十,模型节省内存空间百分之四十;采用人工智能的方式实现骨骼中心线(比如肋骨中心线)的提取以及骨折检测,骨骼检出率为90%以上,骨骼中心线的分割可以帮助我们进行肋骨标签化以及展开等可视化后处理,帮助医生更容易看清肋骨病灶;同时,肋骨分割、肋骨中心线和肋骨骨折检出集成在一个深度学习网络,可以帮助医生减轻读片负担,加快读片时间,降低漏诊概率,降低医患矛盾。In the above image processing and image processing model training methods and systems, in the bone analysis network, the ratio of positive and negative samples of bone fractures is much larger than the ratio of positive and negative samples of bones. In this case, the two tasks are simultaneously performed on a single network Training will cause the loss function to be extremely difficult to converge. This application adopts training bone segmentation and bone centerline segmentation first, in the way of transfer learning, fixes the already trained parameters, and then trains bone fracture detection, which can make the loss function quickly converge and solve the data between different tasks in the multi-task model Extremely unbalanced situation; the use of a trained deep learning network to achieve bone segmentation, bone centerline segmentation and bone fracture detection functions, compared with the three processes of bone segmentation, bone centerline segmentation and bone fracture detection separately, the network implementation The three processes can shorten the total time consumption by 50% and the model saves memory space by 40%; using artificial intelligence to achieve the extraction of bone centerlines (such as rib centerline) and fracture detection, bone detection rate For more than 90%, the segmentation of the skeletal centerline can help us to perform visual post-processing such as labeling and unfolding of the ribs, helping doctors to see the rib lesions more easily; at the same time, rib segmentation, rib centerline and rib fracture detection are integrated at a depth Learning network can help doctors reduce the burden of reading and speed up reading Time, reduce the probability of missed diagnosis, reduce the contradiction between doctors and patients.
一种影像感兴趣区域的展示方法,所述方法包括:A method for displaying a region of interest in an image, the method comprising:
获取影像中感兴趣区域的检测结果,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;Obtain the detection result of the region of interest in the image, where the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest;
实时获取用户输入的属性参数阈值;Real-time access to user-entered attribute parameter thresholds;
根据所述感兴趣区域属性参数与所述属性参数阈值的比对结果,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;According to the comparison result of the attribute parameter of the region of interest and the threshold value of the attribute parameter, obtain the information of the target region of interest from the detection result of the region of interest;
展示所述目标感兴趣区域的信息。Display information about the target area of interest.
在其中一个实施例中,所述感兴趣区域属性参数包括以下之一:感兴趣区域置信度、感兴趣区域类别、感兴趣区域尺寸。In one of the embodiments, the region of interest attribute parameter includes one of the following: region of interest confidence, region of interest category, and region of interest size.
在其中一个实施例中,所述实时获取用户输入的属性参数阈值包括:In one of the embodiments, the real-time acquisition of the attribute parameter threshold input by the user includes:
响应于用户对阈值控制组件的操作,获取所述阈值控制组件的控制信息;In response to the user's operation of the threshold control component, acquiring control information of the threshold control component;
根据预设的阈值控制组件的控制信息与属性参数阈值的映射关系,确定所述用户输入的属性参数阈值。The attribute parameter threshold input by the user is determined according to the mapping relationship between the control information of the preset threshold control component and the attribute parameter threshold.
在其中一个实施例中,所述展示所述目标感兴趣区域的信息包括:In one of the embodiments, the information displaying the target region of interest includes:
获取所述目标感兴趣区域所对应的局部影像;Obtaining a local image corresponding to the target area of interest;
渲染所述局部影像;Rendering the partial image;
显示渲染后的所述局部影像。The rendered partial image is displayed.
在其中一个实施例中,所述目标感兴趣区域的信息包括目标感兴趣区域的位置信息和/或目标感兴趣区域的尺寸信息;In one of the embodiments, the information of the target interest area includes position information of the target interest area and / or size information of the target interest area;
相应的,所述展示所述目标感兴趣区域的信息还包括:Correspondingly, the information displaying the target area of interest further includes:
获取原始影像;Get the original image;
根据所述目标感兴趣区域的位置信息和/或目标感兴趣区域的尺寸信息,确定所述原始影像中与所述目标感兴趣区域对应的目标感兴趣区域;Determine the target interest area corresponding to the target interest area in the original image according to the position information of the target interest area and / or the size information of the target interest area;
显示包含所述目标感兴趣区域的原始影像。The original image containing the target region of interest is displayed.
在其中一个实施例中,所述展示所述目标感兴趣区域的信息还包括:In one of the embodiments, the information displaying the target region of interest further includes:
生成与所述目标感兴趣区域的信息相对应的目标索引;Generating a target index corresponding to the information of the target interest area;
显示所述目标索引。The target index is displayed.
在其中一个实施例中,在显示所述目标索引之后,所述方法还包括:In one of the embodiments, after displaying the target index, the method further includes:
接收对一个所述目标索引的选择信号;Receiving a selection signal for a target index;
根据所述选择信号,确定所述目标索引所对应的目标感兴趣区域的信息;According to the selection signal, determine the target interest region information corresponding to the target index;
将所述目标感兴趣区域的信息所对应的目标感兴趣区域在所述原始影像中进行标识,和/或将所述目标感兴趣区域的信息所对应的渲染后的局部影像进行标识。The target interest area corresponding to the information of the target interest area is identified in the original image, and / or the rendered partial image corresponding to the information of the target interest area is identified.
在其中一个实施例中,所述感兴趣区域包括解剖结构或者病灶。In one of the embodiments, the region of interest includes an anatomical structure or a lesion.
一种影像感兴趣区域的展示装置,所述装置包括:A display device for video interest regions, the device includes:
第一获取模块,用于获取影像中感兴趣区域的检测结果,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;A first acquisition module, configured to acquire the detection result of the region of interest in the image, the detection result of the region of interest including information of the region of interest and attribute parameters of the region of interest;
第二获取模块,用于实时获取用户输入的属性参数阈值;The second obtaining module is used to obtain the attribute parameter threshold value input by the user in real time;
第三获取模块,用于根据所述感兴趣区域属性参数与所述属性参数阈值的比对结果,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;A third obtaining module, configured to obtain the information of the target interest area from the detection result of the interest area according to the comparison result of the attribute parameter of the interest area and the threshold value of the attribute parameter;
展示模块,用于展示所述目标感兴趣区域的信息。A display module is used to display the information of the target region of interest.
一种终端,包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上述任一种影像感兴趣区域的展示方法。A terminal includes a processor and a memory. The memory stores at least one instruction, at least one program, code set, or instruction set. The at least one instruction, the at least one program, code set, or instruction set is composed of The processor loads and executes to implement any one of the methods for displaying image interest regions as described above.
上述影像感兴趣区域的展示方法、装置及终端,获取影像中感兴趣区域的检测结果,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数,实时获取用户输入的属性参数阈值,根据所述感兴趣区域属性参数与所述属性参数阈值的比对结果,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息,并展示所述目标感兴趣区域的信息,实现了用户可以实时地进行属性参数阈值的调节,从而可以实时展示不同属性参数阈值下的检测结果,有利于用户根据不同的使用场景、不同的病例特点,权衡不同程度的诊断精确性和读片时间的平衡,提高了计算机辅助诊断系统的灵活性。The method, device and terminal for displaying the image interest area described above obtain the detection result of the interest area in the image, and the detection result of the interest area includes the information of the interest area and the attribute parameter of the interest area, and obtain the attribute input by the user in real time Parameter threshold, according to the comparison result of the attribute parameter of the region of interest and the threshold value of the attribute parameter, obtain the information of the target region of interest from the detection result of the region of interest, and display the information of the target region of interest , Realizing that users can adjust the threshold of attribute parameters in real time, so that they can display the detection results under different attribute parameter thresholds in real time, which is beneficial to users according to different usage scenarios and different case characteristics, weighing different degrees of diagnostic accuracy and reading The balance of the film time improves the flexibility of the computer-aided diagnosis system.
一种医学图像显示方法,所述方法包括:A medical image display method, the method includes:
获取被检测对象的原始图像;Obtain the original image of the detected object;
获取在所述原始图像中选取的感兴趣区域;Acquiring the region of interest selected in the original image;
以所述感兴趣区域为基准,选取预设范围内的图像作为目标感兴趣区域图像;Using the area of interest as a reference, select an image within a preset range as the target area of interest image;
在所述目标感兴趣区域图像中按照预设获取方式,获取多个平面图像;Acquiring multiple planar images in the target area of interest image according to a preset acquisition method;
将多个所述平面图像按照预设顺序生成动态图像;Generating a plurality of the planar images in a predetermined order to generate dynamic images;
根据预设位置显示所述动态图像。The dynamic image is displayed according to a preset position.
在其中一个实施例中,所述获取在所述原始图像中选取的感兴趣区域包括:In one of the embodiments, the acquiring the region of interest selected in the original image includes:
将所述原始图像输入到基于图像训练集训练得到的神经网络中,得到目标感兴趣区域。The original image is input into the neural network trained based on the image training set to obtain the target region of interest.
在其中一个实施例中,所述在所述目标感兴趣区域图像中按照预设获取方式,获取多个平面图像包括:In one of the embodiments, the acquiring multiple plane images in the target area of interest image according to a preset acquisition method includes:
沿预设方向依次在所述目标感兴趣区域图像中截取多个与预设方向垂直的切面图像作为平面图像。A plurality of slice images perpendicular to the preset direction are intercepted in the target interest region image in sequence along the preset direction as a plane image.
在其中一个实施例中,所述在所述目标感兴趣区域图像中按照预设获取方式,获取多个平面图像包括:In one of the embodiments, the acquiring multiple plane images in the target area of interest image according to a preset acquisition method includes:
对所述目标感兴趣区域图像建立三维直角坐标系;Establish a three-dimensional rectangular coordinate system for the target region of interest image;
在初始位置对所述目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像;Performing maximum density projection on the target region of interest image in the Z-axis direction at an initial position, and using the maximum density projection image as a planar image;
按照预设方向旋转所述目标感兴趣区域图像,每旋转预设角度,则对所述目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,直到所述目标感兴趣区域图像旋转至初始位置。Rotate the target area of interest image according to a preset direction, and each time the preset angle is rotated, the target area of interest image is subjected to maximum density projection in the Z-axis direction, and the maximum density projection image is used as a planar image until the target The region of interest image is rotated to the initial position.
在其中一个实施例中,所述按照预设方向旋转所述目标感兴趣区域图像,每旋转预设角度,则对所述目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,直到所述目标感兴趣区域图像旋转至初始位置包括:In one of the embodiments, the target region of interest image is rotated according to a preset direction, and each time the preset angle is rotated, a maximum density projection is performed on the target region of interest image in the Z-axis direction to project the maximum density The image is used as a planar image until the target region of interest image is rotated to the initial position including:
将所述目标感兴趣区域图像绕Y轴在预设方向旋转预设角度后,对所述目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像;After rotating the target region of interest image by a preset angle around the Y axis in a preset direction, perform maximum density projection on the target region of interest image in the Z axis direction, and use the maximum density projection image as a planar image;
将所述目标感兴趣区域图像绕X轴在预设方向旋转预设角度后,对所述目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像;After rotating the target region of interest image by a preset angle around the X axis in a preset direction, perform maximum density projection on the target region of interest image in the Z axis direction, and use the maximum density projection image as a planar image;
交替得到绕Y轴旋转预设角度后的平面图像和绕X轴旋转预设角度后的平面图像,直到所述目标感兴趣区域图像旋转至初始位置。The plane image after being rotated around the Y axis by a preset angle and the plane image after being rotated around the X axis by a preset angle are alternately obtained until the target region of interest image is rotated to the initial position.
在其中一个实施例中,所述预设方向为:顺时针方向或逆时针方向。In one of the embodiments, the preset direction is: clockwise direction or counterclockwise direction.
在其中一个实施例中,所述将多个所述平面图像按照预设顺序生成动态图像包括:In one of the embodiments, the generating the dynamic images according to the preset order from the plurality of planar images includes:
将多个所述平面图像按照获取顺序或与获取顺序相反的顺序生成动态图像。A plurality of the planar images are generated in the order of acquisition or the order opposite to the order of acquisition.
一种医学图像查看设备,所述设备包括:原始图像获取模块,用于获取被检测对象的原始图像;A medical image viewing device, the device includes: an original image acquisition module for acquiring an original image of a detected object;
感兴趣区域获取模块,用于获取在所述原始图像中选取的感兴趣区域;An interest area acquisition module, configured to acquire an interest area selected in the original image;
图像选取模块,用于以所述感兴趣区域为基准,选取预设范围内的图像作为目标感兴趣区域图像;An image selection module, which is used to select an image within a preset range as the target region of interest image based on the region of interest;
平面图像提取模块,用于在所述目标感兴趣区域图像中按照预设获取方式,获取多个平面图像;A planar image extraction module, configured to acquire multiple planar images in the target area of interest image according to a preset acquisition method;
动态图像生成模块,用于将多个所述平面图像按照预设顺序生成动态图像;A dynamic image generation module, configured to generate a plurality of the planar images according to a preset order;
显示模块,用于根据预设位置显示所述动态图像。The display module is configured to display the dynamic image according to a preset position.
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现上述任一种所述方法的步骤。A computer device includes a memory and a processor. The memory stores a computer program, and is characterized in that when the processor executes the computer program, any of the steps of the above method is implemented.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一种所述的方法的步骤。A computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the steps of any of the above-mentioned methods.
上述医学图像显示方法、查看设备、计算机设备和存储介质,通过获取被检测对象原始图像,在原始图像中选取目标感兴趣区域,再以目标感兴趣区域为中心,选取预设范围内的图像作为目标感兴趣区域图像,在目标感兴趣区域图像中以预设方式,获取多个平面图像,将多个平面图像按照预设顺序生成动态图像。医师通过观察动态图像确定病灶位置,能够节省医师的工作量,并且能够节省医师用于确定病灶的时间。The above medical image display method, viewing device, computer device and storage medium obtain the original image of the detected object, select the target interest area from the original image, and then select the image within the preset range as the center of the target interest area as the center For the target region of interest image, a plurality of plane images are acquired in the target region of interest image in a preset manner, and the multiple plane images are generated in a predetermined order to generate a dynamic image. The physician determines the location of the lesion by observing the dynamic image, which can save the workload of the physician and save the doctor's time for determining the lesion.
附图说明BRIEF DESCRIPTION
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The drawings herein are incorporated into the specification and constitute a part of the specification, show embodiments consistent with the application, and are used together with the specification to explain the principles of the application.
图1为一个实施例提供的医学图像处理方法的流程示意图;1 is a schematic flowchart of a medical image processing method provided by an embodiment;
图2为另一个实施例提供的医学图像处理方法流程示意图;2 is a schematic flowchart of a medical image processing method provided by another embodiment;
图3为另一个实施例提供的医学图像处理方法的流程示意图;3 is a schematic flowchart of a medical image processing method provided by another embodiment;
图4为一个实施例提供的医学图像处理系统的结果示意图;4 is a schematic diagram of results of a medical image processing system provided by an embodiment;
图5为一个实施例提供的终端的结构示意图;5 is a schematic structural diagram of a terminal provided by an embodiment;
图6是本申请实施例提供的图像处理方法的一种流程示意图;6 is a schematic flowchart of an image processing method provided by an embodiment of the present application;
图7是本申请实施例提供的将待检测图像输入神经网络模型进行处理,得到骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果的流程示意图;7 is a schematic diagram of a process of inputting an image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result provided by an embodiment of the present application;
图8是本申请实施例提供的神经网络模型结构框图;8 is a structural block diagram of a neural network model provided by an embodiment of the present application;
图9是本申请实施例提供的图像处理方法的另一种流程示意图;9 is another schematic flowchart of an image processing method provided by an embodiment of the present application;
图10是本申请实施例提供的图像处理的工作原理框图;10 is a block diagram of the working principle of image processing provided by an embodiment of the present application;
图11是本申请实施例提供的待检测图像的横断面、矢状面和冠状面截图;11 is a screenshot of a cross section, a sagittal plane, and a coronal plane of an image to be detected provided by an embodiment of the present application;
图12是将图11中的待检测图像进行图像处理的分析结果示意图;12 is a schematic diagram of an analysis result of performing image processing on the image to be detected in FIG. 11;
图13是本申请实施例提供的图像处理模型的训练方法的一种流程示意图;13 is a schematic flowchart of a training method of an image processing model provided by an embodiment of the present application;
图14是本申请实施例提供的基于训练图像训练神经网络模型的流程示意图;14 is a schematic flow chart of training a neural network model based on training images provided by an embodiment of the present application;
图15是本申请实施例提供的图像处理模型的训练方法的另一种流程示意图;15 is another schematic flowchart of an image processing model training method provided by an embodiment of the present application;
图16是本申请实施例提供的图像处理系统的一种结构框图;16 is a structural block diagram of an image processing system provided by an embodiment of the present application;
图17是本申请实施例提供的图像处理系统的另一种结构框图;17 is another structural block diagram of an image processing system provided by an embodiment of the present application;
图18是本申请实施例提供的图像处理模型的训练系统的一种结构框图;18 is a structural block diagram of an image processing model training system provided by an embodiment of the present application;
图19是本申请实施例提供的图像处理模型的训练系统的另一种结构框图;19 is another structural block diagram of an image processing model training system provided by an embodiment of the present application;
图20是本申请实施例提供的图像处理系统的另一种结构框图;20 is another structural block diagram of an image processing system provided by an embodiment of the present application;
图21是本申请实施例提供的一种影像兴趣点的展示方法的流程示意图;FIG. 21 is a schematic flowchart of a method for displaying video interest points according to an embodiment of the present application;
图22是本申请实施例提供的实时获取用户输入的属性参数阈值的方法的一种流程示意图;FIG. 22 is a schematic flowchart of a method for obtaining an attribute parameter threshold input by a user in real time according to an embodiment of the present application;
图23是本申请实施例提供的展示目标兴趣点的信息的一种界面示意图;23 is a schematic diagram of an interface for displaying information on target points of interest provided by an embodiment of the present application;
图24是本申请实施例提供的展示目标兴趣点的信息的另一种界面示意图;24 is a schematic diagram of another interface for displaying information on target points of interest provided by an embodiment of the present application;
图25是本申请实施例提供的另一种影像兴趣点的展示方法的流程示意图;FIG. 25 is a schematic flowchart of another method for displaying video interest points according to an embodiment of the present application;
图26是本申请实施例提供的一种影像兴趣点的展示装置的结构示意图;26 is a schematic structural diagram of a video interest point display device provided by an embodiment of the present application;
图27是本申请实施例提供的第二获取模块一种结构示意图;27 is a schematic structural diagram of a second acquisition module provided by an embodiment of the present application;
图28是本申请实施例提供的展示模块的结构示意图;28 is a schematic structural diagram of a display module provided by an embodiment of the present application;
图29是本申请实施例提供的另一种影像兴趣点的展示装置的结构示意图;29 is a schematic structural diagram of another video interest point display device provided by an embodiment of the present application;
图30是本申请实施例提供的一种终端的结构示意图;30 is a schematic structural diagram of a terminal according to an embodiment of the present application;
图31为一个实施例中医学图像显示方法的流程示意图;31 is a schematic flowchart of a medical image display method in an embodiment;
图32为另一个实施例中医学图像显示方法流程示意图;32 is a schematic flowchart of a medical image display method in another embodiment;
图33为一个实施例中获取平面图像方法的流程示意图;FIG. 33 is a schematic flowchart of a method for acquiring a planar image in an embodiment;
图34为一个实施例中肋骨骨折动态显示的第一状态图;34 is a first state diagram of dynamic display of rib fractures in an embodiment;
图35为一个实施例中肋骨骨折动态显示的第二状态图;35 is a second state diagram of dynamic display of rib fractures in an embodiment;
图36为一个实施例中肋骨骨折动态显示的第三状态图;36 is a third state diagram of dynamic display of rib fractures in an embodiment;
图37为另一个实施例中肋骨骨折动态显示的第一状态图;37 is a first state diagram of dynamic display of a rib fracture in another embodiment;
图38为另一个实施例中肋骨骨折动态显示的第二状态图;38 is a second state diagram of dynamic display of rib fractures in another embodiment;
图39为另一个实施例中肋骨骨折动态显示的第三状态图;39 is a third state diagram of dynamic display of rib fractures in another embodiment;
图40为一个实施例中肺结节动态显示的第一状态图;40 is a first state diagram of dynamic display of lung nodules in an embodiment;
图41为一个实施例中肺结节动态显示的第二状态图;41 is a second state diagram of dynamic display of lung nodules in an embodiment;
图42为一个实施例中肺结节动态显示的第三状态图;42 is a third state diagram of dynamic display of lung nodules in an embodiment;
图43为另一个实施例中肺结节动态显示的第一状态图;43 is a first state diagram of dynamic display of lung nodules in another embodiment;
图44为另一个实施例中肺结节动态显示的第二状态图;44 is a second state diagram of dynamic display of lung nodules in another embodiment;
图45为另一个实施例中肺结节动态显示的第三状态图;45 is a third state diagram of dynamic display of lung nodules in another embodiment;
图46为一个实施例中医学图像查看设备的结构框图;46 is a structural block diagram of a medical image viewing device in an embodiment;
图47为一个实施例中平面图像提取模块的结构框图;47 is a structural block diagram of a planar image extraction module in an embodiment;
图48为另一个实施例中平面图像提取模块的结构框图;48 is a structural block diagram of a planar image extraction module in another embodiment;
图49为一个实施例中旋转单元的结构框图;49 is a structural block diagram of a rotating unit in an embodiment;
图50为一个实施例中计算机设备的内部结构图。FIG. 50 is an internal structure diagram of a computer device in an embodiment.
附图标记:4100为原始图像获取模块、4200为病灶区域获取模块、4300为感兴趣区 域图像选取模块、4400为平面图像提取模块、4410为截取单元、4420为坐标系建立单元、4430为初始位置最大密度投影单元、4440为旋转单元、4441为X轴旋转子单元、4442为Y轴旋转子单元、4443为获取子单元、4500为动态图像生成模块、4600为显示模块。Reference signs: 4100 is the original image acquisition module, 4200 is the lesion area acquisition module, 4300 is the region of interest image selection module, 4400 is the planar image extraction module, 4410 is the interception unit, 4420 is the coordinate system establishment unit, and 4430 is the initial position The maximum density projection unit, 4440 is a rotation unit, 4441 is an X-axis rotation subunit, 4442 is a Y-axis rotation subunit, 4443 is an acquisition subunit, 4500 is a dynamic image generation module, and 4600 is a display module.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clear, the present application will be described in further detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
随着医学科学技术的发展,为了获取患者特定部位的图像,可以通过CT扫描仪对患者进行扫描,生成扫描数据。根据扫描数据生成图像序列,图像序列包括多个切面图像,每一个切面图像代表患者的一个横断面图像,再根据图像序列生成患者的三维图像。医师通过观察图像序列以及三维图像进一步的确定患者的目标感兴趣区域。With the development of medical science and technology, in order to obtain images of specific parts of patients, patients can be scanned by CT scanners to generate scan data. An image sequence is generated based on the scan data, and the image sequence includes a plurality of slice images, each slice image represents a cross-sectional image of the patient, and then a three-dimensional image of the patient is generated according to the image sequence. The physician further determines the target region of interest of the patient by observing the image sequence and the three-dimensional image.
目前的传统技术,放射科医师在对某些病灶进行检测和定位时,需要参考多层CT横断面,并进行反复的观察,获得足够的相关背景图像信息,才能最后确定病灶的诊断。这样反复的来回滚动图像序列增大了医师的工作量,并且浪费了大量的时间。为了解决反复的来回滚动图像序列增大了医师的工作量,并且浪费了大量的时间的问题,本申请其中一个实施例中提出了一种医学图像处理方法和医学图像处理系统。In the current traditional technology, radiologists need to refer to the multi-slice CT cross-section and repeatedly observe to obtain certain relevant background image information before detecting and locating certain lesions in order to finally determine the diagnosis of the lesion. This repeated scrolling of the image sequence back and forth increases the workload of the physician and wastes a lot of time. In order to solve the problem of repeatedly scrolling the image sequence back and forth increasing the workload of the physician and wasting a lot of time, one embodiment of the present application proposes a medical image processing method and medical image processing system.
在一个实施例中,如图1所示,提供了一种医学图像处理方法,包括以下步骤:In one embodiment, as shown in FIG. 1, a medical image processing method is provided, including the following steps:
步骤S1002,将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果,其中,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数。In step S1002, the image to be detected is input into a neural network model for processing to obtain a detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest.
本实施例中,在执行步骤S1002之前,上述医学图像处理方法还可以包括:获取待检测图像,对待检测图像进行预处理的步骤,其中,预处理包括:In this embodiment, before performing step S1002, the above medical image processing method may further include the steps of acquiring an image to be detected and preprocessing the image to be detected, wherein the preprocessing includes:
对待检测图像进行重采样处理,将待检测图像将采样为指定分辨率图像;Re-sampling the image to be detected, and sampling the image to be detected into the specified resolution image;
随机从重采样处理后的图像中取出一个图像块;Randomly take an image block from the resampled image;
对该图像块进行归一化处理,使图像的灰度分布控制在一个指定范围内,如0-1之间。Normalize the image block to control the gray distribution of the image within a specified range, such as between 0-1.
步骤S1004,根据所述感兴趣区域属性参数以及属性参数阈值,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息。Step S1004: Acquire the target region of interest information from the detection result of the region of interest based on the region of interest region attribute parameter and the attribute parameter threshold.
可选的,所述感兴趣区域属性参数包括感兴趣区域置信度、感兴趣区域类别、感兴趣区域尺寸;所述目标感兴趣区域的信息包括所述目标感兴趣区域的位置信息和/或所述目标感兴趣区域的尺寸信息。Optionally, the region of interest attribute parameters include region of interest confidence, category of region of interest, and region of interest size; the information of the target region of interest includes location information of the target region of interest and / or Describe the size information of the target area of interest.
在本说明书实施例中,神经网络模型可以基于训练图像进行机器学习训练确定,具体为使基于训练图像以及相应的感兴趣区域标签进行机器学习训练确定。可选的,感兴趣区域可以包括不同类型的病灶,即组织或器官遭受致病因子的作用而引起病变的部位,是机体上发生病变的部分,例如骨折、肺结节、肿瘤、脑出血、心脏疾病、神经疾病等等;还可以包括解剖结构,例如血管、骨化中心、神经、肌肉、软组织、气管、软骨、韧带,裂纹等等,当然,感兴趣区域还可以是影像中其它的感兴趣特征部位。可选的,感兴趣区域可以包括目标感兴趣区域,相当于,感兴趣区域既可以包括医师具有针对性的即将确定的目标病灶区域,还可以包括医师当前不需要确定的病灶区域。可选的,目标感兴趣区域可以包括具体类型的病灶,还可以包括具体类型的具体病灶区别,对此本实施例不做任何限定。可选的,目标感兴趣区域的信息可以包括目标感兴趣区域的尺寸信息和目标感兴趣区 域的位置信息。In the embodiment of the present specification, the neural network model may be determined based on the training image for machine learning training, specifically for the machine learning training based on the training image and the corresponding region of interest label. Optionally, the region of interest may include different types of lesions, that is, tissues or organs that are affected by pathogenic factors and cause lesions, and are the parts of the body where lesions occur, such as fractures, lung nodules, tumors, cerebral hemorrhage, Heart disease, nerve disease, etc .; can also include anatomical structures, such as blood vessels, ossification centers, nerves, muscles, soft tissue, trachea, cartilage, ligaments, cracks, etc. Of course, the area of interest can also be other senses in the image Interest characteristics. Optionally, the region of interest may include a target region of interest, which is equivalent to that the region of interest may include not only a target lesion area to be determined by the physician, but also a lesion area that the physician does not currently need to determine. Optionally, the target region of interest may include a specific type of lesion, and may also include a specific type of specific lesion distinction, which is not limited in this embodiment. Optionally, the information of the target interest area may include size information of the target interest area and position information of the target interest area.
需要说明的是,医学图像处理系统可以感兴趣区域属性参数以及属性参数阈值进行判断处理,根据判断结果从感兴趣区域的检测结果中获取目标感兴趣区域的信息。可选的,感兴趣区域属性参数可以是任何影响感兴趣区域的检测结果,并在本说明书实施例的医学图像处理系统的使用阶段可以实时调节的参数。其中,感兴趣区域置信度可以表征为通过检测模型如深度学习模型检测的图像中的区域或部位属于感兴趣区域的确信程度。可选的,感兴趣区域尺寸可以表征为感兴趣区域所对应的区域或者部位的大小的参数。在本说明书实施例中,上述感兴趣区域属性参数阈值与感兴趣区域属性参数相对应,可以包括感兴趣区域置信度、感兴趣区域类别以及感兴趣区域尺寸等。可选的,感兴趣区域的信息可以为全部的感兴趣区域的检测结果信息,也可以为部分的感兴趣区域的检测结果信息。It should be noted that the medical image processing system may perform judgment processing on the attribute parameters of the region of interest and the thresholds of the attribute parameters, and obtain information on the target region of interest from the detection result of the region of interest according to the judgment result. Optionally, the attribute parameter of the region of interest may be any parameter that affects the detection result of the region of interest and can be adjusted in real time during the use phase of the medical image processing system of the embodiments of the present specification. The confidence level of the region of interest may be characterized as the degree of certainty that the region or part in the image detected by the detection model, such as the deep learning model, belongs to the region of interest. Optionally, the size of the region of interest may be characterized as a parameter of the size of the region or part corresponding to the region of interest. In the embodiment of the present specification, the threshold value of the interest area attribute parameter corresponds to the interest area attribute parameter, and may include the confidence level of the interest area, the category of the interest area, the size of the interest area, and the like. Optionally, the information of the interest area may be the detection result information of all the interest areas, or may be the detection result information of a part of the interest areas.
本实施例中,具体是在待检测图像块中选取图像块,形成待检测图像块,将该待检测图像块输入神经网络模型进行处理。In this embodiment, specifically, an image block is selected from the image blocks to be detected to form an image block to be detected, and the image block to be detected is input to a neural network model for processing.
步骤S1006,根据所述目标感兴趣区域的信息,在所述待检测图像中确定所述目标感兴趣区域。Step S1006: Determine the target area of interest in the image to be detected according to the information of the target area of interest.
具体的,医学图像处理系统可以根据目标感兴趣区域的尺寸信息和位置信息,在待检测图像中可以确定对应的目标感兴趣区域。可选的,上述目标感兴趣区域可以为目标病灶区域。需要说明的是,目标感兴趣区域可以为一个局限的并具有病原微生物的病变组织。例如,肺的某部分被结核菌破坏,那么被破坏的这一部分就被称为目标感兴趣区域。可选的,对于待检测图像,有一部分图像与确定目标病灶无关。Specifically, the medical image processing system may determine the corresponding target interest area in the image to be detected according to the size information and position information of the target interest area. Optionally, the target interest area may be a target lesion area. It should be noted that the target region of interest may be a limited diseased tissue with pathogenic microorganisms. For example, a part of the lung is destroyed by tuberculosis bacteria, then the destroyed part is called the target area of interest. Optionally, for the image to be detected, a part of the image has nothing to do with determining the target lesion.
步骤S1008,获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像。Step S1008: Acquire multiple images based on the target region of interest, and generate a dynamic image according to the preset order of the multiple images.
具体的,上述预设顺序可以为截获平面图像的先后顺序,还可以为截获平面图像时预设的特定截获顺序。可选的,医学图像处理系统可以获取以目标感兴趣区域为基准的多个平面图像,该平面图像可以为一种截面图像。Specifically, the above-mentioned preset order may be the order in which the plane images are captured, or may be a specific interception order preset when the plane images are captured. Optionally, the medical image processing system may acquire a plurality of planar images based on the target region of interest, and the planar image may be a cross-sectional image.
步骤S1010,显示所述动态图像。Step S1010, displaying the dynamic image.
具体的,显示动态图像可以表征为将图像能够以任意视角显示的方式。Specifically, displaying a dynamic image can be characterized as a way in which the image can be displayed at any viewing angle.
可选的,上述步骤S1010中显示所述动态图像的步骤,具体可以包括:根据预设位置显示所述动态图像。Optionally, the step of displaying the dynamic image in the above step S1010 may specifically include: displaying the dynamic image according to a preset position.
例如,以一种骨骼CT图像的显示界面为例。在一个是实施例中,所述显示界面布局有多个显示窗口(本领域中通常解释为cell),多个cell中分别显示感兴趣区域为肋骨的曲面重建图像、以及对应的多平面重建图像(例如横断面图像),通过前述步骤获取的肋骨动态图像。可选的,上述肋骨动态图像也可以在浮动窗口显示。For example, take a display interface of a bone CT image as an example. In one embodiment, the display interface layout has a plurality of display windows (usually interpreted as cells in the art), and a plurality of cells respectively display a curved surface reconstruction image in which the region of interest is a rib and a corresponding multi-plane reconstruction image (For example, a cross-sectional image), a dynamic image of the rib obtained through the previous steps. Optionally, the above rib dynamic image can also be displayed in a floating window.
此外,还可以根据医师观察肋骨动态图像过程中,进行阅片区域的调整时,在肋骨的曲面重建图像的显示窗口重复步骤S1006~步骤S1010,在肋骨动态图像显示窗口联动的切换显示调整后的动态图像,以满足医生阅片的操作习惯,提高诊断效率和准确性。In addition, it is also possible to repeat steps S1006 to S1010 in the display window of the rib curved surface reconstruction image during adjustment of the reading area during the observation of the rib dynamic image by the physician, and display the adjusted Dynamic images to meet the doctor's reading habits, improve diagnosis efficiency and accuracy.
可选的,上述显示的方式可以包括根据响应医师的输入选择动态图像的播放速度,例如加速播放或者慢放、正向或者逆向回放,无限循环播放或者暂停播放。Optionally, the above display manner may include selecting the playback speed of the dynamic image according to the input of the responding physician, such as accelerated playback or slow playback, forward or reverse playback, infinite loop playback or pause playback.
上述医学图像处理方法,医学图像处理系统可以先获取感兴趣区域的检测信息,然后再根据感兴趣区域属性参数以及属性参数阈值,从感兴趣区域的检测结果中获取目标感兴趣区域的信息,以确定目标感兴趣区域,再以目标感兴趣区域为基准获取多个图像,将多 个图像按照预设顺序生成动态图像,并显示出来;医师可以观察动态图像来确定病灶位置,从而节省医师的工作量,并且节省医师用于确定病灶的时间。With the above medical image processing method, the medical image processing system can first obtain the detection information of the region of interest, and then obtain the information of the target region of interest from the detection result of the region of interest according to the attribute parameters of the region of interest and the threshold of the attribute parameters Determine the target area of interest, and then obtain multiple images based on the target area of interest, generate dynamic images from the multiple images in a predetermined order, and display them; the physician can observe the dynamic images to determine the location of the lesion, thereby saving the doctor's work Volume and saves the physician time to determine the lesion.
在一个实施例中,上述步骤S1002中将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果的步骤,具体可以包括:步骤S1002a,将所述待检测图像输入所述神经网络模型进行网络前向传播计算,得到所述感兴趣区域的检测结果。In one embodiment, the step of inputting the image to be detected in the neural network model in the above step S1002 for processing to obtain the detection result of the region of interest may specifically include: Step S1002a, inputting the image to be detected into the nerve The network model performs network forward propagation calculation to obtain the detection result of the region of interest.
具体的,医学图像处理系统可以将待检测图像输入神经网络模型进行前向传播计算,并进行多个下采样编码和多个上采样编码方式之后,得到感兴趣区域的检测结果。Specifically, the medical image processing system may input the image to be detected into a neural network model for forward propagation calculation, and after performing multiple downsampling encoding and multiple upsampling encoding methods, the detection result of the region of interest is obtained.
上述医学图像处理方法,医学图像处理系统可以获取感兴趣区域的检测信息,进而根据感兴趣区域属性参数以及属性参数阈值,从感兴趣区域的检测结果中获取目标感兴趣区域的信息,以确定目标感兴趣区域,再以目标感兴趣区域为基准获取多个图像,将多个图像按照预设顺序生成动态图像,并显示出来;医师可以观察动态图像来确定病灶位置,从而节省医师的工作量,并且节省医师用于确定病灶的时间。With the above medical image processing method, the medical image processing system can obtain the detection information of the region of interest, and then obtain the information of the target region of interest from the detection result of the region of interest according to the attribute parameter of the region of interest and the threshold value of the attribute parameter to determine the target Area of interest, and then obtain multiple images based on the target area of interest, generate dynamic images from the multiple images in a predetermined order, and display them; the physician can observe the dynamic images to determine the location of the lesion, thereby saving the workload of the physician, And save the doctor's time to determine the lesion.
在一个实施例中,如图2所示,提供了另一种医学图像处理方法的流程示意图,在上述步骤S1002之后,所述医学图像处理方法还可以包括:In one embodiment, as shown in FIG. 2, a schematic flowchart of another medical image processing method is provided. After the above step S1002, the medical image processing method may further include:
步骤S1002b,实时获取用户输入的属性参数阈值。其中,所述实时获取用户输入的属性参数阈值,包括:根据预设的阈值控制组件的控制信息与属性参数阈值的映射关系,确定所述用户输入的属性参数阈值。In step S1002b, the attribute parameter threshold value input by the user is obtained in real time. Wherein, acquiring the attribute parameter threshold value input by the user in real time includes: determining the attribute parameter threshold value input by the user according to a mapping relationship between the control information of the preset threshold value control component and the attribute parameter threshold value.
具体的,用户可以根据实际需求实时调节属性参数阈值,相应的,医学图像处理系统可以实时获取用户输入的属性参数阈值。Specifically, the user can adjust the attribute parameter threshold in real time according to actual needs. Correspondingly, the medical image processing system can obtain the attribute parameter threshold input by the user in real time.
在本说明书实施例中,可以预先设置阈值控制组件的控制信息与属性参数阈值的映射关系。可选的,当获取到当前阈值控制组件的控制信息时,可以查找上述映射关系,从而获得对应于当前阈值控制组件的控制信息的属性参数阈值。In the embodiment of the present specification, the mapping relationship between the control information of the threshold control component and the attribute parameter threshold may be preset. Optionally, when the control information of the current threshold control component is obtained, the above mapping relationship may be searched to obtain an attribute parameter threshold corresponding to the control information of the current threshold control component.
上述医学图像处理方法,医学图像处理系统可以根据感兴趣区域属性参数阈值以及属性参数,从感兴趣区域的检测结果中获取目标感兴趣区域的信息,以确定目标感兴趣区域,再以目标感兴趣区域为基准获取多个图像,将多个图像按照预设顺序生成动态图像,并显示出来;医师可以观察动态图像来确定病灶位置,从而节省医师的工作量,并且节省医师用于确定病灶的时间。According to the medical image processing method described above, the medical image processing system can obtain the information of the target interest area from the detection result of the interest area according to the threshold value of the attribute parameter of the interest area and the attribute parameter to determine the target interest area and then use the target Obtain multiple images based on the area, and generate dynamic images according to the preset order and display them; the physician can observe the dynamic images to determine the location of the lesion, thereby saving the workload of the physician and the time for the physician to determine the lesion .
在一个实施例中,如图3所示,提供了另一种医学图像处理方法的流程示意图,上述步骤S1004中获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像的步骤,可以包括:In one embodiment, as shown in FIG. 3, a schematic flowchart of another medical image processing method is provided. In the above step S1004, multiple images based on the target region of interest are obtained, and based on the multiple images The steps of generating dynamic images in the preset order of may include:
步骤S1014,以所述目标感兴趣区域为基准,获取目标感兴趣区域图像。Step S1014: Acquire the target region of interest image based on the target region of interest.
具体的,以目标感兴趣区域为基准,向目标感兴趣区域周围延伸获取另一个比目标感兴趣区域范围大的区域范围,并选取该区域范围内的图像作为目标感兴趣区域图像。Specifically, taking the target region of interest as a reference, it extends around the target region of interest to obtain another range of regions larger than the range of the target region of interest, and selects the image within the region as the target region of interest image.
可选的,上述以所述目标感兴趣区域为基准,获取目标感兴趣区域图像的步骤,具体可以包括:以所述目标感兴趣区域为基准,选取预设范围内的图像作为所述目标感兴趣区域图像。Optionally, the step of acquiring an image of a target area of interest based on the target area of interest may specifically include: using the target area of interest as a reference, selecting an image within a preset range as the target sense Area of interest image.
需要说明的是,医学图像处理系统可以将目标感兴趣区域作为中心区域,并以中心区域均匀延伸选取预设范围内的图像作为目标感兴趣区域图像。可选的,预设范围的形状可以为圆形、方形、矩形以及其它各种形状。同时,上述目标感兴趣区域的形状也可以为圆形、方形、矩形以及其它各种形状。可选的,选取的预设范围内的图像的数量可以为一个; 还可以为多个。其中,目标感兴趣区域图像,既可以包括目标病灶区域图像,又可以包括足够的相关背景图像以及目标病灶区域医学信息,例如目标病灶尺寸、位置等,以帮助医师做最后的病灶确认。可选的,上述目标感兴趣区域图像可以为一种三维图像。It should be noted that the medical image processing system may take the target region of interest as the center region, and select the images within the preset range as the target region of interest image by uniformly extending the center region. Optionally, the shape of the preset range may be circular, square, rectangular, and various other shapes. At the same time, the shape of the target interest area may also be circular, square, rectangular, and various other shapes. Optionally, the number of images in the selected preset range may be one; or it may be multiple. Among them, the target region of interest image may include not only the image of the target lesion area, but also sufficient related background images and medical information of the target lesion area, such as the size and location of the target lesion, to help the doctor make the final lesion confirmation. Optionally, the target region of interest image may be a three-dimensional image.
步骤S1024,根据所述目标感兴趣区域图像获取多个平面图像。Step S1024: Acquire a plurality of planar images according to the target region of interest image.
具体的,对目标感兴趣区域图像进行旋转后,可以获取多个平面图像。可选的,旋转的方式可以为顺时针旋转,还可以为逆时针旋转,对此本实施例不做任何限定。Specifically, after the target region of interest image is rotated, multiple planar images can be acquired. Optionally, the manner of rotation may be clockwise rotation or counterclockwise rotation, which is not limited in this embodiment.
可选的,上述步骤S1024中根据所述目标感兴趣区域图像获取多个平面图像的步骤,具体可以包括:在所述目标感兴趣区域图像中按照预设获取方式,获取多个所述平面图像。Optionally, the step of acquiring a plurality of planar images according to the target area of interest image in step S1024 may specifically include: acquiring a plurality of the planar images in the target area of interest image according to a preset acquisition method .
需要说明的是,上述平面图像可以为,在目标感兴趣区域图像中沿预设方向依次截取多个与预设方向垂直的切面图像作为平面图像。其中,平面图像可以是在目标感兴趣区域图像的横断面上截取的图像;平面图像也可以是在目标感兴趣区域图像矢状面上截取的图像;平面图像也可以是在目标感兴趣区域图像的冠状面上截取的图像;平面图像还可以是在目标感兴趣区域图像任意一个方向的一端至另一端上截取的图像,将截取到的多个图像作为平面图像。可选的,平面图像还可以为,通过在目标感兴趣区域图像中建立直角坐标系,首先在目标感兴趣区域图像的初始位置对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,然后将目标感兴趣区域图像按照预设的方向旋转,每旋转预设角度,则分别对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,直到目标感兴趣区域图像旋转至初始位置,得到多个平面图像。其中,上述直角坐标系可以根据CT扫描过程中的床位位置,将直角坐标系以从左往右为x轴,从上往下为y轴,从脚到头为z轴建立。可选的,上述直角坐标系还可以根据目标感兴趣区域的医学信息建立,比如空间形态,例如肋骨CT图像中,肋骨中轴线的平面为xy轴平面,所属中轴线平面的法线向量为z轴方向。It should be noted that, the above-mentioned plane image may be that, in the target region of interest image, multiple slice images perpendicular to the preset direction are sequentially intercepted along the preset direction as the plane image. The plane image may be an image captured on the cross-section of the target region of interest image; the plane image may also be an image captured on the sagittal plane of the target region of interest image; the plane image may also be an image on the target region of interest An image captured on the coronal plane; the planar image may also be an image captured from one end to the other end of the target region of interest image in any direction, and multiple captured images are used as planar images. Alternatively, the planar image may also be that, by establishing a rectangular coordinate system in the target area of interest image, first, the maximum density projection of the target area of interest image in the Z-axis direction is performed at the initial position of the target area of interest image, and the maximum Density projection image as a plane image, and then rotate the target area of interest image in a preset direction, each rotation of a preset angle, the target area of interest image in the Z-axis direction of the maximum density projection, the maximum density projection image as Planar images until the target region of interest image is rotated to the initial position, and multiple planar images are obtained. The above rectangular coordinate system can be established based on the position of the bed during the CT scanning process, with the rectangular coordinate system from left to right as the x axis, from top to bottom as the y axis, and from foot to head as the z axis. Optionally, the above rectangular coordinate system can also be established based on the medical information of the target area of interest, such as spatial morphology, for example, in the CT image of the rib, the plane of the central axis of the rib is the xy axis plane, and the normal vector of the central axis plane is z Axis direction.
步骤S1034,将多个所述平面图像按照预设顺序生成动态图像。In step S1034, a plurality of the planar images are generated in a predetermined order to generate dynamic images.
具体的,上述预设顺序可以为对获取到的多个平面图像进行任意编号后,从大到小的编号顺序;然后医学图像处理系统可以将多个平面图像按照从大到小的编号顺序生成动态图像。另外,上述预设顺序还可以为对获取到的多个平面图像进行任意编号后,从小到大的编号顺序;然后医学图像处理系统可以将多个平面图像按照从小到大的编号顺序生成动态图像。Specifically, the above preset order may be the numbering order from the largest to the smallest after multiple planar images are acquired; then the medical image processing system may generate the multiple planar images in the order of the largest to the smallest Dynamic image. In addition, the above-mentioned preset order can also be a numbering sequence from small to large after arbitrarily numbering the acquired multiple planar images; then the medical image processing system can generate dynamic images from the multiple planar images in the order of small to large numbers .
可选的,上述步骤S1034中将多个所述平面图像按照预设顺序生成动态图像的步骤,具体可以包括:将多个所述平面图像按照获取顺序或者与获取顺序相反的顺序生成所述动态图像。Optionally, the step of generating a plurality of the planar images in a preset order in step S1034 may specifically include: generating the dynamics in a plurality of the planar images in an acquisition order or an order opposite to the acquisition order image.
需要说明的是,当多个平面图像为通过在目标感兴趣区域图像的任意一个方向的一端至另一端上截取的图像时,则按照截取的顺序或截取顺序的相反的顺序生成动态图像。可选的,上述预设顺序也可以是基于一定图层厚度截取部分平面图像,根据获取顺获取顺序相反的顺序生成动态图像。可选的,当多个平面图像是通过在目标感兴趣区域图像中建立直角坐标系,再通过在预设方向旋转感兴趣区域图像,每旋转预设角度,分别对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,直到目标感兴趣区域图像旋转至初始位置时,则按照获取平面图像的顺序或获取平面图像的顺序相反的顺序生成动态图像。可选的,上述动态图像可以为,将获取到的多个平面图像通过不同视频压缩格式的视频编码器得到的视频;动态图像还可以为,将获取到的多个平面图像 压缩为GIF图像互换格式文件。It should be noted that when a plurality of planar images are images that are intercepted from one end to the other end in any direction of the target region of interest image, dynamic images are generated in the order of interception or the reverse order of the interception order. Optionally, the above-mentioned preset order may also be based on intercepting a part of the planar image based on a certain layer thickness, and generating a dynamic image according to the order in which the acquisition order is opposite to the acquisition order. Optionally, when multiple planar images are created by establishing a rectangular coordinate system in the target area of interest image, and then by rotating the area of interest image in a preset direction, each time the preset angle is rotated, the target area of interest image is respectively in Z The maximum density projection is performed in the axis direction, and the maximum density projection image is used as the plane image until the target region of interest image is rotated to the initial position, and then the dynamic image is generated in the order of acquiring the plane image or in the reverse order of acquiring the plane image. Optionally, the above dynamic image may be a video obtained by using a video encoder of a different video compression format to obtain multiple planar images; the dynamic image may also be to compress the acquired multiple planar images into GIF images. Change format file.
上述医学图像处理方法,医学图像处理系统能够以目标感兴趣区域为基准,获取目标感兴趣区域图像,根据目标感兴趣区域图像获取多个平面图像,将多个平面图像按照预设顺序生成动态图像,进而将动态图像显示出来;医师可以观察动态图像来确定病灶位置,从而节省医师的工作量,并且节省医师用于确定病灶的时间。In the above medical image processing method, the medical image processing system can acquire the target region of interest image based on the target region of interest, acquire multiple plane images based on the target region of interest image, and generate dynamic images from the multiple plane images in a preset order , And then display the dynamic image; the physician can observe the dynamic image to determine the location of the lesion, thereby saving the workload of the physician and saving the doctor's time for determining the lesion.
关于医学图像处理系统的具体限定可以参见上文中对于医学图像处理方法的限定,在此不再赘述。上述计算机设备的医学图像处理系统中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific definition of the medical image processing system, please refer to the above definition of the medical image processing method, which will not be repeated here. Each module in the medical image processing system of the computer device described above may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in the hardware or independent of the processor in the computer device, or may be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,如图4所示,提供了一种医学图像处理系统的结构示意图,所述医学图像处理系统包括:处理模块1100、信息获取模块1200、感兴趣区域获取模块1300、动态图像生成模块1400以及显示模块1500。In one embodiment, as shown in FIG. 4, a schematic structural diagram of a medical image processing system is provided. The medical image processing system includes: a processing module 1100, an information acquisition module 1200, a region of interest acquisition module 1300, and a dynamic image The generation module 1400 and the display module 1500.
其中,所述处理模块1100,用于将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果,其中,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;Wherein, the processing module 1100 is configured to input the image to be detected into a neural network model for processing to obtain the detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and interest Regional attribute parameters;
所述信息获取模块1200,用于根据所述感兴趣区域属性参数以及属性参数阈值,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;The information obtaining module 1200 is configured to obtain information of the target interest area from the detection result of the interest area according to the attribute parameter of the interest area and the threshold value of the attribute parameter;
所述感兴趣区域获取模块1300,用于根据所述目标感兴趣区域的信息,在所述待检测图像中确定所述目标感兴趣区域;The region of interest acquisition module 1300 is configured to determine the target region of interest in the image to be detected according to the information of the target region of interest;
所述动态图像生成模块1400,用于获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像;The dynamic image generating module 1400 is configured to acquire multiple images based on the target region of interest, and generate dynamic images according to the preset order of the multiple images;
所述显示模块1500,用于显示所述动态图像。The display module 1500 is used to display the dynamic image.
本实施例提供的医学图像处理系统,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The medical image processing system provided in this embodiment can execute the above method embodiments, and its implementation principles and technical effects are similar, which will not be repeated here.
在一个实施例中,提供了一种计算机设备,其内部结构图可以如图5所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的计算机设备通过网络连接通信。该计算机程序被处理器执行时以实现一种图像处理方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided, and its internal structure diagram may be as shown in FIG. 5. The computer equipment includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external computer device through a network connection. The computer program is executed by the processor to implement an image processing method. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the computer device housing , Can also be an external keyboard, touchpad or mouse.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:In an embodiment, a computer device is provided, which includes a memory and a processor, and a computer program is stored in the memory, and the processor implements the following steps when the processor executes the computer program:
将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果,其中,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;Input the image to be detected into a neural network model for processing to obtain the detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest;
根据所述感兴趣区域属性参数以及属性参数阈值,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;Acquiring information on the target region of interest from the detection result of the region of interest according to the property parameter of the region of interest and the threshold of the property parameter;
根据所述目标感兴趣区域的信息,在所述待检测图像中确定所述目标感兴趣区域;Determine the target area of interest in the image to be detected according to the information of the target area of interest;
获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像;Acquiring multiple images based on the target region of interest, and generating a dynamic image according to the preset order of the multiple images;
显示所述动态图像。The dynamic image is displayed.
在一个实施例中,提供了一种可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a readable storage medium is provided on which a computer program is stored, and when the computer program is executed by a processor, the following steps are realized:
将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果,其中,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;Input the image to be detected into a neural network model for processing to obtain the detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest;
根据所述感兴趣区域属性参数以及属性参数阈值,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;Acquiring information on the target region of interest from the detection result of the region of interest according to the property parameter of the region of interest and the threshold of the property parameter;
根据所述目标感兴趣区域的信息,在所述待检测图像中确定所述目标感兴趣区域;Determine the target area of interest in the image to be detected according to the information of the target area of interest;
获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像;Acquiring multiple images based on the target region of interest, and generating a dynamic image according to the preset order of the multiple images;
显示所述动态图像。The dynamic image is displayed.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and their descriptions are more specific and detailed, but they should not be construed as limiting the patent scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which all fall within the protection scope of the present application. Therefore, the protection scope of the patent of this application shall be subject to the appended claims.
随着时代的发展,各种因车祸跌倒等意外事故原因造成的胸部外伤时常发生,骨骼骨折(比如肋骨骨折)是常见现象,X线平片对骨骼骨折显示敏感度较低,且难以清晰显示胸部及胸壁其他病变,故CT是胸部疾病的首选影像检查方式,常作为胸部外伤受访者,尤其是骨骼外伤后责任鉴定的重要手段。骨骼骨折虽然大部分危害不大,但是由于司法鉴定对肋骨骨折个数有不同的量刑,而且部分骨骼骨折表现隐匿,微小骨骼骨折容易漏诊,极易产生纠纷。With the development of the times, various chest traumas caused by accidents such as car accidents and falls often occur. Bone fractures (such as rib fractures) are a common phenomenon. X-ray plain films show low sensitivity to bone fractures and are difficult to display clearly. Other lesions of the chest and chest wall, so CT is the preferred imaging method for chest diseases, and is often used as an important means of responsibility identification for chest trauma respondents, especially after bone trauma. Although most of the bone fractures are not harmful, but because of the judicial evaluation of the number of rib fractures, and the performance of some bone fractures is hidden, small bone fractures are easy to miss the diagnosis and are prone to disputes.
由于骨骼,比如肋骨解剖形态独特,对骨骼骨折的评价需要参考多个CT横断层,并进行反复的观察,耗时耗力的过程。另一方面,临床骨折分析需要鉴定骨折出现的骨骼部位,所以需要对骨骼进行分割和标签化。Due to the unique anatomy of bones, such as ribs, evaluation of bone fractures requires reference to multiple CT cross-sections and repeated observations, a time-consuming and labor-intensive process. On the other hand, clinical fracture analysis needs to identify the bone parts where fractures occur, so the bones need to be segmented and labeled.
现有的骨骼分割和骨骼骨折检出都是分开处理,比如可通过用户手动设置合适阈值,确定肋骨的大致范围,之后用区域生长或者分水岭算法的填充空洞和平滑边界的方法,或通过机器学习的方法,或结合肋骨的纹理特征和灰度特征实现骨骼分割,比如可根据用户的医学知识,采用软件逐层的查看肋骨的特征,以此判断是否为骨折或通过机器学习的方法实现骨折检出,现有的这种骨骼分割和骨骼骨折检出分开处理的过程,操作复杂,且耗时较长。Existing bone segmentation and bone fracture detection are handled separately. For example, the user can manually set an appropriate threshold to determine the approximate range of the ribs, and then use the area growth or watershed algorithm to fill the holes and smooth boundaries, or through machine learning Method, or combining the texture features and grayscale features of the ribs to achieve bone segmentation, for example, based on the user's medical knowledge, the software can be used to view the features of the ribs layer by layer to determine whether it is a fracture or fracture detection through machine learning It is found that the existing process of separate processing of bone segmentation and bone fracture detection is complicated and takes a long time.
为了解决有的这种骨骼分割和骨骼骨折检出分开处理的过程,操作复杂,且耗时较长的问题,本申请另一个实施例中提出了一种图像处理、图像处理模型的训练方法及系统。In order to solve some of the problems of separate processing of bone segmentation and bone fracture detection, which are complicated and time-consuming, another embodiment of the present application proposes an image processing, image processing model training method and system.
实施例1Example 1
如图6所示,本申请实施例提供了一种图像处理方法,所述方法包括:As shown in FIG. 6, an embodiment of the present application provides an image processing method. The method includes:
S2010、获取待检测图像。S2010. Acquire an image to be detected.
本实施例中,在获取待检测图像之后,还包括对所述待检测图像进行预处理的步骤, 所述预处理包括;In this embodiment, after acquiring the image to be detected, the method further includes the step of preprocessing the image to be detected, and the preprocessing includes:
对所述待检测图像进行重采样处理,将待检测图像将采样为指定分辨率图像;Resampling the image to be detected, and sampling the image to be detected into an image with a specified resolution;
随机从重采样处理后的图像中取出一个图像块;Randomly take an image block from the resampled image;
对该图像块进行归一化处理,使图像的灰度分布控制在一个指定范围内,如0-1之间。Normalize the image block to control the gray distribution of the image within a specified range, such as between 0-1.
S2020、将所述待检测图像输入神经网络模型进行处理,得到骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果;S2020: Input the image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result;
其中,所述神经网络模型是基于训练图像进行机器训练学习确定的,具体为使基于训练图像以及相应的骨骼标签、骨骼中线标签、骨骼骨折标签进行机器训练学习确定的。Wherein, the neural network model is determined by machine training and learning based on the training image, specifically for machine training and learning based on the training image and corresponding bone labels, bone midline labels, and bone fracture labels.
本实施例中,具体是在待检测图像块中选取图像块,形成待检测图像块,将该待检测图像块输入神经网络模型进行处理。In this embodiment, specifically, an image block is selected from the image blocks to be detected to form an image block to be detected, and the image block to be detected is input to a neural network model for processing.
本实施例中采用改进或优化的神经网络模型进行图像处理,主要通过耦合下采样编码模块和多分支上采样解码模块实现分割与检测功能,如图7所示,In this embodiment, an improved or optimized neural network model is used for image processing, and the segmentation and detection functions are mainly realized by coupling a down-sampling encoding module and a multi-branch up-sampling decoding module, as shown in FIG. 7,
S2020具体包括以下步骤:S2020 specifically includes the following steps:
S2021、将所述待检测图像(具体为待检测图像块)输入所述神经网络模型进行网络前向传播计算;S2021: Input the image to be detected (specifically, the image block to be detected) into the neural network model to perform network forward propagation calculation;
S2022、在第m次下采样编码之后,插入m次上采样编码,得到所述骨骼骨折检测结果;S2022. After the mth downsampling code, insert m times the upsampling code to obtain the bone fracture detection result;
S2023、继续进行下采样编码,在第n次下采样编码之后,进行n次上采样编码,得到所述骨骼分割结果和所述骨骼中心线分割结果;S2023: Continue to perform downsampling coding, and perform n times upsampling coding after the nth downsampling coding to obtain the bone segmentation result and the bone centerline segmentation result;
其中,m小于n,且m、n为正整数。Where m is less than n, and m and n are positive integers.
S2030、对所述骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果进行后处理;S2030, post-processing the bone segmentation result, bone centerline segmentation result, and bone fracture detection result;
S2030具体包括以下步骤:S2030 specifically includes the following steps:
S2031、根据预设阈值对所述骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果分别进行二值化处理;S2031: Perform binarization processing on the bone segmentation result, bone centerline segmentation result, and bone fracture detection result according to a preset threshold;
比如,以结果为概率图为例进行说明,根据预设阈值对概率图进行处理,得到二值化掩膜,设置阈值为0.5,将掩膜中大于或等于预设阈值的概率值置为1,其余置为0,即将二值化掩膜中值为1的概率值保留下来,而掩膜中值为0的位置对应的概率值变为0;For example, taking the result as a probability map as an example, the probability map is processed according to a preset threshold to obtain a binary mask, the threshold is set to 0.5, and the probability value in the mask greater than or equal to the preset threshold is set to 1. , The rest is set to 0, that is, the probability value of the binary mask value of 1 is retained, and the probability value corresponding to the position of the mask value of 0 becomes 0;
S2032、对二值化处理后的所述骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果分别进行连通域标记,得到多标记的图像;S2032. Perform a connected domain labeling on the bone segmentation result, the bone centerline segmentation result, and the bone fracture detection result after the binarization process to obtain a multi-labeled image;
该步骤中,以结果为概率图为例进行说明,二值化处理后的图像中设置有多个连通域,对该连通域进行标记,从而得到多标记的图像;In this step, taking the result as a probability map as an example for illustration, the binarized image is provided with multiple connected domains, and the connected domains are labeled to obtain a multi-labeled image;
S2033、根据预设阈值统计所述多标记图像中每一个标记的像素个数,得到高分辨率下的骨骼分割掩膜、骨骼中心线掩膜和每一处骨折在所述待检测图像中的位置坐标;S2033: Count the number of pixels of each marker in the multi-marker image according to a preset threshold to obtain a skeleton segmentation mask, a skeleton centerline mask and each fracture in the to-be-detected image at high resolution Position coordinates;
该步骤中,对标记的连通域中的像素个数进行统计,将像素个数小于预设阈值的标记置为0,大于或等于预设阈值的标记置为1,该步骤中的阈值与S2310中的阈值不相同。In this step, the number of pixels in the connected domain of the tag is counted, and the tag with the number of pixels less than the preset threshold is set to 0, and the tag greater than or equal to the preset threshold is set to 1. The threshold in is different.
本实施例中,对待检测图像进行图像块操作,采用图像块进行处理而不是整个原图,主要是考虑到图形处理器(GPU)显存的限制,并且以部分图像进行处理可视作一种正则化手段能够提高图像处理的效率和精度。In this embodiment, the image block to be detected is processed by image blocks, rather than the entire original image, mainly considering the limitation of graphics processor (GPU) memory, and processing with part of the image can be regarded as a regular It can improve the efficiency and accuracy of image processing.
本实施例中的神经网络,优选为经过改进和优化的V-Net网络,当然并不限于V-Net网络,也可以为其他卷积神经网络等。本实施例中的骨骼,优选为肋骨,也可以为椎骨、 四肢骨或骶骨。本实施例中的经神经网络模型输出的分割结果或检测结果,优选为概率图,也可以为坐标图等。The neural network in this embodiment is preferably an improved and optimized V-Net network. Of course, it is not limited to the V-Net network, and may also be other convolutional neural networks. The bones in this embodiment are preferably ribs, and may also be vertebrae, limb bones, or sacrums. The segmentation result or detection result output by the neural network model in this embodiment is preferably a probability graph, and may also be a coordinate graph or the like.
V-Net网络的核心包括图像进行n次下采样编码通道,之后再n次上采样编码通道,最后采用softmax对像素进行分类。图8所示为本实施例中的神经网络模型结构,图8中输入的数据为3D的医学图像,实线箭头为网络路径方向,虚线过程为数据的拼接过程,每一个模块后面的第一个参数是输入通道,第二个是输出通道,模块里面采用的结构为残差网络或者瓶颈网络或者密集网络结构。本实施例对V-Net进行改进和优化,得到优化后的神经网络模型,通过该神经网络模型进行图像处理,即在V-Net第m次(m小于n)下采样之后,插入m次上采和二分类的softmax(归一化指数函数)模块,输出肋骨骨折的检测;在第n次下采样之后,再进行n次上采样,最后采用三分类的softmax模块,输出肋骨分割和肋骨中心线分割。上述改进和优化可以很好的实现分割检测于一个网络。之所以需要m小于n,是因为肋骨分割需要更大的可视野范围确定是否为肋骨,而骨折需要更局部的特征来判断。而共享下采样编码通道参数的原因除了时间更快、内存更小之外,检测与分割的目标有共同的特征可以提取,比如肋骨边缘信息和骨皮质扭曲的信息有共同的特征,这些特征对于肋骨分割和骨折检测都有作用。The core of the V-Net network includes the image down-sampling the encoding channel n times, then up-sampling the encoding channel n times, and finally using softmax to classify the pixels. Fig. 8 shows the structure of the neural network model in this embodiment. The data input in Fig. 8 is a 3D medical image, the solid arrow is the network path direction, and the dashed process is the data splicing process. One parameter is the input channel and the second is the output channel. The structure used in the module is a residual network or a bottleneck network or a dense network structure. In this embodiment, V-Net is improved and optimized to obtain an optimized neural network model, and image processing is performed through the neural network model, that is, after the m-th down sampling of V-Net (m is less than n), m times are inserted. The softmax (normalized exponential function) module of the second classification is used to output the detection of rib fractures; after the nth downsampling, n times of upsampling are performed, and finally the softmax module of the third classification is used to output the rib segmentation and rib center Line segmentation. The above improvements and optimizations can achieve segmentation detection in a network. The reason why m is required to be less than n is because rib segmentation requires a larger field of view to determine whether it is a rib, and fractures require more local features to judge. The reason for sharing down-sampling encoding channel parameters is that in addition to faster time and smaller memory, the detection and segmentation targets have common features that can be extracted, such as rib edge information and bone cortical distortion information have common features, these features are Both rib segmentation and fracture detection are useful.
实施例2Example 2
如图9所示,本申请实施例提供了另一种图像处理方法,所述方法包括:As shown in FIG. 9, an embodiment of the present application provides another image processing method. The method includes:
S2110、获取待检测图像。S2110. Acquire an image to be detected.
该步骤与S2110相同,在此不再累赘。This step is the same as S2110, and is not cumbersome here.
S2120、将所述待检测图像输入神经网络模型进行处理,得到骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果;其中,所述神经网络模型是基于训练图像进行机器训练学习确定的,其包括粗网络模型和细网络模型。S2120. Input the image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result; wherein, the neural network model is determined by machine training and learning based on the training image. Including coarse network model and fine network model.
本实施例中神经网络模型具体为使基于训练图像以及相应的骨骼标签、骨骼中心线标签、骨骼骨折标签进行机器训练学习确定的。本实施例中的粗网络模型主要用于对待检测图像进行定位处理,提高后续图像处理的精度。The neural network model in this embodiment is specifically determined by performing machine training and learning based on the training image and the corresponding bone label, bone centerline label, and bone fracture label. The coarse network model in this embodiment is mainly used for positioning processing of the image to be detected, so as to improve the accuracy of subsequent image processing.
本实施例中的神经网络,可以为经过改进和优化的V-Net网络,当然并不限于V-Net网络,也可以为其他卷积神经网络等。本实施例中的骨骼,可以为肋骨,也可以为椎骨、四肢骨或骶骨。本实施例中的经神经网络模型输出的分割结果或检测结果,可以为概率图,也可以为坐标图等。The neural network in this embodiment may be an improved and optimized V-Net network. Of course, it is not limited to the V-Net network, and may also be other convolutional neural networks. The bones in this embodiment may be ribs, vertebrae, limb bones or sacrums. The segmentation result or detection result output by the neural network model in this embodiment may be a probability graph, a coordinate graph, or the like.
本实施例中的神经网络优选地为改进和优化的V-Net网络,骨折优选地为肋骨,分割结果或检测结果优选地为概率图。The neural network in this embodiment is preferably an improved and optimized V-Net network, the fracture is preferably a rib, and the segmentation result or detection result is preferably a probability map.
S2120进一步包括:S2120 further includes:
S2121、将所述待检测图像(具体为待检测图像块)输入所述粗网络模型进行网络前向传播计算,得到肋骨分布概率图;S2121: Input the image to be detected (specifically, the image block to be detected) into the coarse network model to perform network forward propagation calculation to obtain a rib distribution probability map;
其中,粗网络模型前向过程多个隐藏层,每个隐藏层包含卷积层和激励层,本实施例中的粗网络模型的网络结构采用的积层公式如下:Among them, the coarse network model has multiple hidden layers in the forward process, and each hidden layer includes a convolution layer and an excitation layer. The network structure of the coarse network model in this embodiment adopts the following accumulation formula:
y 1=w 1*x l-1+b 1y 1 = w 1 * x l-1 + b 1 ;
其中l表示第l个层隐藏层,y表示卷积的输出,x表示卷积的输入,w和b为训练好的参数。Where l represents the hidden layer of the lth layer, y represents the output of the convolution, x represents the input of the convolution, and w and b are the trained parameters.
激励层采用ReLU,具体的公式如下:The incentive layer uses ReLU, the specific formula is as follows:
Figure PCTCN2019115549-appb-000001
Figure PCTCN2019115549-appb-000001
其中,如果x i大于0,则z i等于x i,如果x i小于或者等于0,则z i等于0,z表示激励层的输出,x表示激励层的输入,i表示数据向量的下标。 Among them, if x i is greater than 0, then z i is equal to x i , if x i is less than or equal to 0, then z i is equal to 0, z represents the output of the excitation layer, x represents the input of the excitation layer, and i represents the subscript of the data vector .
S2122、对所述肋骨分布概率图进行后处理,得到低分辨率(即较粗分辨率)下的肋骨分割掩膜,对所述低分辨率下的肋骨分割掩膜标记目标边框,得到定位区域;S2122. Post-process the rib distribution probability map to obtain a rib segmentation mask at a low resolution (that is, a coarser resolution), mark a target frame for the rib segmentation mask at the low resolution, and obtain a positioning area ;
该步骤具体包括:通过预设阈值对所述肋骨分布概率图进行二值化处理,去除小于预设阈值的连通域,对大于或等于预设阈值的连通域做框选操作,即用一个边框将大于或等于预设阈值的连通域框起来;This step specifically includes: performing a binarization process on the probability map of the rib distribution through a preset threshold, removing connected domains less than the preset threshold, and performing a frame selection operation on the connected domains greater than or equal to the preset threshold, that is, using a border Frame the connected domain greater than or equal to the preset threshold;
S2123、将所述目标边框内图像输入所述细网络模型进行网络前向传播计算,得到肋骨概率图、肋骨中心线概率图和肋骨骨折概率图;S2123: Input the image in the target frame into the thin network model to perform network forward propagation calculation to obtain a rib probability map, a rib centerline probability map, and a rib fracture probability map;
该步骤具体包括:This step specifically includes:
截取所述目标边框内图像;Intercept the image within the target frame;
对所述目标表框内图像进行预处理,该预处理方法与待检测图像的预处理方法相似,在此不再累赘;Pre-process the image in the target table frame, the pre-processing method is similar to the pre-processing method of the image to be detected, and is no longer cumbersome here;
将所述目标边框内图像输入所述细网络模型进行网络前向传播计算;Input the image in the target frame into the fine network model to perform network forward propagation calculation;
在第m次下采样编码之后,插入m次上采样编码,得到所述肋骨骨折概率图;After the mth downsampling code, insert m times the upsampling code to obtain the rib fracture probability map;
继续进行下采样编码,在第n次下采样编码之后,进行n次上采样编码,得到所述肋骨概率图和所述肋骨中心线概率图,其中,m小于n,且m、n为正整数。Continue to perform downsampling and encoding, and perform n times of upsampling and encoding after the nth downsampling and encoding to obtain the rib probability map and the rib centerline probability map, where m is less than n, and m and n are positive integers .
其中,细网络模型进行网络前向传播过程与粗模型的相同,所不同的是数据的分辨率不同(比如,粗模型和细模型的分辨率分别为4mm和1mm)、网络参数不同。Among them, the process of the forward propagation of the fine network model is the same as that of the coarse model, the difference is that the data resolution is different (for example, the resolution of the coarse model and the fine model are 4mm and 1mm, respectively), and the network parameters are different.
S2130、对所述肋骨概率图、肋骨中心线概率图和肋骨骨折概率图进行后处理;S2130. Post-process the rib probability map, the rib centerline probability map, and the rib fracture probability map;
该步骤具体包括:This step specifically includes:
S2131、根据预设阈值对所述肋骨概率图、所述肋骨中心线概率图和所述肋骨骨折概率图分别进行二值化处理,比如设置阈值为0.5,将概率图中大于或等于预设阈值的概率值置为1,其余置为0:S2131: Perform binarization processing on the rib probability map, the rib centerline probability map, and the rib fracture probability map according to a preset threshold, for example, setting a threshold to 0.5, and setting the probability map to be greater than or equal to a preset threshold The probability value is set to 1, and the rest is set to 0:
S2132、对二值化处理后的概率图进行连通域标记,得到多标记的图像,将多标记的图像,统计每一个标记的像素个数;S2132. Mark the connected domain of the binarized probability map to obtain a multi-label image, and count the number of pixels for each label in the multi-label image;
S2131、根据预设阈值统计对所述多标记图像中每一个标记的像素个数进行处理(比如,将像素个数小于预设阈值的标记置为0,大于或等于预设阈值的标记置为1),得到高分辨率下的肋骨分割掩膜、肋骨中心线掩膜和每一处骨折在所述待检测图像中的位置坐标。S2131: Process the number of pixels of each mark in the multi-mark image according to the preset threshold statistics (for example, set a mark whose pixel number is less than the preset threshold to 0, and set a mark greater than or equal to the preset threshold to 1) Obtain the high-resolution rib segmentation mask, rib centerline mask, and position coordinates of each fracture in the image to be detected.
本实施例中,将神经网络模型分为细网络模型和粗网络模型,粗网络模型用于对待检测图像进行定位,细网络模型用于对待检测图像进行处理,其中,粗网络模型在低分辨率(比如分辨率为4mm)下训练得到的,细网络模型是在高分辨率(比如分辨率为1mm)下训练得到的。本实施例在对待检测图像进行处理之前,加入一个粗模型定位步骤,可以提高后续图像处理的精度。In this embodiment, the neural network model is divided into a fine network model and a coarse network model. The coarse network model is used to locate the image to be inspected, and the fine network model is used to process the image to be inspected. (For example, the resolution is 4mm), the fine network model is trained at a high resolution (for example, the resolution is 1mm). In this embodiment, before processing the image to be detected, a coarse model positioning step is added to improve the accuracy of subsequent image processing.
图10所示为本实施例进行图像处理(以肋骨为例进行说明)的工作原理框图,图11所示为本实施例中的待检测图像的横断面、矢状面和冠状面截图,从图中可以看到有一处 骨折(图11中虚线圆圈内),将该待检测图像按照图10所示的流程进行分析,输出的结果如图12所示,其中白色亮点区域为肋骨中心线分割结果、灰色为肋骨分割结果,白色虚线矩形边框为骨折检测结果框。FIG. 10 is a block diagram showing the working principle of image processing in this embodiment (using ribs as an example), and FIG. 11 is a screenshot of the cross-section, sagittal plane, and coronal plane of the image to be detected in this embodiment. A fracture can be seen in the figure (in the dotted circle in Figure 11), the image to be detected is analyzed according to the process shown in Figure 10, and the output result is shown in Figure 12, where the white bright area is the rib centerline segmentation As a result, gray is the rib segmentation result, and the white dotted rectangular frame is the fracture detection result frame.
实施例3Example 3
如图13所示,本实施例公开了一种图像处理模型的训练方法,该训练方法用于训练实施例1中的神经网络模型,该方法包括:As shown in FIG. 13, this embodiment discloses an image processing model training method. The training method is used to train the neural network model in Embodiment 1. The method includes:
S2210、获取训练图像;S2210: Acquire training images;
对所述训练图像进行降采样处理,将训练图像将采样为指定分辨率图像;Downsampling the training image, and sampling the training image to an image with a specified resolution;
随机从降采样处理后的图像中取出一个图像块;Randomly take an image block from the down-sampled image;
对该图像块进行归一化处理,使图像的灰度分布控制在一个指定范围内,如0-1之间。Normalize the image block to control the gray distribution of the image within a specified range, such as between 0-1.
本实施例中,对图像进行图像块操作,采用图像块训练而不是整个训练图像进行训练,主要是考虑到图形处理器(GPU)显存的限制,并且以图像块训练可视作一种正则化手段,使得模型性能更优。In this embodiment, the image block operation is performed on the image, and the image block training is used for training instead of the entire training image, mainly considering the limitation of the graphics processor (GPU) memory, and the image block training can be regarded as a regularization Means to make the model performance better.
S2220、基于所述训练图像训练神经网络模型,其中,经训练的神经网络模型被配置为能够根据输入的图像同时输出骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果;S2220. Train a neural network model based on the training image, wherein the trained neural network model is configured to simultaneously output a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result according to the input image;
如图14所示,该步骤具体包括:As shown in Figure 14, this step specifically includes:
S2221、将所述训练图像输入预设的神经网络进行骨骼分割训练和骨骼中心线分割训练,并固定训练过程中的参数,得到骨骼分割模块和骨骼中心线分割模块;S2221: Input the training image into a preset neural network for bone segmentation training and bone centerline segmentation training, and fix the parameters in the training process to obtain a bone segmentation module and a bone centerline segmentation module;
S2222、继续通过所述预设的神经网络对所述训练图像进行骨骼骨折检测训练,并固定训练过程中的参数,得到骨骼骨折检测模块。S2222. Continue to perform bone fracture detection training on the training image through the preset neural network, and fix parameters in the training process to obtain a bone fracture detection module.
本实施例基于训练图像训练神经网络模型,经训练的神经网络模型具备同时输出骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果的功能。而在神经网络模型训练过程中,本实施例先进行骨骼分割训练和骨骼中心线分割训练(训练路径为图8中输入模块_1_16、下采样模块_16_32、下采样模块_32_64、下采样模块_64_128、下采样模块_128_256、上采样模块_256_256、上采样模块_256_128、上采样模块_128_64、上采样模块_64_32、输出模块_32_3),再采用迁移学习,固定分割模块的参数,继续进行骨骼骨折检测训练(图8中上采样模块_64_64、上采样模块_64_32、输出模块_32_2)。本实施例之所以要先训练分割模块再训练检测模块,是因为分割模块的分割信息与周围环境的信息差异较大,训练过程的损耗(Loss)可以更加快的到达较低值;检测模块的部分检测信息与周围环境信息差异不大,比如骨皮质扭曲和轻微性骨折,训练过程的Loss需要更多时间才能到达较低值。而采用先训练较易训练的分割模块再训练较难训练的检测模块,可以加快检测模块的Loss较快到达较低值,因为已经训练好了部分参数,剩下需要训练的参数变少,所以Loss可以更快达到较低值。经过多次迭代,待训练的Loss较低时,保存训练模型文件。In this embodiment, the neural network model is trained based on the training image. The trained neural network model has the function of simultaneously outputting the bone segmentation result, the bone centerline segmentation result, and the bone fracture detection result. In the training process of the neural network model, this embodiment first performs bone segmentation training and bone centerline segmentation training (the training path is input module_1_16, downsampling module_16_32, downsampling module_32_64, downsampling module in FIG. 8). _64_128, down-sampling module _128_256, up-sampling module _256_256, up-sampling module _256_128, up-sampling module _128_64, up-sampling module _64_32, output module _32_3), and then adopt migration learning to fix the parameters of the segmentation module, Continue training for bone fracture detection (upsampling module _64_64, upsampling module _64_32, output module _32_2 in Figure 8). The reason why this embodiment needs to train the segmentation module first and then the detection module is because the segmentation information of the segmentation module differs greatly from the information of the surrounding environment, and the loss (Loss) of the training process can reach a lower value more quickly; Part of the detection information is not much different from the surrounding environment information, such as bone cortical distortion and minor fractures. Loss during the training process requires more time to reach a lower value. Using a segmentation module that is easier to train first and a detection module that is more difficult to train can speed up the Loss of the detection module to reach a lower value faster, because some parameters have been trained, and the remaining parameters that need to be trained become fewer, so Loss can reach lower values faster. After many iterations, when the Loss to be trained is low, the training model file is saved.
在本说明书实施例中,S2210中预设的神经网络模型优选为经过改进和优化的V-Net网络,当然并不限于V-Net网络,也可以为其他卷积神经网络。优选为V-Net网络本实施例中经训练的神经网络模型被配置为能够根据输入的图像同时输出骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果,其中,骨骼,优选为肋骨,也可以为椎骨、四肢骨或骶骨。本实施例中的分割结/检测结果,优选为概率图,也可以为坐标图等。In the embodiment of the present specification, the neural network model preset in S2210 is preferably an improved and optimized V-Net network. Of course, it is not limited to the V-Net network, but may also be other convolutional neural networks. It is preferably a V-Net network. The trained neural network model in this embodiment is configured to simultaneously output a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result according to the input image. Among them, the bone is preferably a rib. It can be vertebrae, limb bones or sacrum. The split knot / detection result in this embodiment is preferably a probability map or a coordinate map.
实施例4Example 4
如图15所示,本实施例公开了另一种图像处理模型的训练方法,该训练方法用于训练实施例2中的神经网络模型,该方法包括:As shown in FIG. 15, this embodiment discloses another training method for an image processing model. The training method is used to train the neural network model in Embodiment 2. The method includes:
S2310、获取训练图像;S2310. Acquire training images;
该步骤获取训练图像的步骤与实施例3中的相同,在此不再累赘。The step of obtaining the training image in this step is the same as that in Embodiment 3, and is not cumbersome here.
S2320、基于所述训练图像训练神经网络模型;S2320. Train a neural network model based on the training image;
其中,经训练的神经网络模型被配置为能够根据输入的图像同时输出骨骼概率图、骨骼中心线概率图和骨骼骨折概率图,且经训练的神经网络模型包括粗网络模型和细网络模型,所述粗网络模型用于所述细网络模型的定位。Among them, the trained neural network model is configured to be able to simultaneously output a bone probability map, a bone centerline probability map and a bone fracture probability map according to the input image, and the trained neural network models include a coarse network model and a fine network model. The coarse network model is used for positioning the fine network model.
该步骤具体包括:This step specifically includes:
S2321、在低分辨率下,将所述训练图像输入预设的神经网络进行骨骼分割训练和骨骼中心线分割训练,并固定训练过程中的参数,得到粗网络模型;S2321, at a low resolution, input the training image into a preset neural network for bone segmentation training and bone centerline segmentation training, and fix the parameters in the training process to obtain a coarse network model;
S2322、在高分辨率下,继续通过所述预设的神经网络对所述训练图像进行骨骼分割训练和骨骼中心线分割训练,并固定训练过程中的参数,接着对所述训练图像进行骨骼骨折检测训练,并固定训练过程中的参数,得到细网络模型。S2322. Under high resolution, continue to perform bone segmentation training and bone centerline segmentation training on the training image through the preset neural network, and fix the parameters in the training process, and then perform bone fracture on the training image Detect training and fix the parameters in the training process to get a fine network model.
本实施例在模型训练时,需要训练两个模型,即训练图像输入后,先在低分辨率下训练得到粗网络模型文件,接着再在高分辨率下进行训练得到细网络模型文件。其中,粗网络模型只训练骨骼分割,其仅包括骨骼分割模块,用于后续细网络模型分割和检测的定位,能够提高细网络模型训练的效率和精度,细网络模型需要训练骨骼分割模块、骨骼中心线分割模块和骨骼骨折检测模块这三个模块。In this embodiment, when training a model, two models need to be trained, that is, after inputting a training image, a coarse network model file is trained at a low resolution, and then a fine network model file is trained at a high resolution. Among them, the coarse network model only trains the bone segmentation, which only includes the bone segmentation module, which is used for the subsequent positioning and detection of the fine network model segmentation, which can improve the efficiency and accuracy of the fine network model training. The three modules are the centerline segmentation module and the bone fracture detection module.
在本说明书实施例中,S2321中预设的神经网络模型优选为经过改进和优化的V-Net网络,当然并不限于V-Net网络,也可以为其他卷积神经网络。本实施例中经训练的神经网络模型被配置为能够根据输入的图像同时输出骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果,其中,骨骼,优选为肋骨,也可以为椎骨、四肢骨或骶骨。本实施例中的分割结/检测结果优选为概率图,也可以为坐标图等。In the embodiment of the present specification, the preset neural network model in S2321 is preferably an improved and optimized V-Net network, of course, it is not limited to the V-Net network, and may also be other convolutional neural networks. The trained neural network model in this embodiment is configured to output the bone segmentation result, bone centerline segmentation result, and bone fracture detection result at the same time according to the input image. Among them, the bones are preferably ribs, vertebrae, and limb bone Or sacrum. The split knot / detection result in this embodiment is preferably a probability map, and may also be a coordinate map or the like.
实施例5Example 5
如图16所示,本实施例提供了一种图像处理系统,所述系统包括:As shown in FIG. 16, this embodiment provides an image processing system. The system includes:
待检测图像获取模块2510,用于获取待检测图像;An image-to-be-detected module 2510 is used to obtain an image to be detected;
待检测图像处理模块2520,用于将所述待检测图像输入神经网络模型进行处理,得到骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果;The image processing module 2520 to be detected is configured to input the image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result;
其中,所述神经网络模型是基于训练图像进行机器训练学习确定的。Wherein, the neural network model is determined by machine training and learning based on the training image.
进一步地,所述待检测图像处理模块2520进一步包括:Further, the image processing module 2520 to be detected further includes:
第一获取单元2521,用于将所述待检测图像输入所述神经网络模型进行网络前向传播计算,在第m次下采样编码之后,插入m次上采样编码,得到所述骨骼骨折检测结果;The first obtaining unit 2521 is configured to input the image to be detected into the neural network model for network forward propagation calculation, and insert m times of upsampling codes after the mth downsampling code to obtain the bone fracture detection result ;
第二获取单元2522,用于继续进行下采样编码,在第n次下采样编码之后,进行n次上采样编码,得到所述骨骼分割结果和所述骨骼中心线分割结果;The second obtaining unit 2522 is configured to continue to perform downsampling coding, and perform n times upsampling coding after the nth downsampling coding to obtain the bone segmentation result and the bone centerline segmentation result;
其中,m小于n,且m、n为正整数。Where m is less than n, and m and n are positive integers.
后处理模块2530,用于根据预设阈值对所述骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果分别进行二值化处理;对二值化处理后的所述骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果分别进行连通域标记,得到多标记的图像;根据预设阈值统 计所述多标记图像中每一个标记的像素个数,得到高分辨率下的骨骼分割掩膜、骨骼中心线掩膜和每一处骨折在所述待检测图像中的位置坐标。The post-processing module 2530 is configured to perform binarization processing on the bone segmentation result, bone centerline segmentation result, and bone fracture detection result according to a preset threshold; the bone segmentation result, bone center after the binarization process The results of line segmentation and bone fracture detection are respectively labeled with connected domains to obtain multi-labeled images; according to a preset threshold, the number of pixels of each label in the multi-labeled image is counted to obtain a bone segmentation mask at high resolution The bone centerline mask and the position coordinates of each fracture in the image to be detected.
需要说明的是,本实施例中的图像处理系统是与实施例1中的图像处理方法相对应的,具体的分析原理和过程,请参考实施例1中的描述。It should be noted that the image processing system in this embodiment corresponds to the image processing method in Embodiment 1. For specific analysis principles and procedures, please refer to the description in Embodiment 1.
实施例6Example 6
如图17所示,本实施例提供了一种图像处理系统,所述系统包括:As shown in FIG. 17, this embodiment provides an image processing system. The system includes:
待检测图像获取模块2610,用于获取待检测图像;The image-to-be-detected module 2610 is used to obtain an image to be detected;
待检测图像处理模块2620,用于将所述待检测图像输入神经网络模型进行处理,得到骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果;其中,所述神经网络模型是基于训练图像进行机器训练学习确定的,其包括粗网络模型和细网络模型;The image-to-be-detected processing module 2620 is configured to input the image-to-be-detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result; wherein, the neural network model is based on a training image Determined by machine training and learning, which includes a coarse network model and a fine network model;
其中待检测图像处理模块2620进一步包括:The image processing module 2620 to be detected further includes:
粗网络模型处理单元2621,用于将所述待检测图像(具体为待检测图像块)输入所述粗网络模型进行网络前向传播计算,得到肋骨分布概率图;The coarse network model processing unit 2621 is configured to input the image to be detected (specifically, the image block to be detected) into the coarse network model to perform network forward propagation calculation to obtain a rib distribution probability map;
定位区域获取单元2622,用于对所述肋骨分布概率图进行后处理,得到低分辨率(即较粗分辨率)下的肋骨分割掩膜,对所述低分辨率下的肋骨分割掩膜标记目标边框,得到定位区域;The positioning area acquisition unit 2622 is used to post-process the rib distribution probability map to obtain a rib segmentation mask at a low resolution (that is, a coarser resolution), and mark the rib segmentation mask at the low resolution Target frame, get positioning area;
细网络模型处理单元2623,用于将所述目标边框内图像输入所述细网络模型进行网络前向传播计算,得到肋骨概率图、肋骨中心线概率图和肋骨骨折概率图。The thin network model processing unit 2623 is configured to input the image in the target frame into the thin network model for network forward propagation calculation to obtain a rib probability map, a rib centerline probability map, and a rib fracture probability map.
后处理模块2630,用于根据预设阈值对所述骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果分别进行二值化处理;对二值化处理后的所述骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果分别进行连通域标记,得到多标记的图像;根据预设阈值统计所述多标记图像中每一个标记的像素个数,得到高分辨率下的骨骼分割掩膜、骨骼中心线掩膜和每一处骨折在所述待检测图像中的位置坐标。需要说明的是,本实施例中的图像处理系统是与实施例2中的图像处理方法相对应的,具体的分析原理和过程,请参考实施例2中的描述。The post-processing module 2630 is configured to perform binarization processing on the bone segmentation result, bone centerline segmentation result, and bone fracture detection result according to a preset threshold; the bone segmentation result, bone center after the binarization process The results of line segmentation and bone fracture detection are respectively labeled with connected domains to obtain multi-labeled images; according to a preset threshold, the number of pixels of each label in the multi-labeled image is counted to obtain a bone segmentation mask at high resolution, The bone centerline mask and the position coordinates of each fracture in the image to be detected. It should be noted that the image processing system in this embodiment corresponds to the image processing method in Embodiment 2. For specific analysis principles and procedures, please refer to the description in Embodiment 2.
实施例7Example 7
如图18所示,本实施例公开了一种图像处理模型的训练系统,所述系统包括:As shown in FIG. 18, this embodiment discloses an image processing model training system. The system includes:
训练图像获取模块2710,用于获取训练图像;Training image acquisition module 2710, used to obtain training images;
模型训练模块2720,用于基于所述训练图像训练神经网络模型;A model training module 2720, configured to train a neural network model based on the training image;
其中,经训练的神经网络模型被配置为能够根据输入的图像同时输出骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果;Among them, the trained neural network model is configured to output the bone segmentation result, bone centerline segmentation result and bone fracture detection result simultaneously according to the input image;
模型训练模块2720进一步包括:The model training module 2720 further includes:
所述第一训练单元2721,用于将所述训练图像输入预设的神经网络进行骨骼分割训练和骨骼中心线分割训练,并固定训练过程中的参数,得到骨骼分割模块和骨骼中心线分割模块;The first training unit 2721 is configured to input the training image into a preset neural network for bone segmentation training and bone centerline segmentation training, and fix parameters in the training process to obtain a bone segmentation module and a bone centerline segmentation module ;
所述第二训练单元2722,用于继续通过所述预设的神经网络对所述训练图像进行骨骼骨折检测训练,并固定训练过程中的参数,得到骨骼骨折检测模块。The second training unit 2722 is configured to continue to perform bone fracture detection training on the training image through the preset neural network, and fix parameters in the training process to obtain a bone fracture detection module.
需要说明的是,本实施例中的图像处理模型的训练系统是与实施例3中的图像处理模型的训练方法相对应的,具体的分析原理和过程,请参考实施例3中的描述。It should be noted that the training system of the image processing model in this embodiment corresponds to the training method of the image processing model in Embodiment 3. For specific analysis principles and processes, please refer to the description in Embodiment 3.
实施例8Example 8
如图19所示,本实施例提供了另一种图像处理模型的训练系统,所述系统包括:As shown in FIG. 19, this embodiment provides another training system for image processing models. The system includes:
训练图像获取模块2810,用于获取训练图像;Training image acquisition module 2810, used to acquire training images;
模型训练模块2820,用于基于所述训练图像训练神经网络模型;A model training module 2820, configured to train a neural network model based on the training image;
其中,经训练的神经网络模型被配置为能够根据输入的图像同时输出骨骼概率图、骨骼中心线概率图和骨骼骨折概率图,且经训练的神经网络模型包括粗网络模型和细网络模型,所述粗网络模型用于所述细网络模型的定位;Among them, the trained neural network model is configured to be able to simultaneously output a bone probability map, a bone centerline probability map and a bone fracture probability map according to the input image, and the trained neural network models include a coarse network model and a fine network model. The coarse network model is used for positioning the fine network model;
模型训练模块2820进一步包括:The model training module 2820 further includes:
粗网络模型训练单元2821,用于在低分辨率下,将所述训练图像输入预设的神经网络进行骨骼分割训练和骨骼中心线分割训练,并固定训练过程中的参数,得到粗网络模型;The coarse network model training unit 2821 is used to input the training image into a preset neural network for skeleton segmentation training and skeleton center line segmentation training at low resolution, and fix the parameters in the training process to obtain a coarse network model;
细网络模型训练单元2822,用于在高分辨率下,继续通过所述预设的神经网络对所述训练图像进行骨骼分割训练和骨骼中心线分割训练,并固定训练过程中的参数,接着对所述训练图像进行骨骼骨折检测训练,并固定训练过程中的参数,得到细网络模型。The fine network model training unit 2822 is used to continue the skeleton segmentation training and skeleton center line segmentation training of the training image through the preset neural network at high resolution, and fix the parameters in the training process, and then The training image is trained for bone fracture detection, and the parameters in the training process are fixed to obtain a fine network model.
需要说明的是,本实施例中的图像处理模型的训练系统是与实施例4中的图像处理模型的训练方法相对应的,具体的分析原理和过程,请参考实施例4中的描述。It should be noted that the training system of the image processing model in this embodiment corresponds to the training method of the image processing model in Embodiment 4. For specific analysis principles and processes, please refer to the description in Embodiment 4.
实施例9Example 9
如图20所示,本实施例公开了另一种图像处理系统,该系统包括:As shown in FIG. 20, this embodiment discloses another image processing system, which includes:
图像获取模块2910,用于获取训练图像和待检测图像;The image acquisition module 2910 is used to acquire training images and images to be detected;
模型训练模块2920,基于所述训练图像训练神经网络模型,其中,经训练的神经网络模型被配置为能够根据输入的图像输出多种类型的分析结果;The model training module 2920 trains a neural network model based on the training image, wherein the trained neural network model is configured to output multiple types of analysis results based on the input image;
待检测图像处理模块2930,用于将所述待检测图像输入经训练的神经网络模型进行处理,得到骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果。The image-to-be-detected processing module 2930 is configured to input the image-to-be-detected into a trained neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result.
本实施例中将实施例5-8中的图像处理系统和图像处理模型的训练系统结合在一起形成一个整体,具体的工作原理和过程请参考实施例5-8中的描述。In this embodiment, the image processing system and the image processing model training system in Embodiment 5-8 are combined to form a whole. For specific working principles and processes, please refer to the description in Embodiment 5-8.
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only preferred embodiments of this application and are not intended to limit this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of this application should be included in the protection of this application Within range.
随着深度学习技术的迅速发展,基于人工智能的计算机辅助诊断系统在识别并分割或检测医学影像中的特征部位等方面具有广泛的应用。然而,由于训练数据的局限性、算法本身固有的瓶颈以及特征部位本身的多样性和不确定性的原因,现有的计算机辅助诊断系统的检测结果中仍然存在一定比例的假阳性结果,即将不是特征部位的区域预测为特征部位。With the rapid development of deep learning technology, computer-aided diagnosis systems based on artificial intelligence have been widely used in identifying and segmenting or detecting feature parts in medical images. However, due to the limitations of the training data, the inherent bottleneck of the algorithm itself, and the diversity and uncertainty of the feature parts themselves, there is still a certain percentage of false positive results in the detection results of the existing computer-aided diagnosis system, which will not be The region of the feature part is predicted as the feature part.
相关技术中通过绘制好的受试者工作特征曲线(Receiver Operating Characteristic Curve,简称ROC曲线)来权衡检测率与假阳性率的关系,一般会基于该ROC曲线选取一个合适的参数阈值作为实际使用计算机辅助诊断系统进行检测结果筛选的阈值,但是该参数阈值一旦选定,医生在使用该计算机辅助诊断系统时,不能针对不同的使用场景、不同的病例特点,使用不同的参数阈值来权衡检测率与假阳性率,从而无法达到不同程度的诊断精确性与读片时间的平衡,降低了计算机辅助诊断系统的灵活性。为了提高计算机辅助诊断系统的灵活性,本申请另一个实施例中提出了一种影像感兴趣区域的展示方法、装置及终端。In the related art, the relationship between the detection rate and the false positive rate is weighed by drawing a good receiver operating characteristic curve (Receiver Operating Characteristic Curve, referred to as ROC curve). Generally, an appropriate parameter threshold is selected based on the ROC curve as the actual computer. The threshold for the screening results of the auxiliary diagnostic system, but once the parameter threshold is selected, when using this computer-aided diagnostic system, doctors cannot use different parameter thresholds to weigh the detection rate and the different use cases for different use scenarios and different case characteristics. The rate of false positives, which makes it impossible to achieve a balance between different degrees of diagnostic accuracy and reading time, reduces the flexibility of the computer-aided diagnostic system. In order to improve the flexibility of the computer-aided diagnosis system, another embodiment of the present application proposes a method, device, and terminal for displaying image interest regions.
在一个实施例中,如图21所示,提供了一种影像感兴趣区域的展示方法,包括以下 步骤:In one embodiment, as shown in FIG. 21, a method for displaying an image region of interest is provided, including the following steps:
步骤S3002,获取被检测对象的原始图像。Step S3002: Acquire the original image of the detected object.
S3001,获取影像中感兴趣区域的检测结果,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数。S3001: Obtain a detection result of an interest area in an image, where the detection result of the interest area includes information of the interest area and an attribute parameter of the interest area.
在本说明书实施例中,影像可以包括由各种成像系统获得的投影图像。成像系统可为单模成像系统,例如计算机断层摄影(CT)系统、发射计算机断层摄影(ECT)、超声成像系统、X射线光学成像系统、正电子发射断层摄影(PET)系统等。成像系统也可为多模成像系统,例如计算机断层摄影-磁共振成像(CT-MRI)系统、正电子发射断层摄影-磁共振成像(PET-MRI)系统、单光子发射断层摄影-计算机断层摄影(SPECT-CT)系统、数字减影血管造影-计算机断层摄影(DSA-CT)系统等。当然,该影像还可以包括将投影图像重建后得到的重建图像,本申请对此不作限定。In the embodiment of the present specification, the image may include projection images obtained by various imaging systems. The imaging system may be a single-mode imaging system, such as a computed tomography (CT) system, emission computed tomography (ECT), ultrasound imaging system, X-ray optical imaging system, positron emission tomography (PET) system, and the like. The imaging system may also be a multi-mode imaging system, such as a computed tomography-magnetic resonance imaging (CT-MRI) system, positron emission tomography-magnetic resonance imaging (PET-MRI) system, single-photon emission tomography-computed tomography (SPECT-CT) system, digital subtraction angiography-computed tomography (DSA-CT) system, etc. Of course, the image may also include a reconstructed image obtained by reconstructing the projection image, which is not limited in this application.
具体的,影像中感兴趣区域的检测结果可以是但不限于通过深度学习模型对相应的影像进行处理得到的输出结果,可以包括感兴趣区域的信息和感兴趣区域属性参数。其中,感兴趣区域可以包括解剖结构,例如血管、骨化中心、神经、肌肉、软组织、气管、软骨、韧带,裂纹等等;感兴趣区域还可以包括病灶,即组织或器官遭受致病因子的作用而引起病变的部位,是机体上发生病变的部分,例如骨折、肺结节、肿瘤、脑出血、心脏疾病、神经疾病等等。当然,感兴趣区域还可以是影像中其它的感兴趣特征部位。Specifically, the detection result of the region of interest in the image may be, but not limited to, an output result obtained by processing the corresponding image through a deep learning model, and may include information of the region of interest and attribute parameters of the region of interest. Among them, the region of interest may include anatomical structures, such as blood vessels, ossification centers, nerves, muscles, soft tissue, trachea, cartilage, ligaments, cracks, etc .; the region of interest may also include lesions, that is, tissues or organs that have suffered from pathogenic factors The location of the lesion caused by the action is the part of the body where the lesion occurs, such as fractures, lung nodules, tumors, cerebral hemorrhage, heart disease, nerve disease, and so on. Of course, the region of interest may also be other regions of interest in the image.
在本说明书实施例中,感兴趣区域属性参数可以是任何影响感兴趣区域的检测结果并在本说明书实施例的影像感兴趣区域的展示装置的使用阶段可以实时调节的参数。具体的,感兴趣区域属性参数可以包括以下之一:感兴趣区域置信度、感兴趣区域类别、感兴趣区域尺寸,其中,感兴趣区域置信度为通过检测模型如深度学习模型检测的影像中的区域或部位属于感兴趣区域的确信程度。感兴趣区域尺寸为用于表征感兴趣区域所对应的区域或者部位的大小的参数。In the embodiment of the present specification, the attribute parameter of the region of interest may be any parameter that affects the detection result of the region of interest and can be adjusted in real time during the use stage of the display device of the image region of interest of the embodiment of the present specification. Specifically, the region of interest attribute parameters may include one of the following: region of interest confidence, region of interest category, region of interest size, where region of interest confidence is in the image detected by a detection model such as a deep learning model The degree of certainty that the area or part belongs to the area of interest. The size of the region of interest is a parameter for characterizing the size of the region or part corresponding to the region of interest.
感兴趣区域的信息可以为全部的感兴趣区域的检测结果信息,也可以为部分的感兴趣区域的检测结果信息。The information of the region of interest may be the detection result information of all the regions of interest, or may be the detection result information of a part of the regions of interest.
S3003,实时获取用户输入的属性参数阈值。S3003: Obtain the attribute parameter threshold input by the user in real time.
在本说明书实施例中,属性参数阈值与感兴趣区域属性参数相对应,可以包括感兴趣区域置信度、感兴趣区域类别以及感兴趣区域尺寸等。用户可以根据需要调节属性参数阈值,相应的,计算机辅助诊断系统实时获取用户输入的属性参数阈值。In the embodiment of the present specification, the attribute parameter threshold corresponds to the attribute parameter of the region of interest, and may include the region of interest confidence, the region of interest category, the region of interest size, and the like. The user can adjust the attribute parameter threshold according to need. Correspondingly, the computer-aided diagnosis system obtains the attribute parameter threshold input by the user in real time.
在一具体实施方式中,所述实时获取用户输入的属性参数阈值可以采用图22所示的方法,如图22所示,该方法可以包括:In a specific embodiment, the method for obtaining the attribute parameter threshold input by the user in real time may use the method shown in FIG. 22, and as shown in FIG. 22, the method may include:
S3101,响应于用户对阈值控制组件的操作,获取所述阈值控制组件的控制信息。S3101: In response to the user's operation on the threshold control component, obtain control information of the threshold control component.
在本说明书实施例中,可以在人机交互界面上设置阈值控制组件,该阈值控制组件可以是但不限于滑动条、下拉菜单等。当用户对阈值控制组件操作时,可以响应于该操作,以获取阈值控制组件的控制信息。例如,当用户操作滑动条时,可以获取滑动条的位置信息。In the embodiment of the present specification, a threshold control component may be set on the human-computer interaction interface, and the threshold control component may be, but not limited to, a slide bar, a pull-down menu, or the like. When the user operates the threshold control component, it can respond to the operation to obtain the control information of the threshold control component. For example, when the user operates the slider, the position information of the slider can be acquired.
S3103,根据预设的阈值控制组件的控制信息与属性参数阈值的映射关系,确定所述用户输入的属性参数阈值。S3103: Determine the attribute parameter threshold input by the user according to the mapping relationship between the control information of the preset threshold control component and the attribute parameter threshold.
在本说明书实施例中,可以预先设置阈值控制组件的控制信息与属性参数阈值的映射关系,例如,可以预先设置滑动条的位置信息与属性参数阈值的映射关系,一般滑动条的 位置信息与属性参数阈值之间的关系可以是但不限于线性映射关系。当获取到当前阈值控制组件的控制信息时,可以查找上述映射关系,从而获得对应于当前阈值控制组件的控制信息的属性参数阈值。In the embodiment of the present specification, the mapping relationship between the control information of the threshold control component and the attribute parameter threshold may be preset. For example, the mapping relationship between the position information of the slider and the attribute parameter threshold may be preset. Generally, the position information and attributes of the slider The relationship between the parameter thresholds may be, but not limited to, a linear mapping relationship. When the control information of the current threshold control component is obtained, the above mapping relationship may be searched to obtain an attribute parameter threshold corresponding to the control information of the current threshold control component.
S3005,根据所述感兴趣区域属性参数与所述属性参数阈值的比对结果,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息。S3005: Acquire the information of the target interest area from the detection result of the interest area according to the comparison result of the attribute parameter of the interest area and the threshold value of the attribute parameter.
举例而言,当感兴趣区域属性参数为感兴趣区域置信度时,可以判断感兴趣区域置信度是否大于或者等于从阈值控制组件获取的置信度阈值,在判断的结果为是时,从感兴趣区域的检测结果中获取大于或者等于置信度阈值的感兴趣区域置信度所对应的感兴趣区域的信息,得到目标感兴趣区域的信息。当感兴趣区域属性参数为感兴趣区域类别或者感兴趣区域尺寸时,可以从感兴趣区域的检测结果中获取感兴趣区域类别或者感兴趣区域尺寸与用户输入的类别阈值或者尺寸阈值相匹配的感兴趣区域的信息,得到目标感兴趣区域的信息。For example, when the region of interest attribute parameter is the region of interest confidence, it can be judged whether the region of interest confidence is greater than or equal to the confidence threshold obtained from the threshold control component. The information of the region of interest corresponding to the confidence of the region of interest greater than or equal to the confidence threshold is obtained from the detection result of the region to obtain the information of the target region of interest. When the interest area attribute parameter is the area of interest category or the size of the area of interest, the sense that the area of interest category or the size of the area of interest matches the category threshold or size threshold input by the user can be obtained from the detection result of the area of interest Information about the area of interest to obtain information about the target area of interest.
S3007,展示所述目标感兴趣区域的信息。S3007: Display the information of the target interest area.
在本说明书实施例中,目标感兴趣区域可以包括一个或者多个,其数量可以根据属性参数阈值的变化而变化。在展示所述目标感兴趣区域的信息时,可以展示一个或者多个目标感兴趣区域的局部影像。在一具体实施方式中,在展示所述目标感兴趣区域的信息时,可以获取所述目标感兴趣区域所对应的局部影像,渲染所述局部影像,并显示渲染后的所述局部影像。具体的,对于局部影像的渲染可以至少包括以下方法之一:多平面重建(Multi-Planner Reformation,简称MPR)、容积再现技术(Volume Rendering Technique,简称VRT)、最大密度投影(Maximum Intensity Projection,简称MIP)、曲面重建(Curved Planar Reformat,简称CPR)。In the embodiment of the present specification, the target region of interest may include one or more, and the number thereof may change according to the change of the attribute parameter threshold. When displaying the information of the target interest area, partial images of one or more target interest areas may be displayed. In a specific embodiment, when displaying the information of the target area of interest, a partial image corresponding to the target area of interest may be obtained, the partial image may be rendered, and the rendered partial image may be displayed. Specifically, the rendering of partial images may include at least one of the following methods: Multi-Planner Reform (MPR), Volume Rendering Technology (VRT), Maximum Intensity Projection (abbreviation) MIP), Curved Planar Reformat (CPR).
其中,MPR是将扫描范围内所有的轴位图像叠加起来再对某些标线标定的重组线所指定的组织进行冠状、矢状位、任意角度斜位图像重组。采用MPR能任意产生新的断层图像,而无需重复扫描,并且曲面重组能在一幅图像里展开显示弯曲物体的生长。Among them, MPR is to superimpose all the axial images in the scanning range, and then reorganize the tissue specified by the reorganization lines marked by certain reticles in the coronal, sagittal, and arbitrary angle oblique positions. The use of MPR can arbitrarily generate new tomographic images without repeated scanning, and the reorganization of curved surfaces can unfold the growth of curved objects in an image.
其中,VRT是使假定的投射线从给定的角度上穿过扫描容积,对容积内的像素信息作综合显示。VRT可赋予影像以不同的伪彩与透明度,给以近似亘实的三维结构的感受,该方式在重建中丢失的数据信息很少,可较佳地显示解剖结构或者病灶的空间关系。Among them, VRT is to make the assumed projection line pass through the scanning volume from a given angle, and comprehensively display the pixel information in the volume. VRT can give images with different pseudo-colors and transparency, giving the impression of a realistic three-dimensional structure. This method loses very little data information during reconstruction, and can better display the anatomical structure or the spatial relationship of the lesions.
其中,MIP是在可视化平面上投射三维空间数据的一种计算机可视化方法。其中,沿着从视点到投影平面的平行光线,各个体素密度值的所呈现的亮度将以某种方式加以衰减,并且最终在投影平面上呈现的是亮度最大的体素。具体的,可以在已经成像好的影像上做MIP,以显示感兴趣区域所对应区域的透视效果,当以一定角度步长把投影平面旋转一周时,存下每个角度的MIP,然后将各个角度的MIP堆叠起来就可以得到旋转观察感兴趣区域所对应区域的效果。Among them, MIP is a computer visualization method for projecting three-dimensional spatial data on a visualization plane. Among them, along the parallel rays from the viewpoint to the projection plane, the brightness of each voxel density value will be attenuated in some way, and the voxel with the highest brightness is finally presented on the projection plane. Specifically, you can do MIP on the image that has been imaged to display the perspective effect of the area corresponding to the area of interest. When the projection plane is rotated one rotation at a certain angle step, the MIP at each angle is saved, and then each Angled MIPs can be stacked to obtain the effect of rotating to observe the area corresponding to the area of interest.
其中,CPR是MPR的一种特殊方法,适合于人体一些曲面结构器官的显示,如:颌骨、迂曲的血管、支气管等。Among them, CPR is a special method of MPR, suitable for the display of some curved structure organs of the human body, such as: jaw bone, tortuous blood vessels, bronchus, etc.
在另一具体实施方式中,所述目标感兴趣区域的信息可以包括目标感兴趣区域的位置信息和/或目标感兴趣区域的尺寸信息。相应的,在展示所述目标感兴趣区域的信息时,还可以获取原始影像,根据目标感兴趣区域的位置信息和/或目标感兴趣区域的尺寸信息确定原始影像中与所述目标感兴趣区域对应的目标感兴趣区域,并显示包含所述目标感兴趣区域的原始影像。其中,原始影像为直接由各种成像系统获得的各种模态的影像。In another specific embodiment, the information of the target interest area may include position information of the target interest area and / or size information of the target interest area. Correspondingly, when displaying the information of the target area of interest, the original image may also be obtained, and the target image of interest in the original image may be determined according to the position information of the target area of interest and / or the size information of the target area of interest Corresponding target interest area, and displaying the original image containing the target interest area. Among them, the original images are images of various modalities directly obtained by various imaging systems.
在另一具体实施方式中,在展示所述目标感兴趣区域的信息时,还可以生成与所述目标感兴趣区域的信息相对应的目标索引,并显示该目标索引。具体的,所述目标索引可以包括序列号,如阿拉伯数字形式的编号,以及部分简短的目标兴趣的信息,如目标感兴趣区域的位置概况等,目标索引在显示时可以按照序列号以列表的形式显示。In another specific embodiment, when displaying the information of the target region of interest, a target index corresponding to the information of the target region of interest may also be generated and displayed. Specifically, the target index may include a serial number, such as a number in the form of Arabic numerals, and some brief information about the target interest, such as the location overview of the target interest area, etc. When the target index is displayed, it may be listed according to the serial number. Form display.
请参阅图23和图24,二者所示为不同置信度阈值下获得的展示目标感兴趣区域的信息的界面示意图。在图23和图24中阈值控制组件以滑动条的形式设置在人机交互界面上,滑动条的滑动位置与置信度阈值的映射关系中滑动位置越靠近右侧,对应的置信度阈值越大,例如,可以设定滑动条的最左端对应一个预设的最低阈值(比如为0),滑动条的最右端对应一个预设的最高阈值(比如为1.0)。由此,图23中的滑动条的滑动位置所对应的置信度阈值较大,图24中的滑动条的滑动位置所对应的置信度阈值较小。由图23和图24可见,在不同的置信度阈值下,可以获得不同数量的目标感兴趣区域的信息,具体的目标感兴趣区域的信息的数量可以通过目标索引的序列号直观的知晓。当然,通过目标索引还可以直观的获得部分简短的目标兴趣的信息,如目标感兴趣区域的位置概况。Please refer to FIG. 23 and FIG. 24, both of which are schematic diagrams of interfaces for displaying information of target interest regions obtained under different confidence thresholds. In FIGS. 23 and 24, the threshold control component is set on the human-machine interaction interface in the form of a slider. In the mapping relationship between the sliding position of the slider and the confidence threshold, the closer the sliding position is to the right, the greater the corresponding confidence threshold. For example, it can be set that the leftmost end of the slider corresponds to a preset lowest threshold (such as 0), and the rightmost end of the slider corresponds to a preset highest threshold (such as 1.0). Thus, the confidence threshold corresponding to the sliding position of the slide bar in FIG. 23 is large, and the confidence threshold corresponding to the sliding position of the slide bar in FIG. 24 is small. As can be seen from FIGS. 23 and 24, under different confidence thresholds, different amounts of information on the target interest area can be obtained, and the specific amount of information on the target interest area can be intuitively known through the serial number of the target index. Of course, the target index can also intuitively obtain some brief information about the target interest, such as the location overview of the target interest area.
在本说明书实施例中,如图25所示,在显示实时目标索引之后,还可以包括:In the embodiment of the present specification, as shown in FIG. 25, after displaying the real-time target index, it may further include:
S3201,接收对一个所述目标索引的选择信号。S3201: Receive a selection signal for one of the target indexes.
用户可以选择人机交互界面显示的目标索引,相应的,终端可以接收用户施加的用于选择目标索引的选择信号。The user can select the target index displayed on the human-computer interaction interface, and accordingly, the terminal can receive a selection signal applied by the user to select the target index.
S3203,根据所述选择信号,确定所述目标索引所对应的目标感兴趣区域的信息。S3203: Determine, according to the selection signal, information of a target region of interest corresponding to the target index.
终端在接收到选择信号之后,可以确定与当前选择的目标索引所对应的目标感兴趣区域的信息。After receiving the selection signal, the terminal may determine the information of the target interest area corresponding to the currently selected target index.
S3205,将所述目标感兴趣区域的信息所对应的目标感兴趣区域在所述原始影像中进行标识,和/或将所述目标感兴趣区域的信息所对应的渲染后的局部影像进行标识。S3205. Identify the target region of interest corresponding to the information of the target region of interest in the original image, and / or identify the rendered partial image corresponding to the information of the target region of interest.
由于已在原始影像中确定了目标感兴趣区域的信息所对应的目标感兴趣区域,因此,在基于步骤S3203确定了选择信号所对应的目标感兴趣区域的信息之后,就可以进一步根据该目标感兴趣区域的信息,将与该目标感兴趣区域的信息相对应的目标感兴趣区域在显示的原始影像中进行标识,如图23和图24中的左侧图像中框选出的位置即为与右侧选择的一个目标索引相对应的目标感兴趣区域。当然,还可以将与该目标感兴趣区域的信息所对应的渲染后的局部影像进行标识,如图23和图24中所示。Since the target region of interest corresponding to the information of the target region of interest has been determined in the original image, after the information of the target region of interest corresponding to the selection signal is determined based on step S3203, it can be further For the information of the area of interest, the target area of interest corresponding to the information of the target area of interest is identified in the displayed original image. The position selected by the frame in the left image in FIG. 23 and FIG. 24 is the The target interest area corresponding to a target index selected on the right. Of course, the rendered partial image corresponding to the information of the target region of interest may also be identified, as shown in FIGS. 23 and 24.
需要说明的是,图23和图24只是给出了两种可能的示例,并不构成对本申请的限定。It should be noted that FIGS. 23 and 24 only give two possible examples, and do not constitute a limitation on the present application.
由本申请的上述实施例可见,本申请使得用户可以实时地进行属性参数阈值的调节,从而可以实时展示不同属性参数阈值下的检测结果,有利于用户根据不同的使用场景、不同的病例特点,权衡不同程度的诊断精确性和读片时间的平衡,提高了计算机辅助诊断系统的灵活性。As can be seen from the above embodiments of the present application, the present application enables users to adjust the attribute parameter threshold in real time, thereby displaying the detection results under different attribute parameter thresholds in real time, which is beneficial to the user according to different usage scenarios and different case characteristics. Different degrees of diagnostic accuracy and the balance of reading time improve the flexibility of the computer-aided diagnostic system.
与上述几种实施例提供的影像感兴趣区域的展示方法相对应,本申请实施例还提供一种影像感兴趣区域的展示装置,由于本申请实施例提供的影像感兴趣区域的展示装置与上述几种实施例提供的影像感兴趣区域的展示方法相对应,因此前述影像感兴趣区域的展示方法的实施方式也适用于本实施例提供的影像感兴趣区域的展示装置,在本说明书实施例中不再详细描述。Corresponding to the method for displaying the image interest region provided by the foregoing embodiments, an embodiment of the present application further provides a device for displaying the image interest region. Since the device for displaying the image interest region provided by the embodiment of the present application is the same as the above The method for displaying the image interest region provided by the several embodiments corresponds to each other, so the implementation of the method for displaying the image interest region is also applicable to the device for displaying the image interest region provided in this embodiment. In the embodiment of this specification No more detailed description.
请参阅图26,其所示为本申请实施例提供的一种影像感兴趣区域的展示装置的结构示意图,如图26所示,该装置可以包括:第一获取模块3610、第二获取模块3620、第三获 取模块3630和展示模块3640,其中,Please refer to FIG. 26, which is a schematic structural diagram of a device for displaying an image region of interest provided by an embodiment of the present application. As shown in FIG. 26, the device may include: a first acquisition module 3610 and a second acquisition module 3620 , A third acquisition module 3630 and a display module 3640, where,
第一获取模块3610,可以用于获取影像中感兴趣区域的检测结果,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数。The first acquisition module 3610 may be used to acquire the detection result of the region of interest in the image, where the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest.
第二获取模块3620,可以用于实时获取用户输入的属性参数阈值;The second obtaining module 3620 can be used to obtain the attribute parameter threshold value input by the user in real time;
第三获取模块3630,可以用于根据所述感兴趣区域属性参数与所述属性参数阈值的比对结果,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;The third obtaining module 3630 may be used to obtain the information of the target interest area from the detection result of the interest area according to the comparison result of the attribute parameter of the interest area and the threshold value of the attribute parameter;
展示模块3640,可以用于展示所述目标感兴趣区域的信息。The display module 3640 may be used to display the information of the target region of interest.
可选的,所述感兴趣区域属性参数包括以下之一:感兴趣区域置信度、感兴趣区域类别、感兴趣区域尺寸。Optionally, the region of interest attribute parameter includes one of the following: region of interest confidence, region of interest category, and region of interest size.
可选的,所述感兴趣区域包括解剖结构或者病灶。Optionally, the region of interest includes an anatomical structure or a lesion.
可选的,如图27所示,第二获取模块3620可以包括:Optionally, as shown in FIG. 27, the second obtaining module 3620 may include:
响应模块3621,可以用于响应于用户对阈值控制组件的操作,获取所述阈值控制组件的控制信息;The response module 3621 may be used to obtain control information of the threshold control component in response to the user's operation on the threshold control component;
第一确定模块3622,可以用于根据预设的阈值控制组件的控制信息与属性参数阈值的映射关系,确定所述用户输入的属性参数阈值。The first determining module 3622 may be used to determine the attribute parameter threshold input by the user according to the mapping relationship between the control information of the preset threshold control component and the attribute parameter threshold.
可选的,如图28所示,展示模块3640可以包括:Optionally, as shown in FIG. 28, the display module 3640 may include:
第四获取模块3641,可以用于获取所述目标感兴趣区域所对应的局部影像;The fourth obtaining module 3641 can be used to obtain local images corresponding to the target region of interest;
渲染模块3642,可以用于渲染所述局部影像;The rendering module 3642 can be used to render the partial image;
第一显示模块3643,可以用于显示渲染后的所述局部影像。The first display module 3643 may be used to display the rendered partial image.
可选的,所述目标感兴趣区域的信息包括目标感兴趣区域的位置信息和/或目标感兴趣区域的尺寸信息,相应的,如图28所示,展示模块3640还可以包括:Optionally, the information of the target interest area includes position information of the target interest area and / or size information of the target interest area. Correspondingly, as shown in FIG. 28, the display module 3640 may further include:
第五获取模块3644,可以用于获取原始影像;The fifth acquisition module 3644 can be used to acquire original images;
第二确定模块3645,可以用于根据所述目标感兴趣区域的位置信息和/或目标感兴趣区域的尺寸信息,确定所述原始影像中与所述目标感兴趣区域对应的目标感兴趣区域;The second determination module 3645 may be used to determine the target interest area corresponding to the target interest area in the original image according to the position information of the target interest area and / or the size information of the target interest area;
第二显示模块3646,可以用于显示包含所述目标感兴趣区域的原始影像。The second display module 3646 can be used to display the original image containing the target region of interest.
可选的,如图28所示,展示模块3640还可以包括:Optionally, as shown in FIG. 28, the display module 3640 may further include:
生成模块3647,可以用于生成与所述目标感兴趣区域的信息相对应的目标索引;The generating module 3647 may be used to generate a target index corresponding to the information of the target interest area;
第三显示模块3648,可以用于显示所述目标索引。The third display module 3648 may be used to display the target index.
请参阅图29,其所示为本申请实施例提供的另一种影像感兴趣区域的展示装置的结构示意图,如图29所示,该装置可以包括:第一获取模块3910、第二获取模块3920、第三获取模块3930、展示模块3940、接收模块3950、第三确定模块3960和标识模块3970。Please refer to FIG. 29, which is a schematic structural diagram of another display device of an image interest region provided by an embodiment of the present application. As shown in FIG. 29, the device may include: a first acquisition module 3910 and a second acquisition module 3920, a third acquisition module 3930, a display module 3940, a reception module 3950, a third determination module 3960, and an identification module 3970.
其中,第一获取模块3910、第二获取模块3920、第三获取模块3930和展示模块3940可以参见前述图26至图28中对应模块的功能描述,在此不再赘述。The first obtaining module 3910, the second obtaining module 3920, the third obtaining module 3930, and the display module 3940 can refer to the function description of the corresponding modules in FIG. 26 to FIG. 28, which will not be repeated here.
接收模块3950,可以用于接收对一个所述目标索引的选择信号;The receiving module 3950 may be used to receive a selection signal for one of the target indexes;
第三确定模块3960,可以用于根据所述选择信号,确定所述目标索引所对应的目标感兴趣区域的信息;The third determining module 3960 may be used to determine the target interest region information corresponding to the target index according to the selection signal;
标识模块3970,可以用于将所述目标感兴趣区域的信息所对应的目标感兴趣区域在所述原始影像中进行标识,和/或将所述目标感兴趣区域的信息所对应的渲染后的局部影像进行标识。The identification module 3970 may be used to identify the target region of interest corresponding to the target region of interest information in the original image, and / or render the corresponding target region of interest information Local images are marked.
本申请实施例的影像感兴趣区域的展示装置使得用户可以实时地进行属性参数阈值 的调节,从而可以实时展示不同属性参数阈值下的检测结果,有利于用户根据不同的使用场景、不同的病例特点,权衡不同程度的诊断精确性和读片时间的平衡,提高了计算机辅助诊断系统的灵活性。The display device of the image interest region in the embodiment of the present application enables the user to adjust the attribute parameter threshold in real time, thereby displaying the detection results under different attribute parameter thresholds in real time, which is beneficial to the user according to different usage scenarios and different case characteristics , Balancing different degrees of diagnostic accuracy and the balance of reading time, improve the flexibility of the computer-aided diagnosis system.
请参阅图30,其所示为本申请实施例提供的一种终端的结构示意图,该终端用于实施上述实施例中提供的影像感兴趣区域的展示方法。具体来讲:Please refer to FIG. 30, which is a schematic structural diagram of a terminal provided by an embodiment of the present application. The terminal is used to implement the method for displaying an image interest region provided in the foregoing embodiment. Specifically:
终端3000可以包括RF(Radio Frequency,射频)电路3010、包括有一个或一个以上计算机可读存储介质的存储器3020、输入单元3030、显示单元3040、视频传感器3050、音频电路3060、WiFi(wireless fidelity,无线保真)模块3070、包括有一个或者一个以上处理核心的处理器3080、以及电源300等部件。本领域技术人员可以理解,图30中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The terminal 3000 may include an RF (Radio Frequency) circuit 3010, a memory 3020 including one or more computer-readable storage media, an input unit 3030, a display unit 3040, a video sensor 3050, an audio circuit 3060, WiFi (wireless fidelity, Wireless fidelity) module 3070, a processor 3080 including one or more processing cores, and a power supply 300 and other components. Those skilled in the art may understand that the terminal structure shown in FIG. 30 does not constitute a limitation on the terminal, and may include more or fewer components than shown, or combine certain components, or arrange different components. among them:
RF电路3010可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器3080处理;另外,将涉及上行的数据发送给基站。通常,RF电路3010包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、低噪声放大器、双工器等。此外,RF电路3010还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。The RF circuit 3010 can be used to receive and send signals during sending and receiving information or during a call. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 3080; in addition, uplink data is sent to the base station . Generally, the RF circuit 3010 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the RF circuit 3010 can also communicate with the network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global mobile communication system, general packet radio service, code division multiple access, broadband code division multiple access, long-term evolution, e-mail, and short message service.
存储器3020可用于存储软件程序以及模块,处理器3080通过运行存储在存储器3020的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器3020可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据终端3000的使用所创建的数据等。此外,存储器3020可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器3020还可以包括存储器控制器,以提供处理器3080和输入单元3030对存储器3020的访问。The memory 3020 may be used to store software programs and modules. The processor 3080 executes various functional applications and data processing by running the software programs and modules stored in the memory 3020. The memory 3020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for at least one function, and the like; the storage data area may store data created according to the use of the terminal 3000, and the like. In addition, the memory 3020 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 3020 may further include a memory controller to provide access to the memory 3020 by the processor 3080 and the input unit 3030.
输入单元3030可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元3030可包括图像输入设备3031以及其他输入设备3032。图像输入设备3031可以是摄像头,也可以是光电扫描设备。除了图像输入设备3031,输入单元3030还可以包括其他输入设备3032。具体地,其他输入设备3032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 3030 may be used to receive input numeric or character information, and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. Specifically, the input unit 3030 may include an image input device 3031 and other input devices 3032. The image input device 3031 may be a camera or a photoelectric scanning device. In addition to the image input device 3031, the input unit 3030 may include other input devices 3032. Specifically, other input devices 3032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and so on.
显示单元3040可用于显示由用户输入的信息或提供给用户的信息以及终端3000的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元3040可包括显示面板3041,可选的,可以采用液晶显示器、有机发光二极管等形式来配置显示面板3041。The display unit 3040 may be used to display information input by the user or provided to the user, and various graphical user interfaces of the terminal 3000. These graphical user interfaces may be composed of graphics, text, icons, videos, and any combination thereof. The display unit 3040 may include a display panel 3041. Optionally, the display panel 3041 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
终端3000可包括至少一种视频传感器3050,视频传感器用于获取用户的视频信息。终端3000还可以包括其它传感器(未示出),比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板3041的亮度,接近传感器可在终端3000移动到耳边时,关闭显示面板3041和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方 向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用、振动识别相关功能等;至于终端3000还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The terminal 3000 may include at least one video sensor 3050, and the video sensor is used to obtain user's video information. The terminal 3000 may also include other sensors (not shown), such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 3041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 3041 and the display panel 3041 when the terminal 3000 moves to the ear / Or backlight. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in various directions, and can detect the magnitude and direction of gravity when at rest. It can be used to identify the gesture of mobile phones, vibration recognition related functions, etc. As for the terminal 3000, it can also be configured Gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors will not be repeated here.
视频电路3060、扬声器3061,传声器3062可提供用户与终端3000之间的视频接口。音频电路3060可将接收到的音频数据转换后的电信号,传输到扬声器3061,由扬声器3061转换为声音信号输出;另一方面,传声器3062将收集的声音信号转换为电信号,由音频电路3060接收后转换为音频数据,再将音频数据输出处理器3080处理后,经RF电路3011以发送给比如另一终端,或者将音频数据输出至存储器3020以便进一步处理。音频电路3060还可能包括耳塞插孔,以提供外设耳机与终端3000的通信。The video circuit 3060, the speaker 3061, and the microphone 3062 can provide a video interface between the user and the terminal 3000. The audio circuit 3060 can transmit the converted electrical signal of the received audio data to the speaker 3061, which converts the speaker 3061 into a sound signal output; on the other hand, the microphone 3062 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 3060 After receiving, it is converted into audio data, and then processed by the audio data output processor 3080, and then sent to another terminal via the RF circuit 3011, or the audio data is output to the memory 3020 for further processing. The audio circuit 3060 may further include an earplug jack to provide communication between the peripheral earphone and the terminal 3000.
WiFi属于短距离无线传输技术,终端3000通过WiFi模块3070可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图30示出了WiFi模块3070,但是可以理解的是,其并不属于终端3000的必须构成,完全可以根据需要在不改变申请的本质的范围内而省略。WiFi is a short-range wireless transmission technology. Terminal 3000 can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 3070. It provides users with wireless broadband Internet access. Although FIG. 30 shows the WiFi module 3070, it can be understood that it is not a necessary component of the terminal 3000, and can be omitted as long as it does not change the essence of the application as needed.
处理器3080是终端3000的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器3020内的软件程序和/或模块,以及调用存储在存储器3020内的数据,执行终端3000的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器3080可包括一个或多个处理核心;优选的,处理器3080可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器3080中。The processor 3080 is the control center of the terminal 3000, and uses various interfaces and lines to connect the various parts of the entire mobile phone, by running or executing the software programs and / or modules stored in the memory 3020, and calling the data stored in the memory 3020, Execute various functions and process data of terminal 3000 to monitor the mobile phone as a whole. Optionally, the processor 3080 may include one or more processing cores; preferably, the processor 3080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs, etc. The modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 3080.
终端3000还包括给各个部件供电的电源300,优选的,电源可以通过电源管理系统与处理器3080逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源300还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal 3000 further includes a power supply 300 that supplies power to various components. Preferably, the power supply can be logically connected to the processor 3080 through a power management system, so as to realize functions such as charging, discharging, and power consumption management through the power management system. The power supply 300 may further include any component such as one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
尽管未示出,终端3000还可以包括蓝牙模块等,在此不再赘述。Although not shown, the terminal 3000 may also include a Bluetooth module, etc., and will not be repeated here.
具体在本说明书实施例中,终端3000还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行。上述一个或者一个以上程序包含用于执行上述方法实施例提供的影像感兴趣区域的展示方法的指令。Specifically in the embodiment of the present specification, the terminal 3000 further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and are configured to be executed by one or more processors. The above one or more programs include instructions for executing the method for displaying the image interest region provided by the above method embodiment.
本申请的实施例还提供了一种存储介质,所述存储介质可设置于终端之中以保存用于实现方法实施例中的一种影像感兴趣区域的展示方法相关的至少一条指令、至少一段程序、代码集或指令集,该至少一条指令、该至少一段程序、该代码集或指令集可由终端的处理器加载并执行以实现上述方法实施例提供的影像感兴趣区域的展示方法。An embodiment of the present application further provides a storage medium, which may be set in a terminal to store at least one instruction and at least one paragraph related to a method for displaying an image interest region in the method embodiment A program, a code set, or an instruction set, the at least one instruction, the at least one program, the code set, or the instruction set may be loaded and executed by the processor of the terminal to implement the method of displaying the image interest region provided by the foregoing method embodiments.
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only preferred embodiments of this application and are not intended to limit this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of this application should be included in the protection of this application Within range.
随着医学科学技术的发展,为了获取患者特定部位的图像,可以通过CT扫描仪对患者进行扫描,生成扫描数据。根据扫描数据生成图像序列,图像序列包括多个切面图像,每一个切面图像代表患者的一个横断面图像,再根据图像序列生成患者的三维图像。医师通过观察图像序列以及三维图像进一步的确定患者的病灶区域。With the development of medical science and technology, in order to obtain images of specific parts of patients, patients can be scanned by CT scanners to generate scan data. An image sequence is generated based on the scan data, and the image sequence includes a plurality of slice images, each slice image represents a cross-sectional image of the patient, and then a three-dimensional image of the patient is generated according to the image sequence. The physician further determines the lesion area of the patient by observing the image sequence and the three-dimensional image.
目前的传统技术,放射科医师在对某些病灶进行检测和定位时,比如对肺结节和肋骨骨折的检测和定位,需要观察患者的几十到上百层的图像序列,医师手动对几十到上百层的图像序列中疑似病灶区域来回滚动,反复的观察,获得足够的相关背景图像信息,才能最后确定病灶的诊断。这样反复的来回滚动图像序列增大了医师的工作量,并且浪费了大量的时间。为了解决反复的来回滚动图像序列增大了医师的工作量,并且浪费了大量的时间的问题,本申请其中一个实施例中提出了一种医学图像显示方法、查看设备、计算机设备和存储介质。According to the current traditional technology, when radiologists detect and locate certain lesions, such as the detection and location of lung nodules and rib fractures, they need to observe the image sequence of tens to hundreds of layers of the patient. In the image sequence of ten to hundreds of layers, the area of the suspected lesion is scrolled back and forth, repeated observation, and sufficient background image information is obtained to finally determine the diagnosis of the lesion. This repeated scrolling of the image sequence back and forth increases the workload of the physician and wastes a lot of time. In order to solve the problem that repeatedly scrolling the image sequence back and forth increases the workload of the physician and wastes a lot of time, one embodiment of the present application proposes a medical image display method, viewing device, computer device, and storage medium.
为了获取扫描对象的医学图像,首先需要利用医学成像设备对扫描对象进行扫描,其中扫描对象可以是患者全身器官,也可以是患者需要重点检测的器官、组织或细胞集合等。医学成像设备对扫描对象进行扫描,得到扫描数据,根据扫描数据生成医学图像序列。其中,医学图像序列为扫描对象在扫描方向上的每一个横截面的图像。再根据图像序列最终可以生成扫描对象内部结构的三维图像。其中医学成像设备可以为:X光成像仪器、CT(普通CT、螺旋CT)、正子扫描(PET)、核磁共振成像(MR)、红外扫描设备以及多种扫描设备的组合扫描设备等。In order to obtain the medical image of the scanned object, first, the medical imaging device needs to be used to scan the scanned object, where the scanned object may be the patient's whole body organ, or the patient's organ, tissue, or cell collection that needs to be focused on. The medical imaging device scans the scanned object to obtain scan data, and generates a medical image sequence according to the scan data. The medical image sequence is an image of each cross-section of the scanned object in the scanning direction. Based on the image sequence, a three-dimensional image of the internal structure of the scanned object can be generated. The medical imaging equipment may be: X-ray imaging instruments, CT (general CT, spiral CT), positive scan (PET), nuclear magnetic resonance imaging (MR), infrared scanning equipment, and a combination of various scanning equipment.
在一个实施例中,如图31所示,提供了一种医学图像显示方法,包括以下步骤:In one embodiment, as shown in FIG. 31, a medical image display method is provided, including the following steps:
步骤S4002,获取被检测对象的原始图像。Step S4002: Acquire the original image of the detected object.
具体地,医学成像设备根据预设的扫描参数对被检测对象进行扫描。得到扫描对象的三维图像。其中,原始图像为医学成像设备扫描生成的三维图像。其中扫描对象可以是人或动物的全身器官,也可以是人或动物需要重点检测的器官、组织或细胞集合等。Specifically, the medical imaging device scans the detected object according to preset scanning parameters. Get a three-dimensional image of the scanned object. Among them, the original image is a three-dimensional image scanned by a medical imaging device. The scanned object may be a whole-body organ of a human or animal, or an organ, tissue, or cell collection that needs to be detected by the human or animal.
步骤S4004,获取在原始图像中选取的感兴趣区域。Step S4004: Acquire the region of interest selected in the original image.
具体地,感兴趣区域为一个局限的并具有病原微生物的病变组织。例如,肺的某部分被结核菌破坏,那么被破坏的这一部分就被称为感兴趣区域。获取感兴趣区域的方式可以为,将原始图像输入到基于图像训练集训练得到的神经网络中,进而通过大数据分析得到感兴趣区域。通过学习特征或变量基于机器学习训练神经网络,将输入数据输入训练完成的神经网络中,通过特征或变量的提取匹配得到输出数据。更具体地,将神经网络训练成检测原始图像中的感兴趣区域,其中,感兴趣区域通过感兴趣区域的坐标进行表达。用于训练的图像可以为二维图像也可以为三维图像。首先建立存储大量用于训练神经网络的图像的训练集,训练图像可以为任意医学成像设备得到的二维图像或三维图像。通过对图像训练集训练得到神经网络,通过向神经网络输入原始图像确定感兴趣区域坐标进一步的确定感兴趣区域。获取感兴趣区域的方式也可以为,医师通过观察原始图像,确定原始图像中的感兴趣区域,接收医师输入,根据医师输入在原始图像中确定感兴趣区域。可选的,确定的感兴趣区域可以通过勾留区域轮廓高亮显示,或者通过边框截取的区域进行显示,边框在本领域中一般称为Bounding Box,还可以标签形式标记,或者,还可以使用文件标识符的形式等标记显示。Specifically, the region of interest is a limited diseased tissue with pathogenic microorganisms. For example, a part of the lung is destroyed by tuberculosis bacteria, then the destroyed part is called the region of interest. The way to obtain the region of interest may be to input the original image into the neural network trained based on the image training set, and then obtain the region of interest through big data analysis. The neural network is trained based on machine learning by learning features or variables, and the input data is input into the trained neural network, and the output data is obtained by extracting and matching the features or variables. More specifically, the neural network is trained to detect the region of interest in the original image, where the region of interest is expressed by the coordinates of the region of interest. The image used for training may be a two-dimensional image or a three-dimensional image. First, build a training set that stores a large number of images for training neural networks. The training image can be a two-dimensional image or a three-dimensional image obtained by any medical imaging device. The neural network is obtained by training the image training set, and the coordinates of the region of interest are determined by inputting the original image to the neural network to further determine the region of interest. The manner of acquiring the region of interest may also be that the physician determines the region of interest in the original image by observing the original image, receives the physician input, and determines the region of interest in the original image based on the physician input. Optionally, the determined area of interest can be highlighted by highlighting the outline of the area, or displayed by the area intercepted by the border. The border is generally called Bounding Box in the art, and can also be marked in the form of a label, or a file can also be used. Marks such as identifiers are displayed.
步骤S4006,以感兴趣区域为基准,选取预设范围内的图像作为目标感兴趣区域图像。In step S4006, the image in the preset range is selected as the target area of interest image based on the area of interest.
具体地,对于原始图像,有一部分图像与确定病灶无关。也就是需要提取感兴趣区域周围特定的区域作为目标感兴趣区域进行分析。更具体的,在确定感兴趣区域之后,以感兴趣区域为基准,也即以感兴趣区域为中心区域,选取预设范围内的图像作为目标感兴趣区域图像。其中,被选取的目标感兴趣区域图像,既包括目标感兴趣区域图像,又包括足够的相关背景图像以及目标感兴趣区域医学信息,例如病灶尺寸、位置等,以帮助医师做 最后的病灶确认。Specifically, for the original image, a part of the image has nothing to do with determining the lesion. That is, a specific area around the area of interest needs to be extracted as a target area of interest for analysis. More specifically, after the region of interest is determined, the region of interest is used as a reference, that is, the region of interest is used as the central region, and an image within a preset range is selected as the target region of interest image. Among them, the selected target region of interest image includes not only the target region of interest image, but also enough relevant background images and medical information of the target region of interest, such as the size and location of the lesion, to help the doctor make the final lesion confirmation.
步骤S4008,在目标感兴趣区域图像中按照预设获取方式,获取多个平面图像。Step S4008: Acquire a plurality of planar images in the target region of interest image according to a preset acquisition method.
具体地,平面图像可以为,在目标感兴趣区域图像中沿预设方向依次截取多个与预设方向垂直的切面图像作为平面图像。其中,平面图像可以是在目标感兴趣区域图像的横断面上截取的图像;平面图像也可以是在目标感兴趣区域图像矢状面上截取的图像;平面图像也可以是在目标感兴趣区域图像的冠状面上截取的图像;平面图像还可以是在目标感兴趣区域图像任意一个方向的一端至另一端上截取的图像。将截取到的多个图像作为平面图像。平面图像还可以为,通过在目标感兴趣区域图像中建立直角坐标系,首先在目标感兴趣区域图像的初始位置对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,然后将目标感兴趣区域图像按照预设的方向旋转,每旋转预设角度,则分别对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,直到目标感兴趣区域图像旋转至初始位置,得到多个平面图像。其中,所述直角坐标系可以根据CT扫描过程中的床位位置,将直接坐标系以从左往右为x轴,从上往下为y轴,从脚到头为z轴建立。所述直角坐标系还可以根据目标感兴趣区域的医学信息建立,比如空间形态,例如肋骨CT图像中,肋骨中轴线的平面为xy轴平面,所属中轴线平面的法线向量为z轴方向。Specifically, the plane image may be that, in the target region of interest image, a plurality of slice images perpendicular to the preset direction are sequentially intercepted along the preset direction as the plane image. The plane image may be an image captured on the cross-section of the target region of interest image; the plane image may also be an image captured on the sagittal plane of the target region of interest image; the plane image may also be an image on the target region of interest An image captured on the coronal plane of the image; a planar image can also be an image captured from one end to the other end of the target region of interest image in either direction. The captured multiple images are used as plane images. The planar image may also be: by establishing a rectangular coordinate system in the target area of interest image, firstly, the maximum density projection of the target area of interest image in the Z-axis direction is performed at the initial position of the target area of interest image, and the maximum density projection image is used as Plane image, and then rotate the target area of interest image in a preset direction, each time the preset angle is rotated, the maximum density projection of the target area of interest image in the Z-axis direction is performed, and the maximum density projection image is used as a plane image until The target region of interest image is rotated to the initial position to obtain multiple planar images. Wherein, the rectangular coordinate system can be established according to the position of the bed during the CT scanning, with the direct coordinate system from left to right as the x axis, from top to bottom as the y axis, and from foot to head as the z axis. The rectangular coordinate system can also be established based on the medical information of the target region of interest, such as spatial morphology. For example, in the CT image of the rib, the plane of the central axis of the rib is the xy axis plane, and the normal vector of the central axis plane belongs to the z-axis direction.
步骤S4010,将多个平面图像按照预设顺序生成动态图像。In step S4010, a plurality of planar images are generated in a predetermined order to generate a dynamic image.
具体地,将多个平面图像按照获取顺序或与获取顺序相反的顺序生成动态图像。其中当多个平面图像为通过在目标感兴趣区域图像的任意一个方向的一端至另一端上截取的图像时,则按照截取的顺序或截取顺序的相反的顺序生成动态图像。所述预设顺序也可以是基于一定图层厚度截取部分平面图像,根据获取顺获取顺序相反的顺序生成动态图像。当多个平面图像是通过在目标感兴趣区域图像中建立直角坐标系,再通过在预设方向旋转目标感兴趣区域图像,每旋转预设角度,分别对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,直到目标感兴趣区域图像旋转至初始位置时,则按照获取平面图像的顺序或获取平面图像的顺序相反的顺序生成动态图像。生成动态图像可以为,将获取到的多个平面图像输入MPEG4视频压缩格式的视频编码器得到的视频;生成动态图像可以为,将获取到的多个平面图像输入H.264视频压缩格式的视频编码器得到的视频;生成动态图像还可以为,将获取到的多个平面图像压缩为GIF图像互换格式文件。Specifically, a plurality of planar images are generated in the order of acquisition or the order opposite to the order of acquisition. When a plurality of planar images are images that are intercepted from one end to the other end of the target region of interest image, dynamic images are generated in the order of interception or the reverse order of the interception order. The preset order may also be to intercept a part of the planar image based on a certain layer thickness and generate a dynamic image according to the order in which the acquisition order is reverse to the acquisition order. When multiple planar images are created by establishing a rectangular coordinate system in the target area of interest image, and then by rotating the target area of interest image in the preset direction, each time the preset angle is rotated, the target area of interest image is performed in the Z axis direction The maximum density projection uses the maximum density projection image as a plane image until the target region of interest image is rotated to the initial position, and then the dynamic image is generated in the order of acquiring the plane image or in the reverse order of acquiring the plane image. The generated dynamic image can be the video obtained by inputting the obtained multiple flat images into the video encoder of the MPEG4 video compression format; the generated dynamic image can be the video obtained by inputting the obtained multiple flat images into the H.264 video compression format The video obtained by the encoder; generating a dynamic image can also be, compressing multiple acquired flat images into a GIF image interchange format file.
执行步骤S4012:根据预设位置显示所述动态图像。Step S4012 is executed: the moving image is displayed according to a preset position.
例如,以一种骨骼CT图像的显示界面为例。在一个是实施例中,所述显示界面布局有多个显示窗口(本领域中通常解释为cell),多个cell中分别显示感兴趣区域为肋骨的曲面重建图像、以及对应的多平面重建图像(例如横断面图像),通过前述步骤获取的肋骨动态图像。所述肋骨动态图像也可以在浮动窗口显示。For example, take a display interface of a bone CT image as an example. In one embodiment, the display interface layout has a plurality of display windows (usually interpreted as cells in the art), and a plurality of cells respectively display a curved surface reconstruction image in which the region of interest is a rib and a corresponding multi-plane reconstruction image (For example, a cross-sectional image), a dynamic image of the rib obtained through the previous steps. The rib dynamic image can also be displayed in a floating window.
此外,还可以根据医师观察肋骨动态图像过程中,进行阅片区域的调整时,在肋骨的曲面重建图像的显示窗口重复步骤S4002-S4012,在肋骨动态图像显示窗口联动的切换显示调整后的动态图像,以满足医生阅片的操作习惯,提高诊断效率和准确性。In addition, it is also possible to repeat steps S4002-S4012 in the display window of the reconstructed image of the curved surface of the rib during the adjustment of the reading area during the observation of the rib dynamic image by the physician, and the adjusted dynamic state is displayed in conjunction with the switching of the rib dynamic image display window Images to meet the doctor's reading habits, improve the diagnosis efficiency and accuracy.
所述显示可以响应医师的输入选择动态图像的播放速度,例如加速播放或者慢放、正向或者逆向回放,无限循环播放或者暂停播放。The display can select the playback speed of the dynamic image in response to the input of the physician, such as accelerated playback or slow playback, forward or reverse playback, infinite loop playback or pause playback.
上述医学图像显示方法,通过获取被检测对象原始图像,在原始图像中选取感兴趣区 域,再以感兴趣区域为基准,选取预设范围内的图像作为目标感兴趣区域图像,在目标感兴趣区域图像中以预设方式,获取多个平面图像,将多个平面图像按照预设顺序生成动态图像。医师通过观察动态图像确定病灶位置,能够节省医师的工作量,并且能够节省医师用于确定病灶的时间。In the above medical image display method, by acquiring the original image of the detected object, the region of interest is selected from the original image, and then the image within the preset range is selected as the target region of interest image based on the region of interest. In the image, multiple plane images are acquired in a preset manner, and the multiple plane images are generated in a predetermined order to generate a dynamic image. The physician determines the location of the lesion by observing the dynamic image, which can save the workload of the physician and save the doctor's time for determining the lesion.
在一个实施例中,如图32所示,提供了另一种医学图像显示方法,包括以下步骤:In one embodiment, as shown in FIG. 32, another medical image display method is provided, including the following steps:
步骤S4102,获取被检测对象的原始图像。Step S4102: Acquire the original image of the detected object.
步骤S4104,获取在原始图像中选取的感兴趣区域。Step S4104, acquiring the region of interest selected in the original image.
具体的,以肋骨图像中检测骨折区域作为感兴趣区域为例。获取医学图像;从所述医学图像中分割出目标图像,所述目标图像为待检测骨骼区域对应的图像;利用骨折检测模型在所述目标图像中检测骨折区域。可选的,上述骨折检测模型可以基于卷积神经网络算法进行学习和训练构建。Specifically, taking the detection of the fracture area in the rib image as an area of interest as an example. Obtaining a medical image; segmenting a target image from the medical image, the target image being an image corresponding to the bone area to be detected; using a fracture detection model to detect the fracture area in the target image. Optionally, the above fracture detection model can be learned and trained based on the convolutional neural network algorithm.
在此具体实施例中使用了深度卷积神经网络模型包括5层卷积神经网络模型,该5层卷积神经网络模型包括:卷积层、池化层、卷积层、池化层和全联接层。在此实施例中,对于二维切片图像数据集中的任一个,深度卷积神经网络处理的过程为:In this specific embodiment, a deep convolutional neural network model including a 5-layer convolutional neural network model is used. The 5-layer convolutional neural network model includes: a convolutional layer, a pooling layer, a convolutional layer, a pooling layer, and a full Connection layer. In this embodiment, for any two-dimensional slice image data set, the process of deep convolutional neural network processing is:
1)二维切片图像输入卷积层,该二维切片图像大小为64×64,使用感知阶段预训练得到36个5×5大小的卷积核对输入图像进行卷积,得到36个64×64大小的特征映射图;1) The two-dimensional slice image is input to the convolutional layer, the size of the two-dimensional slice image is 64 × 64, and 36 5 × 5 size convolution kernels are obtained by pre-training in the perception stage to convolve the input image to obtain 36 64 × 64 Feature map of size;
2)池化层,使用3×3大小的窗口对卷积层中的36张特征图池化,得到36个32×32的特征映射图;2) Pooling layer, using a 3 × 3 size window to pool 36 feature maps in the convolutional layer to obtain 36 32 × 32 feature maps;
3)卷积层,对池化层的36张图像采样得到一个或多个5×5大小的图像块集合,然后使用稀疏自编码网络对这个集合训练得到64个5×5的权值,使用该权值作为卷积核,与池化层的36张图像卷积得到64张24×24大小的特征映射图。本申请中采取的措施是将36张图像每三张作一次卷积,循环两次,第一次选相邻的3张,第二次选相隔2个单位的3张,最终得到特征映射图(36-3+1)+(36-3×2)=64张。3) Convolutional layer, sampling 36 images of the pooling layer to obtain one or more sets of 5 × 5 image blocks, and then training this set using a sparse self-encoding network to obtain 64 5 × 5 weights, use This weight is used as a convolution kernel and convolution with 36 images of the pooling layer to obtain 64 feature maps of 24 × 24 size. The measure taken in this application is to convolve 36 images every three, cycle twice, the first time select 3 adjacent, the second time select 3 separated by 2 units, and finally get the feature map (36-3 + 1) + (36-3 × 2) = 64 sheets.
4)池化层,使用3×3大小的窗口池化得到64张8×8的特征映射图。4) Pooling layer, using 3 × 3 size window pooling to obtain 64 8 × 8 feature maps.
5)全联接层。本申请中使用的训练数据集合共有1300张图像,经过S4以后,整个网络的特征映射图为1300×64×8×8,表示对于每一张64×64的大小的输入图像来说,可以得到64张8×8大小的映射图。将1300×64×8×8的数据降维得到(1300×64)×(8×8)=83200×64,然后通过输出为64的稀疏自编码网格训练出最终的字典。5) Fully connected layer. The training data set used in this application has a total of 1300 images. After S4, the feature map of the entire network is 1300 × 64 × 8 × 8, indicating that for each input image of 64 × 64 size, it can be obtained 64 maps of 8 × 8 size. The dimension reduction of 1300 × 64 × 8 × 8 data yields (1300 × 64) × (8 × 8) = 83200 × 64, and then the final dictionary is trained by the sparse self-encoding grid output as 64.
本申请实施例提供的图像处理方法,通过对原始肋骨扫描图像经过处理得训练样本选择以及来源:The image processing method provided by the embodiment of the present application selects and sources the training samples by processing the original rib scan image:
训练样例数来自于26个的病人(受试者),从每个病人的骨折三维连通域中提取出正样本图像,从非骨折连通区域提取出负样本图像,正负样本图像共10万张左右。可通过数据扩增至100万,数据扩增方式是将二维切片图像进行旋转和平移。正负样本图像的大小为32*32(32-64都可以)个像素的二维图像,所有切片图像的分辨率统一为0.25mm(0.2-0.6之间都可以)。采用图像原始的CT值作为输入,进行训练。The number of training samples comes from 26 patients (subjects). Positive sample images are extracted from each patient's three-dimensional fracture connected domain, and negative sample images are extracted from non-fracture connected regions. The total number of positive and negative sample images is 100,000. About Zhang. The data can be amplified to 1 million. The data amplification method is to rotate and translate the two-dimensional slice image. The size of the positive and negative sample images is a 32 * 32 (32-64 can be) two-dimensional image of pixels, and the resolution of all slice images is uniformly 0.25mm (between 0.2-0.6). The original CT value of the image is used as input for training.
神经网络设置:Neural network settings:
神经网络采用卷积神经网络(CNN),优化算法采用随机梯度下降法(SGD)更新权重。该卷积神经网络共12层,其中有三个卷积层,三个非线性映射层,三个池化层,两个全连接层,一个Loss层。The neural network uses a convolutional neural network (CNN), and the optimization algorithm uses a stochastic gradient descent method (SGD) to update the weights. The convolutional neural network has a total of 12 layers, including three convolutional layers, three nonlinear mapping layers, three pooling layers, two fully connected layers, and a Loss layer.
第一层为卷积层,作用是从输入图像中抽取特征,设置64个卷积核,每个卷积核大 小为5*5,将输入图像与卷积核进行卷积运算后,得到第一层64个特征图,大小为32*32;The first layer is a convolutional layer. Its function is to extract features from the input image, set 64 convolution kernels, each convolution kernel size is 5 * 5, and perform convolution operation on the input image and the convolution kernel to obtain the first One layer of 64 feature maps, the size is 32 * 32;
第二层是非线性映射层,作用是给神经网络中加入非线性,并且加快收敛速度。使用修正线性单元函数(Relu)对第一层特征图进行非线性映射,得到第二层特征图;The second layer is a non-linear mapping layer. Its function is to add non-linearity to the neural network and accelerate the convergence rate. Use the modified linear unit function (Relu) to perform non-linear mapping on the first-layer feature map to obtain the second-layer feature map;
第三层为池化层,作用是降低图像大小以及降低噪声。池化核的大小为3*3,对第二层特征图进行池化,池化的方法是取3*3像素框中的最大值,得到第三层特征图,大小为16*16个像素,个数为64;The third layer is the pooling layer, which is used to reduce the image size and reduce noise. The size of the pooling kernel is 3 * 3, and the second layer feature map is pooled. The method of pooling is to take the maximum value in the 3 * 3 pixel box to obtain the third layer feature map with a size of 16 * 16 pixels , The number is 64;
在第四层设置64个卷积核,每个卷积核大小为5*5,得到第四层64个特征图,大小为16*16;Set 64 convolution kernels on the fourth layer, each convolution kernel size is 5 * 5, get 64 feature maps of the fourth layer, the size is 16 * 16;
在第五层使用修正线性单元函数对第四层特征图进行非线性映射,得到第五层特征图;Use the modified linear unit function on the fifth layer to perform nonlinear mapping on the fourth layer feature map to obtain the fifth layer feature map;
第六层为池化层,每个池化核的大小为3*3,对第五层特征图进行池化,得到第六层特征图,大小为8*8像素,个数为64个;The sixth layer is the pooling layer, the size of each pooling core is 3 * 3, and the fifth layer feature map is pooled to obtain the sixth layer feature map, the size is 8 * 8 pixels, and the number is 64;
在第七层设置128个卷积核,每个卷积核大小为5*5,得到第七层特征图;Set 128 convolution kernels on the seventh layer, each convolution kernel size is 5 * 5, get the seventh layer feature map;
在第八层使用修正线性单元函数对第七层特征图进行非线性映射,得到第八层特征图;Use the modified linear unit function at the eighth layer to perform a non-linear mapping on the seventh layer feature map to obtain the eighth layer feature map;
在第九层设置,每个池化核的大小为3*3,对第八层特征图进行池化,得到第九层特征图,大小为4*4,个数为128;Set at the ninth layer, the size of each pooling core is 3 * 3, and pool the eighth layer feature map to obtain the ninth layer feature map, the size is 4 * 4, and the number is 128;
在第十层设置128个卷积核,每个卷积核的大小为4*4,对第九层特征图进行全连接处理,得到第十层特征图,大小为1*1;Set 128 convolution kernels on the tenth layer, the size of each convolution kernel is 4 * 4, and perform full connection processing on the ninth layer feature map to obtain the tenth layer feature map, the size is 1 * 1;
在第十一层设置2个卷积核,每个卷积核的大小为1*1,对第十层特征图进行全连接处理,得到第十一层特征图;Set two convolution kernels on the eleventh layer, the size of each convolution kernel is 1 * 1, and perform full connection processing on the tenth layer feature map to obtain the eleventh layer feature map;
第十二层为softmax loss层,计算预测值与实际值之间的差异,将梯度通过反向传播算法(BP算法)进行回传,更新每一层的权重(weight)和偏置(bias)。The twelfth layer is the softmax loss layer, which calculates the difference between the predicted value and the actual value, passes the gradient back through the back propagation algorithm (BP algorithm), and updates the weight and bias of each layer .
训练过程中,训练集和验证集的Loss值持续降低,当验证集的Loss值不再降低时停止训练,防止过拟合,取出该时刻的神经网络模型作为切片的分类器。测试过程中将第十二层更改为softmax层,将第十一层特征图输入至本层进行分类预测,可得到输入图像是骨折和非骨折的概率,从而得出分类结果。During the training process, the Loss value of the training set and the verification set continues to decrease. When the Loss value of the verification set no longer decreases, the training is stopped to prevent overfitting. The neural network model at this moment is taken as a slice classifier. During the test, the twelfth layer was changed to the softmax layer, and the eleventh layer feature map was input to this layer for classification prediction. The probability that the input image was fractured and non-fractured was obtained, and the classification result was obtained.
在一些实施例中,神经网络模型的初始化可以包括基于如下方式构建神经网络模型:卷积神经网络(CNN)、生成对抗网络(GAN)、或类似物,或其组合,如图32及其描述。卷积神经网络(CNN)的示例可包括SRCNN(Super-Resolution Convolutional Neural Network,超分辨率卷积神经网络)、DnCNN(Denoising Convolutional Neural Network,去噪卷积神经网络)、U-net、V-net和FCN(Fully Convolutional Network,全卷积神经网络)。在一些实施例中,神经网络模型可以包括多个层,例如输入层、多个隐藏层和输出层。多个隐藏层可以包括一个或多个卷积层、一个或多个批量归一化层、一个或多个激活层、完全连接层、成本函数层等。多个层中的每一个可以包括多个节点。In some embodiments, the initialization of the neural network model may include building a neural network model based on: a convolutional neural network (CNN), a generative adversarial network (GAN), or the like, or a combination thereof, as shown in FIG. 32 and its description . Examples of convolutional neural networks (CNN) may include SRCNN (Super-Resolution Convolutional Neural Network, Super Resolution Convolutional Neural Network), DnCNN (Denoising Convolutional Neural Network, Denoising Convolutional Neural Network), U-net, V- net and FCN (Fully Convolutional Network, fully convolutional neural network). In some embodiments, the neural network model may include multiple layers, such as an input layer, multiple hidden layers, and an output layer. The multiple hidden layers may include one or more convolutional layers, one or more batch normalization layers, one or more activation layers, fully connected layers, cost function layers, and so on. Each of the multiple layers may include multiple nodes.
步骤S4106,以感兴趣区域为基准,选取预设范围内的图像作为目标感兴趣区域图像。Step S4106, taking the region of interest as a reference, and selecting an image within a preset range as the target region of interest image.
步骤S4108,对目标感兴趣区域建立三维直角坐标系。Step S4108: Establish a three-dimensional rectangular coordinate system for the target region of interest.
具体地,建立直角坐标系的方法可以为,首先以目标感兴趣区域图像中的目标感兴趣区域为中心,选择一个旋转轴作为Y轴,然后在目标感兴趣区域图像中选取任意一个与Y轴垂直的方向作为X轴,再将同时垂直于X轴和Y轴的方向作为Z轴。建立直角坐标系 可以为,首先对目标感兴趣区域图像中目标感兴趣区域的所有坐标点的位置计算协方差矩阵,再计算协方差矩阵的特征值和特征矢量,将最大特征值所对应的特征矢量作为目标感兴趣区域的中轴线方向,将中轴线方向作为Y轴,然后在目标感兴趣区域图像中选取任意一个与Y轴垂直的方向作为X轴,再将同时垂直于X轴和Y轴的方向作为Z轴。Specifically, the method for establishing the rectangular coordinate system may be: first, center the target interest area in the target interest area image, select a rotation axis as the Y axis, and then select any one of the target interest area image and the Y axis The vertical direction is taken as the X axis, and the direction perpendicular to both the X axis and the Y axis is taken as the Z axis. The establishment of a rectangular coordinate system can be as follows: first calculate the covariance matrix for the positions of all coordinate points of the target interest area in the target area of interest image, then calculate the eigenvalues and eigenvectors of the covariance matrix, and compare the features corresponding to the largest The vector is taken as the central axis direction of the target interest area, and the central axis direction is taken as the Y axis, and then any direction perpendicular to the Y axis is selected as the X axis in the target interest area image, and then the X axis and the Y axis are both perpendicular The direction is used as the Z axis.
步骤S4110,在初始位置对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。Step S4110, the maximum density projection is performed on the target region of interest image in the Z-axis direction at the initial position, and the maximum density projection image is used as the plane image.
具体地,以未旋转的位置作为初始位置,在初始位置对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。其中,最大密度投影为通过计算沿着目标部位每条射线上所遇到的最大密度像素而产生的。即当光线通过目标感兴趣区域图像时,目标感兴趣区域图像中密度最大的像素被保留,并被投影到一个二维平面上,从而形成目标感兴趣区域图像的最大密度投影图像。Specifically, taking the unrotated position as the initial position, the maximum density projection is performed on the target region of interest image in the Z-axis direction at the initial position, and the maximum density projection image is used as the planar image. Among them, the maximum density projection is generated by calculating the maximum density pixels encountered on each ray along the target site. That is, when light passes through the target region of interest image, the pixel with the highest density in the target region of interest image is retained and projected onto a two-dimensional plane, thereby forming the maximum density projection image of the target region of interest image.
步骤S4112,按照预设方向旋转目标感兴趣区域图像,每旋转预设角度,则对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,直到目标感兴趣区域图像旋转至初始位置。Step S4112, rotate the target region of interest image according to the preset direction, and every time the preset angle is rotated, the maximum density projection is performed on the target region of interest image in the Z-axis direction, and the maximum density projection image is used as a planar image until the target region of interest The image is rotated to the initial position.
具体地,获取平面图像可以为,将目标感兴趣区域图像绕Y轴在预设方向旋转预设角度后,对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像;再将目标感兴趣区域图像绕X轴在预设方向旋转预设角度后,对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像;交替得到绕Y轴旋转预设角度后的平面图像和绕X轴旋转预设角度后的平面图像,直到目标感兴趣区域图像旋转至初始位置。获取平面图像还可以为,将目标感兴趣区域图像绕X轴在预设方向旋转预设角度后,对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像;再将目标感兴趣区域图像绕Y轴在预设方向旋转预设角度后,对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像;交替得到绕X轴旋转预设角度后的平面图像和绕Y轴旋转预设角度后的平面图像,直到目标感兴趣区域图像旋转至初始位置。其中,绕Y轴旋转的预设角度和绕X轴旋转的预设角度可以相同也可以不同。优选的,绕Y轴旋转的预设角度和绕X轴旋转的预设角度相同。绕Y轴的旋转方向与绕X轴的旋转方向相同,可以为顺时针方向旋转,也可以为逆时针方向旋转。Specifically, acquiring the plane image may be: after rotating the target area of interest image around the Y axis by a preset angle in a preset direction, performing maximum density projection on the target area of interest image in the Z axis direction, and using the maximum density projection image as a plane Image; after rotating the target area of interest image around the X axis in a preset direction by a preset angle, the target area of interest image is projected at the maximum density in the Z axis direction, using the maximum density projection image as a planar image; alternately get around Y The plane image after the axis is rotated by a preset angle and the plane image after the preset angle is rotated around the X axis until the target region of interest image is rotated to the initial position. Acquiring the plane image may also be: after rotating the target area of interest image around the X axis in a preset direction by a preset angle, performing the maximum density projection on the target area of interest image in the Z axis direction, and using the maximum density projection image as the plane image; After rotating the target area of interest image around the Y axis in a preset direction by a preset angle, the target area of interest image is projected at the maximum density in the Z axis direction, and the maximum density projection image is used as a planar image; the rotation around the X axis is alternately obtained The plane image after the preset angle and the plane image after the preset angle is rotated around the Y axis until the target region of interest image rotates to the initial position. The preset angle rotating around the Y axis and the preset angle rotating around the X axis may be the same or different. Preferably, the preset angle of rotation around the Y axis is the same as the preset angle of rotation around the X axis. The direction of rotation about the Y axis is the same as the direction of rotation about the X axis, and may be clockwise or counterclockwise.
步骤S4114,将多个平面图像按照预设顺序生成动态图像。In step S4114, a plurality of planar images are generated in a predetermined order to generate dynamic images.
步骤S4116,根据预设位置显示所述动态图像。Step S4116, displaying the dynamic image according to the preset position.
上述一种医学图像显示方法,通过获取原始图像,在原始图像中选取感兴趣区域,以病灶区域为基准,选取预设范围内的图像作为目标感兴趣区域图像。再对目标感兴趣区域图像建立直角坐标系,首先在初始位置,对目标感兴趣区域图像在Z轴方向进行最大密度投影,得到最大密度投影图像作为平面图像。再将目标感兴趣区域图像按照预设方向旋转,每旋转预设角度,则对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,直到目标感兴趣区域图像旋转至初始位置。将得到的多个平面图像按照预设顺序生成动态图像,能够准确的获取病灶区域,并精确的将病灶区域图像转换为平面图像,精确显示病灶的平面图像生成的动态图像,能够使医师更加清晰的对病灶区域进行观察,能节省医师的工作量,进一步的节省医师用于确定病灶的时间。In the above medical image display method, by acquiring the original image, the region of interest is selected from the original image, and the image within the preset range is selected as the target region of interest image based on the focus region. Then, a rectangular coordinate system is established for the target area of interest image. First, at the initial position, the target area of interest image is subjected to maximum density projection in the Z-axis direction, and the maximum density projection image is obtained as a planar image. Then rotate the target region of interest image according to the preset direction, each time the preset angle is rotated, the maximum density projection is performed on the target region of interest image in the Z-axis direction, and the maximum density projection image is used as the plane image until the target region of interest image Rotate to the initial position. Generate a dynamic image from the obtained multiple planar images in a preset order, which can accurately obtain the lesion area, and accurately convert the focal area image into a planar image, and accurately display the dynamic image generated by the planar image of the lesion, which can make the doctor more clear The observation of the lesion area can save the workload of the doctor and further save the time for the doctor to determine the lesion.
在一个实施例中,如图33所示,提供了一种获取平面图像方法,包括以下步骤:In one embodiment, as shown in FIG. 33, a method for acquiring a planar image is provided, including the following steps:
步骤S4202,将目标感兴趣区域图像绕Y轴在预设方向旋转预设角度后,对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。Step S4202: After rotating the target region of interest image by a preset angle around the Y axis in a preset direction, perform maximum density projection on the target region of interest image in the Z axis direction, and use the maximum density projection image as a planar image.
具体地,根据对目标感兴趣区域图像建立的三维直角坐标系,首先将目标感兴趣区域图像绕Y轴在预设方向旋转预设角度,其中,预设方向可以为顺时针方向也可以为逆时针方向。为了得到更多的平面图像,以便更清晰的对病灶区域进行观察,预设角度为小角度。旋转预设角度后,对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。Specifically, according to the three-dimensional rectangular coordinate system established for the target region of interest image, the target region of interest image is first rotated around the Y axis in a preset direction by a preset angle, where the preset direction may be clockwise or reverse Hour hand direction. In order to obtain more planar images, so as to observe the lesion area more clearly, the preset angle is a small angle. After rotating the preset angle, the maximum density projection is performed on the target region of interest image in the Z-axis direction, and the maximum density projection image is used as the planar image.
步骤S4204,将目标感兴趣区域图像绕X轴在预设方向旋转预设角度后,对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。Step S4204: After rotating the target area of interest image by a preset angle around the X axis in a preset direction, perform maximum density projection on the target area of interest image in the Z axis direction, and use the maximum density projection image as a planar image.
具体地,绕Y轴在预设方向旋转预设角度后,再将目标感兴趣区域图像绕X轴在预设方向旋转预设角度,其中,预设方向可以为顺时针方向也可以为逆时针方向。绕Y轴的旋转方向与绕X轴的旋转方向相同,当绕Y轴为顺时针旋转时,绕X轴也为顺时针旋转;当绕Y轴为逆时针旋转时,绕X轴也为逆时针旋转。为了得到更多的平面图像,以便更清晰的对目标感兴趣区域进行观察,预设角度为小角度。绕Y轴旋转的预设角度与绕X轴旋转的预设角度可以相同也可以不同。优选的,绕Y轴旋转的预设角度与绕X轴旋转的预设角度相同。绕X轴旋转预设角度后,对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。Specifically, after rotating the preset angle around the Y axis in the preset direction, the target region of interest image is then rotated around the X axis in the preset direction by a preset angle, where the preset direction may be clockwise or counterclockwise direction. The rotation direction around the Y axis is the same as the rotation direction around the X axis. When the rotation around the Y axis is clockwise, the rotation around the X axis is also clockwise; when the rotation around the Y axis is counterclockwise, the rotation around the X axis is also reverse The hour hand rotates. In order to obtain more planar images, so as to observe the target area of interest more clearly, the preset angle is a small angle. The preset angle of rotation about the Y axis and the preset angle of rotation about the X axis may be the same or different. Preferably, the preset angle of rotation around the Y axis is the same as the preset angle of rotation around the X axis. After rotating a preset angle around the X axis, the maximum density projection is performed on the target region of interest image in the Z axis direction, and the maximum density projection image is used as a planar image.
步骤S4206,交替得到绕Y轴旋转预设角度后的平面图像和绕X轴旋转预设角度后的平面图像,直到目标感兴趣区域图像旋转至初始位置。In step S4206, a plane image rotated by a preset angle about the Y axis and a plane image rotated by a preset angle about the X axis are alternately obtained until the target region of interest image is rotated to the initial position.
具体地,以先绕Y轴旋转预设角度得到平面图像,再绕X轴旋转预设角度得到平面图像的顺序,交替获取绕Y轴旋转预设角度后的平面图像和绕X轴旋转预设角度后的平面图像,直到目标感兴趣区域图像旋转至初始位置。Specifically, in order of first rotating the preset angle around the Y axis to obtain the plane image, and then rotating the preset angle around the X axis to obtain the plane image, alternately obtaining the plane image after rotating the preset angle around the Y axis and rotating the preset around the X axis After the angle of the plane image, until the target region of interest image is rotated to the initial position.
上述获取平面图像方法,能够获取精确的显示病灶区域的平面图像,再将获取的平面图像用于生成动态视频,进一步的使病灶区域显示的更加完整,使医师能够准确观察病灶区域,节省医师用于确定病灶的时间。The above-mentioned method of acquiring a planar image can acquire an accurate planar image showing the lesion area, and then use the acquired planar image to generate a dynamic video, which further makes the focal area display more complete, enables the physician to accurately observe the focal area, and saves the physician To determine the time of the lesion.
如图34-图36所示,为一种肋骨骨折的动态显示,第一状态图、第二状态图以及第三状态图为当前肋骨骨折的动态显示图像中按照时间顺序截取的三种不同时刻的显示状态。其中,第二状态图的方框中,即为目标感兴趣区域,也就是肋骨骨折区域。As shown in Figure 34-36, it is a dynamic display of rib fractures. The first state diagram, the second state diagram, and the third state diagram are three different moments intercepted in chronological order in the dynamic display image of the current rib fracture 'S display status. Among them, the box in the second state diagram is the target region of interest, that is, the region of the rib fracture.
如图37-图39所示,为另一种肋骨骨折的动态显示,第一状态图、第二状态图以及第三状态图为当前肋骨骨折的动态显示图像中按照时间顺序截取的三种不同时刻的显示状态。其中,第二状态图的方框中,即为目标感兴趣区域,也就是肋骨骨折区域。As shown in FIGS. 37-39, it is another dynamic display of rib fractures. The first state diagram, the second state diagram, and the third state diagram are three different types of rib fractures captured in chronological order. The display status of the moment. Among them, the box in the second state diagram is the target region of interest, that is, the region of the rib fracture.
如图40-图42所示,为一种肺结节的动态显示,第一状态图、第二状态图以及第三状态图为当前肺结节的动态显示图像中按照时间顺序截取的三种不同时刻的显示状态。其中,第二状态图的方框中,即为目标感兴趣区域,也就是肺结节区域。As shown in Figures 40-42, it is a dynamic display of lung nodules. The first state diagram, the second state diagram, and the third state diagram are three kinds of chronological interception of the dynamic display image of the current lung nodule. Display status at different moments. Among them, the box in the second state diagram is the target region of interest, that is, the lung nodule region.
如图43-45所示,为另一种肺结节的动态显示,第一状态图、第二状态图以及第三状态图为当前肺结节的动态显示图像中按照时间顺序截取的三种不同时刻的显示状态。其中,第二状态图的方框中,即为目标感兴趣区域,也就是肺结节区域。As shown in Figures 43-45, it is another dynamic display of lung nodules. The first state diagram, the second state diagram, and the third state diagram are three kinds of chronological interception of the dynamic display image of the current lung nodule. Display status at different moments. Among them, the box in the second state diagram is the target region of interest, that is, the lung nodule region.
应该理解的是,虽然图31-图33的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图30-图32中 的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 31-33 are displayed in order according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless clearly stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least some of the steps in FIGS. 30-32 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or The execution order of the stages is not necessarily sequential, but may be executed in turn or alternately with other steps or sub-steps of the other steps or at least a part of the stages.
在一个实施例中,如图46所示,提供了一种医学图像查看设备的结构框图,包括:原始图像获取模块4100、感兴趣区域获取模块4200、图像选取模块4300、平面图像提取模块4400、动态图像生成模块4500和显示模块4600,其中:In one embodiment, as shown in FIG. 46, a structural block diagram of a medical image viewing device is provided, including: an original image acquisition module 4100, an interest area acquisition module 4200, an image selection module 4300, a planar image extraction module 4400, Dynamic image generation module 4500 and display module 4600, in which:
原始图像获取模块4100,用于获取被检测对象的原始图像。The original image acquisition module 4100 is used to acquire the original image of the detected object.
感兴趣区域获取模块4200,用于获取在原始图像中选取的感兴趣区域。The region of interest acquisition module 4200 is used to acquire the region of interest selected in the original image.
图像选取模块4300,用于以感兴趣区域为基准,选取预设范围内的图像作为目标感兴趣区域图像。The image selection module 4300 is configured to select an image within a preset range as a target area of interest image based on the area of interest.
平面图像提取模块4400,用于在目标感兴趣区域图像中按照预设获取方式,获取多个平面图像。The planar image extraction module 4400 is configured to acquire multiple planar images in the target region of interest image according to a preset acquisition method.
动态图像生成模块4500,用于将多个平面图像按照预设顺序生成动态图像。The dynamic image generation module 4500 is used to generate a plurality of planar images in a preset order.
显示模块4600,用于根据预设位置显示所述动态图像。The display module 4600 is configured to display the dynamic image according to a preset position.
原始图像获取模块4100,还用于将原始图像输入到基于图像训练集训练得到的神经网络中,得到感兴趣区域。The original image acquisition module 4100 is also used to input the original image into the neural network trained based on the image training set to obtain the region of interest.
动态图像生成模块4500,还用于将多个平面图像按照获取顺序或与获取顺序相反的顺序生成动态图像。The dynamic image generation module 4500 is also used to generate a plurality of planar images in an acquisition order or an order opposite to the acquisition order.
在一个实施例中,如图47所示,提供了一种平面图像提取模块的结构框图,其中平面图像提取模块4400包括:截取单元4410。In one embodiment, as shown in FIG. 47, a structural block diagram of a planar image extraction module is provided, wherein the planar image extraction module 4400 includes: an interception unit 4410.
截取单元4410,用于沿预设方向依次在目标感兴趣区域图像中截取多个与预设方向垂直的切面图像作为平面图像。The intercepting unit 4410 is configured to sequentially intercept a plurality of slice images perpendicular to the preset direction in the target interest region image along the preset direction as a plane image.
在一个实施例中,如图48所示,提供了另一种平面图像提取模块的结构框图,其中平面图像提取模块4400包括:坐标系建立单元4420、初始位置最大密度投影单元4430以及旋转单元4440。In one embodiment, as shown in FIG. 48, a structural block diagram of another planar image extraction module is provided, wherein the planar image extraction module 4400 includes: a coordinate system establishment unit 4420, an initial position maximum density projection unit 4430, and a rotation unit 4440 .
坐标系建立单元4420,用于对目标感兴趣区域图像建立三维直角坐标系。The coordinate system establishing unit 4420 is configured to establish a three-dimensional rectangular coordinate system for the target region of interest image.
初始位置最大密度投影单元4430,用于在初始位置对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。The initial position maximum density projection unit 4430 is configured to perform maximum density projection on the target region of interest image in the Z-axis direction at the initial position, and use the maximum density projection image as a planar image.
旋转单元4440,用于按照预设方向旋转目标感兴趣区域图像,每旋转预设角度,则对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,直到目标感兴趣区域图像旋转至初始位置。The rotation unit 4440 is used to rotate the target region of interest image according to the preset direction, and every time the preset angle is rotated, the maximum density projection is performed on the target region of interest image in the Z-axis direction, and the maximum density projection image is used as the plane image until the target The region of interest image is rotated to the initial position.
在一个实施例中,如图49所示,提供了一种旋转单元的结构框图,其中旋转单元4440包括:X轴旋转子单元4441、Y轴旋转子单元4442以及获取子单元4443。In one embodiment, as shown in FIG. 49, a structural block diagram of a rotation unit is provided, wherein the rotation unit 4440 includes: an X-axis rotation sub-unit 4441, a Y-axis rotation sub-unit 4442, and an acquisition sub-unit 4443.
X轴旋转子单元4441,用于将目标感兴趣区域图像绕Y轴在预设方向旋转预设角度后,对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。The X-axis rotation subunit 4441 is used to rotate the target region-of-interest image around the Y-axis in a preset direction by a preset angle, and then perform the maximum density projection on the target region-of-interest image in the Z-axis direction, using the maximum density projection image as a plane image.
Y轴旋转子单元4442,将目标感兴趣区域图像绕X轴在预设方向旋转预设角度后,对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。The Y-axis rotation sub-unit 4442 rotates the target region-of-interest image around the X-axis by a preset angle in a preset direction, and then performs maximum-density projection on the target-interest region image in the Z-axis direction, and uses the maximum-density projection image as a planar image.
获取子单元4443,交替得到绕Y轴旋转预设角度后的平面图像和绕X轴旋转预设角度后的平面图像,直到目标感兴趣区域图像旋转至初始位置。The obtaining subunit 4443 alternately obtains a plane image rotated by a preset angle about the Y axis and a plane image rotated by a preset angle about the X axis until the target region of interest image rotates to the initial position.
关于医学图像查看设备的具体限定可以参见上文中对于医学图像显示的限定,在此不再赘述。上述医学图像查看设备中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the medical image viewing device, please refer to the above limitation on the display of medical images, which will not be repeated here. Each module in the above medical image viewing device may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in the hardware or independent of the processor in the computer device, or may be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图50所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种医学图像显示方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided. The computer device may be a terminal, and an internal structure diagram thereof may be as shown in FIG. 50. The computer equipment includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with external terminals through a network connection. The computer program is executed by the processor to implement a medical image display method. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the computer device housing , Can also be an external keyboard, touchpad or mouse.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:In an embodiment, a computer device is provided, which includes a memory and a processor, and a computer program is stored in the memory, and the processor implements the following steps when the processor executes the computer program:
获取被检测对象的原始图像。获取在原始图像中选取的感兴趣区域。以感兴趣区域为基准,选取预设范围内的图像作为目标感兴趣区域图像。在目标感兴趣区域图像中按照预设获取方式,获取多个平面图像。将多个平面图像按照预设顺序生成动态图像。根据预设位置显示所述动态图像。Acquire the original image of the detected object. Get the region of interest selected in the original image. Based on the region of interest, the image within the preset range is selected as the target region of interest image. Acquire multiple planar images in the target area of interest image according to a preset acquisition method. Generate dynamic images from multiple planar images in a preset order. The dynamic image is displayed according to a preset position.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor also implements the following steps when executing the computer program:
获取被检测对象的原始图像。获取在原始图像中选取的感兴趣区域。以感兴趣区域为基准,选取预设范围内的图像作为目标感兴趣区域图像。对目标感兴趣区域图像建立三维直角坐标系。在初始位置对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。按照预设方向旋转目标感兴趣区域图像,每旋转预设角度,则对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,直到目标感兴趣区域图像旋转至初始位置。将多个平面图像按照预设顺序生成动态图像。根据预设位置显示所述动态图像。Acquire the original image of the detected object. Get the region of interest selected in the original image. Based on the region of interest, the image within the preset range is selected as the target region of interest image. Establish a three-dimensional rectangular coordinate system for the target region of interest image. At the initial position, the maximum density projection is performed on the target region of interest image in the Z-axis direction, and the maximum density projection image is used as a planar image. Rotate the target area of interest image according to the preset direction, and each time the preset angle is rotated, the maximum density projection of the target area of interest image in the Z-axis direction is performed, using the maximum density projection image as a planar image until the target area of interest image is rotated to initial position. Generate dynamic images from multiple planar images in a preset order. The dynamic image is displayed according to a preset position.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor also implements the following steps when executing the computer program:
将感兴趣区域图像绕Y轴在预设方向旋转预设角度后,对感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。将感兴趣区域图像绕X轴在预设方向旋转预设角度后,对感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。交替得到绕Y轴旋转预设角度后的平面图像和绕X轴旋转预设角度后的平面图像,直到感兴趣区域图像旋转至初始位置。After the image of the region of interest is rotated around the Y axis in a predetermined direction by a predetermined angle, the image of the region of interest is projected at the maximum density in the direction of the Z axis, and the projected image of the maximum density is used as a planar image. After the image of the region of interest is rotated around the X axis in a predetermined direction by a predetermined angle, the image of the region of interest is projected at the maximum density in the direction of the Z axis, and the projected image of the maximum density is used as a planar image. The plane image after the preset angle is rotated around the Y axis and the plane image after the preset angle is rotated around the X axis are alternately obtained until the image of the region of interest rotates to the initial position.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided on which a computer program is stored, and when the computer program is executed by a processor, the following steps are realized:
获取被检测对象的原始图像。获取在原始图像中选取的感兴趣区域。以感兴趣区域为基准,选取预设范围内的图像作为目标感兴趣区域图像。在目标感兴趣区域图像中按照预设获取方式,获取多个平面图像。将多个平面图像按照预设顺序生成动态图像。根据预设位置显示所述动态图像。Acquire the original image of the detected object. Get the region of interest selected in the original image. Based on the region of interest, the image within the preset range is selected as the target region of interest image. Acquire multiple planar images in the target area of interest image according to a preset acquisition method. Generate dynamic images from multiple planar images in a preset order. The dynamic image is displayed according to a preset position.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program also implements the following steps when executed by the processor:
获取被检测对象的原始图像。获取在原始图像中选取的感兴趣区域。以感兴趣区域为基准,选取预设范围内的图像作为目标感兴趣区域图像。对目标感兴趣区域图像建立三维直角坐标系。在初始位置对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。按照预设方向旋转目标感兴趣区域图像,每旋转预设角度,则对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像,直到目标感兴趣区域图像旋转至初始位置。将多个平面图像按照预设顺序生成动态图像。根据预设位置显示所述动态图像。Acquire the original image of the detected object. Get the region of interest selected in the original image. Based on the region of interest, the image within the preset range is selected as the target region of interest image. Establish a three-dimensional rectangular coordinate system for the target region of interest image. At the initial position, the maximum density projection is performed on the target region of interest image in the Z-axis direction, and the maximum density projection image is used as a planar image. Rotate the target area of interest image according to the preset direction, and each time the preset angle is rotated, the maximum density projection of the target area of interest image in the Z-axis direction is performed, using the maximum density projection image as a planar image until the target area of interest image is rotated to initial position. Generate dynamic images from multiple planar images in a preset order. The dynamic image is displayed according to a preset position.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program also implements the following steps when executed by the processor:
将目标感兴趣区域图像绕Y轴在预设方向旋转预设角度后,对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。将目标感兴趣区域图像绕X轴在预设方向旋转预设角度后,对目标感兴趣区域图像在Z轴方向进行最大密度投影,将最大密度投影图像作为平面图像。交替得到绕Y轴旋转预设角度后的平面图像和绕X轴旋转预设角度后的平面图像,直到目标感兴趣区域图像旋转至初始位置。After the target region of interest image is rotated around the Y axis in a preset direction by a predetermined angle, the target region of interest image is projected at the maximum density in the Z axis direction, and the maximum density projection image is used as a planar image. After the target region of interest image is rotated by a predetermined angle around the X axis in a preset direction, the target region of interest image is projected at the maximum density in the Z axis direction, and the maximum density projected image is used as a planar image. The plane image after the preset angle is rotated around the Y axis and the plane image after the preset angle is rotated around the X axis are alternately obtained until the target region of interest image is rotated to the initial position.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and their descriptions are more specific and detailed, but they should not be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which all fall within the protection scope of the present application. Therefore, the protection scope of the patent of this application shall be subject to the appended claims.

Claims (20)

  1. 一种医学图像处理方法,其特征在于,所述方法包括:A medical image processing method, characterized in that the method includes:
    将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果,其中,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;Input the image to be detected into a neural network model for processing to obtain the detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest;
    根据所述感兴趣区域属性参数以及属性参数阈值,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;Acquiring information on the target region of interest from the detection result of the region of interest according to the property parameter of the region of interest and the threshold of the property parameter;
    根据所述目标感兴趣区域的信息,在所述待检测图像中确定所述目标感兴趣区域;Determine the target area of interest in the image to be detected according to the information of the target area of interest;
    获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像;Acquiring multiple images based on the target region of interest, and generating a dynamic image according to the preset order of the multiple images;
    显示所述动态图像。The dynamic image is displayed.
  2. 根据权利要求1所述的方法,其特征在于,所述将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果,包括:将所述待检测图像输入所述神经网络模型进行网络前向传播计算,得到所述感兴趣区域的检测结果。The method according to claim 1, wherein the inputting the image to be detected into a neural network model for processing to obtain the detection result of the region of interest includes: inputting the image to be detected into the neural network model Perform network forward propagation calculation to obtain the detection result of the region of interest.
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:实时获取用户输入的属性参数阈值;所述实时获取用户输入的属性参数阈值,包括:根据预设的阈值控制组件的控制信息与属性参数阈值的映射关系,确定所述用户输入的属性参数阈值。The method according to claim 1, characterized in that the method further comprises: acquiring the attribute parameter threshold value input by the user in real time; and acquiring the attribute parameter threshold value input by the user in real time comprises: controlling the control of the component according to a preset threshold value The mapping relationship between the information and the attribute parameter threshold determines the attribute parameter threshold input by the user.
  4. 根据权利要求3所述的方法,其特征在于,所述感兴趣区域属性参数包括感兴趣区域置信度、感兴趣区域类别、感兴趣区域尺寸;所述目标感兴趣区域的信息包括所述目标感兴趣区域的位置信息和/或所述目标感兴趣区域的尺寸信息。The method according to claim 3, wherein the attribute parameter of the region of interest includes a region of interest confidence level, a region of interest category, and a region of interest size; the information of the target region of interest includes the target sense Position information of the interest area and / or size information of the target interest area.
  5. 根据权利要求1所述的方法,其特征在于,所述获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像,包括:The method of claim 1, wherein the acquiring multiple images based on the target region of interest and generating a dynamic image according to a preset order of the multiple images includes:
    以所述目标感兴趣区域为基准,获取目标感兴趣区域图像;Acquiring the target region of interest image based on the target region of interest;
    根据所述目标感兴趣区域图像获取多个平面图像;Acquiring multiple planar images according to the target region of interest image;
    将多个所述平面图像按照预设顺序生成动态图像。A plurality of the planar images are generated in a predetermined order to generate dynamic images.
  6. 根据权利要求5所述的方法,其特征在于,所述以所述目标感兴趣区域为基准,获取目标感兴趣区域图像,包括:以所述目标感兴趣区域为基准,选取预设范围内的图像作为所述目标感兴趣区域图像。The method according to claim 5, wherein acquiring the target region of interest image based on the target region of interest includes: using the target region of interest as a reference to select The image serves as the target region of interest image.
  7. 根据权利要求5所述的方法,其特征在于,所述根据所述目标感兴趣区域图像获取多个平面图像,包括:在所述目标感兴趣区域图像中按照预设获取方式,获取多个所述平面图像。The method according to claim 5, wherein the acquiring a plurality of planar images according to the target region of interest image comprises: acquiring a plurality of all images in the target region of interest image according to a preset acquisition method The plane image is described.
  8. 根据权利要求5所述的方法,其特征在于,所述将多个所述平面图像按照预设顺序生成动态图像,包括:将多个所述平面图像按照获取顺序或者与获取顺序相反的顺序生成所述动态图像。The method according to claim 5, wherein the generating the dynamic images in the predetermined order by the plurality of the planar images comprises: generating the plurality of the planar images in an acquisition order or an order opposite to the acquisition order The dynamic image.
  9. 根据权利要求1所述的方法,其特征在于,所述显示所述动态图像,包括:根据预设位置显示所述动态图像。The method according to claim 1, wherein the displaying the dynamic image comprises: displaying the dynamic image according to a preset position.
  10. 一种医学图像处理系统,其特征在于,所述系统包括:A medical image processing system, characterized in that the system includes:
    处理模块,用于将待检测图像输入神经网络模型进行处理,得到所述感兴趣区域的检测结果,其中,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;The processing module is configured to input the image to be detected into a neural network model for processing to obtain a detection result of the region of interest, wherein the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest;
    信息获取模块,用于根据所述感兴趣区域属性参数以及属性参数阈值,从所述感兴趣 区域的检测结果中获取目标感兴趣区域的信息;An information obtaining module, configured to obtain information of the target interest area from the detection result of the interest area according to the attribute parameter of the interest area and the attribute parameter threshold;
    感兴趣区域获取模块,用于根据所述目标感兴趣区域的信息,在所述待检测图像中确定所述目标感兴趣区域;An interest area acquisition module, configured to determine the target interest area in the image to be detected according to the information of the target interest area;
    动态图像生成模块,用于获取以所述目标感兴趣区域为基准的多个图像,根据所述多个图像的预设顺序生成动态图像;A dynamic image generation module, configured to acquire multiple images based on the target region of interest, and generate dynamic images according to the preset order of the multiple images;
    显示模块,用于显示所述动态图像。The display module is used for displaying the dynamic image.
  11. 一种计算机设备,包括存储器、处理器,所述存储器上存储有可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至9中任一项所述方法的步骤。A computer device, including a memory and a processor, a computer program that can be run on the processor is stored on the memory, wherein the processor implements any one of claims 1 to 9 when the processor executes the computer program Item of the method.
  12. 一种可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至9中任一项所述方法的步骤。A readable storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are realized.
  13. 一种图像处理方法,其特征在于,所述方法包括:An image processing method, characterized in that the method includes:
    获取待检测图像;Obtain the image to be detected;
    将所述待检测图像输入神经网络模型进行处理,得到骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果;Input the image to be detected into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result;
    其中,所述神经网络模型是基于训练图像进行机器训练学习确定的。Wherein, the neural network model is determined by machine training and learning based on the training image.
  14. 一种图像处理模型的训练方法,其特征在于,所述方法包括:An image processing model training method, characterized in that the method includes:
    获取训练图像;Get training images;
    基于所述训练图像训练神经网络模型;Training a neural network model based on the training image;
    其中,经训练的神经网络模型被配置为能够根据输入的图像同时输出骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果。Among them, the trained neural network model is configured to output the bone segmentation result, the bone centerline segmentation result and the bone fracture detection result simultaneously according to the input image.
  15. 一种图像处理系统,其特征在于,所述系统包括:An image processing system, characterized in that the system includes:
    待检测图像获取模块,用于获取待检测图像;The image-to-be-detected module is used to obtain the image to be detected;
    待检测图像处理模块,用于将所述待检测图像输入神经网络模型进行处理,得到骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果;A to-be-detected image processing module, configured to input the to-be-detected image into a neural network model for processing to obtain a bone segmentation result, a bone centerline segmentation result, and a bone fracture detection result;
    其中,所述神经网络模型是基于训练图像进行机器训练学习确定的。Wherein, the neural network model is determined by machine training and learning based on the training image.
  16. 一种图像处理模型的训练系统,其特征在于,所述系统包括:An image processing model training system, characterized in that the system includes:
    训练图像获取模块,用于获取训练图像;Training image acquisition module for acquiring training images;
    模型训练模块,用于基于所述训练图像训练神经网络模型;A model training module for training a neural network model based on the training image;
    其中,经训练的神经网络模型被配置为能够根据输入的图像同时输出骨骼分割结果、骨骼中心线分割结果和骨骼骨折检测结果。Among them, the trained neural network model is configured to output the bone segmentation result, the bone centerline segmentation result and the bone fracture detection result simultaneously according to the input image.
  17. 一种影像感兴趣区域的展示方法,其特征在于,所述方法包括:A method for displaying an image region of interest, characterized in that the method includes:
    获取影像中感兴趣区域的检测结果,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;Obtain the detection result of the region of interest in the image, where the detection result of the region of interest includes information of the region of interest and attribute parameters of the region of interest;
    实时获取用户输入的属性参数阈值;Real-time access to user-entered attribute parameter thresholds;
    根据所述感兴趣区域属性参数与所述属性参数阈值的比对结果,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;According to the comparison result of the attribute parameter of the region of interest and the threshold value of the attribute parameter, obtain the information of the target region of interest from the detection result of the region of interest;
    展示所述目标感兴趣区域的信息。Display information about the target area of interest.
  18. 一种影像感兴趣区域的展示装置,其特征在于,所述装置包括:A device for displaying a video area of interest, characterized in that the device includes:
    第一获取模块,用于获取影像中感兴趣区域的检测结果,所述感兴趣区域的检测结果包括感兴趣区域的信息和感兴趣区域属性参数;A first acquisition module, configured to acquire the detection result of the region of interest in the image, the detection result of the region of interest including information of the region of interest and attribute parameters of the region of interest;
    第二获取模块,用于实时获取用户输入的属性参数阈值;The second obtaining module is used to obtain the attribute parameter threshold value input by the user in real time;
    第三获取模块,用于根据所述感兴趣区域属性参数与所述属性参数阈值的比对结果,从所述感兴趣区域的检测结果中获取目标感兴趣区域的信息;A third obtaining module, configured to obtain the information of the target interest area from the detection result of the interest area according to the comparison result of the attribute parameter of the interest area and the threshold value of the attribute parameter;
    展示模块,用于展示所述目标感兴趣区域的信息。A display module is used to display the information of the target region of interest.
  19. 一种医学图像显示方法,其特征在于,所述方法包括:A medical image display method, characterized in that the method includes:
    获取被检测对象的原始图像;Obtain the original image of the detected object;
    获取在所述原始图像中选取的感兴趣区域;Acquiring the region of interest selected in the original image;
    以所述感兴趣区域为基准,选取预设范围内的图像作为目标感兴趣区域图像;Using the area of interest as a reference, select an image within a preset range as the target area of interest image;
    在所述目标感兴趣区域图像中按照预设获取方式,获取多个平面图像;Acquiring multiple planar images in the target area of interest image according to a preset acquisition method;
    将多个所述平面图像按照预设顺序生成动态图像;Generating a plurality of the planar images in a predetermined order to generate dynamic images;
    根据预设位置显示所述动态图像。The dynamic image is displayed according to a preset position.
  20. 一种医学图像查看设备,其特征在于,所述设备包括:原始图像获取模块,用于获取被检测对象的原始图像;A medical image viewing device, characterized in that the device includes: an original image acquisition module for acquiring an original image of a detected object;
    感兴趣区域获取模块,用于获取在所述原始图像中选取的感兴趣区域;An interest area acquisition module, configured to acquire an interest area selected in the original image;
    图像选取模块,用于以所述感兴趣区域为基准,选取预设范围内的图像作为目标感兴趣区域图像;An image selection module, which is used to select an image within a preset range as the target region of interest image based on the region of interest;
    平面图像提取模块,用于在所述目标感兴趣区域图像中按照预设获取方式,获取多个平面图像;A planar image extraction module, configured to acquire multiple planar images in the target area of interest image according to a preset acquisition method;
    动态图像生成模块,用于将多个所述平面图像按照预设顺序生成动态图像;A dynamic image generation module, configured to generate a plurality of the planar images according to a preset order;
    显示模块,用于根据预设位置显示所述动态图像。The display module is configured to display the dynamic image according to a preset position.
PCT/CN2019/115549 2018-11-05 2019-11-05 Medical image processing method and system, computer device, and readable storage medium WO2020093987A1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201811306115.8 2018-11-05
CN201811306115.8A CN109493328B (en) 2018-08-31 2018-11-05 Medical image display method, viewing device and computer device
CN201811626399.9A CN109859233B (en) 2018-12-28 2018-12-28 Image processing method and system, and training method and system of image processing model
CN201811626399.9 2018-12-28
CN201910133231.2 2019-02-22
CN201910133231.2A CN109934220B (en) 2019-02-22 2019-02-22 Method, device and terminal for displaying image interest points

Publications (1)

Publication Number Publication Date
WO2020093987A1 true WO2020093987A1 (en) 2020-05-14

Family

ID=70612286

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/115549 WO2020093987A1 (en) 2018-11-05 2019-11-05 Medical image processing method and system, computer device, and readable storage medium

Country Status (1)

Country Link
WO (1) WO2020093987A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002230518A (en) * 2000-11-29 2002-08-16 Fujitsu Ltd Diagnosis support program, computer readable recording medium recorded with diagnosis support program, diagnosis support device and diagnosis support method
CN101216938A (en) * 2007-12-28 2008-07-09 深圳市蓝韵实业有限公司 An automatic positioning method of multi-sequence images
CN107767376A (en) * 2017-11-02 2018-03-06 西安邮电大学 X-ray film stone age Forecasting Methodology and system based on deep learning
CN109493328A (en) * 2018-08-31 2019-03-19 上海联影智能医疗科技有限公司 Medical image display method checks equipment and computer equipment
CN109859233A (en) * 2018-12-28 2019-06-07 上海联影智能医疗科技有限公司 The training method and system of image procossing, image processing model
CN109934220A (en) * 2019-02-22 2019-06-25 上海联影智能医疗科技有限公司 A kind of methods of exhibiting, device and the terminal of image point of interest

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002230518A (en) * 2000-11-29 2002-08-16 Fujitsu Ltd Diagnosis support program, computer readable recording medium recorded with diagnosis support program, diagnosis support device and diagnosis support method
CN101216938A (en) * 2007-12-28 2008-07-09 深圳市蓝韵实业有限公司 An automatic positioning method of multi-sequence images
CN107767376A (en) * 2017-11-02 2018-03-06 西安邮电大学 X-ray film stone age Forecasting Methodology and system based on deep learning
CN109493328A (en) * 2018-08-31 2019-03-19 上海联影智能医疗科技有限公司 Medical image display method checks equipment and computer equipment
CN109859233A (en) * 2018-12-28 2019-06-07 上海联影智能医疗科技有限公司 The training method and system of image procossing, image processing model
CN109934220A (en) * 2019-02-22 2019-06-25 上海联影智能医疗科技有限公司 A kind of methods of exhibiting, device and the terminal of image point of interest

Similar Documents

Publication Publication Date Title
CN109493328B (en) Medical image display method, viewing device and computer device
Wang et al. Smartphone-based wound assessment system for patients with diabetes
CN110473186B (en) Detection method based on medical image, model training method and device
CN110738263B (en) Image recognition model training method, image recognition method and image recognition device
CN110348543B (en) Fundus image recognition method and device, computer equipment and storage medium
CN110414631B (en) Medical image-based focus detection method, model training method and device
WO2021036695A1 (en) Method and apparatus for determining image to be marked, and method and apparatus for training model
US11900594B2 (en) Methods and systems for displaying a region of interest of a medical image
CN105431089B (en) The system and method for determining liver function according to hepatic scan
CN111091127A (en) Image detection method, network model training method and related device
CN107895369B (en) Image classification method, device, storage medium and equipment
CN110853111B (en) Medical image processing system, model training method and training device
CN107194163A (en) A kind of display methods and system
CN111080583B (en) Medical image detection method, computer device, and readable storage medium
CN112419326B (en) Image segmentation data processing method, device, equipment and storage medium
CN113706441A (en) Image prediction method based on artificial intelligence, related device and storage medium
CN111598896B (en) Image detection method, device, equipment and storage medium
KR20200120311A (en) Determination method for stage of cancer based on medical image and analyzing apparatus for medical image
CN110517771B (en) Medical image processing method, medical image identification method and device
CN113724188A (en) Method for processing focus image and related device
CN111260636B (en) Model training method and device, image processing method and device, and medium
WO2020093987A1 (en) Medical image processing method and system, computer device, and readable storage medium
JP7265805B2 (en) Image analysis method, image analysis device, image analysis system, control program, recording medium
US20220076414A1 (en) Method to read chest image
Li et al. Automatic detection of pituitary microadenoma from magnetic resonance imaging using deep learning algorithms

Legal Events

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

Ref document number: 19883214

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 17.08.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19883214

Country of ref document: EP

Kind code of ref document: A1