Search found 16 matches

by richardander
Tue, 2020-12-29, 21:33
Forum: DCMTK - General
Topic: How to save measurements into a Dicom file
Replies: 1
Views: 1513

How to save measurements into a Dicom file

Hello, My program does some measurements on a dicom image. I would like to store the measurements ( text format in xml structure, less than 200KB in size) into the same image. Questions are: 1. Is there any public DICOM header tag I can use? 2. If I have to use private ones, is there any recommendat...
by richardander
Fri, 2019-09-27, 09:12
Forum: DCMTK - General
Topic: StoreSCU cann't send dicom file with JPEG lossless compressi
Replies: 4
Views: 6449

Re: StoreSCU cann't send dicom file with JPEG lossless compressi

Is there any solutions for this?

I have the same problem with JPEG Baseline.

Thank you
by richardander
Wed, 2011-03-23, 22:56
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 28981

Hi Jörg and Michael,

Thank you for the investigation. However, it is weird that dcmdump can work in vista environment.

Anyway, if DcmFileFormat::loadFile can not load the sample dicom that I sent to you, is there any other way to load this dicom image with DCMTK library?

Thank you!
by richardander
Wed, 2011-03-23, 11:30
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 28981

Is there any parameter that I can set in function loadFile() to make it work under XP? "Jörg Riesmeier"]Thank you for the file. I don't know why different versions of the Windows OS should behave differently, but the file you've sent us seems to be corrupted: There is some "garbage&qu...
by richardander
Tue, 2011-03-22, 23:51
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 28981

Sorry for my ignorance...

The image file should be in your mailbox now.

Thanks again for the help!
by richardander
Tue, 2011-03-22, 22:30
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 28981

Please let me know how to send the file to you.

Thank you!
by richardander
Tue, 2011-03-22, 18:44
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 28981

Yes. I download the windows 32bit binary file, dcmtk-3.6.0-win32-i386.zip 40,017K DCMTK 3.6.0 for Windows (32 bit) , from your website : http://dicom.offis.de/dcmtk.php.en running it in windows XP with commandline: dcmdump -d im_0019 Here is the output : D: $dcmtk: dcmdump v3.6.0 2011-01-06 $ D: D: ...
by richardander
Fri, 2011-03-18, 18:21
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 28981

The same version of dcmdump.exe ran on XP and Vista on the same dicom image file. commandline: dcmdump -d im_0019.dcm It worked on vista. However, In XP, here is the output: DcmItem: Non-standard VR '!!' encountered while parsing attribute (001c,0026), assuming 2 byte length field DcmItem: Dataset n...
by richardander
Fri, 2011-03-18, 10:19
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 28981

The status.text() is "Invalid stream".

I am using 3.5.4.

Please let me know what to do.

BTW, when I load single frame DICOM images in client PC, this function works OK.

Thank you.
by richardander
Thu, 2011-03-17, 17:38
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 28981

I did not set any any environment variables in the client machine (Windows XP). In the development machine (window Vista), I did not set anything special. All I did was install DCMTK and compiled the library. Please let me know if any any environment variables should be set. Memory is not an issue. ...
by richardander
Thu, 2011-03-17, 10:30
Forum: DCMTK - General
Topic: why does DcmFileFormat::loadFile perform differently in Vista and XP?
Replies: 21
Views: 28981

why does DcmFileFormat::loadFile perform differently in Vista and XP?

Hello, I am using the following code to open a multiframe DICOM image. DcmFileFormat fileformat; OFCondition status = fileformat.loadFile(filename); if (status.good()) { ... } In windows Vista, this program works fine and status.good() is true; However, when the program runs in Windows XP, the statu...
by richardander
Fri, 2010-07-02, 21:40
Forum: DCMTK - General
Topic: In multiframe image, how to read attributes for each frame
Replies: 5
Views: 6655

thank you and I actually have read that part. It is not an easy task for a beginner to swallow it within a short time. It is a time consuming process and that is why we use DCMTK instead of scratching code based on DICOM standard. I think loading image with multiframe is a routine operation and focu...
by richardander
Fri, 2010-07-02, 20:20
Forum: DCMTK - General
Topic: In multiframe image, how to read attributes for each frame
Replies: 5
Views: 6655

Thanks for the input. My understanding is, for a multiframe image, - its pixel data is saved in one continous block and can be retrived by calling tag DCM_PixelData, then based on the frame size, bits per pixel and frame index to get the pixel data for a sepcific frame. - for attributes, there are t...
by richardander
Fri, 2010-07-02, 17:51
Forum: DCMTK - General
Topic: In multiframe image, how to read attributes for each frame
Replies: 5
Views: 6655

Can anyone help?

thank you!
by richardander
Fri, 2010-07-02, 08:37
Forum: DCMTK - General
Topic: In multiframe image, how to read attributes for each frame
Replies: 5
Views: 6655

In multiframe image, how to read attributes for each frame

Hi, I try to open a multiframe dicom file ( Philips MR ) and load the image data and attributes for each frame. My question is; After finding the nubmer of frames in this file, - How to get the data and attributes for each frame. is it a dataset? - How to read the common attributes, for example, the...