From: dddddddddddd ssssssssssssd on
Hi all,
I try use function 'dicominfo' for read image but something is wrong

d1 = dicomread([dictionary file_name]);
c= dicominfo(d1);

is show error: Function 'exist' is not defined for values of class 'int16'
(my image int16 [256 256])

Thanks for all propossition
From: Sadik on
Hi,

You should actually use the file name, not the image you read from the file.

Say, we have a file called: myImage.dcm

Then, you should have:

dicomHeader = dicomInfo('myImage.dcm');

Best.