Dicominfo tag is being read as uint16 instead of float double

3 views (last 30 days)
Hello,
I am trying to read a private dicom tag using the dicominfo commat.
Following the instructions in MathWorks site:
(a) Genrated a unique dicom dictionary, where I added this tag <using the format: [Tag] [Name] FL (float double) 4>
(b) set the code to use this dictionary when reading the dicominfo <using the dicomdict('set',....) command>
Now, When I am running the code I see that the dicominfo is using the new dictionary (Tag name is according to the dictionary setup), yet the tag value is still being imported as unit16 and not float double.
Any ideas that can help to solve this one?
  6 Comments
ErLan
ErLan on 23 Sep 2019
Thanks Rik,
... I have some challanges to share datafile (senstive record); are their possible actions\indicators that I can hunt down (via. your guidence) and will allow us a 'remote' debugging?
Rik
Rik on 23 Sep 2019
I would expect this issue to appear irrespective of the actual content of the dicom file. As long you have a similar data type you can even randomly generate a dicom file. That is actually even the preferred method. In that case you will only need to attach the dictionary and write some code that generates the dicom file and returns this result when loading it again.
Feel free to use included example files to generate an image (like S=load('mri');IM=squeeze(S.D);).

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!