Nothing Special   »   [go: up one dir, main page]

CN115098720A - Method and device for positioning medical image sequence and computer readable storage medium - Google Patents

Method and device for positioning medical image sequence and computer readable storage medium Download PDF

Info

Publication number
CN115098720A
CN115098720A CN202210647327.2A CN202210647327A CN115098720A CN 115098720 A CN115098720 A CN 115098720A CN 202210647327 A CN202210647327 A CN 202210647327A CN 115098720 A CN115098720 A CN 115098720A
Authority
CN
China
Prior art keywords
image
images
storage
sequence
position information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210647327.2A
Other languages
Chinese (zh)
Inventor
周永新
崔彤哲
段明磊
王辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hinacom Software And Technology Ltd
Original Assignee
Hinacom Software And Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hinacom Software And Technology Ltd filed Critical Hinacom Software And Technology Ltd
Priority to CN202210647327.2A priority Critical patent/CN115098720A/en
Publication of CN115098720A publication Critical patent/CN115098720A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/55Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H30/00ICT specially adapted for the handling or processing of medical images
    • G16H30/20ICT specially adapted for the handling or processing of medical images for handling medical images, e.g. DICOM, HL7 or PACS

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a method and a device for positioning a medical image sequence and a computer readable storage medium. Wherein, the method comprises the following steps: preprocessing a plurality of first images to obtain a first storage position of each first image, wherein the first images are passive image sequences; processing initial position information of a second image based on each first storage position to obtain a plurality of second storage positions, wherein the second image is an active image sequence and is associated with the first image; under the condition that the coordinate systems in the first storage position and the second storage position are the same, positioning a target image based on the second storage position, and acquiring the target image, wherein the target image is a passive image sequence associated with the second image. The invention solves the technical problem that the query speed of the related passive image is not fast enough when the active image is browsed.

Description

