[go: nahoru, domu]

CN113764074B - Image processing method and device, computer equipment and storage medium - Google Patents

Image processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113764074B
CN113764074B CN202111070854.3A CN202111070854A CN113764074B CN 113764074 B CN113764074 B CN 113764074B CN 202111070854 A CN202111070854 A CN 202111070854A CN 113764074 B CN113764074 B CN 113764074B
Authority
CN
China
Prior art keywords
image
target
sequence
header
determining
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.)
Active
Application number
CN202111070854.3A
Other languages
Chinese (zh)
Other versions
CN113764074A (en
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.)
Hangzhou Taimei Xingcheng Pharmaceutical Technology Co ltd
Original Assignee
Hangzhou Taimei Xingcheng Pharmaceutical Technology Co 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 Hangzhou Taimei Xingcheng Pharmaceutical Technology Co ltd filed Critical Hangzhou Taimei Xingcheng Pharmaceutical Technology Co ltd
Priority to CN202111070854.3A priority Critical patent/CN113764074B/en
Publication of CN113764074A publication Critical patent/CN113764074A/en
Application granted granted Critical
Publication of CN113764074B publication Critical patent/CN113764074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions

Landscapes

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

Abstract

The application provides an image processing method and device, computer equipment and a storage medium, which solve the problem that in the prior art, an image for MPR comprises files which do not belong to the same scanning image sequence, so that the error of MPR is reported. The image processing method comprises the following steps: receiving a multi-plane reconstruction request sent by a user at a client, wherein the multi-plane reconstruction request comprises header file information of a current film reading image; responding to the multi-plane reconstruction request, and determining a plurality of target images with DICOM file formats in the folder where the current read image is located; determining a target scanning image sequence from a plurality of target images based on the header file information, wherein the target scanning image sequence comprises a current film reading image; a multi-planar reconstruction is performed based on the sequence of target scan images.

Description

