CN111430013A - Method, device and equipment for complementing image date and storage medium - Google Patents

Method, device and equipment for complementing image date and storage medium Download PDF

Info

Publication number
CN111430013A
CN111430013A CN202010212866.4A CN202010212866A CN111430013A CN 111430013 A CN111430013 A CN 111430013A CN 202010212866 A CN202010212866 A CN 202010212866A CN 111430013 A CN111430013 A CN 111430013A
Authority
CN
China
Prior art keywords
date
image
missing
image information
rule
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
CN202010212866.4A
Other languages
Chinese (zh)
Other versions
CN111430013B (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.)
Shanghai United Imaging Healthcare Co Ltd
Original Assignee
Shanghai United Imaging Healthcare Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai United Imaging Healthcare Co Ltd filed Critical Shanghai United Imaging Healthcare Co Ltd
Priority to CN202010212866.4A priority Critical patent/CN111430013B/en
Publication of CN111430013A publication Critical patent/CN111430013A/en
Application granted granted Critical
Publication of CN111430013B publication Critical patent/CN111430013B/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/40ICT specially adapted for the handling or processing of medical images for processing medical images, e.g. editing
    • 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

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)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for complementing image dates. The method comprises the following steps: when an import file is received, acquiring image information of each image in the import file, and determining a missing date in each image information, wherein the missing date is an image date which does not exist in the image information; for each type of missing date, determining a target date in the image information according to at least one date completion rule and the priority order of the date completion rules; and filling the target date into the information position corresponding to the missing date. According to the embodiment of the invention, the missing date is complemented by the target date determined based on the date complementing rule, so that the problem that the missing image date influences the image processing process is solved, and the working efficiency of a subsequent image processing module is improved. Meanwhile, the date of the image used for completing is closer to the real date, and the accuracy of the image processing result is further improved.

Description