Method and device for positioning medical image sequence and computer readable storage medium
Technical Field
The invention relates to the field of medical image processing, in particular to a method and a device for positioning a medical image sequence and a computer readable storage medium.
Background
CT, MRI and PET are widely used medical image examination methods, and images generated by these apparatuses belong to tomographic images. A common feature of tomographic images is that a single examination of a patient includes multiple scan sequences, each of which includes multiple tomographic images.
In clinical diagnosis, in order to have a comprehensive understanding of the disease, a physician needs to compare different sequences contained in the same examination. The object to be observed by contrast is generally a sequence with the same scanning direction, and it is desirable that two sequences with the same scanning direction can be associated, that is, when the doctor switches the currently displayed slice in one sequence, the other sequence can synchronously and automatically switch to display the slice with the same position as the currently displayed slice, when the doctor simultaneously opens a plurality of sequences and each sequence contains a large number of images, how to quickly find the associated image corresponding to the active image, and one CT or MR examination can contain 10-20 sequences, each sequence can contain hundreds of images. During clinical interpretation, the doctor can open 10-20 sequences simultaneously. In this case, if the doctor performs a "page turning" operation within the display window of the active sequence currently being operated to switch to display a new active image, it may be necessary to search for about 20 (sequence) × 500 (images) × 10000 (images) if it is desired to find the associated images within the remaining passive sequences. While during clinical reading, the doctor will perform "movie playing" operation on the active sequence, and it is expected to continuously and rapidly switch the currently displayed active image at a speed close to the movie playing speed (24 frames/second), and simultaneously switch and display the associated images in the rest of the passive sequence in real time. Therefore, the requirement on the calculation real-time performance of the searching algorithm of the related images is very high.
Therefore, it is necessary to invent a fast search algorithm that can find the image having the closest position and direction to the designated image from a large number of images in a very short time.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a positioning method and a positioning device for a medical image sequence and a computer readable storage medium, which at least solve the technical problem that the query speed of a passive image associated with an active image is not fast enough when the active image is browsed in the related technology.
According to an aspect of the embodiments of the present invention, there is provided a method for positioning a medical image sequence, including: preprocessing a plurality of first images to obtain a first storage position of each first image, wherein the first images are passive image sequences; processing initial position information of a second image based on each first storage position to obtain a plurality of second storage positions, wherein the second image is an active image sequence and is associated with the first image; under the condition that the coordinate systems in the first storage position and the second storage position are the same, positioning a target image based on the second storage position, and acquiring the target image, wherein the target image is a passive image sequence associated with the second image.
Optionally, the preprocessing the plurality of first images to obtain a first storage location of each first image includes: processing the plurality of first images to acquire initial position information of each first image, wherein the initial position information of the first images at least comprises: image aspect direction and image aspect position; generating a data storage structure associated with the first image based on the initial position information of the first image; obtaining the first storage location based on the data storage structure, wherein the first storage location comprises: the projection mark position of the first image in the normal direction and the direction of the first image in the current layer are determined.
Optionally, generating a data storage structure associated with the first image based on the initial position information of the first image includes: generating a plurality of groups of sub-images based on the initial position information; processing the plurality of groups of sub-images based on the layer direction to obtain the data storage structure, wherein the processing method of the plurality of groups of sub-images at least comprises the following steps: and classifying and marking serial numbers of the plurality of groups of sub-images based on the image layer direction.
Optionally, processing the initial position information of the second image based on each of the first storage locations to obtain a plurality of second storage locations includes: acquiring the normal direction of the second image based on the coordinate system in each first storage position; and acquiring a second storage position of the second image based on the normal direction of the second image.
Optionally, positioning the target image based on the second storage location, and acquiring the target image, includes: matching the second storage position with third position information of the target image through a preset algorithm to obtain a matching result, wherein the second storage position comprises: the projection mark position of the second image in the normal direction and the direction of the second image in the current layer, and the third position information includes: the projection mark position of the target image in the normal direction and the direction of the target image in the current layer plane, and the algorithm at least comprises: bisection method; and acquiring the target image based on the matching result.
Optionally, acquiring the target image based on the matching result includes: outputting third position information of the target image under the condition that a matching result is that corresponding third position information matched with a second storage position exists, and positioning the target image through the third position information; and if the matching result is that the corresponding third position information matched with the second storage position does not exist, indicating that the matching result does not exist, and continuing to execute the matching.
Optionally, the acquiring the image slice direction includes: acquiring a spatial direction of the first image, wherein the spatial direction is the direction of a first row of pixels and a first row of pixels on the left side of the first image in a human body space coordinate system; and acquiring the image aspect direction based on the space direction.
According to another aspect of the embodiments of the present invention, there is provided a medical image sequence positioning apparatus, including: the system comprises a preprocessing module, a storage module and a processing module, wherein the preprocessing module is used for preprocessing a plurality of first images to obtain a first storage position of each first image, and the first images are passive image sequences; a processing module, configured to process initial position information of a second image based on each of the first storage locations to obtain a plurality of second storage locations, where the second image is an active image sequence and the second image is associated with the first image; and the positioning module is used for positioning a target image based on the second storage position and acquiring the target image under the condition that the coordinate systems in the first storage position and the second storage position are the same, wherein the target image is a passive image sequence associated with the second image.
Optionally, the preprocessing module includes: a processing unit, configured to process the plurality of first images and acquire initial position information of each of the plurality of first images, where the initial position information of the first image at least includes: image aspect direction and image aspect position; a generating unit, configured to generate a data storage structure associated with the first image based on the initial position information of the first image; a first obtaining unit, configured to obtain the first storage location based on the data storage structure, where the first storage location includes: the projection mark position of the first image in the normal direction and the direction of the first image in the current layer are determined.
Optionally, the generating unit includes: a generation subunit, configured to generate a plurality of groups of sub-images based on the initial position information; a processing subunit, configured to process the multiple groups of sub-images based on the layer direction to obtain the data storage structure, where a processing device for the multiple groups of sub-images at least includes: and classifying and marking serial numbers of the plurality of groups of sub-images based on the image layer direction.
Optionally, the processing module includes: the second acquisition unit is used for acquiring the normal direction of the second image based on the coordinate system in each first storage position; and the third acquisition unit is used for acquiring a second storage position of the second image based on the normal direction of the second image.
Optionally, the positioning module includes: a matching unit, configured to perform matching by using a predetermined algorithm using the second storage location and third location information of the target image, and obtain a matching result, where the second storage location includes: the projection mark position of the second image in the normal direction and the direction of the second image in the current layer, and the third position information includes: the projection mark position of the target image in the normal direction and the direction of the target image in the current layer plane, and the algorithm at least comprises: bisection method; and the fourth acquisition unit is used for acquiring the target image based on the matching result.
Optionally, the fourth obtaining unit includes: the first judging subunit is used for outputting third position information of the target image and positioning the target image according to the third position information under the condition that the matching result is that the corresponding third position information matched with the second storage position exists; and the second judgment subunit is used for indicating that the matching result does not exist and continuing to execute the matching when the matching result is that the corresponding third position information matched with the second storage position does not exist.
Optionally, the processing unit includes: the first obtaining subunit is configured to obtain a spatial direction of the first image, where the spatial direction is a direction of a first row of pixels above the first image and a first row of pixels on the left side of the first image in a human body space coordinate system; and the second acquisition subunit is used for acquiring the image plane direction based on the space direction.
According to another aspect of the embodiments of the present invention, there is further provided a computer-readable storage medium including a stored computer program, wherein when the computer program is executed by a processor, the apparatus on which the computer-readable storage medium is located is controlled to perform any one of the above-mentioned methods for positioning a medical image sequence.
According to another aspect of the embodiments of the present invention, there is further provided a processor, configured to execute a computer program, where the computer program executes to perform any one of the above-mentioned methods for positioning a medical image sequence.
In the embodiment of the invention, a plurality of first images are preprocessed to obtain a first storage position of each first image, wherein the first images are passive image sequences; processing initial position information of a second image based on each first storage position to obtain a plurality of second storage positions, wherein the second image is an active image sequence and is associated with the first image; under the condition that the coordinate systems in the first storage position and the second storage position are the same, positioning a target image based on the second storage position, and acquiring the target image, wherein the target image is a passive image sequence associated with the second image. The positioning method of the medical image sequence provided by the embodiment of the invention achieves the purposes of firstly preprocessing the passive image, converting the preprocessed passive image and the active image into the same coordinate system and then quickly searching the passive image corresponding to the image by using the position information of the active image, thereby realizing the technical effect of improving the query and search speed of the medical image and further solving the technical problem that the query speed of the passive image related to the image is not fast enough when the active image is browsed in the related technology.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention to a proper form. In the drawings:
fig. 1 is a flowchart of a method for positioning a sequence of medical images according to an embodiment of the invention;
FIG. 2 is a diagram of a passive image pre-processing data structure according to an embodiment of the invention;
FIG. 3 is a flowchart of passive image localization of a target according to an embodiment of the present invention;
FIG. 4 is a flow chart of a preferred method of positioning a sequence of medical images in accordance with an embodiment of the present invention;
fig. 5 is a schematic diagram of a positioning apparatus for medical image sequence according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, there is provided a method embodiment of a method for positioning a medical image sequence, where the steps illustrated in the flowchart of the drawings may be executed in a computer system, such as a set of computer-executable instructions, and where a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be executed in an order different from that shown.
Fig. 1 is a flowchart of a method for positioning a medical image sequence according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, preprocessing a plurality of first images to obtain a first storage position of each first image, wherein the first images are passive image sequences;
optionally, the passive image (i.e., the first image) is preprocessed to obtain a storage location of each first image in the human space coordinate system, so that the active image searches the passive image by using the location information.
Step S104, processing initial position information of a second image based on the first storage position of each first image to obtain a plurality of second storage positions, wherein the second image is an active image sequence and is associated with the first images;
optionally, in the above step, the initial position information of the second image is processed based on the acquired first storage position of each first image, specifically, coordinate system conversion is performed on the initial position information, and both data of the first storage medium of each first image and the initial position information of the second image are converted into the same coordinate system for processing, so as to facilitate subsequent retrieval of the passive image. The passive images and the active images are correlated and in one-to-one correspondence.
And step S106, under the condition that the coordinate systems in the first storage position and the second storage position are the same, positioning a target image based on the second storage position, and acquiring the target image, wherein the target image is a passive image sequence associated with the second image.
As can be seen from the above, in the embodiment of the present invention, a plurality of first images may be preprocessed to obtain a first storage location of each first image, where the first images are passive image sequences; then, processing initial position information of a second image based on each first storage position to obtain a plurality of second storage positions, wherein the second image is an active image sequence and is associated with the first image; and finally, under the condition that the coordinate systems in the first storage position and the second storage position are the same, positioning a target image based on the second storage position to obtain the target image, wherein the target image is a passive image sequence associated with the second image. The positioning method of the medical image sequence provided by the embodiment of the invention achieves the purposes of firstly preprocessing the passive image, converting the preprocessed passive image and the active image into the same coordinate system and then quickly searching the passive image corresponding to the image by using the position information of the active image, thereby realizing the technical effect of improving the query and search speed of the medical image and further solving the technical problem that the query speed of the passive image related to the image is not fast enough when the active image is browsed in the related technology.
As an alternative embodiment, the preprocessing the plurality of first images to obtain the first storage location of each first image includes: processing the plurality of first images to acquire initial position information of each first image, wherein the initial position information of the first images at least comprises: image aspect direction and image aspect position; generating a data storage structure associated with the first image based on the initial position information of the first image; based on the data storage structure, obtaining a first storage location, wherein the first storage location comprises: the projection mark position of the first image in the normal direction and the direction of the first image in the current layer are determined.
In the above alternative embodiment, it should be noted that the passive sequence includes a series of DICOM images, where the ith image may be represented as Ii, i is a serial number of the image in the sequence, i is 1, 2. According to the DICOM standard, the slice position (i.e., image slice position) is defined by using the three-dimensional coordinates of the first pixel in the upper left corner of the image, and can be expressed as: pi ═ xi, yi, zi ], the plane direction (i.e., the image plane direction) is defined by the direction of the body space coordinate system of the first row of pixels above the image and the first column of pixels on the left side, and may be expressed as Di ═ rxi, ryi, rzi, cxi, cyi, czi ], where r denotes the first row, c denotes the first column, x, y, z in turn denote cosine values of the angles with the body space coordinate system x, y, z axes, i denotes the serial number of the image in the sequence, then all images included in the passive sequence are scanned in turn, images having the same direction are grouped together, the group of images is expressed by Dk, k ═ 1,2,.., q; for the k-th group image Dk.
As an alternative embodiment, generating a data storage structure associated with the first image based on the initial position information of the first image includes: generating a plurality of groups of sub-images based on the initial position information; processing the plurality of groups of sub-images based on the layer direction to obtain a data storage structure, wherein the processing method for the plurality of groups of sub-images at least comprises the following steps: and classifying the images based on the image layer direction and marking serial numbers of the multiple groups of sub-images.
Fig. 2 is a schematic diagram of a passive image preprocessing data structure according to an embodiment of the present invention, as shown in fig. 2, first recording the common direction of the group of images, denoted by Dk, Dk ═ rxk, ryk, rzk, cxk, cyk, czk; for the k-th group of images Dk, the sequence number of each image in the group in the passive sequence is recorded at the same time (i.e. the sequence number of the multiple groups of sub-images is marked), ki, i is 1.. m; for the k-th group of images Dk, recording the projection position fki of each image in the group in the image normal direction, where i is 1.. m; the method for calculating the projection position of the image in the normal direction comprises the following steps: let Dki of image Iki be [ rxki, ryki, rzki, cxki, cyki, czki ], the position is Pi ═ xi, yi, zi ], then normal direction Eki of image Iki is [ rxki, ryki, rzki ] x [ cxki, cyki, czki ] - [ exki, eyki, ezki ], the symbol "x" represents the cross product of the vector, the vector pointing to Pki from the origin of the coordinate system can be represented by Vki ═ xki, yki, zki, and the projection position of vector Pi on normal direction Eki is [ Vki · Eki ═ xki, yki, zki ] [ exki, eyki, ezki ], the symbol ". the symbol" represents the point product of the vector.
As an alternative embodiment, processing the initial position information of the second image based on each first storage location to obtain a plurality of second storage locations includes: acquiring the normal direction of the second image based on the coordinate system in each first storage position; and acquiring a second storage position of the second image based on the normal direction of the second image.
In the above alternative embodiment, it may be assumed that the active sequence currently displays images in the direction Dj ═ [ rxj, ryj, rzj, cxj, cyj, czj ], and in the position Pj ═ xj, yj, zj ].
It should be noted that the present invention is only applicable to images in the active sequence and the passive sequence belonging to the same coordinate system. In the DICOM file, according to the DICOM standard, whether two DICOM files belong to the same coordinate system can be judged according to a Frame of Reference UID attribute.
Assuming that all images in the active sequence and the passive sequence belong to the same coordinate system, the projection position of the active image in the normal direction is calculated in the same manner as the projection position of the image in the normal direction in the aforementioned passive sequence, that is, the normal direction Ej ═ rxj, ryj, rzj ] x [ cxj, cyj, czj ] ═ exj, eyj, ezj ] of the active image in the active sequence, the symbol "x" represents the cross product of the vectors, and the vector pointing to Pj from the origin of the coordinate system may be represented as Vj ═ xj, yj, zj, and the projection of the vector Pj in the normal direction Ej is gj · Vj ═ Ej ═ xj, yj, zj ] · [ exj, eyj, ezj ], the symbol "·" represents the dot product of the vectors.
As an optional embodiment, the positioning the target image based on the second storage location to obtain the target image includes: and matching the second storage position with third position information of the target image through a preset algorithm to obtain a matching result, wherein the second storage position comprises: the projection mark position of the second image in the normal direction and the direction of the second image in the current layer, and the third position information includes: the projection mark position of the target image in the normal direction and the direction of the target image in the current layer are calculated, and the algorithm at least comprises the following steps: bisection method; and acquiring a target image based on the matching result.
In the above optional embodiment, first, the storage location (i.e., the third storage location) of the passive image corresponding to the active image, where the target is to be located, may be matched based on the second storage location (i.e., the converted storage location of the active image) through a predetermined algorithm to obtain a matching result, and if the matching result shows that the target image is successfully located, the target passive image is displayed; and if the matching result shows that the target image is not successfully positioned, the target image is not found and the output is null.
Fig. 3 is a flowchart of target passive image positioning according to an embodiment of the present invention, and as shown in fig. 3, in the target passive image positioning process, the passive sequence image positions are first preprocessed, the active sequence active image positions are then converted, and finally the passive sequence associated images (i.e., passive images) are matched to obtain the target passive image.
As an alternative embodiment, acquiring the target image based on the matching result includes: outputting third position information of the target image under the condition that the matching result is that the corresponding third position information matched with the second storage position exists, and positioning the target image through the third position information; and if the matching result is that the corresponding third position information matched with the second storage position does not exist, indicating that the matching result does not exist, and continuing to execute the matching.
In the above alternative embodiment, the passive sequence level matching uses the direction Dj of the current level of the active sequence and the transformed normal direction projection position gj as inputs, and performs search matching in the transformed level position sequence data structure of the passive sequence.
As an alternative embodiment, the acquiring of the image slice direction includes: acquiring the spatial direction of the first image, wherein the spatial direction is the direction of a first row of pixels and a first row of pixels on the left side of the first image in a human body space coordinate system; and acquiring an image plane direction based on the space direction.
Fig. 4 is a flowchart of a preferred method for locating a medical image sequence according to an embodiment of the present invention, as shown in fig. 4, first acquiring a passive sequence, then preprocessing a plurality of images included in the passive sequence by a passive sequence image position preprocessor, extracting position and orientation information of each image, and converting the position and orientation information into a specific data storage format for facilitating subsequent matching, then storing the position and orientation information of the plurality of images in the converted sequence by a passive sequence level position memory using the specific data storage format, for performing a fast search as a subsequent associated image matching process, and then converting the position and orientation of an active image currently being displayed in the active sequence by an active sequence active image position converter using the acquired active sequence, and converting the position and orientation of the active image into a data format for facilitating matching, and finally, the passive sequence associated image matching processor is used for receiving the position and direction information of the converted active sequence active image, matching the position and direction information of the active sequence image with the passive sequence image position and direction information stored in the passive sequence layer position memory, searching whether an associated image exists or not, if so, outputting the associated image, and if not, outputting the image as 'empty'.
As can be seen from the above, the method for positioning a medical image sequence provided by the embodiment of the present invention can implement preprocessing of images included in a passive sequence, and generate a specific layer position and direction data storage structure, so as to reduce the amount of calculation for searching a relevant layer in the passive sequence and shorten the search time; grouping the images included in the passive sequence according to the plane direction, converting the positions of the images in the group into projection positions along the normal direction of the plane, and arranging the images in the group in ascending order from small to large according to the values of the projection positions along the normal; calculating the normal direction of the layer of the current display image of the active sequence and the projection position along the normal as the input of searching the contrast layer in the passive sequence; comparing the currently displayed layer normal direction of the active sequence with the common normal direction of each group in the passive sequence image group, quickly filtering out groups with different normal directions, and only searching and matching in the groups with the same normal; because the projection positions along the normal in each group in the passive sequence grouping are arranged in an ascending order from small to large, the search can be accelerated by adopting fast search similar to dichotomy or other fast search, and the search calculation amount and the calculation time are greatly reduced.
Example 2
According to another aspect of the embodiment of the present invention, there is also provided a positioning apparatus for a medical image sequence, and fig. 5 is a schematic diagram of the positioning apparatus for a medical image sequence according to the embodiment of the present invention, as shown in fig. 5, including: a preprocessing module 51, a processing module 53, and a positioning module 55. The following describes the positioning device for the medical image sequence.
A preprocessing module 51, configured to preprocess a plurality of first images to obtain a first storage location of each first image, where the first images are passive image sequences;
a processing module 53, configured to process initial position information of a second image based on each first storage location to obtain a plurality of second storage locations, where the second image is an active image sequence and is associated with the first image;
and a positioning module 55, configured to, in a case that it is determined that the coordinate systems in the first storage location and the second storage location are the same, position a target image based on the second storage location, and acquire the target image, where the target image is a passive image sequence associated with the second image.
It should be noted here that the preprocessing module 51, the processing module 53 and the positioning module 55 correspond to steps S102 to S106 in embodiment 1, and the modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure in embodiment 1. It should be noted that the modules described above as part of an apparatus may be implemented in a computer system such as a set of computer-executable instructions.
As can be seen from the above, in the embodiment of the present invention, a plurality of first images may be preprocessed by the preprocessing module 51 to obtain a first storage location of each first image, where the first images are passive image sequences; then, the processing module 53 may process the initial position information of the second image based on each first storage position to obtain a plurality of second storage positions, where the second image is an active image sequence and is associated with the first image; finally, the positioning module 55 may be used to position the target image based on the second storage location under the condition that it is determined that the coordinate systems in the first storage location and the second storage location are the same, so as to obtain the target image, where the target image is a passive image sequence associated with the second image. The positioning device of the medical image sequence provided by the embodiment of the invention achieves the purposes of firstly preprocessing the passive image, converting the preprocessed passive image and the active image into the same coordinate system and then quickly searching the passive image corresponding to the image by using the position information of the active image, thereby realizing the technical effect of improving the query and search speed of the medical image and further solving the technical problem that the query speed of the passive image related to the image is not fast enough when the active image is browsed in the related technology.
Optionally, a pre-processing module comprising: a processing unit, configured to process a plurality of first images and obtain initial position information, where the initial position information of a first image at least includes: image aspect direction and image aspect position; the generating unit is used for generating a data storage structure associated with the first image based on the initial position information of the first image; a first obtaining unit, configured to obtain a first storage location based on the data storage structure, where the first storage location includes: the projection mark position of the first image in the normal direction and the direction of the first image in the current layer are determined.
Optionally, the generating unit includes: a generating subunit, configured to generate a plurality of groups of sub-images based on the initial position information; the processing subunit is used for processing the multiple groups of sub-images based on the layer direction and acquiring a data storage structure, wherein the processing device for the multiple groups of sub-images at least comprises: and classifying the images based on the image layer direction and marking serial numbers of the multiple groups of sub-images.
Optionally, a processing module comprising: the second acquisition unit is used for acquiring the normal direction of the second image based on the coordinate system in each first storage position; and the third acquisition unit is used for acquiring a second storage position of the second image based on the normal direction of the second image.
Optionally, a positioning module comprising: the matching unit is used for matching the second storage position with third position information of the target image through a preset algorithm to obtain a matching result, wherein the second storage position comprises: the projection mark position of the second image in the normal direction and the direction of the second image in the current layer, and the third position information includes: the projection mark position of the target image in the normal direction and the direction of the target image in the current layer are calculated, and the algorithm at least comprises the following steps: bisection method; and the fourth acquisition unit is used for acquiring the target image based on the matching result.
Optionally, the fourth obtaining unit includes: the first judging subunit is used for outputting the third position information of the target image and positioning the target image through the third position information under the condition that the matching result is that the corresponding third position information matched with the second storage position exists; and the second judgment subunit is used for indicating that the matching result does not exist and continuing to execute the matching when the matching result is that the corresponding third position information matched with the second storage position does not exist.
Optionally, a processing unit comprising: the first acquisition subunit is used for acquiring the spatial direction of the first image, wherein the spatial direction is the direction of a first row of pixels above the first image and a first row of pixels on the left side of the first image in a human body space coordinate system; and the second acquisition subunit is used for acquiring the image plane direction based on the space direction.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium including a stored computer program, wherein when the computer program is executed by a processor, the apparatus where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned methods for positioning a medical image sequence.
Example 4
According to another aspect of the embodiments of the present invention, there is further provided a processor, configured to execute a computer program, where the computer program executes the method for positioning a medical image sequence according to any one of the above methods.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A method for locating a sequence of medical images, comprising:
preprocessing a plurality of first images to obtain a first storage position of each first image, wherein the first images are passive image sequences;
processing initial position information of a second image based on a first storage position of each first image to obtain a plurality of second storage positions, wherein the second image is an active image sequence and is associated with the first images;
under the condition that the coordinate systems in the first storage position and the second storage position are the same, positioning a target image based on the second storage position, and acquiring the target image, wherein the target image is a passive image sequence associated with the second image.
2. The method of claim 1, wherein preprocessing the plurality of first images to obtain the first storage location of each of the first images comprises:
processing the plurality of first images to acquire initial position information of each first image, wherein the initial position information of the first images at least comprises: image aspect direction and image aspect position;
generating a data storage structure associated with the first image based on the initial position information of the first image;
obtaining the first storage location based on the data storage structure, wherein the first storage location comprises: the projection mark position of the first image in the normal direction and the direction of the first image in the current layer are determined.
3. The method of claim 2, wherein generating a data storage structure associated with the first image based on the initial location information of the first image comprises:
generating a plurality of groups of sub-images based on the initial position information;
processing the plurality of groups of sub-images based on the layer direction to obtain the data storage structure, wherein the processing method of the plurality of groups of sub-images at least comprises the following steps: and classifying and marking serial numbers of the plurality of groups of sub-images based on the image layer direction.
4. The method of claim 1, wherein processing the initial location information of the second image based on the first storage location of each of the first images comprises:
acquiring the normal direction of the second image based on a coordinate system in each first storage position;
and acquiring a second storage position of the second image based on the normal direction of the second image.
5. The method of claim 1, wherein locating a target image based on the second storage location, the obtaining the target image, comprises:
matching the second storage position with third position information of the target image through a preset algorithm to obtain a matching result, wherein the second storage position comprises: the projection mark position of the second image in the normal direction and the direction of the second image in the current layer, and the third position information includes: the projection mark position of the target image in the normal direction and the direction of the target image in the current layer plane, and the algorithm at least comprises: bisection method;
and acquiring the target image based on the matching result.
6. The method of claim 5, wherein obtaining the target image based on the matching result comprises:
outputting third position information of the target image under the condition that the matching result is that the corresponding third position information matched with the second storage position exists, and positioning the target image through the third position information;
and if the matching result is that the corresponding third position information matched with the second storage position does not exist, indicating that the matching result does not exist, and continuing to execute the matching.
7. The method of claim 2, wherein acquiring the image slice direction comprises:
acquiring a spatial direction of the first image, wherein the spatial direction is the direction of a first row of pixels and a first row of pixels on the left side of the first image in a human body space coordinate system;
and acquiring the image plane direction based on the space direction.
8. An apparatus for locating a sequence of medical images, comprising:
the image preprocessing module is used for preprocessing a plurality of first images to acquire a first storage position of each first image, wherein the first images are passive image sequences;
a processing module, configured to process initial position information of a second image based on each of the first storage locations to obtain a plurality of second storage locations, where the second image is an active image sequence and the second image is associated with the first image;
and the positioning module is used for positioning a target image based on the second storage position and acquiring the target image under the condition that the coordinate systems in the first storage position and the second storage position are the same, wherein the target image is a passive image sequence associated with the second image.
9. A computer-readable storage medium, comprising a stored computer program, wherein when the computer program is executed by a processor, the computer-readable storage medium is controlled by an apparatus to perform the method for localization of medical image sequences according to any one of claims 1 to 7.
10. A processor for executing a computer program, wherein the computer program executes to perform the method for locating a medical image sequence according to any one of claims 1 to 7.
CN202210647327.2A 2022-06-09 2022-06-09 Method and device for positioning medical image sequence and computer readable storage medium Pending CN115098720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210647327.2A CN115098720A (en) 2022-06-09 2022-06-09 Method and device for positioning medical image sequence and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210647327.2A CN115098720A (en) 2022-06-09 2022-06-09 Method and device for positioning medical image sequence and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115098720A true CN115098720A (en) 2022-09-23