Image processing method and device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of medical image data processing technologies, and in particular, to an image processing method and apparatus, a computer device, and a storage medium.
Background
The medical image film reading system provides a multi-scene comprehensive solution for medical image film reading, and realizes informatization and intellectualization of the whole business flow from image management to film reading management. One of the main functions of the medical image film reading system is to perform multi-plane reconstruction (Multi Planar Reconstruction, MPR) on the DICOM file of the same uploaded scanning image sequence through an algorithm deployed on a cloud server, so as to obtain reconstructed images of a coronal plane, a sagittal plane, an oblique sagittal plane or any angle for a client to call. However, there are some cases that may cause MPR functions to report errors or generate erroneous sequence results, resulting in MPR functions not being usable.
Disclosure of Invention
In view of this, the embodiments of the present application provide an image processing method and apparatus, a computer device, and a storage medium, so as to solve the problem in the prior art that an image for MPR includes files that do not belong to the same scan image sequence, and cause MPR reporting errors.
The first aspect of the present application provides an image processing method, including: receiving a multi-plane reconstruction request sent by a user at a client, wherein the multi-plane reconstruction request comprises header file information of a current film reading image; responding to the multi-plane reconstruction request, and determining a plurality of target images with DICOM file formats in the folder where the current read image is located; determining a target scanning image sequence from a plurality of target images based on the header file information, wherein the target scanning image sequence comprises a current film reading image; a multi-planar reconstruction is performed based on the sequence of target scan images.
In one embodiment, determining the plurality of target images in DICOM format in the folder in which the current reader image is located includes at least one of: determining a plurality of target images in DICOM format in the folder based on the file suffix; a plurality of target images in DICOM in a file format in a folder is determined based on the file format identification in the header file information.
In one embodiment, the header file information includes a patient name, an exam instance number for identifying different exams, and a sequence instance number for identifying different exam sites. Determining a target scan image sequence from a plurality of target images based on the header information includes: matching the patient name in the header information of the target image with the patient name in the header information of the current film reading image for each target image; when the patient name matching result is consistent, matching the checking instance number in the header file information of the target image with the checking instance number in the header file information of the current film reading image; when the matching results of the instance numbers are consistent, matching the sequence instance numbers in the header file information of the target image with the sequence instance numbers in the header file information of the current film reading image; and when the matching results of the sequence instance numbers are consistent, determining that the target image belongs to the target scanning image sequence.
In one embodiment, the header file information further includes an auxiliary sequence identifier for identifying different scanned image sequences; when the matching results of the sequence instance numbers are consistent, determining that the target image belongs to the target scanning image sequence comprises: when the matching results of the sequence instance numbers are consistent, matching auxiliary sequence identifiers in the header file information of the target image with auxiliary sequence identifiers in the header file information of the current film reading image; and when the auxiliary sequence identification matching results are consistent, determining that the target image belongs to the target scanning image sequence.
In one embodiment, the header file further includes an instance number for identifying the respective numbers of the same sequence of scanned images. After determining the target scan image sequence from the plurality of target images based on the header information, further comprising: determining missing header information when the instance numbers of the target scanning image sequence are discontinuous; and searching the missing image in the database according to a preset strategy based on the file information of the missing header. Performing a multi-planar reconstruction based on the sequence of target scan images includes: a multi-planar reconstruction is performed based on the target scan image sequence and the missing images.
In one embodiment, searching for the missing image in the database according to the predetermined policy based on the missing header information includes: and searching for the missing image in the previous-level folder of the folder based on the missing header file information.
In one embodiment, before the multi-planar reconstruction based on the target scan image sequence, further comprising: the number of images in the target scan image sequence is counted. Performing a multi-planar reconstruction based on the sequence of target scan images includes: when the number is greater than the number threshold, a multi-planar reconstruction is performed based on the sequence of target scan images.
A second aspect of the present application provides an image processing apparatus, comprising: the receiving module is used for receiving a multi-plane reconstruction request sent by a user at the client, wherein the multi-plane reconstruction request comprises header file information of a current film reading image; the first determining module is used for responding to the multi-plane reconstruction request and determining a plurality of target images with DICOM file formats in the folder where the current image is located; the second determining module is used for determining a target scanning image sequence from a plurality of target images based on the header file information, wherein the target scanning image sequence comprises a current film reading image; and the reconstruction module is used for carrying out multi-plane reconstruction based on the target scanning image sequence.
A third aspect of the present application provides a computer device comprising a memory, a processor and a computer program stored on the memory for execution by the processor, the processor executing the computer program to perform the steps of the image processing method provided by any of the embodiments described above.
A fourth aspect of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the image processing method provided by any of the above embodiments.
According to the image processing method and device, the computer equipment and the storage medium, files in the same folder are screened and filtered based on file format and header file information before MPR is executed, the same scanning image sequence is screened from the folder, namely the same patient checks the scanning images of the same scanning image sequence at the same time, so that the scanning image processing method and device are used for a subsequent MPR process, the accuracy of images used in the MPR process is ensured, and the stability of the subsequent MPR process and the accuracy of reconstructed images are further improved.
Drawings
Fig. 1 is a schematic diagram of a storage structure of a medical image in a database according to an embodiment of the present application.
Fig. 2 shows a system architecture diagram to which the image processing method or apparatus of the embodiment of the present application can be applied.
Fig. 3 is a flowchart of an image processing method according to an exemplary embodiment of the present application.
Fig. 4 is a schematic diagram illustrating an implementation process of the image processing method shown in fig. 3 according to an exemplary embodiment of the present application.
Fig. 5 is a flowchart of an image processing method according to another embodiment of the present application.
Fig. 6 is a flowchart of an image processing method according to another exemplary embodiment of the present application.
Fig. 7 is a block diagram of an image processing apparatus according to an embodiment of the present application.
Fig. 8 is a block diagram of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Summary of the application
Typically, the clinical coordinator (Clinical Research Coordinator, CRC) uploads the images acquired by the terminals to the server in batches in digital imaging and communications in medicine (Digital Imaging and Communications in Medicine, DICOM) format, with the images of the same batch packaged in the same primary folder. The three-level subfolders which are arranged according to the level are arranged under the first-level folder, as shown in fig. 1, and the three-level subfolders respectively correspond to different patients, different times of examination and different scanning image sequences, so that a plurality of DICOM-format scanning images (namely, the same scanning image sequence) of the same scanning image sequence, which are checked by the same patient at the same time, are stored in the same folder. However, CRC may inadvertently blend other files not belonging to the same scanned image sequence into the same folder when archived in accordance with the above-described storage logic, where the other files mentioned herein may be, for example, other types of files such as, for example, the. Png file,. Jpg file, etc.; or DICOM files of other patients or DICOM files of different examinations of the same patient, etc. In this case, since the server usually directly executes MPR for all files in the same folder, the MPR function may be caused to report errors or generate erroneous sequence results, resulting in that the MPR function cannot be used.
In view of this, the embodiments of the present application provide an image processing method and apparatus, a computer device, and a storage medium, where files in the same folder are filtered based on file format and header information before MPR is performed, so as to select the same scanned image sequence from the folder, thereby ensuring stability of a subsequent MPR process and accuracy of a reconstructed image.
Exemplary System
Fig. 2 shows a system architecture diagram to which the image processing method or apparatus of the embodiment of the present application can be applied. As shown in fig. 2, the system architecture 100 includes a client 101, a network 102, and a server 103.
Network 102 is the medium used to provide communication links between clients 101 and servers 103. Network 102 includes various connection types such as wired, wireless communication links, or fiber optic cables. The terminal device 101 may be a variety of electronic devices with a display screen including, but not limited to, smart phones, tablet computers, portable computers, desktop computers, and the like. The server 103 may be a server providing various services. In this way, a user may interact with server 103 via network 102 using client 101 to receive or send messages.
For example, a doctor finds a target scan image sequence in accordance with a storage path through the client 101, and reads a film for the scan image sequence. After a doctor sends a multi-plane reconstruction request for a current image through the client 101, the server 103 responds to the multi-plane reconstruction request and executes the image processing method provided in the embodiment of the present application, so as to screen out the same scanned image sequence corresponding to the current image for subsequent use in MPR process. In this case, the image processing apparatus is provided on the server 103 to execute the image processing method.
For another example, the doctor finds the target scan image sequence according to the storage path through the client 101, downloads a folder in which the target scan image sequence is located, and then reads the scan image sequence. In the film reading process, after a doctor sends a multi-plane reconstruction request for a current film reading image through the client 101, the client 101 responds to the multi-plane reconstruction request and executes the image processing method provided by the embodiment of the application, so that the same scanning image sequence corresponding to the current film reading image is screened out for subsequent use in an MPR process. In this case, the image processing apparatus is provided on the client 101 to execute the image processing method.
It should be understood that the number of clients 101, networks 102, and servers 103 shown in fig. 2 is merely illustrative. Any number of clients 101, networks 102, and servers 103 may be provided according to actual needs. For example, the server 103 may be a server cluster formed by a plurality of servers.
Exemplary method
Fig. 3 is a flowchart of an image processing method according to an exemplary embodiment of the present application. Fig. 4 is a schematic diagram illustrating an implementation process of the image processing method shown in fig. 3 according to an exemplary embodiment of the present application. The present embodiment is applicable to an electronic device, such as the server 103 shown in fig. 2. As shown in connection with fig. 3 and 4, the image processing method 300 includes the steps of:
in step S310, a multi-plane reconstruction request sent by the user at the client, i.e. the PACS front end 41 in fig. 4, is received, where the multi-plane reconstruction request includes header information of the current read image. The scanning image sequence to which the current reading image belongs is prestored in the same folder in the database according to the DICOM format. The DICOM format includes header information including Patient Name (i.e., patient's Name), exam instance number (i.e., study Instance UID), and sequence instance number (i.e., series Instance UID). Wherein the inspection instance number is used to identify different inspection times and the sequence instance number is used to identify different scan image sequences.
In step S320, the server, i.e., the PACS backend 42, determines a plurality of target images in DICOM format in the folder in which the current read image is located in response to the multiplanar reconstruction request.
DICOM files are proprietary transmission and storage formats for medical images, with the suffix. Dcm. In one embodiment, a plurality of target images in DICOM format in a folder in which a current reader image is located are determined based on file suffixes. Specifically, firstly, the suffixes of all files in the folder are respectively matched with the suffixes of the DICOM file, namely, the dcm, and the matching can be realized through a character string matching algorithm; and when the matching results are consistent, determining the target image.
In another embodiment, the header file information further comprises a file format identification, which may be manually set, for example the file format identification being a sequence of characters stored in a predetermined address of the header of the file, or a predetermined number of sequences of characters at the beginning of the header file information. In this case, a plurality of target images in DICOM in the file format in the folder in which the current reading image is located may be determined based on the file format identification in the header file information. Specifically, presetting a file format identifier of a DICOM file; the file format identifiers in header file information of all files in the folder are respectively matched with the file format identifiers of the DICOM files, and the matching can be realized through a character string matching algorithm; and when the matching results are consistent, determining the target image.
In yet another embodiment, the plurality of target images may also be determined based on the file suffix and the file format identifier, respectively, and the order of execution of the two steps is not limited.
Step S330, determining a target scan image sequence from a plurality of target images based on the header file information, the target scan image sequence including the current reading image.
Specifically, for each target image, the candidate's Name in the header information of the target image and the candidate's Name in the header information of the current reading image are matched.
And when the matching results of the event's Name are consistent, matching Study Instance UID in the header file information of the target image with Study Instance UID in the header file information of the current reading image. And when the matching results of the event's Name are inconsistent, filtering out the target image.
When Study Instance UID matching results are consistent, series Instance UID in the header information of the target image and Series Instance UID in the header information of the current reading image are matched. When Study Instance UID matching results are inconsistent, the target image is filtered out.
When Series Instance UID match results agree, it is determined that the target image belongs to the target scan image sequence. When Series Instance UID matching results are inconsistent, the target image is filtered out.
Step S340, performing multi-plane reconstruction based on the target scan image sequence.
In one embodiment, after step S330, the method further includes: the number of images in the target scan image sequence is counted. In this case, step S340 is specifically performed to perform multi-planar reconstruction based on the target scan image sequence when the number is greater than or equal to the number threshold. The number threshold mentioned here is, for example, 10. That is, the multi-planar reconstruction is performed when the number of images in the target scan image sequence meets a predetermined number of requirements.
According to the image processing method provided by the embodiment, before the MPR is executed, files in the same folder are screened and filtered based on file format and header file information, so that the same scanning image sequence is selected from the folder, namely, the same patient checks the scanning images of the same scanning image sequence at the same time and is used for the subsequent MPR process, the accuracy of images used in the MPR process is ensured, and the stability of the subsequent MPR process and the accuracy of the obtained reconstructed images are further improved.
Fig. 5 is a flowchart of an image processing method according to another embodiment of the present application. The difference between the image processing method 500 shown in fig. 5 and the image processing method 300 shown in fig. 3 is that in this embodiment, the header file information further includes auxiliary sequence identifiers, such as a serial Number (i.e., series Number), an examination site (i.e., body Part Examined), and a Modality (i.e., modality). The auxiliary sequence identifier is similar to Series Instance UID in function and can also be used to identify different scanned image sequences, except Series Instance UID can uniquely identify different scanned image sequences, while the auxiliary sequence identifier can be used as an aid, the auxiliary sequence identifier of the same scanned image sequence must be the same, and the auxiliary sequence identifiers of different scanned image sequences may be the same or different. The step S330 specifically includes:
step S510, for each target image, matching the Patent 'S Name in the header information of the target image with the Patent' S Name in the header information of the current image.
In step S520, when the matching results of the candidate' S Name are consistent, study Instance UID in the header information of the target image and Study Instance UID in the header information of the current image are matched. When the match results of the event's Name are inconsistent, the target image is not read.
In step S530, when the matching result of Study Instance UID is consistent, series Instance UID in the header information of the target image and Series Instance UID in the header information of the current reading image are matched. When Study Instance UID matching results are inconsistent, the target image is not read.
Step S540, when the Series Instance UID matching results are consistent, matching the auxiliary sequence identification in the header information of the target image with the auxiliary sequence identification in the header information of the current film reading image.
In step S550, when the auxiliary sequence identifier matches the result, it is determined that the target image belongs to the target scan image sequence.
As described in the summary of the application, CRC is typically uploaded in batches when images are uploaded, and images uploaded from the same batch may include multiple images for different patients, different examinations, different scan image sequences. The CRC may inadvertently forget to fill or misplace Series Instance UID an image when the images are collated and archived. For example, series Instance UID for the current reader image is 0020, and Series Instance UID for an image that is not the same scan image sequence is wrongly written 0020 and stored in a folder with the current reader image at the time of archiving. In this case, the result of the output of step S530 is that Series Instance UID matching results agree, but in reality the sheet image and the current reading image do not belong to the same scan image sequence. Therefore, according to the image processing method provided by the embodiment, by utilizing the auxiliary sequence identifier to further match, when the matching result of the auxiliary sequence identifier is consistent, it is determined that the current target image belongs to the target scanning image sequence; when the auxiliary sequence identification matching results are inconsistent, the current target image is determined not to belong to the target scanning image sequence, so that the occurrence of the situation is avoided, and the screening accuracy is improved.
Fig. 6 is a flowchart of an image processing method according to another exemplary embodiment of the present application. The difference between the image processing method 600 according to the present embodiment and the image processing method 300 shown in fig. 3 and the image processing method 500 shown in fig. 5 is that in this embodiment, the header information further includes an Instance Number (i.e. Instance Number) for identifying the respective numbers of the same scanned image sequence. After step S330, the method further includes:
in step S610, when the Instance Number of the target scan image sequence is discontinuous, missing header information is determined.
For example, the Instance number of the target scan image sequence is 1,2,3,4,5,6,8,9,10, respectively. In this case, a target image lacking an Instance number of 7 can be determined, and missing header information can be obtained in combination with the event's Name, study Instance UID, and Series Instance UID of the target scan image sequence.
Step S620, searching the missing image in the database according to a preset strategy based on the missing header file information.
In one embodiment, according to the hierarchical relationship of folders, searching is firstly performed in a folder at the upper level of the folder where the current reading image is located; if not, searching in the higher-level folder until all the multi-level subfolders under the whole first-level folder are traversed.
In another embodiment, the search area is gradually enlarged for searching with the creation time of the folder in which the current reading image is located as a midpoint and a predetermined time interval as a radius.
In this case, step S340 is specifically performed as: in step S630, the target scan image sequence and the missing image are used together for multi-plane reconstruction.
According to the image processing method provided by the embodiment, whether a missing image exists is determined according to the continuity of the Instance Number of the target scanning image sequence, and when the missing image exists, searching is performed in a database according to a preset strategy so as to ensure that a complete scanning image sequence is obtained, so that the accuracy of the MPR is further improved.
Exemplary apparatus
The application also provides an image processing device. Fig. 7 is a block diagram of an image processing apparatus according to an embodiment of the present application. As shown in fig. 7, the image processing apparatus 70 includes: a receiving module 71, a first determining module 72, a second determining module 73 and a reconstruction module 74. The receiving module 71 is configured to receive a multi-plane reconstruction request sent by a user at a client, where the multi-plane reconstruction request includes header file information of a current image. The first determining module 72 is configured to determine, in response to the multi-planar reconstruction request, a plurality of target images in DICOM format in a folder in which the current image is located. The second determining module 73 is configured to determine a target scan image sequence from a plurality of target images based on the header file information, the target scan image sequence including a current reading image. The reconstruction module 74 is for performing a multi-planar reconstruction based on the sequence of target scan images.
According to the image processing device provided by the embodiment, before MPR is executed, files in the same folder are screened and filtered based on file format and header file information, so that a target scanning image sequence is selected from the folder, and stability and accuracy of an MPR process are improved.
In one embodiment, the first determination module 72 is specifically configured to determine a plurality of target images in DICOM format in a folder based on a file suffix. In another embodiment, the first determining module 72 is specifically configured to determine a plurality of target images in the file format DICOM in the folder based on the file format identification in the header file information. In yet another embodiment, the first determining module 72 is specifically configured to determine a plurality of target images in DICOM in a file format in a folder based on the file suffix and the file format identification, respectively.
In one embodiment, the second determining module 73 is specifically configured to match, for each target image, a patient name in the header information of the target image and a patient name in the header information of the current image; when the patient name matching result is consistent, matching the checking instance number in the header file information of the target image with the checking instance number in the header file information of the current film reading image; when the matching results of the instance numbers are consistent, matching the sequence instance numbers in the header file information of the target image with the sequence instance numbers in the header file information of the current film reading image; and when the matching results of the sequence instance numbers are consistent, determining that the target image belongs to the target scanning image sequence.
In one embodiment, the header file information further includes a sequence number for identifying different scan image sequences. The second determining module 73 is specifically configured to match, for each target image, a patient name in header information of the target image with a patient name in header information of a current image; when the patient name matching result is consistent, matching the checking instance number in the header file information of the target image with the checking instance number in the header file information of the current film reading image; when the matching results of the instance numbers are consistent, matching the sequence instance numbers in the header file information of the target image with the sequence instance numbers in the header file information of the current film reading image; when the matching result of the sequence instance numbers is consistent, matching the sequence number in the header file information of the target image with the sequence number in the header file information of the current reading image; and when the serial number matching results are consistent, determining that the target image belongs to the target scanning image sequence.
As described in the summary of the application, CRC is typically uploaded in batches when images are uploaded, and images uploaded from the same batch may include multiple images for different patients, different examinations, different scan image sequences. The CRC may inadvertently forget to fill or misplace Series Instance UID an image when the images are collated and archived. For example, series Instance UID for the current reader image is 0020, and Series Instance UID for an image that is not the same scan image sequence is wrongly written 0020 and stored in a folder with the current reader image at the time of archiving. In this case, the result of the output of step S530 is that Series Instance UID matching results agree, but in reality the sheet image and the current reading image do not belong to the same scan image sequence. Therefore, according to the image processing method provided by the embodiment, by utilizing the auxiliary sequence identifier to further match, when the matching result of the auxiliary sequence identifier is consistent, it is determined that the current target image belongs to the target scanning image sequence; when the auxiliary sequence identification matching results are inconsistent, the current target image is determined not to belong to the target scanning image sequence, so that the occurrence of the situation is avoided, and the screening accuracy is improved.
In one embodiment, the header file further includes an instance number for identifying the respective numbers of the same sequence of scanned images. The second determining module 73 is further configured to determine missing header file information when the instance numbers of the target scan image sequence are discontinuous. The image processing apparatus 70 further comprises a searching module for searching the missing image in the database according to a predetermined policy based on the missing header information. In this case, the reconstruction module 74 is used for a multi-planar reconstruction based on the target scan image sequence and the missing images.
According to the image processing device provided by the embodiment, whether a missing image exists is determined according to the continuity of the Instance Number of at least one target file, and when the missing image exists, searching is performed in a database according to a preset strategy so as to ensure that a complete scanning image sequence is obtained, so that the accuracy of the MPR is further improved.
The image processing device provided in this embodiment belongs to the same application concept as the image processing method provided in the embodiment of the present application, and may execute the image processing method provided in any embodiment of the present application, and has a functional module and beneficial effects corresponding to executing the image processing method. Technical details not described in detail in this embodiment may be referred to the image processing method provided in this embodiment, and will not be described herein.
Exemplary electronic device
Fig. 8 is a block diagram of an electronic device according to an exemplary embodiment of the present application. As shown in fig. 8, the electronic device may be the server 103 or the client 101 shown in fig. 1. The electronic device 8 includes one or more processors 81 and memory 82.
The processor 81 may be a Central Processing Unit (CPU) or other form of processing unit having data processing and/or instruction execution capabilities, and may control other components in the electronic device 8 to perform desired functions.
Memory 82 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. Volatile memory can include, for example, random Access Memory (RAM) and/or cache memory (cache) and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like. One or more computer program instructions may be stored on a computer readable storage medium that can be executed by the processor 81 to implement the image processing methods and/or other desired functions of the various embodiments of the present application described above. Various contents such as a scanned image sequence, a synthesized image after MPR, and the like may also be stored in the computer-readable storage medium.
In one example, the electronic device 8 may further include: an input device 83 and an output device 84, which are interconnected by a bus system and/or other forms of connection mechanisms (not shown).
For example, the input device 83 may be a communication network connector for receiving the collected input signal from the client 101.
The output device 84 may output various information to the outside, including a scanned image sequence, a synthesized image after MPR, and the like. Output devices 84 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, etc.
Of course, only some of the components of the electronic device 8 that are relevant to the present application are shown in fig. 8 for simplicity, components such as buses, input/output interfaces, etc. being omitted. In addition, the electronic device 8 may include any other suitable components depending on the particular application.
Exemplary computer program product and computer readable storage Medium
In addition to the methods and apparatus described above, embodiments of the present application may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform steps in an image processing method according to various embodiments of the present application described in the "exemplary methods" section of the present specification.
The computer program product may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium, on which computer program instructions are stored, which, when being executed by a processor, cause the processor 81 to perform steps in an image processing method according to various embodiments of the present application described in the above "exemplary method" section of the present specification.
The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The basic principles of the present application have been described above in connection with specific embodiments, however, it should be noted that the advantages, benefits, effects, etc. mentioned in the present application are merely examples and not limiting, and these advantages, benefits, effects, etc. are not to be considered as necessarily possessed by the various embodiments of the present application. Furthermore, the specific details disclosed herein are for purposes of illustration and understanding only, and are not intended to be limiting, as the application is not intended to be limited to the details disclosed herein as such.
The block diagrams of the devices, apparatuses, devices, systems referred to in this application are only illustrative examples and are not intended to require or imply that the connections, arrangements, configurations must be made in the manner shown in the block diagrams. As will be appreciated by one of skill in the art, the devices, apparatuses, devices, systems may be connected, arranged, configured in any manner. Words such as "including," "comprising," "having," and the like are words of openness and mean "including but not limited to," and are used interchangeably therewith. The terms "or" and "as used herein refer to and are used interchangeably with the term" and/or "unless the context clearly indicates otherwise. The term "such as" as used herein refers to, and is used interchangeably with, the phrase "such as, but not limited to.
It is also noted that in the apparatus, devices and methods of the present application, the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent to the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the application to the form disclosed herein. Although a number of example aspects and embodiments have been discussed above, a person of ordinary skill in the art will recognize certain variations, modifications, alterations, additions, and subcombinations thereof.

Claims (9)

1. An image processing method, comprising:
receiving a multi-plane reconstruction request sent by a user at a client, wherein the multi-plane reconstruction request comprises header file information of a current film reading image, the header file information comprises a patient name, an inspection example number and a sequence example number, the inspection example number is used for identifying different inspection times, and the sequence example number is used for identifying different inspection positions;
responding to the multi-plane reconstruction request, and determining a plurality of target images with DICOM file formats in the folder where the current film reading image is located;
determining a target scanning image sequence from the plurality of target images based on the header information, wherein the target scanning image sequence comprises the current film reading image;
performing multi-plane reconstruction based on the target scan image sequence;
wherein the determining a target scan image sequence from the plurality of target images based on the header information includes:
matching the patient name in the header information of the target image with the patient name in the header information of the current film reading image for each target image;
when the patient name matching result is consistent, matching the checking instance number in the header file information of the target image with the checking instance number in the header file information of the current film reading image;
when the matching result of the instance numbers is consistent, matching the sequence instance numbers in the header file information of the target image with the sequence instance numbers in the header file information of the current film reading image;
and when the matching results of the sequence instance numbers are consistent, determining that the target image belongs to the target scanning image sequence.
2. The image processing method according to claim 1, wherein the determining that the file format of the file in the folder in which the current read image is located is DICOM includes at least any one of:
determining a plurality of target images in DICOM format in the folder based on the file suffix;
and determining a plurality of target images with the file format of DICOM in the folder based on the file format identification in the header file information.
3. The image processing method according to claim 1, wherein the header information further includes an auxiliary sequence identifier for identifying different scanned image sequences; when the matching results of the sequence instance numbers are consistent, determining that the target image belongs to the target scanning image sequence comprises the following steps:
when the matching result of the sequence instance numbers is consistent, matching the auxiliary sequence identification in the header file information of the target image with the auxiliary sequence identification in the header file information of the current reading image;
and when the auxiliary sequence identification matching results are consistent, determining that the target image belongs to the target scanning image sequence.
4. The image processing method according to claim 1, wherein the header file further includes an instance number for identifying respective numbers of the same scanned image sequence; after the determining of the target scan image sequence from the plurality of target images based on the header information, further comprising:
determining missing header information when the instance numbers of the target scan image sequence are discontinuous;
searching for a missing image in a database according to a preset strategy based on the missing header file information;
the multi-plane reconstruction based on the target scan image sequence comprises:
the multi-planar reconstruction is performed based on the missing image and the target scan image sequence.
5. The image processing method according to claim 4, wherein searching for the missing image in the database according to a predetermined policy based on the missing header information comprises:
and searching the missing image in a folder at the upper level of the folder based on the missing header file information.
6. The image processing method according to claim 1, characterized by further comprising, before the multi-planar reconstruction based on the target scan image sequence:
counting the number of images in the target scanning image sequence;
the multi-plane reconstruction based on the target scan image sequence comprises:
and when the number is greater than a number threshold, performing multi-plane reconstruction based on the target scan image sequence.
7. An image processing apparatus, comprising:
the receiving module receives a multi-plane reconstruction request sent by a user at a client, wherein the multi-plane reconstruction request comprises header file information of a current film reading image, the header file information comprises a patient name, an inspection example number and a sequence example number, the inspection example number is used for identifying different inspection times, and the sequence example number is used for identifying different inspection positions;
the first determining module is used for responding to the multi-plane reconstruction request and determining a plurality of target images with DICOM file formats in the folder where the current image is located;
a second determining module for determining a target scanning image sequence from the plurality of target images based on the header file information, wherein the target scanning image sequence comprises the current film reading image;
the reconstruction module is used for carrying out multi-plane reconstruction based on the target scanning image sequence;
wherein the determining a target scan image sequence from the plurality of target images based on the header information includes:
matching the patient name in the header information of the target image with the patient name in the header information of the current film reading image for each target image;
when the patient name matching result is consistent, matching the checking instance number in the header file information of the target image with the checking instance number in the header file information of the current film reading image;
when the matching result of the instance numbers is consistent, matching the sequence instance numbers in the header file information of the target image with the sequence instance numbers in the header file information of the current film reading image;
and when the matching results of the sequence instance numbers are consistent, determining that the target image belongs to the target scanning image sequence.
8. A computer device comprising a memory, a processor and a computer program stored on the memory for execution by the processor, characterized in that the processor implements the steps of the image processing method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the image processing method according to any one of claims 1 to 6.
CN202111070854.3A 2021-09-13 2021-09-13 Image processing method and device, computer equipment and storage medium Active CN113764074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111070854.3A CN113764074B (en) 2021-09-13 2021-09-13 Image processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111070854.3A CN113764074B (en) 2021-09-13 2021-09-13 Image processing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113764074A CN113764074A (en) 2021-12-07
CN113764074B true CN113764074B (en) 2024-01-02

Family

ID=78795295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111070854.3A Active CN113764074B (en) 2021-09-13 2021-09-13 Image processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113764074B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101918855A (en) * 2007-09-24 2010-12-15 外科视象设备公司 MRI surgical systems for real-time visualizations using MRI image data and predefined data of surgical tools
CN102176229A (en) * 2011-01-24 2011-09-07 海纳医信(北京)软件科技有限责任公司 Colonoscopic image sequence identification method and system
CN102365655A (en) * 2009-06-10 2012-02-29 三菱电机株式会社 Image matching device and device for positioning patient

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101918855A (en) * 2007-09-24 2010-12-15 外科视象设备公司 MRI surgical systems for real-time visualizations using MRI image data and predefined data of surgical tools
CN102365655A (en) * 2009-06-10 2012-02-29 三菱电机株式会社 Image matching device and device for positioning patient
CN102176229A (en) * 2011-01-24 2011-09-07 海纳医信(北京)软件科技有限责任公司 Colonoscopic image sequence identification method and system

Also Published As

Publication number Publication date
CN113764074A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN110554958A (en) Graph database testing method, system, device and storage medium
US20240274275A1 (en) Image analysis and insight generation
CN111128325B (en) Medical data storage method and device, electronic equipment and storage medium
JP6683934B2 (en) Remote interpretation system, control method thereof, information processing device, and program
CN117716397A (en) System and method for processing images for image matching
CN114255837A (en) Data query method and device, computer readable storage medium and electronic equipment
CN113764074B (en) Image processing method and device, computer equipment and storage medium
CN117912641A (en) Medical image data processing method and device, storage medium and electronic equipment
CN108447548A (en) Patient medical image archiving method and system
CN112216374A (en) Medical service supervision method, device and equipment
EP3815089A1 (en) A method and apparatus for building a pedigree for a specific disease based on a family tree
CN115841674A (en) Automatic recording method and device for CRF, electronic equipment and storage medium
CN111538666B (en) Method, device, computer equipment and storage medium for collecting test results in batches
CN115458100A (en) Knowledge graph-based follow-up method and device, electronic equipment and storage medium
CN111430013B (en) Image date complementing method, device, equipment and storage medium
AU2022311888A1 (en) An interoperable platform for reducing redundancy in medical database management
KR102471120B1 (en) Data transmission system for transmitting and receiving medical information data and a data transmission method thereof
CN110442633B (en) Structured data generation method and device, storage medium and electronic equipment
CN114968696A (en) Index monitoring method, electronic equipment and chip system
Silva et al. Web validation service for ensuring adherence to the DICOM standard
CN112163129A (en) Data processing method, device and equipment
CN113656324B (en) Full-link test method, device, equipment and medium for disease input and decision
CN114140810B (en) Method, apparatus and medium for structured recognition of documents
US20210065878A1 (en) Data Transmission System for Transmitting and Receiving Medical Information Data and Data Transmission Method Thereof
CN114566244B (en) Electronic medical record quality evaluation method, device and computer readable 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
GR01 Patent grant
GR01 Patent grant