Medical image processing method, device, computer equipment and readable storage medium
By determining the storage path of medical images based on identifiers in the medical image storage system, the integrated medical images and their corresponding original medical images are stored in the same path, the problem of low query efficiency caused by inconsistent storage paths in traditional systems is solved, and query efficiency and work efficiency are improved.
Patent Information
- Application Number
- CN202111375088.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-17
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2041-11-17
AI Technical Summary
In traditional medical image storage and query systems, the storage paths of original medical images and fused medical images are inconsistent, which leads to medical staff who need to search from different storage areas separately when querying, which takes a long time and reduces query efficiency.
By obtaining the identifier of the medical image to be stored, it determines its type and storage path. If it is a fused medical image, the storage path is determined based on the identifier of the corresponding original medical image, so that it is stored in the same path as the original medical image, so that it can be searched in the same area during query.
It reduces the time for medical staff to obtain medical images, improves work efficiency, and reduces the waiting time for patients, while improving the efficiency of querying the original and fused medical images of the same examination object.
Smart Images

Figure CN114067963B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a medical image processing method, apparatus, computer equipment and readable storage medium. Background Art
[0002] When doing various examinations in hospitals to diagnose patients' conditions, it is usually necessary to scan medical images to provide medical staff with a basis for diagnosis. With the continuous development of medical technology, fused medical images (multiple original medical images are transformed by algorithms to match their spatial positions and coordinates) are increasingly used in the medical field. With the continuous development of medical informatization, Picture Archiving and Communication Systems (PACS) have been widely used.
[0003] In traditional technology, medical staff obtain the required original medical images or fused medical images by searching in the PACS system. However, in actual use, the original medical images and fused medical images stored in the PACS will increase day by day, and it will take a long time for medical staff to search for the required images in the PACS. Summary of the invention
[0004] Based on this, it is necessary to provide a medical image processing method, apparatus, computer device and readable storage medium to address the above technical problems.
[0005] In a first aspect, an embodiment of the present application provides a medical image processing method, comprising:
[0006] Acquire a first identifier of the medical image to be stored; the first identifier is used to characterize the type of the medical image to be stored, and the type of the medical image to be stored includes a fused medical image or an original medical image;
[0007] If it is determined according to the first identifier that the type of the medical image to be stored is a fused medical image, a storage path of the medical image to be stored is determined according to the second identifier of the medical image to be stored; the second identifier is determined according to the second identifier of the original medical image corresponding to the medical image to be stored, and the second identifier of the original medical image is used to represent the examination item corresponding to the original medical image;
[0008] The medical images to be stored are stored according to the storage path.
[0009] In one embodiment, determining a storage path of the medical image to be stored according to the second identifier of the medical image to be stored includes:
[0010] Determine a primary storage path of the medical image to be stored according to the second identifier;
[0011] Determine a third identifier of the medical image to be stored according to the second identifier; the third identifier is used to represent the sub-examination item corresponding to the medical image to be stored;
[0012] The secondary storage path of the medical image to be stored is determined according to the third identifier; the secondary storage path is the storage path under the primary storage path.
[0013] In one embodiment, determining the primary storage path of the medical image to be stored according to the second identifier includes:
[0014] Encrypting the second identifier to obtain a first encryption sequence;
[0015] According to the first encryption sequence, a primary storage path of the medical image to be stored is determined.
[0016] In one embodiment, determining a third identifier of the medical image to be stored according to the second identifier includes:
[0017] Obtain the medical institution code, concatenate the medical institution code with the second identifier, and determine the target identifier;
[0018] Encrypting the target identifier to obtain a second encryption sequence;
[0019] Based on the second encrypted sequence, a third identifier is determined.
[0020] In one embodiment, the medical image processing method further includes:
[0021] If it is determined according to the first identifier that the type of the medical image to be stored is an original medical image, determining a primary storage path of the medical image to be stored according to the second identifier of the medical image to be stored;
[0022] According to the third identifier of the medical image to be stored, a secondary storage path of the medical image to be stored is determined; the secondary storage path is a storage path under the primary storage path.
[0023] In one embodiment, the medical image processing method further includes:
[0024] Obtaining a second identifier of the medical image to be queried and a third identifier of the medical image to be queried;
[0025] The medical image to be queried is acquired according to the second identifier of the medical image to be queried and the third identifier of the medical image to be queried.
[0026] In a second aspect, an embodiment of the present application provides a medical image processing method, including:
[0027] Acquire a medical image to be stored, where the medical image to be stored is a fused medical image, and the fused medical image is a medical image fused from at least two original medical images;
[0028] Acquire a second identifier of the original medical image, where the second identifier is used to represent the examination item corresponding to the original medical image;
[0029] The storage path of the medical image to be stored is determined according to the second identifier, so that the fused medical image and the original medical image are stored in the same storage path.
[0030] In a third aspect, an embodiment of the present application provides a medical image processing device, including:
[0031] An acquisition module, used for acquiring a first identifier of the medical image to be stored; the first identifier is used for representing the type of the medical image to be stored, and the type of the medical image to be stored includes a fused medical image or an original medical image;
[0032] A determination module, configured to determine a storage path of the medical image to be stored according to a second identifier of the medical image to be stored, if the type of the medical image to be stored is determined to be a fused medical image according to the first identifier; the second identifier is determined according to a second identifier of an original medical image corresponding to the medical image to be stored, and the second identifier of the original medical image is used to characterize an examination item corresponding to the original medical image;
[0033] The storage module is used to store the medical images to be stored according to the storage path.
[0034] In a fourth aspect, an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method provided in the above embodiment are implemented.
[0035] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the method provided in the above embodiment when the computer program is executed by a processor.
[0036] The embodiment of the present application provides a medical image processing method, device, computer equipment and readable storage medium. The method obtains a first identifier of the medical image to be stored; if the type of the medical image to be stored is determined to be a fused medical image according to the first identifier, the storage path of the medical image to be stored is determined according to the second identifier of the medical image to be stored; and the medical image to be stored is stored according to the storage path. The medical image processing method provided in the embodiment of the present application determines the storage path by the second identifier of the medical image to be stored, and directly determines the storage path according to the second identifier of the medical image to be obtained when obtaining the stored medical image, so that the medical image can be directly obtained. In this way, it can be avoided to directly search for the medical image to be obtained in a large number of medical images, which can reduce the time for medical staff to obtain medical images, thereby improving the work efficiency of medical staff and reducing the waiting time of patients. In addition, when storing the fused medical image, the medical image processing method provided in the embodiment of the present application uses the second identifier of the original medical image corresponding to the fused medical image to determine the storage path, that is, the fused medical image and the original medical image corresponding thereto are stored in the same storage area. When the medical staff needs to query the original medical image and the fused medical image of the same examination object, they can query in the same storage area, which can reduce the query time and improve the query efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For different technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 A schematic diagram of the steps of a medical image processing method provided in one embodiment of the present application;
[0039] Figure 2 A schematic diagram of the steps of a medical image processing method provided in one embodiment of the present application;
[0040] Figure 3 A schematic diagram of the steps of a medical image processing method provided in one embodiment of the present application;
[0041] Figure 4 A schematic diagram of the steps of a medical image processing method provided in one embodiment of the present application;
[0042] Figure 5 A schematic diagram of the steps of a medical image processing method provided in one embodiment of the present application;
[0043] Figure 6A schematic diagram of the steps of a medical image processing method provided in one embodiment of the present application;
[0044] Figure 7 A schematic diagram of the steps of a medical image processing method provided in one embodiment of the present application;
[0045] Figure 8 A schematic diagram of the steps of a medical image processing method provided in one embodiment of the present application;
[0046] Fig. 9 A schematic diagram of the structure of a medical image processing device provided in one embodiment of the present application;
[0047] Fig.10 A schematic diagram of the structure of a computer device provided for one embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present application, so the present application is not limited by the specific embodiments disclosed below.
[0049] The serial numbers assigned to the components in this article, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning.
[0050] First, before specifically introducing the technical solution of the embodiment of the present disclosure, the technical background or technical evolution context based on the embodiment of the present disclosure is introduced. When performing various examinations related to the diagnosis of the patient's condition in the hospital, medical images need to be scanned to provide medical staff with a basis for diagnosis. With the continuous development of medical technology, fused medical images are increasingly used in the medical field. Fusion medical images refer to images in which multiple original medical images are transformed by algorithms to match the spatial positions and coordinates of multiple medical images. With the continuous development of medical informatization, picture archiving and communication systems (PACS) have been widely used. In traditional technology, medical staff obtain the required original medical images or fused medical images by querying in PASC. However, in actual use, the original medical images and fused medical images stored in PASC will increase day by day, resulting in a slower and slower response of PASC, and when storing the original medical images and fused medical images of the same examination object, the original medical images and fused medical images are stored in different storage areas. When medical staff search for images of the same examination object in PASC, they need to search for medical images and fused medical images corresponding to the examination object from different areas respectively, which will take a long time and reduce the query efficiency. In this regard, the present application provides a medical image processing method.
[0051] The medical image processing method provided in this application can be implemented by computer equipment. Computer equipment includes but is not limited to control chips, personal computers, laptops, smart phones, tablet computers and portable wearable devices. The method provided in this application can be implemented by JAVA software and can also be applied to other software.
[0052] The technical solution of the present application and how the technical solution of the present application solves the technical problem are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0053] See also Figure 1 An embodiment of the present application provides a medical image processing method. This embodiment describes the medical image processing method with a computer device as the execution subject, and the steps include:
[0054] Step 100: Obtain a first identifier of the medical image to be stored; the first identifier is used to characterize the type of the medical image to be stored, and the type of the medical image to be stored includes a fused medical image or an original medical image.
[0055] In actual use, the medical images to be stored include both fused medical images and original medical images. The medical image to be stored may be any one of the fused medical images and the original medical images. The computer device obtains the first identifier of the medical image to be stored. The computer device may determine the type of the medical image to be stored based on the first identifier. This embodiment does not limit the method for obtaining the first identifier of the medical image to be stored, as long as its function can be achieved.
[0056] Typically, the identifier of a medical image includes an identifier representing the type of medical image (SeriesDescription); an identifier representing the examination item corresponding to the medical image (StudyInstanceUID), where the examination item refers to a certain examination performed on the patient; an identifier representing the sub-examination item corresponding to the medical image (SeriesInstanceUID), where the sub-examination item refers to a specific examination item performed on the patient when undergoing a certain examination, such as a magnetic resonance imaging scan and a computerized tomography scan; and an identifier representing the image of the medical image (SopInstanceUID).
[0057] In an optional embodiment, the staff can input the medical image to be stored into the computer device, and the computer device analyzes the medical image to be stored after obtaining it to obtain the first identifier of the medical image to be stored. The staff can also directly input the first identifier of the medical image to be stored into the computer device.
[0058] Step 110: If the type of the medical image to be stored is determined to be a fused medical image according to the first identifier, the storage path of the medical image to be stored is determined according to the second identifier of the medical image to be stored; the second identifier is determined according to the second identifier of the original medical image corresponding to the medical image to be stored, and the second identifier of the original medical image is used to represent the examination item corresponding to the original medical image.
[0059] The computer device determines the type of the medical image to be stored according to the first identifier. If the computer device determines that the type of the medical image to be stored is a fused medical image, the second identifier of the original medical image corresponding to the medical image to be stored is obtained, and the second identifier of the original medical image is used as the second identifier of the medical image to be stored, and the storage path of the medical image to be stored is determined according to the second identifier. The second identifier of the original medical image is used to characterize the examination item corresponding to the original medical image. The fused medical image is obtained by fusion of at least two original medical images, and the second identifier of each original medical image is the same. The original medical image corresponding to the medical image to be stored (fused medical image) is the original medical image when fused into the fused medical image. The second identifier of the original medical image can be the StudyInstanceUid obtained by the computer device parsing the original medical image. That is, when the type of the medical image to be stored is a fused medical image, the storage path of the medical image to be stored is determined according to the second identifier of the original medical image. This embodiment does not limit the method of obtaining the original medical image corresponding to the medical image to be stored and the method of determining the storage path according to the second identifier, as long as their functions can be achieved.
[0060] In an optional embodiment, the computer device stores the association relationship between the fused medical image and the original medical image, and the computer device can determine the original medical image corresponding to the fused medical image based on the fused medical image and the association relationship.
[0061] Step 120: Store the medical images to be stored according to the storage path.
[0062] When determining the storage path of the medical image to be stored, the computer device stores the medical image to be stored in the storage path, thereby completing the storage of the medical image to be stored.
[0063] The medical image storage method provided in the embodiment of the present application obtains the first identifier of the medical image to be stored; if the type of the medical image to be stored is determined to be a fused medical image according to the first identifier, the storage path of the medical image to be stored is determined according to the second identifier of the medical image to be stored; and the medical image to be stored is stored according to the storage path. The medical image processing method provided in the embodiment of the present application determines the storage path by the second identifier of the medical image to be stored, and directly determines the storage path according to the second identifier of the medical image to be obtained when obtaining the stored medical image, so that the medical image can be directly obtained. In this way, it can be avoided to directly search for the medical image to be obtained in a large number of medical images, which can reduce the time for medical staff to obtain medical images, thereby improving the work efficiency of medical staff and reducing the waiting time of patients. In addition, when storing the fused medical image, the medical image processing method provided in the embodiment of the present application uses the second identifier of the original medical image corresponding to the fused medical image to determine the storage path, that is, the fused medical image and the original medical image corresponding thereto are stored in the same storage area. When the medical staff needs to query the original medical image and the fused medical image of the same examination object, they can query in the same storage area, which can reduce the query time and improve the query efficiency.
[0064] See also Figure 2 In one embodiment, a possible implementation method for determining a storage path of a medical image to be stored according to a second identifier of the medical image to be stored includes the following steps:
[0065] Step 200: Determine a primary storage path of the medical image to be stored according to the second identifier.
[0066] After obtaining the second identifier of the medical image to be stored, that is, the second identifier of the original medical image corresponding to the medical image to be stored, the computer device determines a primary storage path in the storage path of the medical image to be stored according to the second identifier.
[0067] In one embodiment, a possible implementation method of determining the primary storage path of the medical image to be stored according to the second identifier is as follows: Figure 3 As shown, including:
[0068] Step 300: Encrypt the second identifier to obtain a first encryption sequence.
[0069] After obtaining the second identifier, the computer device encrypts the second identifier to obtain the first encryption sequence. This embodiment does not limit the encryption method used when encrypting the second identifier, as long as its function can be achieved.
[0070] In an optional embodiment, the computer device performs MD5 encryption on the second identifier to obtain the first encryption sequence.
[0071] Step 310: Determine a primary storage path for the medical image to be stored according to the first encryption sequence.
[0072] After obtaining the first encryption sequence, the computer device determines the primary storage path of the medical image to be stored according to the first encryption sequence. The primary storage path can be obtained by dividing the first encryption sequence. This embodiment does not limit the specific method of determining the primary storage path according to the first encryption sequence, as long as its function can be achieved.
[0073] In an optional embodiment, the computer device divides the obtained second encryption sequence to obtain the first N bits of the second encryption sequence, and uses the first N bits of the second encryption sequence as the name of the storage folder to determine the first sub-storage path under the first-level storage path; uses the last M bits of the second encryption sequence as the name of the storage folder to determine the second sub-storage path under the first sub-storage path; and uses the second encryption sequence as the name of the storage folder to determine the third sub-storage path under the second sub-storage path.
[0074] Step 210: Determine a third identifier of the medical image to be stored according to the second identifier; the third identifier is used to represent the sub-examination item corresponding to the medical image to be stored.
[0075] After obtaining the second identifier, the computer device determines the third identifier of the medical image to be stored according to the second identifier. The third identifier, i.e., SeriesInstanceUID, can be used to characterize the sub-examination item corresponding to the medical image to be stored. This embodiment does not limit the specific method of determining the third identifier according to the second identifier, as long as its function can be achieved.
[0076] Step 220: Determine a secondary storage path for storing the medical image according to the third identifier; the secondary storage path is a storage path under the primary storage path.
[0077] After obtaining the third identifier, the computer device determines the secondary storage path of the medical image to be stored according to the third identifier, and stores the medical image to be stored in the secondary storage path. The secondary storage path is a storage path under the primary storage path. This embodiment does not limit the specific method of determining the secondary storage path of the medical image to be stored according to the third identifier, as long as its function can be achieved.
[0078] In an optional embodiment, the computer device uses the third identifier as the name of the storage folder to determine the secondary storage path under the primary storage path.
[0079] In this embodiment, the first-level storage path in the storage path is determined according to the first encryption sequence of the second identifier, and the uniqueness of the first-level storage path can be guaranteed by the uniqueness of the first encryption sequence. According to the characteristic that the length of the first encryption sequence is smaller than the length of the second identifier, the utilization rate of the storage space can be improved, thereby facilitating the subsequent rapid query and acquisition of medical images. In addition, when storing medical images, multiple servers are usually used to form a cluster to store medical images. According to the randomness of the first encryption sequence, a large number of medical images can be avoided from being stored in the same server, which makes the server load heavy and causes the server to be unavailable, thereby improving the practicality of the medical image processing method.
[0080] In one embodiment, a possible implementation method of determining the third identifier of the medical image to be stored according to the second identifier is as follows: Figure 4 As shown, the steps include:
[0081] Step 400: Obtain the medical institution code, concatenate the medical institution code and the second identifier, and determine the target identifier.
[0082] When determining the third identifier, the computer device first obtains the medical institution code, that is, the code of the medical institution to which the medical image to be stored belongs; then concatenates the medical institution code and the second identifier, that is, sets the medical institution code behind the second identifier, or sets the second identifier behind the medical institution code, to obtain the target identifier.
[0083] Step 410: Encrypt the target identifier to obtain a second encryption sequence.
[0084] After obtaining the target identifier, the computer device encrypts the target identifier to obtain a second encryption sequence. The method of encrypting the target identifier to obtain the second encryption sequence can refer to the specific description of encrypting the second identifier to obtain the second encryption sequence in the above embodiment, which will not be repeated here.
[0085] Step 420: Determine a third identifier according to the second encryption sequence.
[0086] After obtaining the second encryption sequence, the computer device determines the third identifier according to the second encryption sequence. This embodiment does not limit the method of determining the third identifier according to the second encryption sequence, as long as its function can be achieved.
[0087] In an optional embodiment, the computer device may directly use the second encryption sequence as the third identifier, or may select any several bits in the second encryption sequence as the third identifier.
[0088] In another optional embodiment, the computer device can select a sequence at a preset position in the second encryption sequence, obtain a preset prefix, and concatenate the preset prefix with the sequence at the preset position of the second encryption sequence, that is, set the preset prefix in front of the sequence at the preset position of the second encryption sequence to obtain a third identifier. The preset position and the preset prefix can be set by the staff according to the actual application situation. In a specific embodiment, the sequence at the preset position of the second encryption sequence can be a sequence composed of the middle eight bits of the second encryption sequence. In this way, the uniqueness of the obtained third identifier can be guaranteed, thereby ensuring the uniqueness of the secondary storage path, and then facilitating the subsequent rapid query and acquisition of medical images.
[0089] See also Figure 5 In one embodiment, the medical image processing method further includes:
[0090] Step 500: If it is determined according to the first identifier that the type of the medical image to be stored is an original medical image, a primary storage path of the medical image to be stored is determined according to the second identifier of the medical image to be stored.
[0091] If the computer device determines that the type of the medical image to be stored is an original medical image according to the first identifier, the computer device directly determines the primary storage path of the medical image to be stored according to the second identifier of the medical image to be stored, that is, the second identifier of the original medical image. The description of the second identifier of the original medical image and the specific description of the method for determining the primary storage path of the medical image to be stored according to the second identifier can refer to the specific description in the above embodiment, which will not be repeated here.
[0092] Step 510: Determine a secondary storage path of the medical image to be stored according to the third identifier of the medical image to be stored; the secondary storage path is a storage path under the primary storage path.
[0093] After determining the primary storage path of the medical image to be stored, the computer device determines the secondary storage path of the medical image to be stored under the primary storage path according to the third identifier of the medical image to be stored, that is, the third identifier of the original medical image. The third identifier of the original medical image is used to characterize the sub-examination item corresponding to the original medical image. After determining the secondary storage path, the computer device stores the medical image to be stored under the secondary storage path. For the description of determining the secondary storage path of the medical image to be stored according to the third identifier of the medical image to be stored, reference can be made to the specific description of determining the secondary storage path of the medical image to be stored according to the third identifier in the above embodiment, which will not be repeated here.
[0094] In this embodiment, when the medical image to be stored is an original medical image, the primary storage path of the medical image to be stored is the same as the primary storage path of the fused medical image corresponding to the original medical image, so that the original medical image and the fused medical image are stored in the same storage area, that is, in the same primary storage path. The secondary storage path of the medical image to be stored is different from the secondary storage path of the fused medical image corresponding to the original medical image, so that the original medical image and the fused medical image are stored in different secondary storage paths, which is convenient for distinguishing the original medical image and the fused medical image, and can improve the practicality of medical image processing.
[0095] See also Figure 6 In one embodiment, when it is necessary to query the stored medical images, the medical image processing method further includes:
[0096] Step 600: Obtain a second identifier of the medical image to be queried and a third identifier of the medical image to be queried.
[0097] When the computer device needs to query the medical image to be stored, it needs to first obtain the second identifier of the medical image to be queried and the third identifier of the medical image to be queried. The second identifier of the medical image to be queried refers to the second identifier used when storing the medical image to be queried, that is, when the medical image to be queried is the original medical image, the second identifier of the medical image to be queried is the second identifier of the original medical image; when the medical image to be queried is a fused medical image, the second identifier of the medical image to be queried refers to the second identifier of the original medical image corresponding to the fused medical image. The third identifier of the medical image to be queried refers to the third identifier used when storing the medical image to be queried, that is, when the medical image to be queried is the original medical image, the third identifier of the medical image to be queried is the third identifier of the original medical image; when the medical image to be queried is a fused medical image, the third identifier of the medical image to be queried refers to the third identifier determined according to the second identifier of the original medical image corresponding to the fused medical image. This embodiment does not limit the method of obtaining the second identifier of the medical image to be queried and the third identifier of the medical image to be queried, as long as its function can be achieved.
[0098] In an optional embodiment, the second identifier of the medical image to be queried and the third identifier of the medical image to be queried are directly stored in the memory of the computer device, and the computer device can directly obtain them from the memory when needed.
[0099] Step 610: Acquire the medical image to be queried according to the second identifier of the medical image to be queried and the third identifier of the medical image to be queried.
[0100] After obtaining the second identifier of the medical image to be queried and the third identifier of the medical image to be stored, the computer device determines the primary storage path of the medical image to be queried according to the second identifier of the medical image to be queried, determines the secondary storage path of the medical image to be queried according to the third identifier of the medical image to be queried, queries the medical image to be queried according to the primary storage path of the medical image to be queried and the secondary storage path of the medical image to be queried, and obtains the medical image to be queried stored under the secondary storage path.
[0101] The method for obtaining the medical image to be queried provided in this embodiment can enable medical personnel to quickly query and obtain the required medical image to be queried, thereby improving the practicality of the medical image processing method.
[0102] See also Figure 7 In one embodiment, a possible implementation method of setting and obtaining a second identifier of a medical image to be queried and a third identifier of the medical image to be queried includes:
[0103] Step 700: Obtain a first identifier of the medical image to be queried, and determine the type of the medical image to be queried according to the first identifier of the medical image to be queried.
[0104] The computer device obtains the first identifier of the medical image to be queried, and determines the type of the medical image to be queried according to the first identifier. The description of the first identifier can refer to the specific description in the above embodiment, which will not be repeated here.
[0105] Step 710: If the type of the medical image to be queried is a fused medical image, the second identifier of the original medical image corresponding to the medical image to be queried is used as the second identifier of the medical image to be queried.
[0106] If the computer device determines that the medical image to be queried is a fused medical image based on the first identifier of the medical image to be queried, the computer device obtains the second identifier of the original medical image corresponding to the medical image to be queried, and uses the second identifier of the original medical image as the second identifier of the medical image to be queried. For the description of the method of obtaining the second identifier of the original medical image corresponding to the fused medical image, and the description of the second identifier of the original medical image, reference can be made to the specific description in the above embodiment, which will not be repeated here.
[0107] Step 720: Determine a third identifier of the medical image to be queried according to the second identifier of the medical image to be queried.
[0108] After obtaining the second identifier of the medical image to be queried, the computer device determines the third identifier of the medical image to be queried according to the second identifier. The method of determining the third identifier of the medical image to be queried according to the second identifier of the medical image to be queried can refer to the specific description of determining the third identifier of the medical image to be stored according to the second identifier in the above embodiment, which will not be repeated here.
[0109] In this embodiment, the computer device only needs to obtain the first identifier of the medical image to be queried, and can determine the second identifier of the medical image to be queried and the third identifier of the medical image to be queried based on the first identifier. It is not necessary to store the second identifier of the medical image to be queried and the third identifier of the medical image to be queried in advance, which can improve the utilization rate of the storage space and facilitate the rapid query and acquisition of the medical image to be queried.
[0110] See also Figure 8 An embodiment of the present application provides a medical image processing method. This embodiment describes the medical image processing method with a computer device as the execution subject, and the steps include:
[0111] Step 800: Obtain a medical image to be stored, where the medical image to be stored is a fused medical image, which is a medical image fused from at least two original medical images.
[0112] The medical image to be stored may be pre-stored in the memory of the computer device by the computer device, and the computer device directly obtains the medical image to be stored in the memory. The medical image to be stored is a fused medical image, that is, the medical image to be stored is a medical image obtained by fusion of multiple original medical images.
[0113] Step 810: Obtain a second identifier of the original medical image, where the second identifier is used to represent the examination item corresponding to the original medical image.
[0114] After obtaining the medical image to be stored (the fused medical image), the computer device obtains the second identifier of the original medical image. The original medical image is any original medical image fused into the fused medical image. The description of the second identifier of the original medical image can refer to the specific description in the above embodiment, which will not be repeated here.
[0115] Step 820: Determine a storage path of the medical image to be stored according to the second identifier, so that the fused medical image and the original medical image are stored in the same storage path.
[0116] After obtaining the second identifier of the medical image to be stored, the computer device determines the storage path of the medical image to be stored according to the second identifier. In this way, the storage path of the fused medical image is determined according to the second identifier of the original medical image, so that the fused medical image and the original medical image are stored in the same storage path. For the description of determining the storage path of the medical image to be stored according to the second identifier, reference can be made to the description of determining the storage path of the medical image to be stored according to the second identifier of the medical image to be stored in the above embodiment, which will not be repeated here.
[0117] The medical image processing method provided in the embodiment of the present application determines the storage path through the second identifier of the original medical image corresponding to the medical image to be stored (i.e., the fused medical image), so that the fused medical image and the original medical image corresponding thereto can be stored in the same storage path. When medical staff need to query the original medical image and the fused medical image of the same examination object, they can query them in the same storage path, which can reduce the query time and improve the query efficiency.
[0118] It should be understood that, although the various steps in the flowchart in the figure are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear explanation 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 a part of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0119] See also Fig. 9 An embodiment of the present application provides a medical image processing device 10, which includes an acquisition module 11, a determination module 12 and a storage module 13.
[0120] The acquisition module 11 is used to acquire a first identifier of the medical image to be stored; the first identifier is used to characterize the type of the medical image to be stored, and the type of the medical image to be stored includes a fused medical image or an original medical image;
[0121] The determination module 12 is used to determine the storage path of the medical image to be stored according to the second identifier of the medical image to be stored if the type of the medical image to be stored is determined to be a fused medical image according to the first identifier; the second identifier is determined according to the second identifier of the original medical image corresponding to the medical image to be stored, and the second identifier of the original medical image is used to represent the examination item corresponding to the original medical image;
[0122] The storage module 13 is used to store the medical images to be stored according to the storage path.
[0123] In one embodiment, the determination module 12 includes a first determination unit, a second determination unit, and a third determination unit.
[0124] The first determination unit is used to determine the primary storage path of the medical image to be stored according to the second identifier; the second determination unit is used to determine the third identifier of the medical image to be stored according to the second identifier; the third identifier is used to characterize the sub-examination item corresponding to the medical image to be stored; the third determination unit is used to determine the secondary storage path of the medical image to be stored according to the third identifier; the secondary storage path is the storage path under the primary storage path.
[0125] In one embodiment, the first determining unit is specifically configured to encrypt the second identifier to obtain a first encryption sequence; and determine a primary storage path of the medical image to be stored according to the first encryption sequence.
[0126] In one embodiment, the second determination unit is specifically used to obtain the medical institution code, concatenate the medical institution code and the second identifier to determine the target identifier; encrypt the target identifier to obtain a second encryption sequence; and determine the third identifier based on the second encryption sequence.
[0127] In one embodiment, the medical image processing device 10 further includes a primary storage path determination module and a secondary storage path determination module. The primary storage path determination module is used to determine the primary storage path of the medical image to be stored according to the second identifier of the medical image to be stored if the type of the medical image to be stored is determined to be an original medical image according to the first identifier; the secondary storage path determination module is used to determine the secondary storage path of the medical image to be stored according to the third identifier of the medical image to be stored; the secondary storage path is the storage path under the primary storage path.
[0128] In one embodiment, the medical image processing device 10 further includes a first acquisition unit and a second acquisition unit. The first acquisition unit is used to acquire the second identifier of the medical image to be queried and the third identifier of the medical image to be queried; the second acquisition unit is used to acquire the medical image to be queried according to the second identifier of the medical image to be queried and the third identifier of the medical image to be queried.
[0129] In one embodiment, the first acquisition unit is specifically used to acquire the first identifier of the medical image to be queried, and determine the type of the medical image to be queried based on the first identifier of the medical image to be queried; if the type of the medical image to be queried is a fused medical image, the second identifier of the original medical image corresponding to the medical image to be queried is used as the second identifier of the medical image to be queried; based on the second identifier of the medical image to be queried, determine the third identifier of the medical image to be queried.
[0130] For the specific definition of the above-mentioned medical image processing device 10, please refer to the definition of the medical image processing method above, which will not be repeated here. Each module in the medical image processing device 10 can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned devices, modules or units can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned devices or modules.
[0131] See also Fig.10 In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.10 As shown. The computer device includes a processor, a memory, a network interface and a database 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, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store a first identifier and a second identifier, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer device is executed by the processor, a medical image processing method is implemented.
[0132] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0133] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0134] Acquire a first identifier of the medical image to be stored; the first identifier is used to characterize the type of the medical image to be stored, and the type of the medical image to be stored includes a fused medical image or an original medical image;
[0135] If it is determined according to the first identifier that the type of the medical image to be stored is a fused medical image, a storage path of the medical image to be stored is determined according to the second identifier of the medical image to be stored; the second identifier is determined according to the second identifier of the original medical image corresponding to the medical image to be stored, and the second identifier of the original medical image is used to represent the examination item corresponding to the original medical image;
[0136] The medical images to be stored are stored according to the storage path.
[0137] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining the primary storage path of the medical image to be stored based on the second identifier; determining the third identifier of the medical image to be stored based on the second identifier; the third identifier is used to characterize the sub-examination item corresponding to the medical image to be stored; determining the secondary storage path of the medical image to be stored based on the third identifier; the secondary storage path is the storage path under the primary storage path.
[0138] In one embodiment, when the processor executes the computer program, the following steps are further implemented: encrypting the second identifier to obtain a first encryption sequence; and determining a primary storage path of the medical image to be stored according to the first encryption sequence.
[0139] In one embodiment, when the processor executes the computer program, it also implements the following steps: obtaining the medical institution code, concatenating the medical institution code and the second identifier to determine the target identifier; encrypting the target identifier to obtain a second encryption sequence; and determining the third identifier based on the second encryption sequence.
[0140] In one embodiment, when the processor executes the computer program, the following steps are also implemented: if the type of the medical image to be stored is determined to be an original medical image according to the first identifier, the primary storage path of the medical image to be stored is determined according to the second identifier of the medical image to be stored; and the secondary storage path of the medical image to be stored is determined according to the third identifier of the medical image to be stored; the secondary storage path is the storage path under the primary storage path.
[0141] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining a second identifier of the medical image to be queried and a third identifier of the medical image to be queried; and obtaining the medical image to be queried according to the second identifier of the medical image to be queried and the third identifier of the medical image to be queried.
[0142] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining a medical image to be stored, where the medical image to be stored is a fused medical image, and the fused medical image is a medical image fused from at least two original medical images; obtaining a second identifier of the original medical image, where the second identifier is used to characterize the examination item corresponding to the original medical image; and determining a storage path of the medical image to be stored according to the second identifier, so that the fused medical image and the original medical image are stored in the same storage path.
[0143] 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 implemented:
[0144] Acquire a first identifier of the medical image to be stored; the first identifier is used to characterize the type of the medical image to be stored, and the type of the medical image to be stored includes a fused medical image or an original medical image;
[0145] If it is determined according to the first identifier that the type of the medical image to be stored is a fused medical image, a storage path of the medical image to be stored is determined according to the second identifier of the medical image to be stored; the second identifier is determined according to the second identifier of the original medical image corresponding to the medical image to be stored, and the second identifier of the original medical image is used to represent the examination item corresponding to the original medical image;
[0146] The medical images to be stored are stored according to the storage path.
[0147] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the primary storage path of the medical image to be stored based on the second identifier; determining the third identifier of the medical image to be stored based on the second identifier; the third identifier is used to characterize the sub-examination item corresponding to the medical image to be stored; determining the secondary storage path of the medical image to be stored based on the third identifier; the secondary storage path is the storage path under the primary storage path.
[0148] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: encrypting the second identifier to obtain a first encryption sequence; and determining a primary storage path of the medical image to be stored according to the first encryption sequence.
[0149] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the medical institution code, concatenating the medical institution code and the second identifier to determine the target identifier; encrypting the target identifier to obtain a second encryption sequence; and determining the third identifier based on the second encryption sequence.
[0150] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the type of the medical image to be stored is determined to be an original medical image according to the first identifier, the primary storage path of the medical image to be stored is determined according to the second identifier of the medical image to be stored; and the secondary storage path of the medical image to be stored is determined according to the third identifier of the medical image to be stored; the secondary storage path is the storage path under the primary storage path.
[0151] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a second identifier of the medical image to be queried and a third identifier of the medical image to be queried; and obtaining the medical image to be queried according to the second identifier of the medical image to be queried and the third identifier of the medical image to be queried.
[0152] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a medical image to be stored, where the medical image to be stored is a fused medical image, and the fused medical image is a medical image fused from at least two original medical images; obtaining a second identifier of the original medical image, where the second identifier is used to characterize the examination item corresponding to the original medical image; determining a storage path of the medical image to be stored according to the second identifier, so that the fused medical image and the original medical image are stored in the same storage path.
[0153] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0154] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0155] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A medical image processing method, characterized in that: include: Obtaining a first identifier of the medical image to be stored; The first identifier is used to represent the type of the medical image to be stored, and the type of the medical image to be stored includes a fused medical image or an original medical image; If it is determined according to the first identifier that the type of the medical image to be stored is the fused medical image, determining a storage path of the medical image to be stored according to the second identifier of the medical image to be stored; The second identifier is determined according to a second identifier of an original medical image corresponding to the medical image to be stored, the second identifier of the original medical image being used to characterize the examination item corresponding to the original medical image; the original medical image corresponding to the medical image to be stored refers to at least two original medical images fused into the fused medical image; The medical image to be stored is stored according to the storage path.
2. The medical image processing method according to claim 1, characterized in that: The step of determining a storage path of the medical image to be stored according to the second identifier of the medical image to be stored includes: Determine a primary storage path of the medical image to be stored according to the second identifier; Determine a third identifier of the medical image to be stored according to the second identifier; the third identifier is used to represent the sub-examination item corresponding to the medical image to be stored; The secondary storage path of the medical image to be stored is determined according to the third identifier; the secondary storage path is a storage path under the primary storage path.
3. The medical image processing method according to claim 2, characterized in that: The step of determining the primary storage path of the medical image to be stored according to the second identifier includes: encrypting the second identifier to obtain a first encrypted sequence; According to the first encryption sequence, a primary storage path of the medical image to be stored is determined.
4. The medical image processing method according to claim 3, characterized in that: The determining the third identifier of the medical image to be stored according to the second identifier includes: Obtaining a medical institution code, and concatenating the medical institution code with the second identifier to determine a target identifier; Encrypting the target identifier to obtain a second encrypted sequence; The third identifier is determined based on the second encryption sequence.
5. The medical image processing method according to claim 1, characterized in that: The method further comprises: If it is determined according to the first identifier that the type of the medical image to be stored is the original medical image, determining a primary storage path of the medical image to be stored according to the second identifier of the medical image to be stored; According to the third identifier of the medical image to be stored, a secondary storage path of the medical image to be stored is determined; the secondary storage path is a storage path under the primary storage path.
6. The medical image processing method according to claim 1, characterized in that: The method further comprises: Acquire a second identifier of the medical image to be queried and a third identifier of the medical image to be queried; The medical image to be queried is acquired according to the second identifier of the medical image to be queried and the third identifier of the medical image to be queried.
7. A medical image processing method, characterized in that: include: Acquire a medical image to be stored, wherein the medical image to be stored is a fused medical image, and the fused medical image is a medical image fused from at least two original medical images; Acquire a second identifier of the original medical image, where the second identifier is used to represent an examination item corresponding to the original medical image; The storage path of the medical image to be stored is determined according to the second identifier, so that the fused medical image and the original medical image are stored in the same storage path.
8. A medical image processing device, characterized in that: include: An acquisition module, used for acquiring a first identifier of the medical image to be stored; The first identifier is used to represent the type of the medical image to be stored, and the type of the medical image to be stored includes a fused medical image or an original medical image; a determination module, configured to determine a storage path of the medical image to be stored according to a second identifier of the medical image to be stored, if the type of the medical image to be stored is determined to be the fused medical image according to the first identifier; The second identifier is determined according to a second identifier of an original medical image corresponding to the medical image to be stored, the second identifier of the original medical image being used to characterize the examination item corresponding to the original medical image; the original medical image corresponding to the medical image to be stored refers to at least two original medical images fused into the fused medical image; A storage module is used to store the medical image to be stored according to the storage path.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, 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 7 are implemented.
Citation Information
Patent Citations
Method for retrieving medicine image
CN101256574A
Search and processing method, device and system for image data
CN105912840A