Warning: Not enough data imported. Attempt to read… (Dicominfo/Dicomdisp)
Hello,
I would like to ask how to solve this issue in matlab, while I am trying to read several dicom images I have got from PACS. Radiant application shows images normally, but Matlab does not recognise the size of them, width and height, and I am getting this warning as well, when i call dicominfo:
The second number of bytes (only read) is the actual size of my picture(.dcm), and however, Matlab attempts to read like 1,3Gb of data, instead the actual size of it which is 12Mb.
Also, when i use dicomdisp i get the following:
I have highlighted where i find the actual size, in that private attribute, and also noticed how there is no location 6182 (it ends at 6170), and there are some more attributes which their size is like 4.3 Gb. Is reading it on IEEE little-endian machine related with my computer or PACS? Could that be the reason? Widh and Height attributes are both in dicomdisp and Radiant (Dicom Viewer Application) shown as WindowWidth/WindowCenter and WL/WW respectively. Therefore, it could be some sort of incompatibility between headers/attributes from one source to another?
Is it something to do with their actual size of my dicom pictures, which is rather too much for my laptop to handle? They are 2k x 4k resolution. So, since my screen doesnt support that resolution, maybe that’s why Matlab open just a blank figure? Still, shouldnt it have been able to read width and height with dicominfo?
In addition to that, in line (63) at dicominfo.m describes some issues about parsing the dicom file and its attributes, but I am not sure if it is related with the previous issue.
Any help would be grateful.Hello,
I would like to ask how to solve this issue in matlab, while I am trying to read several dicom images I have got from PACS. Radiant application shows images normally, but Matlab does not recognise the size of them, width and height, and I am getting this warning as well, when i call dicominfo:
The second number of bytes (only read) is the actual size of my picture(.dcm), and however, Matlab attempts to read like 1,3Gb of data, instead the actual size of it which is 12Mb.
Also, when i use dicomdisp i get the following:
I have highlighted where i find the actual size, in that private attribute, and also noticed how there is no location 6182 (it ends at 6170), and there are some more attributes which their size is like 4.3 Gb. Is reading it on IEEE little-endian machine related with my computer or PACS? Could that be the reason? Widh and Height attributes are both in dicomdisp and Radiant (Dicom Viewer Application) shown as WindowWidth/WindowCenter and WL/WW respectively. Therefore, it could be some sort of incompatibility between headers/attributes from one source to another?
Is it something to do with their actual size of my dicom pictures, which is rather too much for my laptop to handle? They are 2k x 4k resolution. So, since my screen doesnt support that resolution, maybe that’s why Matlab open just a blank figure? Still, shouldnt it have been able to read width and height with dicominfo?
In addition to that, in line (63) at dicominfo.m describes some issues about parsing the dicom file and its attributes, but I am not sure if it is related with the previous issue.
Any help would be grateful. Hello,
I would like to ask how to solve this issue in matlab, while I am trying to read several dicom images I have got from PACS. Radiant application shows images normally, but Matlab does not recognise the size of them, width and height, and I am getting this warning as well, when i call dicominfo:
The second number of bytes (only read) is the actual size of my picture(.dcm), and however, Matlab attempts to read like 1,3Gb of data, instead the actual size of it which is 12Mb.
Also, when i use dicomdisp i get the following:
I have highlighted where i find the actual size, in that private attribute, and also noticed how there is no location 6182 (it ends at 6170), and there are some more attributes which their size is like 4.3 Gb. Is reading it on IEEE little-endian machine related with my computer or PACS? Could that be the reason? Widh and Height attributes are both in dicomdisp and Radiant (Dicom Viewer Application) shown as WindowWidth/WindowCenter and WL/WW respectively. Therefore, it could be some sort of incompatibility between headers/attributes from one source to another?
Is it something to do with their actual size of my dicom pictures, which is rather too much for my laptop to handle? They are 2k x 4k resolution. So, since my screen doesnt support that resolution, maybe that’s why Matlab open just a blank figure? Still, shouldnt it have been able to read width and height with dicominfo?
In addition to that, in line (63) at dicominfo.m describes some issues about parsing the dicom file and its attributes, but I am not sure if it is related with the previous issue.
Any help would be grateful. dicominfo MATLAB Answers — New Questions