DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sat, 2017-11-25, 10:27

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue, 2017-07-18, 22:14 
Offline

Joined: Sat, 2010-11-06, 01:42
Posts: 1
Hello All,

Basically, we have been using dcmdump and dump2dcm to construct cine-loop from still images by extracting stills raw data files and binary appending them then construct the loop out of the final raw data file, it's been very successful and working fine till we got some CR images which our output loop is completely busted.

Here is the commands we use:

1# below is to extract raw data file and dcm header
dcmdump "d:\dcm\dx.1.2.410.200045.3.20170708.388.1.0.dcm" +L +W d:\medstreaming\demomode\dbRepository\2017\Jul08\2cc6c01e-4f50-4cbb-bcd0-853a8ab13de3 > "d:\dcm\dx.1.2.410.200045.3.20170708.388.1.0.txt"

2# below is to generate loop out of appended raw data files plus its header.

dump2dcm.exe +l 999999 d:\dcm\CR.1.3.6.1.4.1.27251.9.2.1.20170717130555.627803051.txt d:\dcm\CR.1.3.6.1.4.1.27251.9.2.1.20170717130555.627803051.dcm


The generated loop is busted and it looks like for a single frame is turned upside down.

This always happens after the second frame.

Please help!!! :)

Frame #1 (Good):
https://drive.google.com/file/d/0B9ZG2- ... NlVlU/view

Frame #2 (Good):
https://drive.google.com/file/d/0B9ZG2- ... dfalk/view

Frame #3 busted:
https://drive.google.com/file/d/0B9ZG2- ... VES2s/view


Top
 Profile  
 
PostPosted: Fri, 2017-07-28, 11:30 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1208
Location: Oldenburg, Germany
Perhaps your second frame image contains trailing "garbage" bytes at the end of the pixel data element, which would cause the effect you describe. You should perhaps compare the size of the PixelData element with the expected size (Rows * Columns * (BitsAllocated+7)/8). If the real size is larger, there's your problem.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group