CN114500498A - DICOM file transmission and storage method, system, equipment and storage medium - Google Patents

DICOM file transmission and storage method, system, equipment and storage medium Download PDF

Info

Publication number
CN114500498A
CN114500498A CN202111631678.6A CN202111631678A CN114500498A CN 114500498 A CN114500498 A CN 114500498A CN 202111631678 A CN202111631678 A CN 202111631678A CN 114500498 A CN114500498 A CN 114500498A
Authority
CN
China
Prior art keywords
dicom
file
pixel
subfiles
initial
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.)
Granted
Application number
CN202111631678.6A
Other languages
Chinese (zh)
Other versions
CN114500498B (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.)
Wuhan United Imaging Healthcare Co Ltd
Original Assignee
Wuhan United Imaging Healthcare 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 Wuhan United Imaging Healthcare Co Ltd filed Critical Wuhan United Imaging Healthcare Co Ltd
Priority to CN202111631678.6A priority Critical patent/CN114500498B/en
Publication of CN114500498A publication Critical patent/CN114500498A/en
Priority to US17/819,609 priority patent/US20230050694A1/en
Application granted granted Critical
Publication of CN114500498B publication Critical patent/CN114500498B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments

Abstract

The application relates to a DICOM file transmission and storage method, a DICOM file transmission and storage system, DICOM file transmission equipment and a DICOM file storage medium, wherein the transmission method comprises the following steps: reading an initial pixel tag value in the initial DICOM file to obtain an initial pixel value file; partitioning the initial pixel value file into a plurality of pixel value subfiles; generating a plurality of corresponding DICOM subfiles according to the plurality of pixel value subfiles and the initial DICOM file; and sending the plurality of DICOM subfiles through a preset transmission protocol. According to the method and the device, each piece of pixel value subfile and each piece of initial DICOM file after being partitioned are integrated to generate each corresponding DICOM subfile, and the tag basic information of each DICOM subfile is guaranteed to be complete so as to meet a transmission protocol and help a receiving end to normally display transmitted medical images.

Description