Method, device and equipment for complementing image date and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a method, a device, equipment and a storage medium for completing an image date.
Background
Medical imaging is a science that shows the internal tissue organ structure and density of a human body in an image mode by means of interaction with the human body through a certain medium (such as X rays, electromagnetic fields or ultrasonic waves) so that a doctor can judge according to data information provided by the image and evaluate the health condition of the human body. Medical imaging typically involves two study directions, medical imaging system and medical image processing.
When imaging a region to be measured using medical imaging equipment, it is common to record the date of each image as it is being acquired. In the subsequent medical image processing, the image data may be processed by the date of the image, for example, the images may be sorted by the examination date, or the time axis of the medical image processing may be determined according to the examination date. However, in the actual medical imaging process, the image date is often lost, which causes inconvenience to the subsequent medical image processing process.
At present, when the date of an image is missing, the current date is filled in the position of the missing date, and then the subsequent medical image processing process is performed. However, this process is too simple and the date filled may differ significantly from the actual date. Based on the prior technical scheme, the image processing module using the image date can be greatly influenced, and the situations of inaccurate processing result or error in the processing process and the like can easily occur, so that the medical image processing efficiency is reduced.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for completing image dates, which are used for improving the working efficiency of a subsequent image processing module and the accuracy of a processing result.
In a first aspect, an embodiment of the present invention provides a method for completing an image date, where the method includes:
when an import file is received, acquiring image information of each image in the import file, and determining a missing date in each image information, wherein the missing date is an image date which does not exist in the image information;
for each type of missing date, determining a target date in the image information according to at least one date completion rule and the priority order of the date completion rules;
and filling the target date into the information position corresponding to the missing date.
In a second aspect, an embodiment of the present invention further provides an apparatus for completing an image date, where the apparatus includes:
the missing date determining module is used for acquiring image information of each image in the import file and determining a missing date in each image information, wherein the missing date is an image date which does not exist in the image information;
the target date determining module is used for determining a target date in the image information according to at least one date completion rule and the priority order of the date completion rules aiming at each type of missing date;
and the target date filling module is used for filling the target date into the information position corresponding to the missing date.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement any of the image date completion methods referred to above.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions which, when executed by a computer processor, perform any of the above mentioned methods of complementing image dates.
According to the embodiment of the invention, the missing date is complemented by the target date determined based on the date complementing rule, so that the problem that the missing image date influences the image processing process is solved, and the working efficiency of a subsequent image processing module is improved. Meanwhile, the date of the image used for completing is closer to the real date, and the accuracy of the image processing result is further improved.
Drawings
Fig. 1 is a flowchart of a method for completing an image date according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of image information according to an embodiment of the present invention.
Fig. 3 is a flowchart of a method for completing an image date according to a second embodiment of the present invention.
Fig. 4 is a flowchart of an embodiment of a method for completing an image date according to a second embodiment of the present invention.
Fig. 5 is a schematic diagram of a completion apparatus for image dates according to a third embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an image date completing method according to an embodiment of the present invention, where the embodiment is applicable to a case where an image date in image information is missing, and the method may be executed by an image date completing device, which may be implemented in a software and/or hardware manner, and the device may be configured in a terminal device. The method specifically comprises the following steps:
s110, when the import file is received, acquiring the image information of each image in the import file, and determining the missing date in each image information, wherein the missing date is the image date which does not exist in the image information.
In one embodiment, the import file is used to store relevant data files that the user generates after completing a medical examination. Among them, the medical examination may be, for example, a medical ultrasound examination, a medical CT (Computed Tomography) examination, and the like. In one embodiment, optionally, the import file includes at least one user's check file. Wherein, exemplarily, one user corresponds to at least one check file. In one embodiment, optionally, the check file includes at least one sequence file. In one example, when a user performs a medical examination, the system generates a sequence file for storing a related data file generated during the medical examination. For example, when the user performs an ultrasound examination of the chest, a sequence file corresponding to the ultrasound examination of the chest is generated; when a user carries out ultrasonic examination of the brain, generating a sequence file corresponding to the ultrasonic examination of the brain; when the user performs a CT examination of the chest, a sequence file corresponding to the CT examination of the chest is generated. Illustratively, the sequence file is ordered by a serial number, and the serial number may be a positive integer, an english character, or a character string. The naming of the sequence number is not limited herein. In one embodiment, optionally, the sequence number of the sequence file is incremented with the creation time of the sequence file. Specifically, if the user a performs one check a at 9 points, the sequence number of the sequence file created for check a is 0001, and if the user performs one check B at 10 points, the sequence number of the sequence file created for check B is 0002. The examination site and/or examination item are different between examination a and examination B. In one embodiment, optionally, the sequence file includes at least one image file. The file format of the image file may be jpg, pdf, png, or the like, or may be a dcm format, for example. The dcm-formatted file is a Digital Imaging file generated based on DICOM (Digital Imaging and Communications in Medicine) standard, and can be used for storing various image information.
To summarize, for example, the import file includes a check file a of user a and a check file B of user B. Taking the inspection file a of the user a as an example, the inspection file a includes a sequence file 1 and a sequence file 2, where the sequence file 1 and/or the sequence file 2 includes at least one image file. In one embodiment, the import file may further include a video file, a document file, a sound file, a compressed file, a system file, and the like, and the specific file content included in the import file is not limited herein.
All image files in the import file are acquired, and the image information of each image is read. Illustratively, the image information is read from a dcm-formatted image using a pyddicom package. In one embodiment, optionally, the image information includes a serial number of the image and tag information. Wherein the tag information includes at least one of a tag number, a tag description, a tag type, and a tag value. Illustratively, the serial number of the image corresponds to at least one tag information, which can be used to classify and interpret the image information of the image. Fig. 2 is a schematic diagram of image information according to an embodiment of the present invention. The image information as shown in fig. 2 includes Group (serial number of image, e.g., 0008 in fig. 2), element (Tag number, e.g., 0018, 0020, etc.) Tag Description (Tag Description, e.g., StudyDate in fig. 2), VR (Tag type, e.g., DA in fig. 2), and Value (Tag Value, e.g., 20180703 in fig. 2) of the image. The boxes in fig. 2 mark 4 kinds of image dates, i.e., StudyDate (examination date), series date (sequence date), acquistiondate, and contentdate (shooting date) in the image information. The image information in fig. 2 is not described here by way of example. In particular, the determination may be made according to the DICOM standard.
In one embodiment, optionally, the image information includes a serial number of the image, an image date, and identification information; wherein the image date includes at least one of an examination date, a sequence date, a collection date, and a photographing date.
The sequence number of the image comprises the sequence number of each sequence file in the import file. Illustratively, if the image a is stored in the folder of the sequence file a, the image information of the image a includes the serial number of the sequence file a. Wherein each image date and identification information belongs to one of the label information. In one embodiment, optionally, determining the missing date in each image information includes: if the tag value corresponding to the image date is absent from the image information, the image date is taken as the missing date. For example, it is determined whether there is a missing date in the image information of image a, and for example, assuming that there is no tag value (e.g., 20180703) corresponding to the inspection date in the image information of image a, the inspection date of image a is taken as the missing date.
And S120, aiming at each type of missing date, determining a target date in the image information according to at least one date completion rule and the priority order of each date completion rule.
In one embodiment, optionally, based on the priority order of the date completion rule, determining whether a reference date exists in the image information according to the date completion rule of the previous priority; if yes, taking the date meeting the preset condition in the reference date as a target date, wherein the date of the preset condition comprises a maximum date; if not, determining whether the reference date exists in the image information according to the date completion rule of the next priority until the target date is obtained.
The date completion rule is a rule for determining a reference date in the image information, and the reference date includes a target date for completing the missing date. In one embodiment, the date complementing rule includes at least two of a first date complementing rule having a date which is the same as the serial number of the missing date and is the same type of date as the reference date, a second date complementing rule having a date which is the same as the serial number of the missing date and is different from the type of date as the reference date, a third date complementing rule having a date which is different from the serial number of the missing date and is the same type of date as the reference date, and a fourth date complementing rule having a date which is different from the serial number of the missing date and is different from the type of date as the reference date.
The sequence number of the initial reference date is the same as the sequence number of the missing date, and the image to which the initial reference date belongs and the image to which the missing date belong together belong to a sequence file, which may be sequence file a. Since at least one image file is included in the sequence file of the same medical examination, the initial reference date is an image date in an image file other than the image file to which the missing date belongs in the sequence file a. Regarding the first date completion rule or the second date completion rule, regarding a date of the initial reference date which is the same as or different from the date of the missing date as a reference date; the difference between the image to which the initial reference date belongs and the image to which the missing date belongs is different from the sequence number of the missing date, and the image to which the initial reference date belongs is stored in the sequence file a, and the image to which the missing date belongs is stored in the sequence file B, and then the image date of at least one image file in the sequence file a is taken as the initial reference date. Regarding the third date complementing rule or the fourth date complementing rule, a date of the initial reference date that is the same as or different from the date type of the missing date is used as the reference date. In one embodiment, the priority order of the date completion rules is selected from a first date completion rule, a second date completion rule, a third date completion rule and a fourth date completion rule.
In one embodiment, the number of reference dates determined according to the date completion rule may be more than one, and thus, a date satisfying the preset condition among at least one reference date is taken as the target date. Wherein the date of the preset condition comprises at least one of a maximum date, a median date and a minimum date. In one embodiment, the dates of the preset conditions corresponding to different date completion rules may be the same or different. For example, the date of the preset condition corresponding to the first date complementing rule may be a maximum date, that is, a maximum date in the reference date determined according to the first date complementing rule is taken as the target date. The date of the preset condition corresponding to the second date completing rule may be a minimum date, that is, a minimum date in the reference date determined according to the second date completing rule may be a target date.
And S130, filling the target date into the information position corresponding to the missing date.
According to the technical scheme, the missing date is completed by the target date determined based on the date completion rule, so that the problem that the missing image date affects the image processing process is solved, and the working efficiency of a subsequent image processing module is improved. Meanwhile, the date of the image used for completing is closer to the real date, and the accuracy of the image processing result is further improved.
Example two
Fig. 3 is a flowchart of a method for completing an image date according to a second embodiment of the present invention, and the technical solution of the present embodiment is further detailed based on the above-mentioned embodiments. Optionally, the date completing rule in the method includes at least two of a first date completing rule that takes a date in the image information that is the same as the date type of the missing date as a reference date, a second date completing rule that takes a date in the image information that corresponds to a preset serial number and is different from the date type of the missing date as a reference date, a third date completing rule that takes an identification date in identification information in the image information that corresponds to the preset serial number as a reference date, and a fourth date completing rule that takes a file import date as a reference date; the preset serial number comprises a maximum serial number in the image information. The priority order of the date completion rules is a first date completion rule, a second date completion rule, a third date completion rule and a fourth date completion rule from high to low in sequence.
The specific implementation steps of this embodiment include:
s210, when the import file is received, acquiring the image information of each image in the import file, and determining the missing date in each image information, wherein the missing date is the image date which does not exist in the image information.
S220, determining whether reference dates exist in the image information according to a first date completion rule aiming at each type of missing dates; if so, S260 is performed, and if not, S230 is performed.
In one embodiment, optionally, before determining whether the reference date exists in the image information according to the first date complementing rule, the method further includes: the import file is screened to obtain the target check file to which the image with the missing date belongs, and S220 is executed for each target check file. The specific implementation steps of this embodiment are directed to the target check file to which the image with the missing date belongs. The method has the advantages that the calculation amount for complementing the missing date in the imported file can be reduced, and the date complementing efficiency is improved.
Wherein the first date complementing rule includes, as the reference date, a date of the same type as the date of the missing date in the image information. In one embodiment, the date type of the missing date includes an examination date, a sequence date, a collection date, and a shooting date. For example, when the date type of the missing date is the inspection date, the inspection dates in the image information of the respective images in the inspection file are each taken as a reference date. The check files comprise the same files corresponding to the images to which the missing dates belong. Illustratively, the import file includes an inspection file 1 and an inspection file 2, and if there is an image of a missing date in the inspection file 1, the image information includes image information of each image of the inspection file 1. The reference date includes the inspection date of the image which is the same as the serial number of the image to which the missing date belongs and which is different from the serial number of the image to which the missing date belongs.
S230, determining whether the reference date exists in the image information according to a second date completion rule; if so, S260 is performed, and if not, S240 is performed.
The second date completing rule comprises the step of taking the date which corresponds to the preset serial number and is different from the date type of the missing date in the image information as the reference date. In one embodiment, optionally, the preset sequence number is determined according to the date type of the missing date. Here, for example, it is assumed that the date type of the missing date is an inspection date, and in the real image date, the inspection date is the largest date compared with other types of dates in the image information. Accordingly, in one embodiment, when the date type of the missing date is the check date, the preset serial number includes a maximum value serial number in the image information. Specifically, the maximum value serial number may be a maximum value serial number other than the serial number corresponding to the image to which the missing date belongs, or may be a maximum value serial number in all pieces of image information. When the maximum value serial number is the maximum value serial number among all the image information, the maximum value serial number may be the serial number corresponding to the image to which the deletion date belongs.
This has the advantage that since the sequence number of the image is incremented with the creation time of the sequence file, and the check date is the largest compared to other types of dates in the image information. For the missing date of the inspection date type, the target date determined based on the reference date determined by the second date completion rule can ensure that no matter which image information the target date is filled in, the target date is larger than the dates of other types, so that the relationship between the completed target date and the dates of other types is closer to the real image date relationship, and the accuracy of subsequent image processing can be improved.
S240, determining whether the reference date exists in the image information according to a third date completion rule; if so, S260 is performed, and if not, S250 is performed.
And the third date completing rule comprises that the identification date in the identification information corresponding to the preset serial number in the image information is used as the reference date. In one embodiment, optionally, the preset sequence number is determined according to the date type of the missing date.
The identification information includes a Unique Identifier (UID) generated based on the DICOM standard. The generation criteria for the unique identifier specified by the DICOM standard includes generating a UID based on a timestamp. In an embodiment, optionally, at least one piece of identification information corresponding to the set serial number in each piece of image information is determined; and respectively carrying out date matching detection on the date and time stamps in each identification information to obtain at least one reference date.
In one embodiment, determining at least one identification information corresponding to the set serial number in each image information includes: and acquiring a label value of which the label type is UI in the image information. Specifically, in the tag information of the image information, the tag type corresponding to the identification information is UI, and the tag value is the identification information. Where the timestamp is used to indicate that a piece of data already exists as complete verifiable data before a particular time, i.e., may be used to indicate the time of generation of some data. Wherein the date matching detection is used to convert a date time stamp in the identification information to a date. In one embodiment, a Unix timestamp conversion tool is employed to perform date match detection on the date timestamp in the identification information. For example, assuming that the identification information is 1.2.392.200036.9116.2.6.1.3268.2060439812.1530594021.790469, 1530594021 in the identification information is determined to be a date and time stamp according to the DICOM standard, which is obtained by the Unix timestamp conversion tool, and the reference date obtained by converting the date and time stamp is 2018, 7, 3. The number of bits of the date stamp and the acquisition position are not limited herein, and may be determined according to the DICOM standard.
And S250, determining the reference date according to the fourth date completion rule, and executing S260.
The fourth date completion rule comprises that the file import date is used as a reference date, and the file import date comprises the date of receiving the import file.
And S260, taking the date meeting the preset condition in the reference date as a target date, and filling the target date in the information position corresponding to the missing date.
On the basis of the foregoing embodiment, optionally, the date completion rule further includes a fifth date completion rule that takes a preset date in the local file corresponding to the import file as a reference date, and correspondingly, the method further includes: determining whether a local file corresponding to the imported file exists in the locally stored files or not according to the file information of the imported file; if so, when detecting that the missing date exists in the image information of the import file, taking the reference date determined based on a fifth date completion rule as a target date, and filling the target date in the information position corresponding to the missing date, wherein the priority level of the fifth date completion rule is higher than that of the first date completion rule.
Illustratively, the file information includes at least one of user information and identification information. The identification information includes an inspection identification, for example, if the user a performs the inspection a, the system generates the inspection identification a corresponding to the inspection a, the user a performs the inspection B, and the system generates the inspection identification B corresponding to the inspection B. In one embodiment, the preset date may optionally include at least one of a maximum date that is the same type of date as the missing date, a minimum date that is the same type of date as the missing date, a maximum date that is different type of date from the missing date, and a minimum date that is different type of date from the missing date. In one embodiment, when the number of reference dates is greater than 1, the maximum date among the reference dates is taken as the target date.
Fig. 4 is a flowchart of an embodiment of a method for completing an image date according to a second embodiment of the present invention, and fig. 4 takes a missing date as an example of a check date. And after receiving the import file, determining whether the stored file exists locally according to the file information of the import file. If the check date exists and the check date is determined to be missing in the image information of the imported file, the check date in the image information of the local file is used as the target date, and specifically, the maximum check date in the image information of the local file can be used as the target date. If the check dates do not exist and the image information of the imported file is determined to be missing, the image set S is obtained through screening according to the missing check dates. Wherein, each image in the image set S belongs to the same check file. Specifically, if the inspection file a and the inspection file B exist in the import file and the inspection date is missing from the image information of the inspection file a, the image set S obtained by filtering includes each image in the inspection file a. And judging whether the checking date exists in the image set S, and if so, taking the maximum date in the checking date as a target date and filling the position of the missing checking date. If the images do not exist, the images corresponding to the maximum serial number in the serial numbers corresponding to the image set S are used as an image set M, dates different from the date of examination in the image set M are combined into a set A, and whether the set A is an empty set or not is judged. If not, the maximum date in the set A is taken as the target date and is filled in the position of the missing check date. If yes, date detection matching is carried out on the identification information in the image set M, specifically, date detection matching is carried out on date time stamps in the identification information, and the generated dates are combined into a set C. And judging whether the set C is an empty set, if not, taking the maximum date in the set C as a target date, and filling the position of the missing check date. If yes, the current date, namely the import date of the import file, is used as the target date and is filled in the position of the missing check date.
According to the technical scheme, the missing date is completed by the target date determined based on the date completion rule through setting the date completion rule and the priority order of the date completion rule, so that the problem that the missing image date affects the image processing process is solved, and the working efficiency of a subsequent image processing module is improved. Meanwhile, the relationship between the image date for completion and other dates is closer to the relationship between real dates, and the accuracy of the image processing result is improved.
EXAMPLE III
Fig. 5 is a schematic diagram of a completion apparatus for image dates according to a third embodiment of the present invention. The embodiment can be applied to the situation that the image date in the image information is missing, the device can be realized in a software and/or hardware mode, and the device can be configured in the terminal equipment. The image date complementing device comprises: missing date determination module 310, target date determination module 320, and target date filling module 330.
The missing date determining module 310 is configured to obtain image information of each image in the import file, and determine a missing date in each image information, where the missing date is an image date that does not exist in the image information;
a target date determination module 320, configured to determine, for each type of missing date, a target date in the image information according to at least one date completion rule and a priority order of each date completion rule;
and a target date filling module 330 for filling the target date into the information position corresponding to the missing date.
According to the technical scheme, the missing date is completed by the target date determined based on the date completion rule, so that the problem that the missing image date affects the image processing process is solved, and the working efficiency of a subsequent image processing module is improved. Meanwhile, the date of the image used for completing is closer to the real date, and the accuracy of the image processing result is further improved.
On the basis of the above technical solution, optionally, the target date determination module 320 includes:
a previous priority date determination unit for determining whether or not a reference date exists in the image information according to a date completion rule of a previous priority based on a priority order of the date completion rule;
a target date determination unit configured to, if yes, take a date satisfying a preset condition in the reference date as a target date, wherein the date of the preset condition includes a maximum date;
and the date determining unit of the next priority is used for determining whether the reference date exists in the image information according to the date completion rule of the next priority until the target date is obtained if the date determining unit of the next priority does not exist.
Optionally, the image information includes a serial number of the image, an image date, and identification information; wherein the image date includes at least one of an examination date, a sequence date, a collection date, and a photographing date.
Optionally, the date completing rule includes at least two of a first date completing rule that takes a date in the image information that is the same as the date type of the missing date as a reference date, a second date completing rule that takes a date in the image information that corresponds to the preset serial number and is different from the date type of the missing date as a reference date, a third date completing rule that takes an identification date in the identification information in the image information that corresponds to the preset serial number as a reference date, and a fourth date completing rule that takes a file import date as a reference date; the preset serial number comprises a maximum serial number in the image information.
Optionally, the priority order of each date completion rule is, from high to low, the first date completion rule, the second date completion rule, the third date completion rule, and the fourth date completion rule.
Optionally, when the date completion rule of the previous priority is the third date completion rule, the previous priority date determination unit is specifically configured to:
determining at least one piece of identification information corresponding to a preset serial number in each piece of image information;
and respectively carrying out date matching detection on the date and time stamps in each identification information to obtain at least one reference date.
Optionally, the date completing rule further includes a fifth date completing rule that takes a preset date in the local file corresponding to the import file as a reference date, and correspondingly, the apparatus further includes a local file determining module, specifically configured to:
determining whether a local file corresponding to the imported file exists in the locally stored files or not according to the file information of the imported file;
if so, when detecting that the missing date exists in the image information of the import file, taking the reference date determined based on a fifth date completion rule as a target date, and filling the target date in the information position corresponding to the missing date, wherein the priority level of the fifth date completion rule is higher than that of the first date completion rule.
The image date completing device provided by the embodiment of the invention can be used for executing the image date completing method provided by the embodiment of the invention, and has corresponding functions and beneficial effects of the executing method.
It should be noted that, in the embodiment of the image date completing device, the included units and modules are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Example four
Fig. 6 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention, where the embodiment of the present invention provides a service for implementing the image date completing method according to the foregoing embodiment of the present invention, and the image date completing device in the foregoing embodiment may be configured. Fig. 6 illustrates a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 6 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present invention.
As shown in FIG. 6, device 12 is in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the device 12, and/or any device (e.g., network card, modem, etc.) that enables the device 12 to communicate with one or more other computing devices, such communication may occur via input/output (I/O) interfaces 22. furthermore, device 12 may also communicate with one or more networks (e.g., local area network (L AN), Wide Area Network (WAN) and/or a public network, such as the Internet) via network adapter 20. As shown in FIG. 6, network adapter 20 communicates with the other modules of device 12 via bus 18. it should be appreciated that, although not shown, other hardware and/or software modules may be used in conjunction with device 12, including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, implementing a method of complementing image dates as provided by an embodiment of the present invention.
By the aid of the equipment, the problem that missing image dates affect an image processing process is solved, and working efficiency of a subsequent image processing module is improved. Meanwhile, the date of the image used for completing is closer to the real date, and the accuracy of the image processing result is further improved.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for completing an image date, the method including:
when an import file is received, acquiring image information of each image in the import file, and determining a missing date in each image information, wherein the missing date is an image date which does not exist in the image information;
determining a target date in the image information according to at least one date completion rule and the priority order of each date completion rule aiming at each type of missing date;
the target date is written to the information location corresponding to the missing date.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the above method operations, and may also perform related operations in the image date completing method provided by any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for complementing an image date, comprising:
when an import file is received, acquiring image information of each image in the import file, and determining a missing date in each image information, wherein the missing date is an image date which does not exist in the image information;
for each type of missing date, determining a target date in the image information according to at least one date completion rule and the priority order of the date completion rules;
and filling the target date into the information position corresponding to the missing date.
2. The method of claim 1, wherein determining the target date in the image information according to at least one date completion rule and the priority order of the date completion rules comprises:
determining whether a reference date exists in the image information according to a date completion rule of a previous priority based on a priority order of the date completion rule;
if yes, taking the date meeting preset conditions in the reference date as a target date, wherein the date of the preset conditions comprises a maximum date;
if not, determining whether the reference date exists in the image information according to the date completion rule of the next priority until the target date is obtained.
3. The method according to claim 2, wherein the image information includes a serial number of the image, an image date, and identification information; wherein the image date includes at least one of an examination date, a sequence date, a collection date, and a photographing date.
4. The method according to claim 3, wherein the date complementing rule includes at least two of a first date complementing rule that takes a date of the image information that is the same as a date type of the missing date as a reference date, a second date complementing rule that takes a date of the image information that corresponds to a preset serial number and is different from the date type of the missing date as a reference date, a third date complementing rule that takes an identification date of identification information of the image information that corresponds to a preset serial number as a reference date, and a fourth date complementing rule that takes a file lead-in date as a reference date; the preset serial number comprises a maximum serial number in the image information.
5. The method of claim 4, wherein the order of priority of the date completion rules is from high to low for a first date completion rule, a second date completion rule, a third date completion rule and a fourth date completion rule.
6. The method of claim 4, wherein when the date completion rule of the previous priority is a third date completion rule, the determining whether the reference date exists in the image information according to the date completion rule of the previous priority comprises:
determining at least one piece of identification information corresponding to the preset serial number in each piece of image information;
and respectively carrying out date matching detection on the date and time stamps in each identification information to obtain at least one reference date.
7. The method according to claim 4, wherein the date completion rule further includes a fifth date completion rule that takes a preset date in the local file corresponding to the import file as a reference date, and accordingly, the method further includes:
determining whether a local file corresponding to the imported file exists in a local saved file or not according to the file information of the imported file;
if yes, when the situation that the missing date exists in the image information of the import file is detected, the reference date determined based on the fifth date completion rule is used as the target date, and the target date is filled in the information position corresponding to the missing date, wherein the priority level of the fifth date completion rule is higher than that of the first date completion rule.
8. An image date complementing apparatus, comprising:
the missing date determining module is used for acquiring image information of each image in the import file and determining a missing date in each image information, wherein the missing date is an image date which does not exist in the image information;
the target date determining module is used for determining a target date in the image information according to at least one date completion rule and the priority order of the date completion rules aiming at each type of missing date;
and the target date filling module is used for filling the target date into the information position corresponding to the missing date.
9. An apparatus, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of image date completion as claimed in any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the method of complementing an image date according to any one of claims 1 to 7 when executed by a computer processor.
CN202010212866.4A 2020-03-24 2020-03-24 Image date complementing method, device, equipment and storage medium Active CN111430013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010212866.4A CN111430013B (en) 2020-03-24 2020-03-24 Image date complementing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010212866.4A CN111430013B (en) 2020-03-24 2020-03-24 Image date complementing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111430013A true CN111430013A (en) 2020-07-17
CN111430013B CN111430013B (en) 2023-10-03

