CN104077588A - Method for automatically interposing frame offsets into medical DICOM dynamic images compressed by JPEG - Google Patents

Method for automatically interposing frame offsets into medical DICOM dynamic images compressed by JPEG Download PDF

Info

Publication number
CN104077588A
CN104077588A CN201410326708.6A CN201410326708A CN104077588A CN 104077588 A CN104077588 A CN 104077588A CN 201410326708 A CN201410326708 A CN 201410326708A CN 104077588 A CN104077588 A CN 104077588A
Authority
CN
China
Prior art keywords
dicom
image
frame
jpeg
file
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.)
Pending
Application number
CN201410326708.6A
Other languages
Chinese (zh)
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.)
SUZHOU HAOQI INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SUZHOU HAOQI INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUZHOU HAOQI INFORMATION TECHNOLOGY Co Ltd filed Critical SUZHOU HAOQI INFORMATION TECHNOLOGY Co Ltd
Priority to CN201410326708.6A priority Critical patent/CN104077588A/en
Publication of CN104077588A publication Critical patent/CN104077588A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for automatically interposing frame offsets into medical DICOM dynamic images compressed by a JPEG. For the dynamic DICOM images compressed by the JPEG and stored in a DICOM image server in a PACS, the frame offsets are automatically interposed into the dynamic DICOM images without frame offsets, and then the dynamic DICOM images are stored; the speed for representing the dynamic DICOM images compressed by the JPEG by a DICOM image browser of a client side is increased, and diagnosis work efficiency of doctors is improved.

Description

The method that the frame shifting amount of the medical science DICOM dynamic image of JPEG compression inserts automatically
 
Technical field
The present invention relates to medical science DICOM image technology field, be specifically related to a kind of method of automatic calculating insertion of medical science DICOM dynamic compression image frame side-play amount of JPEG compression.
 