DICOM file transmission and storage method, system, equipment and storage medium
Technical Field
The present application relates to the field of file transfer technologies, and in particular, to a method, a system, a device, and a storage medium for DICOM file transfer and storage.
Background
At present, DICOM communication protocol transmission is mainly used for DICOM medical file transmission. When the DICOM file is too large, so that the problems of network transmission timeout, low transmission performance and the like are caused, the DICOM file transmission is generally ensured by adopting modes of retransmission or network bandwidth improvement and the like, but the consumption of system resources is further increased and the file transmission performance is also influenced no matter the retransmission or the network bandwidth is improved; in addition, in the prior art, the DICOM file is physically partitioned, but the partitioned DICOM file does not have complete tag information, and in practical application, a receiving end system cannot open the partitioned file and acquire the tag information, so that the transmitted medical image cannot be displayed, and therefore, a partitioning transmission mode for the DICOM file needs to be further improved.
Disclosure of Invention
In view of this, the present application provides a DICOM file transmission and storage method, system, device and storage medium, so as to solve the technical problem that the conventional block transmission method of the DICOM file cannot display medical images.
In order to solve the above problem, in a first aspect, the present application provides a DICOM file transmission method, including:
acquiring an initial pixel tag value in an initial DICOM file to obtain an initial pixel value file;
dividing the initial pixel value file into a plurality of pixel value subfiles;
generating a plurality of corresponding DICOM subfiles according to the plurality of pixel value subfiles and the initial DICOM file;
and sending the plurality of DICOM subfiles through a preset transmission protocol.
Optionally, the generating, according to the multiple pixel value subfiles and the initial DICOM file, multiple corresponding DICOM subfiles includes:
taking each pixel value in the plurality of pixel value sub-files as a first sub-pixel label value to obtain a plurality of first sub-pixel label values;
reading all non-pixel label values in the initial DICOM file, combining the first sub-pixel label values with the non-pixel label values according to the transmission protocol, and generating a plurality of corresponding DICOM sub-files.
Optionally, the generating, according to the multiple pixel value subfiles and the initial DICOM file, multiple corresponding DICOM subfiles includes:
taking each pixel value in the plurality of pixel value sub-files as a second sub-pixel label value to obtain a plurality of second sub-pixel label values;
and correspondingly replacing the initial pixel label values in the initial DICOM file with the second sub-pixel label values respectively to obtain each corresponding DICOM sub-file.
Optionally, the transmission protocol is a DICOM communication protocol; the sending the DICOM subfiles through a preset transmission protocol comprises the following steps:
sending the pieces of DICOM subfiles in a concurrent form and over a DICOM communication protocol.
In a second aspect, the present application provides a DICOM file storage method, including:
sending a plurality of DICOM subfiles by adopting a DICOM file transmission method;
receiving the DICOM subfiles, and reading first sub-pixel tag values/second sub-pixel tag values of the DICOM subfiles to obtain corresponding pixel value subfiles to be spliced;
splicing and merging all the sub-files of the pixel values to be spliced to obtain a spliced pixel value file;
taking the spliced pixel value file as a target pixel label value, and obtaining the initial DICOM file based on any one of the DICOM subfiles;
the DICOM file transmission method is based on the DICOM file transmission method.
Optionally, each pixel value subfile to be spliced carries a corresponding original segmentation sequence number; and when all the sub-files of the pixel values to be spliced are spliced and merged, splicing and merging are carried out according to the corresponding original segmentation sequence numbers.
Optionally, the obtaining of the initial DICOM file based on any one of the plurality of DICOM subfiles by using the spliced initial pixel value file as a target pixel tag value includes:
reading all non-pixel tag values in any one of the DICOM subfiles;
and combining the target pixel tag value with all the non-pixel tag values according to a preset transmission protocol to generate an initial DICOM file.
Optionally, the obtaining of the initial DICOM file based on any one of the DICOM subfiles in each DICOM file by using the spliced initial pixel value file as a target pixel tag value includes:
and replacing the first sub-pixel label value/the second sub-pixel label value in any DICOM sub-file with the target pixel label value to generate an initial DICOM file.
In a third aspect, the present application provides a DICOM file transfer system, including:
the reading module is used for acquiring an initial pixel tag value in the initial DICOM file to obtain an initial pixel value file;
a segmentation module for segmenting the initial pixel value file into a plurality of pixel value subfiles;
the first generation module is used for generating a plurality of corresponding DICOM subfiles according to the plurality of pixel value subfiles and the initial DICOM file;
and the sending module is used for sending the plurality of DICOM subfiles through a preset transmission protocol.
In a fourth aspect, the present application provides a DICOM file storage system, based on the DICOM file transmission system, the storage system including:
the receiving module is used for receiving the DICOM subfiles, reading first sub-pixel tag values/second sub-pixel tag values of the DICOM subfiles and obtaining corresponding pixel value subfiles to be spliced;
the merging module is used for merging and splicing all the sub-files of the pixel values to be spliced to obtain a spliced pixel value file;
and the second generation module is used for taking the spliced pixel value file as a target pixel label value and obtaining the initial DICOM file based on any one of the DICOM subfiles.
In a fifth aspect, the present application provides a computer device, which adopts the following technical solution:
a computer apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the DICOM file transfer method and/or the steps of the DICOM file storage method when executing the computer program.
In a sixth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium, which stores a computer program that, when executed by a processor, carries out the steps of the DICOM file transfer method, and/or the steps of the DICOM file storage method.
The beneficial effects of adopting the above embodiment are: in this embodiment, an initial pixel value file is obtained by reading an initial pixel tag value of an initial DICOM file, so that the initial pixel value file is divided into a plurality of pixel value subfiles, which facilitates subsequent transmission of the initial DICOM file in blocks; generating a plurality of corresponding DICOM subfiles according to the plurality of pixel value subfiles and the initial DICOM file, and ensuring that the basic label information of each DICOM subfile is complete so as to meet the transmission protocol; and then, sending the plurality of DICOM subfiles through a preset transmission protocol, thereby smoothly completing the block transmission of the DICOM subfiles and being beneficial to a receiving end to normally display the transmitted medical images.
Drawings
Fig. 1 is a flowchart of a DICOM file transfer method according to an embodiment of the present application;
fig. 2 is a flowchart of a DICOM file transfer method according to an embodiment of step S103 of the present application;
fig. 3 is a flowchart of another embodiment of a DICOM file transfer method step S103 according to the present application;
fig. 4 is a flowchart of a method of an embodiment of a DICOM file storage method provided in the present application;
fig. 5 is a flowchart of a DICOM file storage method according to an embodiment of step S403;
FIG. 6 is a functional block diagram of an embodiment of a DICOM file transfer system provided herein;
FIG. 7 is a functional block diagram of an embodiment of a DICOM file storage system provided herein;
FIG. 8 is a functional block diagram of an embodiment of a computer device provided herein.
Detailed Description
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate preferred embodiments of the application and together with the description, serve to explain the principles of the application and not to limit the scope of the application.
In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, the present application provides a DICOM file transfer method, including the steps of:
s101, obtaining an initial pixel tag value in an initial DICOM file to obtain an initial pixel value file;
s102, dividing the initial pixel value file into a plurality of pixel value sub-files;
s103, generating a plurality of corresponding DICOM subfiles according to the plurality of pixel value subfiles and the initial DICOM file;
and S104, sending the plurality of DICOM subfiles through a preset transmission protocol.
In this embodiment, the initial DICOM file is a DICOM file to which medical images are transmitted. The data size of the pixel information of the transmitted medical image is relatively large, and generally occupies more than 97% of the size of the initial DICOM file. Generally, after the DICOM file is parsed by a professional tool, a table containing a plurality of tag information is presented, each row of information of the table includes ID, description, type, length and tag value (tag value) of the tag, for example, ID of a certain row of tag is 00100010, description is patient's Name, type is PN, length is 10, tag value is wu XX; other tag information such as height, weight and the like of the patient are also recorded in the DICOM file table; in addition, the DICOM file table has tag information with ID 7FE00010, the tag value is the pixel content of the transmitted medical image, and the pixel content accounts for 97% or more of the size of the DICOM file, so the present embodiment divides the tag value of the DICOM file into a pixel tag value and a non-pixel tag value. In this embodiment, the specific content of the initial pixel tag value is in the form of an attachment, i.e., an initial pixel value file, existing in the initial DICOM file. The initial pixel value file refers to a pixel information file of the transmitted medical image. In this embodiment, the preset transmission protocol is a DICOM communication protocol, and under the DICOM communication protocol, a connection pool is established, and each DICOM subfile is transmitted to the target receiving end in a concurrent manner.
In the embodiment, the initial pixel value file is obtained by reading the initial pixel tag value of the initial DICOM file, so that the initial pixel value file is divided into a plurality of pixel value subfiles, and the initial DICOM file is conveniently transmitted in blocks; generating a plurality of corresponding DICOM subfiles according to the plurality of pixel value subfiles and the initial DICOM file, and ensuring that the basic label information of each DICOM subfile is complete so as to meet the transmission protocol; and then, sending the plurality of DICOM subfiles through a preset transmission protocol, thereby smoothly completing the block transmission of the DICOM subfiles and being beneficial to a receiving end to normally display the transmitted medical images. It should be noted that, compared with the original DICOM file, each DICOM subfile has completely consistent non-pixel tag values except for the integrity of the pixel tag values, which can support DICOM protocol transmission and storage.
In one embodiment, in step S102, the initial pixel value file is divided into several pixel value sub-files by using an equal division or non-equal division method. In this embodiment, the content of the initial pixel value file may be divided equally, for example, into 10, 15, or 20 equal portions in sequence. In other embodiments, the segmentation may also be performed in a non-uniform manner. In addition, it should be noted that, in the dividing process, a corresponding dividing sequence number may be recorded for each pixel value subfile.
In an embodiment, referring to fig. 2, step S103, generating corresponding pieces of DICOM subfiles according to the pieces of pixel value subfiles and the initial DICOM file, includes:
s201, taking each pixel value in the plurality of pixel value subfiles as a first sub-pixel label value to obtain a plurality of first sub-pixel label values;
s202, reading all non-pixel label values in the initial DICOM file, combining the first sub-pixel label values with the non-pixel label values according to a transmission protocol, and generating a plurality of corresponding DICOM sub-files.
In the present embodiment, the specific content of each pixel value subfile is the divided pixel value information; the first sub-pixel label value is a new sub-pixel label value, so that each pixel value in the divided sub-files of pixel values can be used as the first sub-pixel label value. Reading all non-pixel tag values in the initial DICOM file, combining each first sub-pixel tag value with all non-pixel tag values according to a transmission protocol to generate each corresponding DICOM sub-file, and enabling each DICOM sub-file to be a file with relatively complete tag information, so that the DICOM communication protocol is met.
In another embodiment, referring to fig. 3, the step S103 of generating corresponding pieces of DICOM subfiles according to the pieces of pixel value subfiles and the initial DICOM file includes:
s301, taking each pixel value in the plurality of pixel value subfiles as a second sub-pixel label value to obtain a plurality of second sub-pixel label values;
s302, the second sub-pixel label values are respectively and correspondingly replaced with the initial pixel label value in the initial DICOM file, and each corresponding DICOM sub-file is obtained.
In this embodiment, each pixel value subfile is separately added to the initial DICOM file in an attached form, that is, each second sub-pixel tag value replaces the initial pixel tag value in the initial DICOM file, so that each different DICOM subfile can be obtained, each DICOM subfile includes the initial non-pixel tag value and the corresponding second sub-pixel tag value, and has relatively complete tag information, thereby satisfying the transmission protocol.
It is understood that the first sub-pixel label value and the second sub-pixel label value are actually the same sub-pixel label, and the present application distinguishes between the first sub-pixel label value and the second sub-pixel label value for distinguishing the embodiments. In addition, it should be noted that, compared with the prior art that a DICOM file after simple physical partitioning cannot support a DICOM transmission protocol and cannot be normally used to acquire tag information, each integrated DICOM subfile after partitioning has relatively complete tag information and supports the DICOM transmission protocol, a receiving end system can normally acquire each tag information of each DICOM subfile, thereby facilitating smooth completion of DICOM file transmission, storage and display of medical images.
Referring to fig. 4, the present application provides a DICOM file storage method, based on the DICOM file transmission method, the storage method includes the following steps:
s401, receiving a plurality of DICOM subfiles, and reading first sub-pixel tag values/second sub-pixel tag values of the DICOM subfiles to obtain corresponding pixel value subfiles to be spliced; each pixel value subfile to be spliced carries a corresponding original segmentation serial number;
s402, splicing and combining all the sub-files of the pixel values to be spliced to obtain a spliced initial pixel value file; merging the sequence numbers according to the corresponding original segmentation sequence in the splicing process;
and S403, taking the spliced pixel value file as a target pixel label value, and obtaining an initial DICOM file based on any one of the DICOM subfiles.
In a specific embodiment, when the receiving is finished, for example, 10 DICOM subfiles exist, the first sub-pixel tag value/the second sub-pixel tag value of each DICOM subfile is read to obtain corresponding 10 to-be-spliced pixel value subfiles; then all the sub-files of the pixel values to be spliced are merged according to the corresponding original segmentation sequence numbers to obtain a spliced initial pixel value file; and taking the spliced initial pixel value file as a target pixel label value, and obtaining an initial DICOM file based on any DICOM subfile in each DICOM file. In other embodiments, the number of DICOM subfiles received is determined based on the number of actual segmentations.
In an embodiment, referring to fig. 5, in step S403, the initial pixel value file to be spliced is used as a target pixel tag value, and the initial DICOM file is obtained based on any one of the DICOM subfiles, which includes:
s501, reading all non-pixel label values in any DICOM subfile;
s502, combining the target pixel tag value and all non-pixel tag values in any DICOM subfile according to a preset transmission protocol to generate an initial DICOM file.
It should be noted that the target pixel label value refers to a complete initial pixel value file obtained after stitching. After receiving all DICOM subfiles, reading all non-pixel tag values of any DICOM subfile; and then combining the target pixel tag value and all non-pixel tag values in any DICOM subfile according to a preset transmission protocol to generate a complete initial DICOM file, so that the transmitted medical image can be completely displayed.
In another embodiment, the step S403 takes the spliced initial pixel value file as a target pixel tag value, and obtains an initial DICOM file based on any DICOM subfile in each DICOM file, including: and replacing the first sub-pixel label value/the second sub-pixel label value in any DICOM sub-file with the target pixel label value to generate an initial DICOM file.
Specifically, a complete initial DICOM file can be quickly obtained by replacing the pixel value subfile of any DICOM subfile with the spliced initial pixel value file.
Different from the prior art, in the embodiment, the initial pixel value file is obtained by reading the initial pixel tag value of the initial DICOM file, so that the initial pixel value file is divided into a plurality of pixel value subfiles, and the subsequent transmission of the initial DICOM file in blocks is facilitated; generating a plurality of corresponding DICOM subfiles according to the plurality of pixel value subfiles and the initial DICOM file, and ensuring that the basic label information of each DICOM subfile is complete so as to meet the transmission protocol; and then, sending the plurality of DICOM subfiles through a preset transmission protocol, thereby smoothly completing the block transmission of the DICOM subfiles. In addition, the target receiving end receives each DICOM subfile, reads a first sub-pixel tag value/a second sub-pixel tag value of each DICOM subfile, and obtains a corresponding to-be-spliced pixel value subfile; then, splicing and combining all the sub-files of the pixel values to be spliced to obtain a spliced initial pixel value file; and then, the spliced initial pixel value file is used as a target pixel label value, and based on any one DICOM subfile of the plurality of DICOM subfiles, the complete initial DICOM file can be quickly obtained, so that the initial DICOM file is smoothly stored, and the transmitted medical image can be normally displayed.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
The present embodiment further provides a DICOM file transmission system, which corresponds to the DICOM file transmission method in the foregoing embodiments one to one. As shown in fig. 6, the DICOM file transfer system includes a reading module 601, a dividing module 602, a first generating module 603, and a sending module 604. The functional modules are explained in detail as follows:
a reading module 601, configured to obtain an initial pixel tag value in an initial DICOM file to obtain an initial pixel value file;
a partitioning module 602, configured to partition the initial pixel value file into a plurality of pixel value subfiles;
a first generating module 603, configured to generate, according to the multiple pixel value subfiles and the initial DICOM file, multiple corresponding DICOM subfiles;
the sending module 604 is configured to send the pieces of DICOM subfiles through a preset transmission protocol.
For specific limitations of the DICOM file transfer system modules, reference may be made to the above limitations on the DICOM file transfer method, which will not be described herein again. The various modules in the DICOM file transfer system described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The embodiment also provides a DICOM file storage system based on the DICOM file transmission system, and the DICOM file storage system corresponds to the DICOM file storage method in the embodiment one to one. As shown in fig. 7, the DICOM file storage system includes a receiving module 701, a merging module 702, and a second generating module 703. The functional modules are explained in detail as follows:
the receiving module 701 is configured to receive a plurality of DICOM subfiles, and read first sub-pixel tag values/second sub-pixel tag values of the plurality of DICOM subfiles to obtain corresponding to-be-spliced pixel value subfiles;
a merging module 702, configured to merge and splice all the sub-files of pixel values to be spliced to obtain a spliced pixel value file;
the second generating module 703 is configured to use the spliced pixel value file as a target pixel tag value, and obtain an initial DICOM file based on any one of the DICOM subfiles.
For specific limitations of each module of the DICOM file storage system, reference may be made to the above limitations on the DICOM file storage method, which is not described herein again. The various modules of the DICOM file storage system described above may be implemented in whole or in part in software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Referring to fig. 8, this embodiment further provides a computer device, which may be a computing device such as a mobile terminal, a desktop computer, a notebook, a palmtop computer, and a server. The computer device includes a processor 801, a memory 802, and a display 803. Fig. 8 shows only some of the components of the computer device, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The memory 802 may be an internal storage unit of the computer device in some embodiments, such as a hard disk or a memory of the computer device. The memory 802 may also be an external storage device of the computer device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the computer device. Further, the memory 802 may also include both internal and external storage units of the computer device. The memory 802 is used for storing application software installed in the computer device and various data, such as program codes for installing the computer device. The memory 802 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 802 has stored thereon a computer program 804.
The processor 801 may be, in some embodiments, a Central Processing Unit (CPU), microprocessor or other data Processing chip for executing program code stored in the memory 802 or Processing data, such as performing a DICOM file transfer method and/or a DICOM file storage method.
The display 803 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 803 is used to display information at the computer device and to display a visual user interface. The components 801 and 803 of the computer device communicate with each other via a system bus.
In an embodiment, the following steps are implemented when the processor 801 executes the computer program 804 in the memory 802:
acquiring an initial pixel tag value in an initial DICOM file to obtain an initial pixel value file;
dividing the initial pixel value file into a plurality of pixel value subfiles;
generating a plurality of corresponding DICOM subfiles according to the plurality of pixel value subfiles and the initial DICOM file;
and sending the DICOM subfiles by a preset transmission protocol.
And/or receiving a plurality of DICOM subfiles, and reading first sub-pixel tag values/second sub-pixel tag values of the DICOM subfiles to obtain corresponding pixel value subfiles to be spliced;
splicing and merging all the sub-files of the pixel values to be spliced to obtain a spliced pixel value file;
and taking the spliced pixel value file as a target pixel label value, and obtaining an initial DICOM file based on any one DICOM subfile in the plurality of DICOM subfiles.
The present embodiments also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
acquiring an initial pixel tag value in an initial DICOM file to obtain an initial pixel value file;
dividing the initial pixel value file into a plurality of pixel value subfiles;
generating a plurality of corresponding DICOM subfiles according to the plurality of pixel value subfiles and the initial DICOM file;
and sending the DICOM subfiles by a preset transmission protocol.
And/or receiving a plurality of DICOM subfiles, and reading first sub-pixel tag values/second sub-pixel tag values of the DICOM subfiles to obtain corresponding pixel value subfiles to be spliced;
splicing and merging all the sub-files of the pixel values to be spliced to obtain a spliced pixel value file;
and taking the spliced pixel value file as a target pixel label value, and obtaining an initial DICOM file based on any one DICOM subfile in the plurality of DICOM subfiles. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above.
Any reference to memory, storage, database, or other medium used in the embodiments provided herein may 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. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application.

