Login  Register

Re: Dicom Header

Posted by C Heeney on May 31, 2013; 5:08pm
URL: http://imagej.273.s1.nabble.com/Dicom-Header-tp5003154p5003176.html

Prativa

You need to state what kind of DICOM file you are working with. I've just tried  the DicomTools.getTag on a CT slice and it correctly reports the image number.

It would also help if you can upload an example file that you know produces this result.


C Heeney

>Hi,
>
>I am trying to read the image number from header of DICOM files.
>
>for this I used the line
>//DicomTools.getTag(IP1,"0020,0013");
>
>But when i saw image info it contains two line as follows
>
>0020,0013  >Image Number: 0
>0020,0013  Image Number: 1
>
>
>program reads first line and give Image Number=0 for every image.
>Do anyone know how to resolve this problem? whats the mean of the line
>"0020,0013  >Image Number: 0 "
>
>
>Regards
>Prativa
>--
>Dr. Prativa Sahoo
>Department of Mathematics and Statistics
>Indian Institute of Technology Kanpur
>
>--
>ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html