Family

ID=83289943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210647327.2A Pending CN115098720A (en) 2022-06-09 2022-06-09 Method and device for positioning medical image sequence and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115098720A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007167634A (en) * 2005-11-25 2007-07-05 Toshiba Medical Systems Corp Medical image diagnostic system, server for image storage and communication system, image reference device, and medical image diagnostic system
CN101216938A (en) * 2007-12-28 2008-07-09 深圳市蓝韵实业有限公司 An automatic positioning method of multi-sequence images
CN101315700A (en) * 2008-01-14 2008-12-03 深圳市蓝韵实业有限公司 Fast automatic positioning method for multi-sequence image
CN106102577A (en) * 2014-03-19 2016-11-09 皇家飞利浦有限公司 For using magnetic resonance imaging to determine the method that the scan-geometries of the wall thickness of anatomical detail is planned
CN110782489A (en) * 2019-10-21 2020-02-11 科大讯飞股份有限公司 Image data matching method, device and equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007167634A (en) * 2005-11-25 2007-07-05 Toshiba Medical Systems Corp Medical image diagnostic system, server for image storage and communication system, image reference device, and medical image diagnostic system
CN101216938A (en) * 2007-12-28 2008-07-09 深圳市蓝韵实业有限公司 An automatic positioning method of multi-sequence images
CN101315700A (en) * 2008-01-14 2008-12-03 深圳市蓝韵实业有限公司 Fast automatic positioning method for multi-sequence image
CN106102577A (en) * 2014-03-19 2016-11-09 皇家飞利浦有限公司 For using magnetic resonance imaging to determine the method that the scan-geometries of the wall thickness of anatomical detail is planned
CN110782489A (en) * 2019-10-21 2020-02-11 科大讯飞股份有限公司 Image data matching method, device and equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109493328B (en) Medical image display method, viewing device and computer device
CN107492071B (en) Medical image processing method and equipment
CN110969245B (en) Target detection model training method and device for medical image
US9135703B2 (en) Information processing apparatus and information processing method and program for them
US11954860B2 (en) Image matching method and device, and storage medium
CN112086197B (en) Breast nodule detection method and system based on ultrasonic medicine
JP5587614B2 (en) MEDICAL IMAGE DISPLAY DEVICE AND METHOD, AND PROGRAM
CN111291813B (en) Image labeling method, device, computer equipment and storage medium
US20150131882A1 (en) Medical image data processing apparatus and method
CN103324853A (en) Similarity calculation system and method based on medical image features
CN111161848A (en) Method and device for marking focus of CT image and storage medium
US20220296216A1 (en) Image processing method and apparatus based on contrast-enhanced ultrasound images
CN110827283B (en) Head and neck blood vessel segmentation method and device based on convolutional neural network
CN110533120B (en) Image classification method, device, terminal and storage medium for organ nodule
US8933926B2 (en) Image processing apparatus, method, and program
CN115098720A (en) Method and device for positioning medical image sequence and computer readable storage medium
CN115690486A (en) Method, device and equipment for identifying focus in image and storage medium
WO2017089953A1 (en) Process for processing medical images of a face for recognition of facial dysmorphisms
EP3776475B1 (en) Methods of generating an encoded representation of an image and systems of operating thereof
US20040028275A1 (en) Image processing method and apparatus
JP7228332B2 (en) MEDICAL IMAGE PROCESSING APPARATUS AND MEDICAL IMAGE PROCESSING METHOD
Jin et al. Content and semantic context based image retrieval for medical image grid
CN113314202A (en) System for processing medical images based on big data
CN114341996A (en) Disease analysis method based on VRDS 4D and related product
CN111178453A (en) SVM-based medical image intelligent matching method and storage medium

Legal Events

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