Claims (12)

1. A DICOM file transfer method, the method comprising:
acquiring an initial pixel tag value in an initial DICOM file to obtain an initial pixel value file;
partitioning the initial pixel value file into a plurality of pixel value subfiles;
generating a plurality of corresponding DICOM subfiles according to the plurality of pixel value subfiles and the initial DICOM file;
and sending the plurality of DICOM subfiles through a preset transmission protocol.
2. The DICOM file transfer method of claim 1, wherein the generating corresponding portions of DICOM subfiles from the portions of pixel value subfiles and the initial DICOM file comprises:
taking each pixel value in the plurality of pixel value sub-files as a first sub-pixel label value to obtain a plurality of first sub-pixel label values;
reading all non-pixel label values in the initial DICOM file, combining the first sub-pixel label values with the non-pixel label values according to the transmission protocol, and generating a plurality of corresponding DICOM sub-files.
3. The method of claim 1, wherein generating corresponding portions of DICOM subfiles from the portions of the pixel value subfiles and the initial DICOM file comprises:
taking each pixel value in the plurality of pixel value sub-files as a second sub-pixel label value to obtain a plurality of second sub-pixel label values;
and correspondingly replacing the initial pixel label values in the initial DICOM file with the second sub-pixel label values respectively to obtain each corresponding DICOM sub-file.
4. The DICOM file transfer method according to any of claims 1 or 2, wherein the transfer protocol is DICOM communication protocol; the sending the DICOM subfiles through a preset transmission protocol comprises the following steps:
sending the pieces of DICOM subfiles in a concurrent form and over a DICOM communication protocol.
5. A DICOM file storage method, comprising:
sending a plurality of DICOM subfiles by adopting a DICOM file transmission method;
receiving the DICOM subfiles, and reading first sub-pixel tag values/second sub-pixel tag values of the DICOM subfiles to obtain corresponding pixel value subfiles to be spliced;
splicing and merging all the sub-files of the pixel values to be spliced to obtain a spliced pixel value file;
taking the spliced pixel value file as a target pixel label value, and obtaining the initial DICOM file based on any one of the DICOM subfiles;
the DICOM file transmission method is based on the DICOM file transmission method of any one of claims 1 to 4.
6. The DICOM file storage method of claim 5, wherein each of the subfiles of pixel values to be stitched carries a corresponding original segmentation order sequence number; and when all the sub-files of the pixel values to be spliced are spliced and merged, splicing and merging are carried out according to the corresponding original segmentation sequence numbers.
7. The DICOM file storage method of claim 5, wherein the step of obtaining the initial DICOM file by using the spliced initial pixel value file as a target pixel tag value based on any one of a plurality of DICOM subfiles comprises:
reading all non-pixel tag values in any one of the DICOM subfiles;
and combining the target pixel tag value with all the non-pixel tag values according to a preset transmission protocol to generate an initial DICOM file.
8. The method of claim 5, wherein the obtaining of the initial DICOM file by using the spliced initial pixel value file as a target pixel tag value and based on any one of the DICOM subfiles in each DICOM file comprises:
and replacing the first sub-pixel label value/the second sub-pixel label value in any DICOM sub-file with the target pixel label value to generate an initial DICOM file.
9. A DICOM file transfer system, the system comprising:
the reading module is used for acquiring an initial pixel tag value in the initial DICOM file to obtain an initial pixel value file;
a dividing module for dividing the initial pixel value file into a plurality of pixel value sub-files;
the first generation module is used for generating a plurality of corresponding DICOM subfiles according to the plurality of pixel value subfiles and the initial DICOM file;
and the sending module is used for sending the plurality of DICOM subfiles through a preset transmission protocol.
10. A DICOM file storage system, the DICOM file transfer system as set forth in claim 9, wherein the storage system comprises:
the receiving module is used for receiving the DICOM subfiles, reading first sub-pixel tag values/second sub-pixel tag values of the DICOM subfiles and obtaining corresponding pixel value subfiles to be spliced;
the merging module is used for merging and splicing all the sub-files of the pixel values to be spliced to obtain a spliced pixel value file;
and the second generation module is used for taking the spliced pixel value file as a target pixel label value and obtaining the initial DICOM file based on any one of the DICOM subfiles.
11. Computer apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the DICOM file transfer method according to any of claims 1 to 4 when executing the computer program and/or implementing the steps of the DICOM file storage method according to any of claims 5 to 8 when executing the computer program.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the DICOM file transfer method according to one of claims 1 to 4 and/or carries out the steps of the DICOM file storage method according to one of claims 5 to 8.
CN202111631678.6A 2021-08-12 2021-12-28 DICOM file transmission and storage method, system, equipment and storage medium Active CN114500498B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111631678.6A CN114500498B (en) 2021-12-28 2021-12-28 DICOM file transmission and storage method, system, equipment and storage medium
US17/819,609 US20230050694A1 (en) 2021-08-12 2022-08-12 Systems and methods for digital imaging and communications in medicine file processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111631678.6A CN114500498B (en) 2021-12-28 2021-12-28 DICOM file transmission and storage method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114500498A true CN114500498A (en) 2022-05-13
CN114500498B CN114500498B (en) 2023-12-08

