CN112447277A - DICOM file delineation method and device - Google Patents

DICOM file delineation method and device Download PDF

Info

Publication number
CN112447277A
CN112447277A CN202011283928.7A CN202011283928A CN112447277A CN 112447277 A CN112447277 A CN 112447277A CN 202011283928 A CN202011283928 A CN 202011283928A CN 112447277 A CN112447277 A CN 112447277A
Authority
CN
China
Prior art keywords
dicom file
file
platform
delineation
request
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
CN202011283928.7A
Other languages
Chinese (zh)
Other versions
CN112447277B (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 DICOM file delineation method, which is applied to a treatment plan platform, wherein the treatment plan 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 delineation platform, wherein the treatment plan platform is in communication connection with the delineation platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used for requesting to delineate a target region of the first DICOM file; the sketching platform is used for downloading a first DICOM file based on a 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 delineation efficiency in the related technology.

Description

DICOM file delineation method and device
Technical Field
The invention relates to the field of computers, in particular to a method and a device for delineating a DICOM file.
Background
At present, the incidence rate of tumors is higher and higher, and as one of three main treatment modes of tumors, the position of radiotherapy in tumor treatment is more and more important. With the development and wide clinical application of accurate radiotherapy technologies such as three-dimensional conformal and conformal intensity modulation, the determination and delineation of the accurate target area range are receiving more and more attention.
In the related technology, the traditional target region delineation completely depends on the knowledge and personal experience of doctors, the doctors need to delineate slices of the DICOM image layer by layer, the manual mode is strong in randomness, time consumption of delineation of different doctors is different, and delineation consistency is poor. At the present stage, the manual drawing method cannot completely meet clinical requirements, the process is time-consuming and labor-consuming, and the working efficiency of doctors is seriously influenced.
In view of the above problems in the related art, no effective solution has been found at present.
Disclosure of Invention
The embodiment of the invention provides a DICOM file delineation method and a DICOM file delineation device, so as to solve the technical problem of low DICOM file delineation efficiency in the related technology.
According to an embodiment of the present invention, a method for delineating a DICOM file is provided, which is applied to a treatment planning platform, where the treatment planning platform at least includes a front-end operation interface and a background server, and the method 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 delineation platform, wherein the treatment plan platform is in communication connection with the delineation platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used for requesting to delineate a target region of the first DICOM file; the drawing platform is used for downloading the first DICOM file based on the second request, drawing the target area through an internally integrated drawing tool to obtain a second DICOM file, and transmitting the second DICOM file back to the background server according to the access address; receiving the second DICOM file.
Optionally, obtaining the first DICOM file based on the first request of the front-end operation interface includes: sending the file ID to a third-party system according to the download address, wherein file reading and writing are performed between the third-party system and the treatment plan platform by calling an application program interface of the treatment plan platform, the third-party system is used for searching a compression package file corresponding to the first DICOM file according to the file ID, and the compression package file at least comprises: the first DICOM file, the file ID of the first DICOM file and the description information of the first DICOM file; reading the compressed package file through the application program interface; and decompressing the compressed packet file to obtain the first DICOM file.
Optionally, after receiving the second DICOM file, the method further includes: generating a listening message, wherein the listening 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 includes: editing the second DICOM file based on the editing instruction of the front-end operation interface to obtain a third DICOM file; saving the third DICOM file.
Optionally, the method further includes: and based on a return instruction of the front-end operation interface, returning the second DICOM file to the download address through an application program interface of the treatment plan platform.
According to an embodiment of the invention, another DICOM file delineation method is provided, which is applied to a delineation platform and comprises the following steps: downloading a first DICOM file based on a first request sent by the treatment plan platform, wherein the delineation 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 delineation of a target delineation 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 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 delineation platform after obtaining the first DICOM file; the target area is sketched through an internally integrated target hooking tool to obtain a second DICOM file; and transmitting the second DICOM file back to the treatment plan platform according to the access address.
According to an embodiment of the present invention, there is provided a DICOM file delineation apparatus, applied to a treatment planning platform, where the treatment planning platform at least includes a front-end operation interface and a background server, the apparatus including: the obtaining module is used for obtaining 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 a delineation platform, wherein the treatment plan platform is in communication connection with the delineation platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used for requesting to delineate a target region of the first DICOM file; the drawing platform is used for downloading the first DICOM file based on the second request, drawing the target area through an internally integrated drawing tool to obtain a second DICOM file, and transmitting the second DICOM file back to the background server according to the access address; and the receiving module is used for receiving the second DICOM file.
Optionally, the obtaining module includes: a sending unit, 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 packet file corresponding to the first DICOM file, where the compressed packet file at least includes: the first DICOM file, the file ID of the first DICOM file and the description 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 plan platform; and the decompression unit is used for decompressing the compressed packet file to obtain the first DICOM file.
Optionally, the apparatus further comprises: a generating module, configured to generate a monitoring message after receiving the second DICOM file, where the monitoring message is used to indicate 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 comprises: 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 comprises: and the return module is used for returning the second DICOM file to the download address through an application program interface of the treatment plan platform based on a return instruction of the front-end operation interface.
According to an embodiment of the present invention, another DICOM file delineation apparatus is provided, which is applied to a delineation platform, and includes: the system comprises a downloading module, a drawing platform and a treatment plan platform, wherein the drawing 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 to draw a target drawing target 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 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 drawing platform after obtaining the first DICOM file; the drawing module is used for drawing the target area through an internally integrated target drawing tool to obtain a second DICOM file; and the sending module is used for transmitting the second DICOM file back to the treatment plan platform according to the access address.
According to yet another embodiment of the present invention, there is also provided a computer device comprising a memory having a computer program stored therein and a processor configured to execute the computer program to perform the steps of any of the above method embodiments.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps in any of the apparatus embodiments described above when executed.
According to the invention, a first DICOM file is downloaded based on a first request of a front-end operation interface of a treatment plan platform; then sending a second request to the delineation platform to request to delineate a target region of the first DICOM file, wherein the treatment plan platform is in communication connection with the delineation platform 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 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 delineation 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 embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a DICOM file delineation method applied to a computer terminal according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for depicting a DICOM file according to an embodiment of the present invention;
FIG. 3 is a block diagram of a TPS architecture provided in accordance with an embodiment of the present invention;
FIG. 4 is a schematic diagram of reading files between a TPS and a three-party system provided by an embodiment of the invention;
FIG. 5 is a schematic diagram of a file written 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 DICOM file delineation method according to embodiments of the present invention;
FIG. 7 is a block diagram illustrating a DICOM file delineation process according to an embodiment of the present invention;
fig. 8 is a block diagram of a DICOM file delineation apparatus according to an embodiment of the present invention;
fig. 9 is a block diagram of another DICOM file delineation apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed 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 hardware structure block diagram of a DICOM file delineation method applied to a computer terminal according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or 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 understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. 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, for example, software programs and modules of application software, such as a computer program corresponding to the DICOM file delineation method in the embodiment 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 above-mentioned method. The 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 located remotely from the processor 102, which may be connected to a computer terminal over 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 device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In order to solve the above problems in the related art, an embodiment of the present invention provides a method for delineating a DICOM file, fig. 2 is a flowchart of the method for delineating a DICOM file according to the embodiment of the present invention, as shown in fig. 2, the embodiment is applied to a treatment planning platform, 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 the present embodiment, DICOM (Digital Imaging and Communications in Medicine) files may be CT images of different sections of the human brain, but are not limited thereto.
In an embodiment, taking a Treatment Planning System TPS (full name 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 present invention, where the TPS structure includes a Web end (i.e., the front end operation interface) and a server (i.e., the backend server).
In this embodiment, by operating on a display layer of a Web end, a request is made to outline a DICOM file of a patient with a certain ID, where the request carries a file ID of the DICOM file and a download address (i.e., a data source) for downloading the DICOM file from a 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 (called Application Program Interface), a collaboration system and a file system; reading and writing files between the TPS and the three-party system through an application program interface in the TPS server, wherein in the three-party service, 2 interfaces are required 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 associated.
Step S204, sending a second request to the delineation platform, wherein the treatment plan platform is in communication connection with the delineation platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used for requesting to delineate a target area of the first DICOM file; the sketching platform is used for downloading a first DICOM file based on a 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 a target region of interest in the first DICOM file by the treatment planning platform, e.g., identifying delineating target regions and organs-at-risk of CT images of the patient; sending a delineation request (namely the second request) to a delineation platform, wherein the delineation request defines a target area and informs a background server of an access address for accessing the first DICOM file; after the delineation is completed, an RT struct file (namely a radiotherapy structure file) is obtained, and the delineation platform only needs to transmit the RT struct file (namely the second DICOM file) back to the access address, namely the return address of the RT struct file.
In the embodiment, the back address of the RT struct file is determined by the background server, so that the transmission efficiency of the RT struct file is improved, a delineation platform is not required to configure the back address of the delineation file, and the workload of the delineation platform is further reduced.
Optionally, a plurality of target hooking tools are integrated in the delineation platform instead of the TPS structure, so that the workload of TPS can be reduced; preferably, the targeting tool is an SDK (Software Development Kit) of an organ and target delineation algorithm, such as a sourcesoup SDK, which is a Kit of a series of organ and target delineation algorithms developed by sourcesoup. In the embodiment, various target hooking tools are integrated on the hooking platform, so that various hooking modes can be realized
Optionally, the second request sent by the treatment planning platform may also explicitly process a delineation tool of the first DICOM file, that is, select a used delineation SDK; then, the sketching platform selects the sketching SDK to sketch the first DICOM file according to the second request, and therefore sketching efficiency is improved.
In step S206, a second DICOM file is received.
In this embodiment, after the delineation platform performs delineation, 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, a first DICOM file is downloaded based on a first request of a front-end operation interface of a treatment plan platform; then sending a second request to the delineation platform to request to delineate a target region of the first DICOM file, wherein the treatment plan platform is in communication connection with the delineation platform 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 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 delineation efficiency in the related technology.
Optionally, obtaining the first DICOM file based on the first request of the front-end operation interface includes: and sending the file ID to a third-party system according to the download address, wherein the file reading and writing are carried out between the third-party system and the treatment plan platform by calling an application program interface of the treatment plan platform, the third-party system is used for searching a compression package file corresponding to the first DICOM file according to the file ID, and the compression package file at least comprises: the first DICOM file, the file ID of the first DICOM file and the description information of the first DICOM file; reading the compressed package file through an application program interface; and decompressing the compressed packet file to obtain a first DICOM file.
Fig. 4 is a schematic diagram of reading a file between a TPS and a three-party system according to an embodiment of the present invention, as shown in fig. 4, in this embodiment, a file to be guaranteed when a three-party service calls a TPS service is a DICOM file; the three-party system sends a request page index (index) to the TPS, and the page request needs to carry a transmission parameter, namely an appointed data source; after entering a Web end page of the TPS, downloading a compressed packet file from a three-party service by using a background reading processing program (namely the application program interface) according to the file ID and a downloading address, wherein when the API reads the compressed packet file once, the Web front end loads data once, and the compressed packet file at least carries a first DICOM file, the file ID of the first DICOM file and description information of the first DICOM file, wherein the description information at least comprises a data source, a data role and the like of the first DICOM file; after downloading the compression package, decompressing (i.e. data parsing) the compression package file to obtain a first DICOM file, storing and displaying in a Web segment.
Optionally, after receiving the second DICOM file, the method further includes: 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 receiving the RT struct file, the background server forms a monitoring message and sends the monitoring message to the Web front end, so as to inform the background that the RT struct file is received, and the RT struct file can be downloaded at the front end by refreshing a page and the like.
In an optional embodiment, further comprising: editing the second DICOM file based on an editing instruction of the front-end operation interface to obtain a third DICOM file; a third DICOM file is saved.
In this embodiment, after downloading the DICOM file, the display page of the Web end may edit the DICOM file on the display page, modify the delineation position of the target area, perform operations such as secondary delineation, and obtain a new DICOM file (i.e., the third DICOM file), and then store the new DICOM file.
Preferably, operating on the Web front-end page, the newly saved DICOM file is transmitted back to the third-party system.
Preferably, after receiving the outlined DICOM file, the third-party system binds the outlined DICOM file with the ID of the patient.
In an optional embodiment of the present disclosure, the method further includes: and based on a return instruction of the front-end operation interface, returning the second DICOM file to the download address through an application program interface of the treatment plan platform.
In this embodiment, the outlined 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 a file written between the TPS and the third-party system according to an embodiment of the present invention, as shown in fig. 5, after a Web segment operates and saves a second DICOM file or an edited third DICOM file, a temporary file is generated in a background server, the file is compressed to obtain a compressed packet file, and the compressed packet file is written into the third-party system through a write 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
The embodiment of the present invention provides another DICOM file delineation method, fig. 6 is a flowchart of another DICOM file delineation method according to the embodiment of the present invention, as shown in fig. 6, the embodiment is applied to a delineation platform, and the embodiment includes the following steps:
step S602, downloading a first DICOM file based on a first request sent by a treatment plan platform, wherein the delineation 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 delineation of a target delineation 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 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 delineation platform after obtaining the first DICOM file;
in this embodiment, the delineation platform is a delineation system integrating multiple delineation SDKs; and the drawing platform triggers and executes the drawing operation according to the first request sent by the treatment planning platform.
Optionally, the target region of the first DICOM file is determined in the first request, and taking CT images of different sections of the human brain as an example, the target region and the organs at risk are determined by the CT images of the patient through a treatment planning platform; the target area and the organs at risk are directly drawn according to patient's CT image to the platform of drawing is drawn with the operation of drawing with the pointing to furthest concentrates on the target area with the radiation dose, makes around normal tissue or organ receive or avoid unnecessary injury less, specifically can cut apart the human organ in the CT image, draws the target area according to cutting apart the result, promotes the precision and the efficiency of drawing at radiotherapy target area.
Step S604, a target area is sketched through an internally integrated target hooking tool to obtain a second DICOM file;
in this embodiment, a target area is sketched through a plurality of sketching SDKs (i.e., the sketching tools) integrated in the sketching platform, such as a business soup SDK, a medical image SDK, and the like, where the SDK kit includes a series of organ and target area sketching algorithms.
Step S606, the second DICOM file is transmitted back to the treatment plan platform according to the access address.
According to the invention, the treatment plan platform is in communication connection with the delineation platform through a transmission control protocol, the delineation platform receives a first request sent by the treatment plan platform, downloads a first DICOM file from a background server of the treatment plan platform, and defines a target area of the first DICOM file; and sketching the target area through an internally integrated target sketching 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 delineation 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 a plurality of Artificial Intelligence AI (all known as Artificial Intelligence) algorithms and an image processing algorithm, so that effective segmentation of a plurality of small organs at the head and neck is realized, the tissue delineation precision of the small organs can be improved, and the delineation efficiency and precision of a radiotherapy target area are further improved; the network solves the problem that the small organ can not be converged during training and the problem of segmentation precision.
The invention is further illustrated below with reference to a specific embodiment:
fig. 7 is a schematic diagram illustrating a flow of a DICOM file according to an embodiment of the present invention, as shown in fig. 7, the TPS includes a TPS system operation and a cloud TPS service,
the method comprises the following steps: operating at a Web end (namely TPS system operation), and sending an AI (artificial intelligence) sketching request to a background service (namely cloud TPS service) of the TPS; the background service downloads the target file (namely the first DICOM file) according to the AI sketching request, for example, from a third-party system;
step two: the background service sends a socket request to an AI (i.e. the delineation platform);
in this embodiment, the AI delineation service communicates with the TPS via the TCP.
Step three: after receiving the socket request, the AI sketching service downloads a target file from the background service, and after receiving the target file, the AI sketching service starts to automatically sketch;
step IV: after the drawing is finished, an RS file (namely the RT struct file) is generated;
step five: the RS file is transmitted back to the background service;
step (c): and after the background receives the RS file, a monitoring message is formed and is sent to the Web front end.
Step (c): and refreshing a page at the Web end according to the monitoring message, and downloading the delineated RS file so as to load the delineated RS file to the Web end.
Preferably, the Web end can also re-delineate the delineated RS file, or perform some other editing operations, and return the modified RS file after clicking and storing.
According to the embodiment of the invention, the TPS platform sends the sketching request to the sketching platform, the sketching platform automatically performs sketching processing on the target file according to the sketching request, the selected sketching tool, the target region sketched by the DICOM file and the sketched return address are carried in the request, and the sketched file is returned after sketching, so that the sketching efficiency is improved, and the technical problem of low manual sketching efficiency in the related technology is solved.
Example 3
In this embodiment, a DICOM file delineation apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the descriptions already made are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 8 is a block diagram of a DICOM file delineation apparatus according to an embodiment of the present invention, as shown in fig. 8, the apparatus is applied to a treatment planning platform, the treatment planning platform includes at least a front-end operation interface and a backend server, and the apparatus includes: the obtaining module 80 is 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 delineation platform, where the treatment plan platform and the delineation platform are connected through tcp communication, and the second request carries an access address of the first DICOM file, and is used to request to delineate a target region of the first DICOM file; the sketching platform is used for downloading a first DICOM file based on a 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; and a receiving module 84, connected to the first sending module 82, for receiving the second DICOM file.
Optionally, the obtaining module 80 includes: a sending unit, 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 packet file corresponding to the first DICOM file, where the compressed packet file at least includes: the first DICOM file, the file ID of the first DICOM file and the description 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 plan platform; and the decompression unit is used for decompressing the compressed packet file to obtain a first DICOM file.
Optionally, the apparatus further comprises: the generating 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 receives 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 comprises: 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 comprises: and the return module is used for returning the second DICOM file to the download address through an application program interface of the treatment plan platform based on a return instruction of the front-end operation interface.
Fig. 9 is a block diagram of another DICOM file delineation apparatus according to an embodiment of the present invention, and as shown in fig. 9, the apparatus is applied to a delineation platform, and the apparatus includes: the downloading module 90 is used for downloading a first DICOM file based on a first request sent by a treatment plan platform, wherein the delineation 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 delineation of a target delineation 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 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 delineation platform after obtaining the first DICOM file; the drawing module 92 is connected to the downloading module 90 and used for drawing the target area through an internally integrated target drawing tool to obtain a second DICOM file; and the sending module 94 is connected to the delineation module 92 and is used for transmitting the second DICOM file back to the treatment plan platform according to the access address.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 4
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing 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 delineation platform, wherein the treatment plan platform is in communication connection with the delineation platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used for requesting to delineate a target region of the first DICOM file; the drawing platform is used for downloading the first DICOM file based on the second request, drawing the target area through an internally integrated drawing tool to obtain a second DICOM file, and transmitting the second DICOM file back to the background server according to the access address;
s3, receiving the second DICOM file.
Optionally, in this embodiment, the storage medium may be further configured to store a computer program for executing the following steps:
s1, downloading a first DICOM file based on a first request sent by the treatment plan platform, where the delineation 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 to request delineation of a target delineation area of the first DICOM file, the treatment plan platform at least includes a front-end operation interface and a backend server, the front-end operation interface is used to send a second request to the backend server, the second request carries a file ID and a download address of the first DICOM file and is used to request the backend server to obtain the first DICOM file according to the download address, and the backend server is used to send the first request to the delineation platform after obtaining the first DICOM file;
s2, the target area is sketched through an internally integrated target hooking tool to obtain a second DICOM file;
and S3, transmitting the second DICOM file back to the treatment planning platform according to the access address.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the 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 delineation platform, wherein the treatment plan platform is in communication connection with the delineation platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used for requesting to delineate a target region of the first DICOM file; the drawing platform is used for downloading the first DICOM file based on the second request, drawing the target area through an internally integrated drawing tool to obtain a second DICOM file, and transmitting the second DICOM file back to the background server according to the access address;
s3, receiving the second DICOM file.
Optionally, in this embodiment, the processor may be further configured to execute, by the computer program, the following steps:
s1, downloading a first DICOM file based on a first request sent by the treatment plan platform, where the delineation 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 to request delineation of a target delineation area of the first DICOM file, the treatment plan platform at least includes a front-end operation interface and a backend server, the front-end operation interface is used to send a second request to the backend server, the second request carries a file ID and a download address of the first DICOM file and is used to request the backend server to obtain the first DICOM file according to the download address, and the backend server is used to send the first request to the delineation platform after obtaining the first DICOM file;
s2, the target area is sketched through an internally integrated target hooking tool to obtain a second DICOM file;
and S3, transmitting the second DICOM file back to the treatment planning platform according to the access address.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A DICOM file delineation method is applied to a treatment planning platform, and is characterized in that the treatment planning platform at least comprises a front-end operation interface and a background server, and comprises the following steps:
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 delineation platform, wherein the treatment plan platform is in communication connection with the delineation platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used for requesting to delineate a target region of the first DICOM file; the drawing platform is used for downloading the first DICOM file based on the second request, drawing the target area through an internally integrated drawing tool to obtain a second DICOM file, and transmitting the second DICOM file back to the background server according to the access address;
receiving the second DICOM file.
2. The method of claim 1, wherein obtaining a first DICOM file based on a first request from the front-end operations interface comprises:
sending the file ID to a third-party system according to the download address, wherein file reading and writing are performed between the third-party system and the treatment plan platform by calling an application program interface of the treatment plan platform, the third-party system is used for searching a compression package file corresponding to the first DICOM file according to the file ID, and the compression package file at least comprises: the first DICOM file, the file ID of the first DICOM file and the description information of the first DICOM file;
reading the compressed package file through the application program interface;
and decompressing the compressed packet 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 listening message, wherein the listening 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. The method of claim 3, further comprising:
editing the second DICOM file based on the editing instruction of the front-end operation interface to obtain a third DICOM file;
saving the third DICOM file.
5. The method of claim 3, further comprising:
and based on a return instruction of the front-end operation interface, returning the second DICOM file to the download address through an application program interface of the treatment plan platform.
6. A DICOM file delineation method is applied to a delineation platform and is characterized by comprising the following steps:
downloading a first DICOM file based on a first request sent by the treatment plan platform, wherein the delineation 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 delineation of a target delineation 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 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 delineation platform after obtaining the first DICOM file;
the target area is sketched through an internally integrated target hooking tool to obtain a second DICOM file;
and transmitting the second DICOM file back to the treatment plan platform according to the access address.
7. A DICOM file delineation device is applied to a treatment planning platform, and is characterized in that the treatment planning platform at least comprises a front-end operation interface and a background server, and comprises:
the obtaining module is used for obtaining 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 a delineation platform, wherein the treatment plan platform is in communication connection with the delineation platform through a transmission control protocol, and the second request carries an access address of the first DICOM file and is used for requesting to delineate a target region of the first DICOM file; the drawing platform is used for downloading the first DICOM file based on the second request, drawing the target area through an internally integrated drawing tool to obtain a second DICOM file, and transmitting the second DICOM file back to the background server according to the access address;
and the receiving module is used for receiving the second DICOM file.
8. A DICOM file delineation device is applied to delineation platforms and is characterized by comprising:
the system comprises a downloading module, a drawing platform and a treatment plan platform, wherein the drawing 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 to draw a target drawing target 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 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 drawing platform after obtaining the first DICOM file;
the drawing module is used for drawing the target area through an internally integrated target drawing tool to obtain a second DICOM file;
and the sending module is used for transmitting the second DICOM file back to the treatment plan platform according to the access address.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program performs the steps of the method of any one of claims 1 to 5 or the steps of the method of claim 6.
10. A computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method of any one 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 true CN112447277A (en) 2021-03-05
CN112447277B 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)

Cited By (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 (6)

* 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
US20190209867A1 (en) * 2017-11-08 2019-07-11 Shanghai United Imaging Healthcare Co., Ltd. System and method for diagnostic and treatment
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

Patent Citations (6)

* 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
US20190209867A1 (en) * 2017-11-08 2019-07-11 Shanghai United Imaging Healthcare Co., Ltd. System and method for diagnostic and treatment
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

Cited By (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

Also Published As

Publication number Publication date
CN112447277B (en) 2023-07-07

Similar Documents

Publication Publication Date Title
CN107392897B (en) Organ contour acquisition method, imaging apparatus, radiotherapy planning system, and storage medium
CN111885144A (en) Equipment binding method and device
CN110457544A (en) A kind of data capture method, system, electronic equipment and storage medium
CN107799171A (en) Information processing method, apparatus and system, storage medium, equipment and server
CN109830270A (en) Medical information management system, method, computer equipment and readable storage medium storing program for executing
CN112447277B (en) DICOM file sketching method and device
CN112336996A (en) Radiotherapy target area automatic delineation system based on deep neural network
CN109461147B (en) Pathological labeling method and device applied to FOV picture of mobile terminal
CN112489770B (en) DICOM file transmission system, DICOM file transmission method and DICOM file transmission device
CN108600314A (en) Data resource dispatching method, device, system and electronic equipment
CN111382004B (en) Parameter backup method and device, parameter restoration method and device and backup restoration system
CN111192166B (en) Method and device for processing ordering information, storage medium and electronic device
CN114782399B (en) Automatic detection method and device for annulus, electronic equipment and storage medium
CN115966309A (en) Recurrence position prediction method, recurrence position prediction device, nonvolatile storage medium, and electronic device
CN110300222A (en) A kind of short message display method, system and terminal device
CN115761069A (en) Skin animation lightweight method, device electronic device and storage medium
CN111694807B (en) Processing method, system, equipment and storage medium of nonvolatile storage file
CN112801602B (en) Tissue transfer method, device, storage medium and computer equipment
CN112582048A (en) Radiotherapy target area automatic delineation system and method based on deep learning
CN113467823A (en) Configuration information acquisition method, device, system and storage medium
CN112822737B (en) Method, equipment and storage medium for realizing mobile network system switching
CN111046641A (en) Menu file generation method and device, storage medium and electronic device
CN114785847B (en) Network control software development configuration method, terminal and storage medium
US11132344B2 (en) Correlating and referencing blockchains
CN112466438B (en) DICOM file transmission system, DICOM file transmission method and DICOM file transmission device

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