Family

ID=71555444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010212866.4A Active CN111430013B (en) 2020-03-24 2020-03-24 Image date complementing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111430013B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116719874A (en) * 2023-08-08 2023-09-08 深圳复临科技有限公司 MVC architecture-based data unification system, method, equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001076078A (en) * 1999-09-07 2001-03-23 Yasuo Kumagai Medical information reference system, medical information reference method and medical information preserving method
US20050036692A1 (en) * 2003-05-26 2005-02-17 Takayuki Iida Method and device for determining time-of-photograph of individual image, and image retrieving method and computer program for the method
JP2013222380A (en) * 2012-04-18 2013-10-28 Canon Inc Information processing apparatus, and information processing method and program
CN108784655A (en) * 2017-04-28 2018-11-13 西门子保健有限责任公司 Rapid evaluation for medical patient and consequences analysis
CN109166626A (en) * 2018-10-29 2019-01-08 中山大学 A kind of medical index missing data complementing method of patients with peptic ulcer
CN109445972A (en) * 2018-09-21 2019-03-08 深圳供电局有限公司 Data recovery method, device, equipment and storage medium
CN109460398A (en) * 2018-10-12 2019-03-12 深圳绿米联创科技有限公司 Complementing method, device and the electronic equipment of time series data
CN110555897A (en) * 2019-09-09 2019-12-10 上海联影医疗科技有限公司 Image generation method, device, equipment and storage medium
CN110570229A (en) * 2019-07-30 2019-12-13 平安科技(深圳)有限公司 User information processing method and device, computer equipment and storage medium
CN110767279A (en) * 2019-10-21 2020-02-07 山东师范大学 Electronic health record missing data completion method and system based on LSTM
CN110781380A (en) * 2019-09-09 2020-02-11 深圳壹账通智能科技有限公司 Information pushing method and device, computer equipment and storage medium
CN110781223A (en) * 2019-10-16 2020-02-11 深圳市商汤科技有限公司 Data processing method and device, processor, electronic equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001076078A (en) * 1999-09-07 2001-03-23 Yasuo Kumagai Medical information reference system, medical information reference method and medical information preserving method
US20050036692A1 (en) * 2003-05-26 2005-02-17 Takayuki Iida Method and device for determining time-of-photograph of individual image, and image retrieving method and computer program for the method
JP2013222380A (en) * 2012-04-18 2013-10-28 Canon Inc Information processing apparatus, and information processing method and program
CN108784655A (en) * 2017-04-28 2018-11-13 西门子保健有限责任公司 Rapid evaluation for medical patient and consequences analysis
CN109445972A (en) * 2018-09-21 2019-03-08 深圳供电局有限公司 Data recovery method, device, equipment and storage medium
CN109460398A (en) * 2018-10-12 2019-03-12 深圳绿米联创科技有限公司 Complementing method, device and the electronic equipment of time series data
CN109166626A (en) * 2018-10-29 2019-01-08 中山大学 A kind of medical index missing data complementing method of patients with peptic ulcer
CN110570229A (en) * 2019-07-30 2019-12-13 平安科技(深圳)有限公司 User information processing method and device, computer equipment and storage medium
CN110555897A (en) * 2019-09-09 2019-12-10 上海联影医疗科技有限公司 Image generation method, device, equipment and storage medium
CN110781380A (en) * 2019-09-09 2020-02-11 深圳壹账通智能科技有限公司 Information pushing method and device, computer equipment and storage medium
CN110781223A (en) * 2019-10-16 2020-02-11 深圳市商汤科技有限公司 Data processing method and device, processor, electronic equipment and storage medium
CN110767279A (en) * 2019-10-21 2020-02-07 山东师范大学 Electronic health record missing data completion method and system based on LSTM

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116719874A (en) * 2023-08-08 2023-09-08 深圳复临科技有限公司 MVC architecture-based data unification system, method, equipment and storage medium