Family

ID=81496864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111631678.6A Active CN114500498B (en) 2021-08-12 2021-12-28 DICOM file transmission and storage method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114500498B (en)

Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7379605B1 (en) * 2003-09-09 2008-05-27 Stelian Doru Ticsa Method for the integration of medical imaging data and content for wireless transmission and remote viewing
CN101404029A (en) * 2008-11-04 2009-04-08 深圳市蓝韵实业有限公司 DICOM image file storage method
US20100002917A1 (en) * 2006-06-29 2010-01-07 Fujifilm Corporation Medical image segmentation apparatus and medical image segmentation program
CN105743978A (en) * 2016-01-29 2016-07-06 武汉联影医疗科技有限公司 Data transmitting method
US20170206318A1 (en) * 2015-04-13 2017-07-20 Olympus Corporation Medical system and medical device
CN107046555A (en) * 2016-10-19 2017-08-15 北京全域医疗技术有限公司 The transmission method and device of medical image file
CN107181794A (en) * 2017-04-27 2017-09-19 广州慧扬健康科技有限公司 DICOM network transmission systems with receiving are sent based on DIMSE message
CN107330246A (en) * 2017-06-05 2017-11-07 上海联影医疗科技有限公司 Introduction method, device and the computer-readable medium of medical image files
US20180165867A1 (en) * 2016-11-16 2018-06-14 Terarecon, Inc. System and method for three-dimensional printing, holographic and virtual reality rendering from medical image processing
CN108447547A (en) * 2018-03-13 2018-08-24 沈阳东软医疗系统有限公司 A kind of storage of medical image data, method for down loading and device
CN108847276A (en) * 2018-03-20 2018-11-20 青岛海信医疗设备股份有限公司 The processing method and server of medical image based on the network architecture
CN110322444A (en) * 2019-05-31 2019-10-11 上海联影智能医疗科技有限公司 Medical image processing method, device, storage medium and computer equipment
CN110785674A (en) * 2017-03-20 2020-02-11 皇家飞利浦有限公司 Image segmentation using reference gray values
WO2020057141A1 (en) * 2018-09-21 2020-03-26 苏州瑞派宁科技有限公司 Method and device for four-dimensional visualization of medical image
CN111127430A (en) * 2019-12-24 2020-05-08 北京推想科技有限公司 Method and device for determining medical image display parameters
CN111161270A (en) * 2019-12-24 2020-05-15 上海联影智能医疗科技有限公司 Blood vessel segmentation method for medical image, computer device and readable storage medium
CN111885166A (en) * 2020-07-24 2020-11-03 西门子(中国)有限公司 Method, device and system for acquiring DICOM file
CN112001925A (en) * 2020-06-24 2020-11-27 上海联影医疗科技股份有限公司 Image segmentation method, radiation therapy system, computer device and storage medium
CN112489770A (en) * 2020-11-17 2021-03-12 北京全域医疗技术集团有限公司 DICOM file transmission system, method and device
CN112530551A (en) * 2020-12-10 2021-03-19 武汉联影医疗科技有限公司 Image processing system and method
CN113159040A (en) * 2021-03-11 2021-07-23 福建自贸试验区厦门片区Manteia数据科技有限公司 Method, device and system for generating medical image segmentation model
CN113160087A (en) * 2021-04-29 2021-07-23 平安科技(深圳)有限公司 Image enhancement method and device, computer equipment and storage medium
CN113360473A (en) * 2021-06-17 2021-09-07 西南医科大学附属医院 Cloud storage computing system for medical inspection image big data
CN113676536A (en) * 2021-08-18 2021-11-19 上海医影数联医疗科技有限公司 Accelerated transmission control method and system based on medical image file
WO2021246770A1 (en) * 2020-06-05 2021-12-09 주식회사 래디센 Method and system for automatically reading x-ray image in real time on basis of artificial intelligence
CN113838057A (en) * 2021-09-24 2021-12-24 刘文平 High-resolution SAR image segmentation calculation performance and precision optimization method

