Search found 17 matches

by ifpiero
Wed, 2010-05-05, 14:04
Forum: DCMTK - General
Topic: Use dcmdump to extract LUT Data
Replies: 1
Views: 3867

Use dcmdump to extract LUT Data

When I use dcmdump to extract Dicom-data-set from several test files ,which can be found here , http://barre.nom.fr/medical/samples/ . e.g. I use the following command to extract the dicom-data-set, dcmdump dcmfile-in a.dcm I never find the tag (0028,3000)Modality LUT sequence or (0028,3010)VOI LUT ...
by ifpiero
Wed, 2010-05-05, 13:26
Forum: DCMTK - General
Topic: question about dcmjpeg module
Replies: 3
Views: 4521

check both files with dcmdump. I guess the Pixel Data element became larger? Yes , the original one has 7FE0,0000,Pixel Data Group Length=718960 the new one has 7FE0,0000,Pixel Data Group Length=777672 Also check whether the color model changed, i.e. look at tag Photometric Interpretation. original...
by ifpiero
Wed, 2010-05-05, 12:37
Forum: DCMTK - General
Topic: question about dcmjpeg module
Replies: 3
Views: 4521

question about dcmjpeg module

Dear OFFIS group, Recently I am using the dcmjpeg module to process a dicom file with compressed pixel values (Transfer syntax is JPEGProcess14SV1TransferSyntax), the download link to this file is as follows , http://barre.nom.fr/medical/samples/files/MR-MONO2-12-shoulder.gz I decompress this file a...
by ifpiero
Wed, 2010-04-28, 09:21
Forum: DCMTK - General
Topic: How to read out P-values by using DCMTK
Replies: 1
Views: 2874

How to read out P-values by using DCMTK

which function can be used to read out P-values with the help of DCMTK toolkit?
Thanks in advance!
by ifpiero
Tue, 2010-04-27, 10:55
Forum: DCMTK - General
Topic: How DICOM viewer display the image within a dicom file.
Replies: 0
Views: 16019

How DICOM viewer display the image within a dicom file.

hi, I have a dicom file ,the stored image under test is (16,12,11, PR=0) with VR=OW. I use findAndGetUint16Array() to get the raw pixel values ,and find out the max pixel value is 1287, and the min pixel value is 1008. I have the following questions , (1) when dicom viewer displays this image on a c...
by ifpiero
Wed, 2010-04-21, 16:43
Forum: DCMTK - General
Topic: A question about pixel value
Replies: 2
Views: 3445

Hi Joerg, I have asked you several weeks ago,about revise pixel values using DCMTK .
Today when I deal with a dicom file (16,16,15),even when I changed the pixel slightly ,the image changes a lot ? I don't know why, should I change reset the maximum value and minimum value?
by ifpiero
Wed, 2010-04-21, 16:16
Forum: DCMTK - General
Topic: A question about pixel value
Replies: 2
Views: 3445

A question about pixel value

when I read the raw pixel value from a dicom file (16,16,15) PR=1 ,the maximum value is 63535 , but it corresponds to a black pixel , I think it should be a white pixel ,right?

in (8,8,7) case the maximum value 255 corresponds to a white pixel.

Can anybody give me some ideas ? thanks in advance!
by ifpiero
Fri, 2010-04-16, 08:18
Forum: DCMTK - General
Topic: Process compressed pixel data.
Replies: 1
Views: 2765

Anyone can give me some hints ?
Thanks in advance.
by ifpiero
Sun, 2010-04-11, 21:32
Forum: DCMTK - General
Topic: Process compressed pixel data.
Replies: 1
Views: 2765

Process compressed pixel data.

First I should thank you all for providing me great help of processing uncompressed pixel data. Now I want to process compressed pixel data , My application is that ,I want to add watermark to the image embedded in the dicom file . I need to do the following steps , (1) read out the pixel data (2) d...
by ifpiero
Sun, 2010-04-11, 21:15
Forum: DCMTK - General
Topic: modify pixel value while leave meta data unchanged.
Replies: 7
Views: 7567

Recently I have read Dicom standard concerning SOP instance uid and dicomdir , but I am still in the dark ,why it is recommended to revise creat a new SOP class uid and SOP instance uid ? I didn't find the answer ,Can u give me an answer roughly ?
Thanks a lot !
by ifpiero
Wed, 2010-04-07, 09:12
Forum: DCMTK - General
Topic: modify pixel value while leave meta data unchanged.
Replies: 7
Views: 7567

Thanks for your advices ! They help me a lot! And I am looking forward to the next release 3.5.5. And here is another question ,this time is about DICOMDIR . Yesterday I got a got a disk from one of a friends ,who hurts his leg last month, in this disk there exist a DICOM viewer and a DICOM file con...
by ifpiero
Mon, 2010-04-05, 14:16
Forum: DCMTK - General
Topic: modify pixel value while leave meta data unchanged.
Replies: 7
Views: 7567

First of all ,thanks for your reply!
Can you give me some further informations on how to generate a new SOP Instance UID for the database? which functions can I use ?
Thanks a lot !
by ifpiero
Mon, 2010-04-05, 12:28
Forum: DCMTK - General
Topic: modify pixel value while leave meta data unchanged.
Replies: 7
Views: 7567

modify pixel value while leave meta data unchanged.

I want to modify the pixel data ,e.g. add watermark to them ,this step I have finished ,but when I save the file,I found some of the meta information changed, e.g filemetainformationgrouplength, identifyinggrouplength,and so on, Can anyone give some idea on how to avoid revising the meta information...
by ifpiero
Thu, 2010-04-01, 16:21
Forum: DCMTK - General
Topic: A question about VR
Replies: 2
Views: 3278

Thanks a lot for the quick reply!!
wish u have a nice holiday!
by ifpiero
Thu, 2010-04-01, 10:36
Forum: DCMTK - General
Topic: A question about VR
Replies: 2
Views: 3278

A question about VR

I want to get the VR of Pixel data (7FE0,0010).
I use the following code:

DcmTag dcmtag(DCM_PixelData);
const char* vr_name;
vr_name=dcmtag.getVRName();

But I always get the a value of "ox", while in fact it should be OW or OB.
Can anybody give me a hint?
thanks a lot!