dicomread not working for specific files

1 visualización (últimos 30 días)
Gopichandh Danala
Gopichandh Danala el 31 de Oct. de 2016
Comentada: Walter Roberson el 1 de Nov. de 2016
Hi,
I am working on specific dicom files recently and cannot use dicomread function to read files..
Can someone check the error below and suggest some help to read files.
img = dicomread('LCC.dcm');
info = dicominfo('LCC.dcm');
low = abs(info.RescaleIntercept)-abs(info.WindowCenter)+30;
high = low + info.WindowWidth;
figure, imshow(img,[low high]);
Error:
Thanks,
Gopi

Respuesta aceptada

Walter Roberson
Walter Roberson el 31 de Oct. de 2016
Some applications produce DICOM files that do not meet the standards and cannot be loaded in other programs that do not implement the same broken behaviour.
Sometimes, DICOM files get corrupted in transmission. You should go back to the source and obtain a new copy to try.
  2 comentarios
Gopichandh Danala
Gopichandh Danala el 1 de Nov. de 2016
Hi Sir, Maybe you are right. In my work i got files from PACS system which i converted to dicom using onis http://www.onis-viewer.com/
Maybe this is not good software for my conversion, can you suggest me some free softwares which i can use to convert files to dicom which can be properly used in MATLAB
Thanks, Gopi
Walter Roberson
Walter Roberson el 1 de Nov. de 2016
The information that I find about PACS is that PACS files are already DICOM files and so would not need to be modified for use in MATLAB (provided they were generated from a compliant device.)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre DICOM Format en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by