Patent Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7379605B1 (en) * 2003-09-09 2008-05-27 Stelian Doru Ticsa Method for the integration of medical imaging data and content for wireless transmission and remote viewing
US20100002917A1 (en) * 2006-06-29 2010-01-07 Fujifilm Corporation Medical image segmentation apparatus and medical image segmentation program
CN101404029A (en) * 2008-11-04 2009-04-08 深圳市蓝韵实业有限公司 DICOM image file storage method
US20170206318A1 (en) * 2015-04-13 2017-07-20 Olympus Corporation Medical system and medical device
CN105743978A (en) * 2016-01-29 2016-07-06 武汉联影医疗科技有限公司 Data transmitting method
CN107046555A (en) * 2016-10-19 2017-08-15 北京全域医疗技术有限公司 The transmission method and device of medical image file
US20180165867A1 (en) * 2016-11-16 2018-06-14 Terarecon, Inc. System and method for three-dimensional printing, holographic and virtual reality rendering from medical image processing
CN110785674A (en) * 2017-03-20 2020-02-11 皇家飞利浦有限公司 Image segmentation using reference gray values
CN107181794A (en) * 2017-04-27 2017-09-19 广州慧扬健康科技有限公司 DICOM network transmission systems with receiving are sent based on DIMSE message
CN107330246A (en) * 2017-06-05 2017-11-07 上海联影医疗科技有限公司 Introduction method, device and the computer-readable medium of medical image files
CN108447547A (en) * 2018-03-13 2018-08-24 沈阳东软医疗系统有限公司 A kind of storage of medical image data, method for down loading and device
CN108847276A (en) * 2018-03-20 2018-11-20 青岛海信医疗设备股份有限公司 The processing method and server of medical image based on the network architecture
WO2020057141A1 (en) * 2018-09-21 2020-03-26 苏州瑞派宁科技有限公司 Method and device for four-dimensional visualization of medical image
CN110322444A (en) * 2019-05-31 2019-10-11 上海联影智能医疗科技有限公司 Medical image processing method, device, storage medium and computer equipment
CN111127430A (en) * 2019-12-24 2020-05-08 北京推想科技有限公司 Method and device for determining medical image display parameters
CN111161270A (en) * 2019-12-24 2020-05-15 上海联影智能医疗科技有限公司 Blood vessel segmentation method for medical image, computer device and readable storage medium
WO2021246770A1 (en) * 2020-06-05 2021-12-09 주식회사 래디센 Method and system for automatically reading x-ray image in real time on basis of artificial intelligence
CN112001925A (en) * 2020-06-24 2020-11-27 上海联影医疗科技股份有限公司 Image segmentation method, radiation therapy system, computer device and storage medium
CN111885166A (en) * 2020-07-24 2020-11-03 西门子(中国)有限公司 Method, device and system for acquiring DICOM file
CN112489770A (en) * 2020-11-17 2021-03-12 北京全域医疗技术集团有限公司 DICOM file transmission system, method and device
CN112530551A (en) * 2020-12-10 2021-03-19 武汉联影医疗科技有限公司 Image processing system and method
CN113159040A (en) * 2021-03-11 2021-07-23 福建自贸试验区厦门片区Manteia数据科技有限公司 Method, device and system for generating medical image segmentation model
CN113160087A (en) * 2021-04-29 2021-07-23 平安科技(深圳)有限公司 Image enhancement method and device, computer equipment and storage medium
CN113360473A (en) * 2021-06-17 2021-09-07 西南医科大学附属医院 Cloud storage computing system for medical inspection image big data
CN113676536A (en) * 2021-08-18 2021-11-19 上海医影数联医疗科技有限公司 Accelerated transmission control method and system based on medical image file
CN113838057A (en) * 2021-09-24 2021-12-24 刘文平 High-resolution SAR image segmentation calculation performance and precision optimization method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
宋静;何启泠;徐庆;王海江;: "基于ITK医学图像分割的应用", 成都信息工程学院学报, no. 05 *
尤超;: "DICOM文件头信息读取及解析", 微型电脑应用, no. 09 *