Background technology
In recent years, along with the progress of Medical Imaging Technology, in angiocardiopathy diagnosis and treatment, digital angiographic (intravenous ultrasound, DSA), intravascular ultrasound (intravenous ultrasound, IVUS), (optical coherence tomography (Optical Coherence Tomography, OCT) has been indispensable diagnostic device to optical coherence tomography.The DICOM(Digital Imaging and Communications in Medicine that comprises the additional informations such as patient information obtaining from these diagnostic imaging equipment) image, send to PACS(Picture Archiving and Communication Systems) store and management in system, in angiocardiopathy diagnosis and treatment, be widely used.
In PACS system, the dynamic DICOM image that DSA, IVUS, OCT equipment obtain, by with DICOM image server communicate by letter, dynamic DICOM image is sent to DICOM image server stores and management.In order to reduce the memory space of DICOM image server, the dynamic DICOM image of not compression is generally all done after JPEG (Joint Photographic Experts Group) lossy compression method is compressed (JPEGLOSY) or JPEG Lossless Compression (JPEGLOSSLESS) and is stored on server.Client is browsed after the image that is saved in DICOM image server by DICOM dynamic image browser, and patient is made and diagnoses and write diagnosis report.
DICOM dynamic image browser, in browsing the DICOM dynamic image of JPEG compression, need to be opened DICOM dynamic image file, reads in frame by frame after internal memory fast decoding presentation video to computer screen.Browser, in opening and reading DICOM dynamic video file, if there is side-play amount (Offset Table) information of each picture frame in DICOM image, can directly read according to this offset information the view data of each frame; If there is not the offset information of each picture frame in DICOM image, need to first calculate side-play amount frame by frame, then read frame image data according to this offset information, can there is image reading and represent that speed can be slack-off, browser represents the very slow problem that animation DICOM image also becomes, and has directly affected doctor's diagnostic work efficiency.
 
Summary of the invention
In the present invention, propose the dynamic DICOM image of the JPEG compression on the server to being kept at PACS system, if when frame shifting amount is non-existent in image, automatically calculated and inserted the method for storing after frame shifting amount.The method has greatly improved the speed that client image viewer represents the dynamic DICOM image of JPEG compression, has improved doctor's diagnostic work efficiency.
To achieve these goals, technical scheme of the present invention is: a kind of method that frame shifting amount of DICOM dynamic image of JPEG compression inserts automatically, comprises step:
A1, read in DICOM image server in specified folder after the file header information of DICOM dynamic image, judge according to transfer syntax information labels the DICOM image whether JPEG compresses, if judge in DICOM image file, whether frame shifting amount exists, if there is no just copying this DICOM image is an interim DICOM file again.
A2, read the jpeg image size of data of the each frame in interim DICOM file, calculate the frame shifting amount of each frame according to the jpeg image size of data of each frame.
A3, open the DICOM dynamic video file of JPEG compression, read DICOM file header information and be saved in interim DICOM file; Be written to after interim DICOM file calculating frame shifting amount in order, read in proper order the jpeg image data of each frame according to frame again and be written in interim DICOM file after preserve after, copy this file and store in the file of specifying in DICOM image server.
As a further improvement on the present invention, in described steps A 1, transfer syntax label Tag (0002,0010) in self-verifying DICOM image,
1. if 1.2.840.10008.1.2.4.50 (JPEG Baseline (Process 1)) or 1.2.840.10008.1.2.4.51 (JPEG Extended (Process 2 & 4)) or 1.2.840.10008.1.2.4.70 is (JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1])), if so, this image is the DICOM image of JPEG compression;
2. judge view data (Pixel Data) label Tag (7FE0,0010) data that first Item (FFFE, E000) after identifies rear 4 bytes are 0, if 0, in presentation video, frame shifting amount does not exist, and then performs step A2.If not exiting.
As a further improvement on the present invention, described steps A 2 comprises, reads the frame number label Tag (0028,0008) in DICOM dynamic video file header, obtains the frame number information of image; According to the side-play amount that obtains each frame after the size of the every frame jpeg image in frame number information file reading.
As a further improvement on the present invention, described steps A 3 comprises, opens the DICOM dynamic video file of JPEG compression, reads DICOM file header information and is saved in interim DICOM file; Be written to after interim DICOM file calculating frame shifting amount in order, read in proper order the jpeg image data of each frame according to frame again and be written in interim DICOM file after preserve after, copy this file and store in the file of specifying in DICOM image server.
Beneficial effect of the present invention is: the method that the frame shifting amount of the DICOM dynamic image of JPEG compression inserts automatically, to the dynamic DICOM image of the JPEG compression of storing on DICOM image server in PACS system, realize after the non-existent DICOM dynamic image of frame shifting amount is inserted to frame shifting amount automatically and having stored again, the DICOM browsing image device that has improved client represents the speed of the dynamic DICOM image of JPEG compression to have improved doctor's diagnostic work efficiency.
 
Brief description of the drawings
Fig. 1 is the workflow diagram of the embodiment of the present invention.
 
