Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sun, 2018-06-24, 19:19

All times are UTC + 1 hour

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

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. d:\dcm\CR.

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

PostPosted: Fri, 2017-07-28, 11:30 

Joined: Tue, 2004-11-02, 17:22
Posts: 1214
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.

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