Also Published As

Publication number Publication date
CN114500498B (en) 2023-12-08

Similar Documents

Publication Publication Date Title
CN108388599B (en) Electronic device, data migration and calling method and storage medium
US11003625B2 (en) Method and apparatus for operating on file
US11372566B2 (en) Method and device for storing data
CN104391725A (en) Page display method and page display device
EP3267308A1 (en) Application loading method and device
WO2019127864A1 (en) Electronic device, springmvc-based data interface and automatic description generation method therefor, and storage medium
WO2021077912A1 (en) Data synchronization method and device
CN108509240A (en) Picture method for drafting and Related product
CN111400246A (en) Asynchronous file importing method and device, computer equipment and storage medium
CN115470156A (en) RDMA-based memory use method, system, electronic device and storage medium
CN113312135B (en) List display method and device, computer equipment and storage medium
CN104714792A (en) Multi-process shared data processing method and device
CN111158777B (en) Component calling method, device and computer readable storage medium
CN114500498B (en) DICOM file transmission and storage method, system, equipment and storage medium
CN112416350A (en) View page construction method and device, computer equipment and storage medium
CN110600099A (en) Electronic report display method, system, device, equipment and storage medium
CN113467823B (en) Configuration information acquisition method, device, system and storage medium
CN114168074A (en) Mirror image storage method, device, storage medium and electronic equipment
CN112052063A (en) Watermark filling method, system, terminal and storage medium for application program
CN111158733A (en) BMC upgrading method, device, equipment and computer readable storage medium
CN110688180B (en) Front-end system, front-end data flow control method, electronic device and storage medium
CN114756180B (en) Method and device for distributing coverage writing data blocks, computer equipment and storage medium
CN109814854B (en) Project framework generation method, device, computer equipment and storage medium
CN116860245A (en) H5 page access method, device, equipment and medium based on two-party library
CN105320610A (en) Data storage device and method for operating the same

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