concrete embodiment
With specific embodiment, the present invention is described in further details with reference to the accompanying drawings below.
DICOM file is made up of multiple data sets.Data set has showed the association attributes of real world information object, such as patient's name, sex etc.Data set is made up of data element, each data element have 4 part compositions: label (Tag), value representation type (VR Value Representation), value length (Value Length), codomain (Value Field), data element have 3 kinds of structures, and wherein 2 kinds have type and represent VR (being decided by transfer syntax).
The image that the DICOM dynamic video file of JPEG compression contains more than one frame, every two field picture is expressed by Item, and by (FFFE, E000) mark, there is frame shifting amount and do not have two kinds of storage modes of frame shifting amount in each Item.
As shown in Figure 1, the automatic insertion method of medical science DICOM dynamic image frame shifting amount of JPEG compression of the present invention comprises the steps:
100: the file header information that reads the DICOM dynamic image in specified folder in DICOM image server is judged the DICOM dynamic image whether JPEG compresses; If judging frame shifting amount, jpeg compressed image whether in image file, exists.
200: read the size of the view data of the each frame in the DICOM dynamic image of JPEG compression, calculate the side-play amount of each frame according to this size;
300: after reading the header of DICOM file of JPEG compression, be written to interim DICOM image literary composition, then write frame shifting amount information to this interim DICOM image file, after finally reading in proper order the jpeg image data of each frame according to frame and being written to and preserving in interim DICOM, copy this interim DICOM file and store in the file of specifying in DICOM image server;
PACS image server receives after the DICOM dynamic image of the JPEG compression of sending from diagnostic device, in the path of specifying, preserves.
In 100, the path of the DICOM dynamic image compressing according to the JPEG being saved on PACS image server, find after DICOM target image file to be processed, open this DICOM image file, read the file header information of DICOM image file in internal memory, according to DICOM rule, from internal memory, search transfer syntax label Tag (0002, 0010), judge that this label value is 1.2.840.10008.1.2.4.50 (JPEG Baseline (Process 1)), or 1.2.840.10008.1.2.4.51 (JPEG Extended (Process 2 & 4)), or 1.2.840.10008.1.2.4.70 is (JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1])), if, this image is the DICOM image of JPEG compression, judge view data (Pixel Data) label Tag (7FE0,0010) data that first Item (FFFE, E000) after identifies rear 4 bytes are 0, if 0, in presentation video, frame shifting amount does not exist, and then carries out 200, if not representing that this image exists frame shifting amount, exits processing.
In 200, in order to calculate the size of jpeg image data of each frame, first open the DICOM dynamic image of JEPG compression, according to the number of image frames label Tag (0028 in this image, 0008) obtain frame number, then read the view data size of each frame and calculate the side-play amount of each frame and be written in the Item (FFFE, E000) that each frame is corresponding after be saved in internal memory.
In 300, open the DICOM dynamic video file of JPEG compression, reading DICOM file header information is saved in after interim DICOM file, the offset information that is kept at the each frame in internal memory is written to interim DICOM file, finally preserve according to reading taking frame as unit in proper order after view data in the DICOM file of JPEG compression writes in interim DICOM file, then copy this interim DICOM image file and store in the file of specifying in DICOM image server.
More than embodiment of the present invention, every with technical solution of the present invention make change, when the function producing does not exceed the scope of technical solution of the present invention, all belong to scope of the present invention.

Claims (4)