Also Published As

Publication number Publication date
CN111430013B (en) 2023-10-03

Similar Documents

Publication Publication Date Title
CN111090641B (en) Data processing method and device, electronic equipment and storage medium
CN102612696A (en) Medical information system with report validator and report augmenter
CN112131123B (en) Method and device for generating test case, terminal equipment and storage medium
CN109408050B (en) Code generation method and device for equipment application program interface of railway vehicle
JP4890869B2 (en) A mechanism for transferring raw data between data structures that represent the same item
CN112182036A (en) Data sending and writing method and device, electronic equipment and readable storage medium
CN109165209B (en) Data verification method, device, equipment and medium for object types in database
CN112559095A (en) Target service execution method, system, server and storage medium
CN112308853A (en) Electronic equipment, medical image index generation method and device and storage medium
CN113032347B (en) Method, device, electronic equipment and storage medium for displaying element
CN112711398A (en) Method, device and equipment for generating buried point file and storage medium
CN114116013B (en) Data processing method and device, electronic equipment and storage medium
CN111241180A (en) Information processing method, device, equipment and storage medium
CN111430013B (en) Image date complementing method, device, equipment and storage medium
CN109102845B (en) Medical document auditing method, device, computer equipment and storage medium
CN111507405A (en) Picture labeling method and device, electronic equipment and computer readable storage medium
CN115759040A (en) Electronic medical record analysis method, device, equipment and storage medium
CN111063445A (en) Feature extraction method, device, equipment and medium based on medical data
CN111046085A (en) Data source tracing processing method and device, medium and equipment
CN116185393A (en) Method, device, equipment, medium and product for generating interface document
CN115016929A (en) Data processing method, device, equipment and storage medium
CN111639173B (en) Epidemic situation data processing method, device, equipment and storage medium
CN110164529B (en) Information processing method, device, electronic equipment and storage medium
CN110442633B (en) Structured data generation method and device, storage medium and electronic equipment
CN111833993A (en) AI-based regional image remote quality control management system

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
CB02 Change of applicant information

Address after: 201807 Shanghai City, north of the city of Jiading District Road No. 2258

Applicant after: Shanghai Lianying Medical Technology Co.,Ltd.

Address before: 201807 Shanghai City, north of the city of Jiading District Road No. 2258

Applicant before: SHANGHAI UNITED IMAGING HEALTHCARE Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant