CN112447277B - DICOM file sketching method and device - Google Patents

DICOM file sketching method and device Download PDF

Info

Publication number
CN112447277B
CN112447277B CN202011283928.7A CN202011283928A CN112447277B CN 112447277 B CN112447277 B CN 112447277B CN 202011283928 A CN202011283928 A CN 202011283928A CN 112447277 B CN112447277 B CN 112447277B
Authority
CN
China
Prior art keywords
dicom file
file
sketching
platform
dicom
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
CN202011283928.7A
Other languages
Chinese (zh)
Other versions
CN112447277A (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.)
Beijing Global Medical Technology Group Co ltd
Original Assignee
Beijing Global Medical Technology Group 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 Beijing Global Medical Technology Group Co ltd filed Critical Beijing Global Medical Technology Group Co ltd
Priority to CN202011283928.7A priority Critical patent/CN112447277B/en
Publication of CN112447277A publication Critical patent/CN112447277A/en
Application granted granted Critical
Publication of CN112447277B publication Critical patent/CN112447277B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Health & Medical Sciences (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Engineering & Computer Science (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a delineating method of DICOM files, which is applied to a treatment planning platform, wherein the treatment planning platform at least comprises a front-end operation interface and a background server, and the method comprises the following steps: acquiring a first DICOM file based on a first request of a front-end operation interface, wherein the first request carries a file ID and a download address of the first DICOM file; sending a second request to the sketching platform, wherein the treatment planning platform is in communication connection with the sketching platform through a transmission control protocol, the second request carries an access address of the first DICOM file and is used for requesting sketching of a target area of the first DICOM file; the sketching platform is used for downloading a first DICOM file based on the second request, sketching a target area through an internally integrated sketching tool to obtain a second DICOM file, and transmitting the second DICOM file back to the background server according to the access address; a second DICOM file is received. The invention solves the technical problem of low DICOM file sketching efficiency in the related technology.

Description

DICOM file sketching method and device
Technical Field
The invention relates to the field of computers, in particular to a method and a device for sketching a DICOM file.
Background
At present, the incidence rate of tumors is higher and higher, and the position of radiotherapy in tumor treatment is more and more important as one of three major treatment modes of tumors. Along with the development of accurate radiotherapy technologies such as three-dimensional conformality, conformality intensity modulation and the like and wide clinical application, the determination and delineation of an accurate target area range are more and more focused.
In the related art, the traditional target region sketching completely depends on the knowledge and personal experience of doctors, the doctors need to sketch the slice of the DICOM image layer by layer, the manual mode has strong randomness, the sketching time of different doctors is different, and the sketching consistency is poor. The manual sketching method at the present stage can not completely meet clinical requirements, and the process is time-consuming and labor-consuming, so that the working efficiency of doctors is seriously affected.
In view of the above problems in the related art, no effective solution has been found yet.
Disclosure of Invention
The embodiment of the invention provides a method and a device for outlining DICOM files, which solve the technical problem of low efficiency of DICOM file outlining in the related art.
According to one embodiment of the present invention, there is provided a method of delineating a DICOM file for use on a treatment planning platform, the treatment planning platform including at least a front-end operator interface and a backend server, the method comprising: acquiring a first DICOM file based on a first request of the front-end operation interface, wherein the first request carries a file ID and a download address of the first DICOM file; sending a second request to a sketching platform, wherein the treatment planning platform is in communication connection with the sketching platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used for requesting sketching of a target area of the first DICOM file; the sketching platform is used for downloading the first DICOM file based on the second request, sketching the target area through an internally integrated target-sketching tool to obtain a second DICOM file, and returning the second DICOM file to the background server according to the access address; and receiving the second DICOM file.
Optionally, obtaining the first DICOM file based on the first request of the front-end operations interface includes: the file ID is sent to a third party system according to the download address, wherein file reading and writing are carried out between the third party system and the treatment planning platform by calling an application program interface of the treatment planning platform, the third party system is used for searching a compressed package file corresponding to the first DICOM file according to the file ID, and the compressed package file at least comprises: the first DICOM file, a file ID of the first DICOM file and descriptive information of the first DICOM file; reading the compressed package file through the application program interface; decompressing the compressed package file to obtain the first DICOM file.
Optionally, after receiving the second DICOM file, the method further comprises: generating a monitoring message, wherein the monitoring message is used for indicating that the background server has received the second DICOM file; sending the monitoring message to the front-end operation interface; and downloading the second DICOM file from the background server according to the monitoring message.
Optionally, the method further comprises: editing the second DICOM file based on the editing instruction of the front-end operation interface to obtain a third DICOM file; and storing the third DICOM file.
Optionally, the method further comprises: and based on the feedback instruction of the front-end operation interface, the second DICOM file is returned to the download address through an application program interface of the treatment planning platform.
According to one embodiment of the present invention, there is provided another method for delineating DICOM files, applied to a delineating platform, the method comprising: downloading a first DICOM file based on a first request sent by the treatment plan platform, wherein the sketching platform is in communication connection with the treatment plan platform through a transmission control protocol, the first request carries an access address of the first DICOM file and is used for requesting sketching of a target sketching area of the first DICOM file, the treatment plan platform at least comprises a front-end operation interface and a background server, the front-end operation interface is used for sending a second request to the background server, the second request carries a file ID and a downloading address of the first DICOM file and is used for requesting the background server to acquire the first DICOM file according to the downloading address, and the background server is used for sending the first request to the sketching platform after acquiring the first DICOM file; the target area is sketched through an internally integrated target-sketching tool, and a second DICOM file is obtained; and the second DICOM file is returned to the treatment planning platform according to the access address.
According to one embodiment of the present invention, there is provided a delineating device of a DICOM file, applied to a treatment planning platform, where the treatment planning platform includes at least a front-end operation interface and a background server, the device includes: the acquisition module is used for acquiring a first DICOM file based on a first request of the front-end operation interface, wherein the first request carries a file ID and a download address of the first DICOM file; the first sending module is used for sending a second request to the sketching platform, wherein the treatment planning platform is in communication connection with the sketching platform through a transmission control protocol, the second request carries an access address of the first DICOM file and is used for requesting sketching of a target area of the first DICOM file; the sketching platform is used for downloading the first DICOM file based on the second request, sketching the target area through an internally integrated target-sketching tool to obtain a second DICOM file, and returning the second DICOM file to the background server according to the access address; and the receiving module is used for receiving the second DICOM file.
Optionally, the acquiring module includes: the sending unit is configured to send the file ID to a third party system according to the download address, where the third party system is configured to search, according to the file ID, a compressed package file corresponding to the first DICOM file, where the compressed package file at least includes: the first DICOM file, a file ID of the first DICOM file and descriptive information of the first DICOM file; the reading unit is used for reading the compressed package file by calling an application program interface of the treatment planning platform; and the decompression unit is used for decompressing the compressed package file to obtain the first DICOM file.
Optionally, the apparatus further includes: the generation module is used for generating a monitoring message after receiving the second DICOM file, wherein the monitoring message is used for indicating that the background server has received the second DICOM file; the second sending module is used for sending the monitoring message to the front-end operation interface; and the downloading module is used for downloading the second DICOM file from the background server according to the monitoring message.
Optionally, the apparatus further includes: the editing module is used for editing the second DICOM file based on the editing instruction of the front-end operation interface to obtain a third DICOM file; and the storage module is used for storing the third DICOM file.
Optionally, the apparatus further includes: and the feedback module is used for transmitting the second DICOM file back to the download address through an application program interface of the treatment planning platform based on the feedback instruction of the front-end operation interface.
According to one embodiment of the present invention, there is provided another apparatus for delineating DICOM files, applied to a delineating platform, the apparatus comprising: the treatment planning platform at least comprises a front-end operation interface and a background server, wherein the front-end operation interface is used for sending a second request to the background server, the second request is used for requesting the background server to acquire the first DICOM file according to the download address, and the background server is used for sending the first request to the sketching platform after acquiring the first DICOM file; the sketching module is used for sketching the target area through an internally integrated target-hooking tool to obtain a second DICOM file; and the sending module is used for transmitting the second DICOM file back to the treatment planning platform according to the access address.
According to a further embodiment of the invention there is also provided a computer device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to a further embodiment of the invention, there is also provided a storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the apparatus embodiments described above when run.
According to the invention, the first DICOM file is downloaded based on the first request of the front-end operation interface of the treatment planning platform; then, a second request is sent to the sketching platform to sketch the target area of the first DICOM file, and the treatment planning platform and the sketching platform are in communication connection through a transmission control protocol; and the sketching platform downloads the first DICOM file from the background server based on the second request, sketches the target area through an internally integrated target-sketching tool to obtain a second DICOM file, and returns the second DICOM file to the background server according to the access address. The invention solves the technical problem of low DICOM file sketching efficiency in the related technology.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a block diagram of a hardware architecture of a DICOM file in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart of a method for delineating DICOM files in accordance with an embodiment of the present invention;
FIG. 3 is a block diagram of a TPS architecture provided in accordance with an embodiment of the invention;
FIG. 4 is a schematic diagram of a file read between a TPS and a three-party system provided in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram of writing a file between a TPS and a three-party system provided in accordance with an embodiment of the present invention;
FIG. 6 is a flow chart of another method for delineating DICOM files in accordance with embodiments of the invention;
FIG. 7 is a schematic diagram illustrating a DICOM file delineating process according to one embodiment of the present invention;
FIG. 8 is a block diagram illustrating a DICOM file delineating apparatus according to an embodiment of the invention;
FIG. 9 is a block diagram illustrating an alternative DICOM file delineating apparatus in accordance with an embodiment of the invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the drawings in conjunction with embodiments. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
Example 1
The method embodiment provided in the first embodiment of the present application may be performed in a mobile terminal, a server, a computer terminal, or a similar computing device. Taking the operation on a computer terminal as an example, fig. 1 is a block diagram of a hardware structure of a DICOM file according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the computer terminal described above. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, such as software programs and modules of application software, such as computer programs corresponding to the method of delineating DICOM files in embodiments of the present invention, and the processor 102 executes the computer programs stored in the memory 104 to perform various functional applications and data processing, i.e., to implement the methods described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the computer terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In order to solve the above-mentioned problems in the related art, an embodiment of the present invention provides a method for delineating a DICOM file, and fig. 2 is a flowchart of a method for delineating a DICOM file according to an embodiment of the present invention, as shown in fig. 2, the embodiment is applied to a treatment planning platform, and the treatment planning platform at least includes a front-end operation interface and a background server, and the embodiment includes the following steps:
step S202, a first DICOM file is obtained based on a first request of a front-end operation interface, wherein the first request carries a file ID and a download address of the first DICOM file;
in this embodiment, the DICOM (collectively Digital Imaging and Communications in Medicine, digital imaging and communication medicine) file may be CT images of different sections of the human brain, but is not limited thereto.
In one embodiment, taking treatment planning system TPS (fully called Treatment Planning System) as an example, as shown in fig. 3, fig. 3 is a block diagram of a TPS structure provided according to an embodiment of the invention, where the TPS structure includes a Web terminal (i.e., the front-end operation interface) and a server (i.e., the background server).
In this embodiment, by operating on the presentation layer of the Web end, a request is made to delineate the DICOM file of the patient with a certain ID, where the request carries the file ID of the DICOM file and the download address (i.e., the data source) of the DICOM file from the three-party system; and downloading the target file from the three-party system by the server of the TPS according to the file ID and the downloading address of the first DICOM file.
Optionally, the three-party system includes at least one of: an application program interface API (collectively Application Program Interface), a collaboration system, a file system; the TPS and the three-party system read and write files through an application program interface in the TPS server, and in the three-party service, 2 interfaces are needed to be provided, namely, the files are read and written; in a three-party system, the DICOM file, the file ID of the DICOM file, and the patient ID are related.
Step S204, a second request is sent to the sketching platform, wherein the treatment planning platform is in communication connection with the sketching platform through a transmission control protocol, the second request carries an access address of the first DICOM file and is used for requesting sketching of a target area of the first DICOM file; the sketching platform is used for downloading a first DICOM file based on the second request, sketching a target area through an internally integrated sketching tool to obtain a second DICOM file, and transmitting the second DICOM file back to the background server according to the access address;
optionally, identifying, by the treatment planning platform, a target region in the first DICOM file, e.g., identifying delineated target regions and organs at risk of a patient CT image; sending a sketching request (namely the second request) to a sketching platform, wherein a target area is defined in the sketching request, and informing an access address for accessing the first DICOM file in a background server; after the sketching is completed, the RT struct file (i.e. the structural file of radiotherapy) is obtained, and the sketching platform only needs to transmit the RT struct file (i.e. the second DICOM file) back to the access address, i.e. the return address of the RT struct file.
In this embodiment, the background server determines the return address of the RT struct file, which improves the transmission efficiency of the RT struct file, and does not need to configure the return address of the sketch file by the sketch platform, thereby reducing the workload of the sketch platform.
Optionally, multiple target hooking tools are integrated in the sketching platform instead of the TPS structure, so that the workload of TPS can be reduced; preferably, the targeting tool is an SDK (collectively Software Development Kit, i.e., a software development kit) for an organ and target delineating algorithm, such as a commercial soup SDK, i.e., a kit for a series of organ and target delineating algorithms developed by a commercial soup. In the embodiment, by integrating various target hooking tools on the sketching platform, various sketching modes can be realized
Optionally, the second request sent by the treatment planning platform may also explicitly process the sketching tool of the first DICOM file, i.e. select the sketching SDK to be used; and then, the sketching platform selects the sketching SDK to sketch the first DICOM file according to the second request, so that the sketching efficiency is improved.
In step S206, a second DICOM file is received.
In this embodiment, after the sketching platform sketches, the second DICOM file is returned to the access address of the first DICOM file in the background server based on the return address carried in the second request.
According to the invention, the first DICOM file is downloaded based on the first request of the front-end operation interface of the treatment planning platform; then, a second request is sent to the sketching platform to sketch the target area of the first DICOM file, and the treatment planning platform and the sketching platform are in communication connection through a transmission control protocol; and the sketching platform downloads the first DICOM file from the background server based on the second request, sketches the target area through an internally integrated target-sketching tool to obtain a second DICOM file, and returns the second DICOM file to the background server according to the access address. The invention solves the technical problem of low DICOM file sketching efficiency in the related technology.
Optionally, obtaining the first DICOM file based on the first request of the front-end operations interface includes: the method comprises the steps of sending a file ID to a third party system according to a download address, wherein file reading and writing are carried out between the third party system and a treatment planning platform by calling an application program interface of the treatment planning platform, and the third party system is used for searching a compressed package file corresponding to a first DICOM file according to the file ID, and the compressed package file at least comprises: a first DICOM file, a file ID of the first DICOM file and descriptive information of the first DICOM file; reading the compressed package file through an application program interface; decompressing the compressed package file to obtain a first DICOM file.
FIG. 4 is a schematic diagram of file reading between a TPS and a three-party system according to an embodiment of the present invention, as shown in FIG. 4, in this embodiment, when a three-party service invokes a TPS service, it is guaranteed that the file is a DICOM file; the three-party system sends a request page index to TPS, and the page request needs to carry transfer parameters, namely a contracted data source; after entering a Web end page of TPS, downloading a compressed package file from a three-party service by using a background reading processing program (namely the application program interface) according to a file ID and a downloading address, wherein when an API interface reads the compressed package file once, the Web front end carries out data loading once, the compressed package file at least carries a first DICOM file, a file ID of the first DICOM file and description information of the first DICOM file, and the description information at least comprises a data source, a data role and the like of the first DICOM file; after the compressed package is downloaded, the compressed package file is decompressed (namely, data analysis) to obtain a first DICOM file, and the first DICOM file is stored and displayed in a Web segment.
Optionally, after receiving the second DICOM file, further comprising: generating a monitoring message, wherein the monitoring message is used for indicating that the background server has received the second DICOM file; sending a monitoring message to a front-end operation interface; and downloading the second DICOM file from the background server according to the monitoring message.
In this embodiment, after the background server receives the RT struct file, a monitoring message is formed and sent to the Web front end, so as to inform the background that the background receives the RT struct file, and the RT struct file can be downloaded at the front end by refreshing a page or the like.
In an alternative embodiment, the method further comprises: editing the second DICOM file based on an editing instruction of the front-end operation interface to obtain a third DICOM file; the third DICOM file is saved.
In this embodiment, after the DICOM file is downloaded on the presentation page of the Web terminal, the DICOM file may be edited on the presentation page, the sketching position of the target area may be modified, or operations such as secondary sketching may be performed, to obtain a new DICOM file (i.e., the third DICOM file) and then the new DICOM file is saved.
Preferably, operating on the Web front-end page, the newly saved DICOM file is passed back to the third party system.
Preferably, the third party system binds the delineated DICOM file with the patient ID after receiving the delineated DICOM file.
In an alternative embodiment of the present disclosure, further comprising: and based on the feedback instruction of the front-end operation interface, the second DICOM file is returned to the downloading address through the application program interface of the treatment planning platform.
In this embodiment, the delineated DICOM file is returned to the three-party service by operating on the Web front-end operation page. FIG. 5 is a schematic diagram of writing files between a TPS and a three-party system according to an embodiment of the present invention, where, as shown in FIG. 5, after a Web segment operation stores a second DICOM file or a third DICOM file obtained by editing, a temporary file is generated in a background server, and then the file is compressed to obtain a compressed package file, and the compressed package file is written into the third-party system through a writing processing program (i.e. the application program interface); optionally, in a third party system, the compressed package file is associated with a patient ID.
Example 2
An embodiment of the present invention provides another method for outlining a DICOM file, and fig. 6 is a flowchart of another method for outlining a DICOM file according to an embodiment of the present invention, as shown in fig. 6, and the embodiment is applied to a outlining platform, and includes the following steps:
step S602, downloading a first DICOM file based on a first request sent by a treatment plan platform, wherein the sketching platform is in communication connection with the treatment plan platform through a transmission control protocol, the first request carries an access address of the first DICOM file and is used for requesting sketching a target sketching area of the first DICOM file, the treatment plan platform at least comprises a front-end operation interface and a background server, the front-end operation interface is used for sending a second request to the background server, the second request carries a file ID and a downloading address of the first DICOM file and is used for requesting the background server to acquire the first DICOM file according to the downloading address, and the background server is used for sending the first request to the sketching platform after acquiring the first DICOM file;
In this embodiment, the sketching platform is a sketching system integrated with a plurality of sketching SDKs; the sketching platform triggers the sketching operation to be executed according to a first request sent by the treatment planning platform.
Optionally, the first request defines a target area of the first DICOM file, taking CT images of different sections of the brain of the human body as an example, and defining a target area and a jeopardizing organ by using the CT images of the patient through the treatment planning platform; the sketching platform sketches the target area and the organs at risk directly according to the CT image of the patient, so that the radiation dose is concentrated in the target area to the greatest extent, surrounding normal tissues or organs are less or free from unnecessary injury, human organs in the CT image can be particularly segmented, the target area is sketched according to the segmentation result, and the sketching precision and efficiency of the radiotherapy target area are improved.
Step S604, sketching a target area through an internally integrated target-sketching tool to obtain a second DICOM file;
in this embodiment, the target area is delineated by a plurality of delineating SDKs (i.e., the aforementioned delineating tools) integrated in the delineating platform, for example, a business soup SDK, a medical intelligence shadow SDK, etc., and a series of organ and target area delineating algorithms are included in the SDK toolkit.
Step S606, the second DICOM file is returned to the treatment planning platform according to the access address.
According to the invention, the treatment planning platform and the sketching platform are in communication connection through a transmission control protocol, the sketching platform receives a first request sent by the treatment planning platform, downloads a first DICOM file from a background server of the treatment planning platform, and determines a target area of the first DICOM file; and drawing the target area through an internally integrated target drawing tool to obtain a second DICOM file, and transmitting the second DICOM file back to the background server according to the access address carried in the first request. The invention solves the technical problem of low DICOM file sketching efficiency in the related technology.
In one embodiment of the scheme, taking CT images of different sections of a human brain as an example, a comprehensive network model is constructed by utilizing various artificial intelligence AI (fully called Artificial Intelligence) algorithms and image processing algorithms, so that effective segmentation of a plurality of small organs of the head and the neck is realized, the sketching precision of the small organ tissues can be improved, and the sketching efficiency and precision of a radiotherapy target region are further improved; the network solves the problem that the small organ cannot be converged during training and the problem of segmentation accuracy.
The invention is further described with reference to the following specific examples:
fig. 7 is a schematic diagram illustrating a flow of a DICOM file according to an embodiment of the present invention, and as shown in fig. 7, TPS includes TPS system operation and cloud TPS services,
step (1): operating at a Web end (namely operating a TPS system), and sending an AI sketching request to a background service (namely cloud TPS service) of TPS; the background service downloads the target file (namely the first DICOM file) according to the AI sketching request, for example, the target file is downloaded from a third party system;
step (2): the background service sends a socket request to an AI sketching service (namely the sketching platform);
in this embodiment, communication is performed between the AI sketching service and the TPS through a transmission control protocol TCP.
Step (3): after receiving the socket request, the AI sketching service downloads the target file from the background service, and starts to sketch automatically after receiving the target file;
step (4): after the sketching is finished, an RS file (namely the RT struct file) is generated;
step (5): the RS file is returned to the background service;
step (6): and after receiving the RS file, the background forms a monitoring message and sends the monitoring message to the Web front end.
Step (7): and refreshing the page at the Web end according to the monitoring message, and downloading the sketched RS file, so that the sketched RS file is loaded to the Web end.
Preferably, the Web end can also re-sketch the sketched RS file or perform some other editing operations, and after clicking and saving, the modified RS file is returned.
According to the embodiment of the invention, the TPS platform sends the sketching request to the sketching platform, and the sketching platform automatically sketches the target file according to the sketching request, wherein the request carries the selected sketching tool, the target area sketched by the DICOM file and the post-sketched return address, and after sketching, the post-sketched file is returned, so that the sketching efficiency is improved, and the technical problem of low manual sketching efficiency in the related art is solved.
Example 3
In this embodiment, a device for delineating a DICOM file is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and is not described herein. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 8 is a block diagram illustrating a DICOM file configuration device according to an embodiment of the present invention, as shown in fig. 8, where the device is applied to a treatment planning platform, and the treatment planning platform includes at least a front-end operation interface and a background server, and the device includes: an obtaining module 80, configured to obtain a first DICOM file based on a first request of the front-end operation interface, where the first request carries a file ID and a download address of the first DICOM file; a first sending module 82, connected to the obtaining module 80, configured to send a second request to the sketching platform, where the treatment planning platform is in communication connection with the sketching platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used to request to sketch a target area of the first DICOM file; the sketching platform is used for downloading a first DICOM file based on the second request, sketching a target area through an internally integrated sketching tool to obtain a second DICOM file, and transmitting the second DICOM file back to the background server according to the access address; the receiving module 84 is connected to the first sending module 82 and is configured to receive the second DICOM file.
Optionally, the acquiring module 80 includes: the sending unit is configured to send the file ID to a third party system according to the download address, where the third party system is configured to search, according to the file ID, a compressed package file corresponding to the first DICOM file, where the compressed package file at least includes: a first DICOM file, a file ID of the first DICOM file and descriptive information of the first DICOM file; the reading unit is used for reading the compressed package file by calling an application program interface of the treatment planning platform; and the decompression unit is used for decompressing the compressed package file to obtain a first DICOM file.
Optionally, the apparatus further includes: the generation module is used for generating a monitoring message after receiving the second DICOM file, wherein the monitoring message is used for indicating that the background server has received the second DICOM file; the second sending module is used for sending a monitoring message to the front-end operation interface; and the downloading module is used for downloading the second DICOM file from the background server according to the monitoring message.
Optionally, the apparatus further includes: the editing module is used for editing the second DICOM file based on an editing instruction of the front-end operation interface to obtain a third DICOM file; and the storage module is used for storing the third DICOM file.
Optionally, the apparatus further includes: and the return module is used for returning the second DICOM file to the download address through the application program interface of the treatment planning platform based on the return instruction of the front-end operation interface.
FIG. 9 is a block diagram illustrating another DICOM file delineating apparatus according to an embodiment of the present invention, as shown in FIG. 9, the apparatus being applied to a delineating platform, the apparatus comprising: the download module 90 is configured to download a first DICOM file based on a first request sent by the treatment planning platform, where the sketching platform is in communication connection with the treatment planning platform through a transmission control protocol, the first request carries an access address of the first DICOM file and is used for requesting sketching of a target sketching area of the first DICOM file, the treatment planning platform at least includes a front-end operation interface and a background server, the front-end operation interface is used for sending a second request to the background server, the second request carries a file ID and a download address of the first DICOM file and is used for requesting the background server to obtain the first DICOM file according to the download address, and the background server is used for sending the first request to the sketching platform after obtaining the first DICOM file; the sketching module 92 is connected to the downloading module 90, and is configured to sketch the target area through an internally integrated target-hooking tool, so as to obtain a second DICOM file; the sending module 94 is connected to the sketching module 92, and is configured to return the second DICOM file to the treatment planning platform according to the access address.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Example 4
An embodiment of the invention also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
s1, acquiring a first DICOM file based on a first request of the front-end operation interface, wherein the first request carries a file ID and a download address of the first DICOM file;
s2, sending a second request to a sketching platform, wherein the treatment planning platform is in communication connection with the sketching platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used for requesting sketching of a target area of the first DICOM file; the sketching platform is used for downloading the first DICOM file based on the second request, sketching the target area through an internally integrated target-sketching tool to obtain a second DICOM file, and returning the second DICOM file to the background server according to the access address;
S3, receiving the second DICOM file.
Alternatively, in the present embodiment, the above-described storage medium may be further configured to store a computer program for performing the steps of:
s1, downloading a first DICOM file based on a first request sent by the treatment plan platform, wherein the sketching platform is in communication connection with the treatment plan platform through a transmission control protocol, the first request carries an access address of the first DICOM file and is used for requesting sketching of a target sketching area of the first DICOM file, the treatment plan platform at least comprises a front-end operation interface and a background server, the front-end operation interface is used for sending a second request to the background server, the second request carries a file ID and a downloading address of the first DICOM file and is used for requesting the background server to acquire the first DICOM file according to the downloading address, and the background server is used for sending the first request to the sketching platform after acquiring the first DICOM file;
s2, sketching the target area through an internally integrated target-sketching tool to obtain a second DICOM file;
s3, the second DICOM file is returned to the treatment planning platform according to the access address.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, acquiring a first DICOM file based on a first request of the front-end operation interface, wherein the first request carries a file ID and a download address of the first DICOM file;
s2, sending a second request to a sketching platform, wherein the treatment planning platform is in communication connection with the sketching platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used for requesting sketching of a target area of the first DICOM file; the sketching platform is used for downloading the first DICOM file based on the second request, sketching the target area through an internally integrated target-sketching tool to obtain a second DICOM file, and returning the second DICOM file to the background server according to the access address;
S3, receiving the second DICOM file.
Optionally, in this embodiment, the above processor may be further configured to execute the following steps by a computer program:
s1, downloading a first DICOM file based on a first request sent by the treatment plan platform, wherein the sketching platform is in communication connection with the treatment plan platform through a transmission control protocol, the first request carries an access address of the first DICOM file and is used for requesting sketching of a target sketching area of the first DICOM file, the treatment plan platform at least comprises a front-end operation interface and a background server, the front-end operation interface is used for sending a second request to the background server, the second request carries a file ID and a downloading address of the first DICOM file and is used for requesting the background server to acquire the first DICOM file according to the downloading address, and the background server is used for sending the first request to the sketching platform after acquiring the first DICOM file;
s2, sketching the target area through an internally integrated target-sketching tool to obtain a second DICOM file;
s3, the second DICOM file is returned to the treatment planning platform according to the access address.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. The utility model provides a sketching method of DICOM file, is applied to treatment plan platform, characterized in that, treatment plan platform includes front-end operation interface and backstage server at least, includes:
acquiring a first DICOM file based on a first request of the front-end operation interface, wherein the first request carries a file ID and a download address of the first DICOM file;
sending a second request to a sketching platform, wherein the treatment planning platform is in communication connection with the sketching platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used for requesting sketching of a target area of the first DICOM file; the sketching platform is used for downloading the first DICOM file based on the second request, sketching the target area through an internally integrated target-sketching tool to obtain a second DICOM file, and returning the second DICOM file to the background server according to the access address;
and receiving the second DICOM file.
2. The method of claim 1, wherein obtaining a first DICOM file based on the first request of the front-end operations interface comprises:
The file ID is sent to a third party system according to the download address, wherein file reading and writing are carried out between the third party system and the treatment planning platform by calling an application program interface of the treatment planning platform, the third party system is used for searching a compressed package file corresponding to the first DICOM file according to the file ID, and the compressed package file at least comprises: the first DICOM file, a file ID of the first DICOM file and descriptive information of the first DICOM file;
reading the compressed package file through the application program interface;
decompressing the compressed package file to obtain the first DICOM file.
3. The method of claim 1, wherein after receiving the second DICOM file, the method further comprises:
generating a monitoring message, wherein the monitoring message is used for indicating that the background server has received the second DICOM file;
sending the monitoring message to the front-end operation interface;
and downloading the second DICOM file from the background server according to the monitoring message.
4. A method according to claim 3, characterized in that the method further comprises:
Editing the second DICOM file based on the editing instruction of the front-end operation interface to obtain a third DICOM file;
and storing the third DICOM file.
5. A method according to claim 3, characterized in that the method further comprises:
and based on the feedback instruction of the front-end operation interface, the second DICOM file is returned to the download address through an application program interface of the treatment planning platform.
6. A method for outlining a DICOM file applied to a outlining platform, comprising:
downloading a first DICOM file based on a first request sent by a treatment plan platform, wherein the sketching platform is in communication connection with the treatment plan platform through a transmission control protocol, the first request carries an access address of the first DICOM file and is used for requesting sketching of a target sketching area of the first DICOM file, the treatment plan platform at least comprises a front-end operation interface and a background server, the front-end operation interface is used for sending a second request to the background server, the second request carries a file ID and a downloading address of the first DICOM file and is used for requesting the background server to acquire the first DICOM file according to the downloading address, and the background server is used for sending the first request to the sketching platform after acquiring the first DICOM file;
The target area is delineated through an internally integrated target-delineating tool, and a second DICOM file is obtained;
and the second DICOM file is returned to the treatment planning platform according to the access address.
7. The utility model provides a sketching device of DICOM file, is applied to treatment plan platform, its characterized in that, treatment plan platform includes front-end operation interface and backstage server at least, includes:
the acquisition module is used for acquiring a first DICOM file based on a first request of the front-end operation interface, wherein the first request carries a file ID and a download address of the first DICOM file;
the first sending module is used for sending a second request to the sketching platform, wherein the treatment planning platform is in communication connection with the sketching platform through a transmission control protocol, the second request carries an access address of the first DICOM file and is used for requesting sketching of a target area of the first DICOM file; the sketching platform is used for downloading the first DICOM file based on the second request, sketching the target area through an internally integrated target-sketching tool to obtain a second DICOM file, and returning the second DICOM file to the background server according to the access address;
And the receiving module is used for receiving the second DICOM file.
8. A delineating device of DICOM file is applied to the delineating platform, characterized in that includes:
the treatment planning platform at least comprises a front-end operation interface and a background server, wherein the front-end operation interface is used for sending a second request to the background server, the second request is provided with a file ID and a download address of the first DICOM file, the background server is used for requesting the background server to acquire the first DICOM file according to the download address, and the background server is used for sending the first request to the drawing platform after acquiring the first DICOM file;
the sketching module is used for sketching the target area through an internally integrated target-sketching tool to obtain a second DICOM file;
and the sending module is used for transmitting the second DICOM file back to the treatment planning platform according to the access address.
9. Computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 5 or the steps of the method of claim 6 when the processor executes the computer program.
10. A computer storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the method of any of claims 1 to 5 or the steps of the method of claim 6.
CN202011283928.7A 2020-11-17 2020-11-17 DICOM file sketching method and device Active CN112447277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011283928.7A CN112447277B (en) 2020-11-17 2020-11-17 DICOM file sketching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011283928.7A CN112447277B (en) 2020-11-17 2020-11-17 DICOM file sketching method and device

Publications (2)

Publication Number Publication Date
CN112447277A CN112447277A (en) 2021-03-05
CN112447277B true CN112447277B (en) 2023-07-07

Family

ID=74738752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011283928.7A Active CN112447277B (en) 2020-11-17 2020-11-17 DICOM file sketching method and device

Country Status (1)

Country Link
CN (1) CN112447277B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114756524A (en) * 2022-03-11 2022-07-15 北京安盛祥元科技发展有限公司 Multi-person online target area sketching method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103745126A (en) * 2014-01-26 2014-04-23 深圳市医诺智能科技发展有限公司 TPS (Treatment Planning System) data processing method and system
CN107452074A (en) * 2017-07-31 2017-12-08 上海联影医疗科技有限公司 A kind of image processing method and system
CN109637652A (en) * 2018-11-21 2019-04-16 北京全域医疗技术有限公司 A kind of remote collaboration hook Target process and system based on cloud
CN110739049A (en) * 2019-10-10 2020-01-31 上海联影智能医疗科技有限公司 Image sketching method and device, storage medium and computer equipment
CN111599445A (en) * 2020-05-14 2020-08-28 安徽慧软科技有限公司 Full-automatic CT image processing system for automatic drawing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019090533A1 (en) * 2017-11-08 2019-05-16 Shenzhen United Imaging Healthcare Co., Ltd. System and method for diagnositic and treatment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103745126A (en) * 2014-01-26 2014-04-23 深圳市医诺智能科技发展有限公司 TPS (Treatment Planning System) data processing method and system
CN107452074A (en) * 2017-07-31 2017-12-08 上海联影医疗科技有限公司 A kind of image processing method and system
CN109637652A (en) * 2018-11-21 2019-04-16 北京全域医疗技术有限公司 A kind of remote collaboration hook Target process and system based on cloud
CN110739049A (en) * 2019-10-10 2020-01-31 上海联影智能医疗科技有限公司 Image sketching method and device, storage medium and computer equipment
CN111599445A (en) * 2020-05-14 2020-08-28 安徽慧软科技有限公司 Full-automatic CT image processing system for automatic drawing

Also Published As

Publication number Publication date
CN112447277A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
CN107680684B (en) Method and device for acquiring information
CN104881568A (en) Cloud computation based early oncotherapy efficacy evaluation system and method
CN112447277B (en) DICOM file sketching method and device
CN109830270A (en) Medical information management system, method, computer equipment and readable storage medium storing program for executing
CN112336996A (en) Radiotherapy target area automatic delineation system based on deep neural network
CN112489770B (en) DICOM file transmission system, DICOM file transmission method and DICOM file transmission device
CN116350958A (en) Method, device, equipment, medium and program product for setting radiotherapy plan parameters
CN111382004B (en) Parameter backup method and device, parameter restoration method and device and backup restoration system
CN112214701A (en) Page display method and system, storage medium and electronic device
CN115966309A (en) Recurrence position prediction method, recurrence position prediction device, nonvolatile storage medium, and electronic device
CN111553313A (en) Face matching system using cloud storage and corresponding terminal
CN111276254A (en) Medical open platform system and diagnosis and treatment data processing method
CN109582338A (en) BIOS option amending method, device, equipment and storage medium
CN112822737B (en) Method, equipment and storage medium for realizing mobile network system switching
CN113674254A (en) Medical image abnormal point identification method, equipment, electronic device and storage medium
CN112582048A (en) Radiotherapy target area automatic delineation system and method based on deep learning
CN111694807A (en) Processing method, system, equipment and storage medium of nonvolatile storage file
CN113467823A (en) Configuration information acquisition method, device, system and storage medium
CN111724884A (en) Generation of a resulting image
CN110428220A (en) Resume sharing method and relevant device
CN111046641A (en) Menu file generation method and device, storage medium and electronic device
CN111863203A (en) Method, device, equipment and storage medium for classifying radiotherapy data
CN112801602B (en) Tissue transfer method, device, storage medium and computer equipment
CN113852919B (en) Method and device for generating early warning message, storage medium and electronic device
CN114785847B (en) Network control software development configuration method, terminal and storage medium

Legal Events

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