1. the method that the frame shifting amount of the medical science DICOM dynamic image of JPEG compression inserts automatically, is characterized in that, comprises the following steps:
A1, read in DICOM image server in specified folder after the file header information of DICOM dynamic image, judge according to transfer syntax information labels the DICOM image whether JPEG compresses, if judge in DICOM image file, whether picture frame side-play amount exists, if there is no just copying this DICOM image is an interim DICOM file again;
A2, read the jpeg image size of data of the each frame in interim DICOM file, calculate the frame shifting amount of each frame according to the jpeg image size of data of each frame;
A3, open the DICOM dynamic video file of JPEG compression, read DICOM file header information and be saved in interim DICOM file; Be written to after DICOM file calculating frame shifting amount in order, then according to frame read in proper order the jpeg image data of each frame and be written in DICOM file after preserve after, copy this file and store in the file of specifying in DICOM image server.
2. the automatic insertion method of the DICOM dynamic image frame shifting amount compressing according to the JPEG requiring described in right described in 1, is characterized in that, in described steps A 1, and transfer syntax label Tag (0002,0010) in self-verifying DICOM image,
1. if 1.2.840.10008.1.2.4.50 (JPEG Baseline (Process 1)) or 1.2.840.10008.1.2.4.51 (JPEG Extended (Process 2 & 4)) or 1.2.840.10008.1.2.4.70 is (JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1])), if so, this image is the DICOM image of JPEG compression;
2. judge view data (Pixel Data) label Tag (7FE0,0010) data that first Item (FFFE, E000) after identifies rear 4 bytes are 0, if 0, in presentation video, frame shifting amount does not exist, and then performs step A2;
If not exiting.
3. the automatic insertion method of the DICOM dynamic image frame shifting amount compressing according to the JPEG requiring described in right described in 1 or 2, it is characterized in that, described steps A 2 comprises, read the frame number label Tag (0028 in DICOM dynamic video file header, 0008), obtain the frame number information of image; According to the side-play amount that obtains each frame after the size of the every frame jpeg image in frame number information file reading.
4. the automatic insertion method of the DICOM dynamic image frame shifting amount compressing according to the JPEG requiring described in right described in 1 or 2, it is characterized in that, described steps A 3 comprises, opens the DICOM dynamic video file of JPEG compression, reads DICOM file header information and is saved in interim DICOM file; In order the frame shifting amount calculating is written to after interim DICOM file, read in proper order the jpeg image data of each frame according to frame again and be written in this interim DICOM file after preserve after, copy this file and store in the file of specifying in DICOM image server.
CN201410326708.6A 2014-07-10 2014-07-10 Method for automatically interposing frame offsets into medical DICOM dynamic images compressed by JPEG Pending CN104077588A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410326708.6A CN104077588A (en) 2014-07-10 2014-07-10 Method for automatically interposing frame offsets into medical DICOM dynamic images compressed by JPEG

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410326708.6A CN104077588A (en) 2014-07-10 2014-07-10 Method for automatically interposing frame offsets into medical DICOM dynamic images compressed by JPEG

Publications (1)

Publication Number Publication Date
CN104077588A true CN104077588A (en) 2014-10-01

Family

ID=51598834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410326708.6A Pending CN104077588A (en) 2014-07-10 2014-07-10 Method for automatically interposing frame offsets into medical DICOM dynamic images compressed by JPEG

Country Status (1)

Country Link
CN (1) CN104077588A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791939A (en) * 2017-01-10 2017-05-31 杭州华卓信息科技有限公司 Movable image conversion method based on stream media technology
CN107480299A (en) * 2017-08-30 2017-12-15 上海联影医疗科技有限公司 A kind of method and device of information processing
CN111243712A (en) * 2019-12-16 2020-06-05 创业慧康科技股份有限公司 File processing method and device
CN113138961A (en) * 2021-06-23 2021-07-20 广州永士达医疗科技有限责任公司 File conversion method applied to OCT image, electronic device and storage medium
WO2022017084A1 (en) * 2020-07-24 2022-01-27 西门子(中国)有限公司 Method, apparatus and system for acquiring dicom file
WO2022052884A1 (en) * 2020-09-09 2022-03-17 周兴祥 Method and system for generating dicomdir file containing icon image

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510906A (en) * 2002-11-25 2004-07-07 ���ǵ�����ʽ���� Displaying image apparatus and method for mobile terminal
CN1873820A (en) * 2006-05-18 2006-12-06 北京中星微电子有限公司 Method for processing video file, method for indexing video, and video indexing unit
US20070118540A1 (en) * 2005-11-23 2007-05-24 Oracle International Corporation integrating medical data and images in a database management system
CN1997158A (en) * 2006-12-29 2007-07-11 北京中星微电子有限公司 Device and method for data processing of the non-standard image size in the JEPG image compression
CN101350923A (en) * 2008-09-03 2009-01-21 中国科学院上海技术物理研究所 Method for communication and indication of interactive iatrology image
CN102665075A (en) * 2012-04-18 2012-09-12 苏州易健医疗信息技术有限公司 Method and system for extracting and displaying medical images for mobile handheld device
CN103414904A (en) * 2013-09-05 2013-11-27 苏州皓琪信息科技有限公司 Data compression storage method for medical high-capacity digital imaging and communications in medicine (DICOM) dynamic images

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510906A (en) * 2002-11-25 2004-07-07 ���ǵ�����ʽ���� Displaying image apparatus and method for mobile terminal
US20070118540A1 (en) * 2005-11-23 2007-05-24 Oracle International Corporation integrating medical data and images in a database management system
CN1873820A (en) * 2006-05-18 2006-12-06 北京中星微电子有限公司 Method for processing video file, method for indexing video, and video indexing unit
CN1997158A (en) * 2006-12-29 2007-07-11 北京中星微电子有限公司 Device and method for data processing of the non-standard image size in the JEPG image compression
CN101350923A (en) * 2008-09-03 2009-01-21 中国科学院上海技术物理研究所 Method for communication and indication of interactive iatrology image
CN102665075A (en) * 2012-04-18 2012-09-12 苏州易健医疗信息技术有限公司 Method and system for extracting and displaying medical images for mobile handheld device
CN103414904A (en) * 2013-09-05 2013-11-27 苏州皓琪信息科技有限公司 Data compression storage method for medical high-capacity digital imaging and communications in medicine (DICOM) dynamic images

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791939A (en) * 2017-01-10 2017-05-31 杭州华卓信息科技有限公司 Movable image conversion method based on stream media technology
CN107480299A (en) * 2017-08-30 2017-12-15 上海联影医疗科技有限公司 A kind of method and device of information processing
CN111243712A (en) * 2019-12-16 2020-06-05 创业慧康科技股份有限公司 File processing method and device
CN111243712B (en) * 2019-12-16 2023-09-08 创业慧康科技股份有限公司 File processing method and device
WO2022017084A1 (en) * 2020-07-24 2022-01-27 西门子(中国)有限公司 Method, apparatus and system for acquiring dicom file
WO2022052884A1 (en) * 2020-09-09 2022-03-17 周兴祥 Method and system for generating dicomdir file containing icon image
CN113138961A (en) * 2021-06-23 2021-07-20 广州永士达医疗科技有限责任公司 File conversion method applied to OCT image, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN104077588A (en) Method for automatically interposing frame offsets into medical DICOM dynamic images compressed by JPEG
CN103414904A (en) Data compression storage method for medical high-capacity digital imaging and communications in medicine (DICOM) dynamic images
US8705824B2 (en) Apparatus and method for ordering stored images
US8254648B2 (en) Method for providing adaptive hanging protocols for image reading
Clunie et al. Technical challenges of enterprise imaging: HIMSS-SIIM collaborative white paper
US20170206931A1 (en) Medical image data information exchange system
WO2010126451A1 (en) A data file having more than one mode of operation
Caffery et al. Transforming dermatologic imaging for the digital era: metadata and standards
JP2013008379A (en) Medical image filing device
US20140143271A1 (en) Multi-level medical image viewer memory management
US20050207658A1 (en) Method and apparatus for extracting information from a medical image
US20140140589A1 (en) Memory sensitive medical image browser
US10460488B2 (en) Spine labeling automation
CN103049582A (en) Automatic digital imaging and communications in medicine (DICOM) medical image data migration system and method
JP2007323378A (en) Image storing method and image storage device
CN114097249A (en) Method and apparatus for packaging panoramic images in a file
KR101196208B1 (en) Medical Diagnostic Apparatus and Data Transmission Method
US20170206318A1 (en) Medical system and medical device
EP2893474B1 (en) System and method for retrieving and processing metadata
CN1923139A (en) CT image digitalized storing and transfer method
US20220309035A1 (en) File processing device, file processing method, and program
US20120163775A1 (en) Image system
US20160078173A1 (en) Method for editing data and associated data processing system or data processing system assembly
WO2005119443A2 (en) System and method of a converting medical imaging movie format data to dicom compatible images
US11081228B2 (en) Automatic retrospective review of electronic medical records

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Wu Xiaopeng

Inventor after: Yu Quanwen

Inventor before: Wu Xiaopeng

Inventor before: Yu Quanwen

Inventor before: Chen Xianghua

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM:

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141001

RJ01 Rejection of invention patent application after publication