DICOM file import problem

740 views
Skip to first unread message

Heejin Kim

unread,
Mar 19, 2012, 12:30:26 AM3/19/12
to CERR FORUM
My matlab version is MATLAB 7.10.0 R2010a, and CERR version is
4.0beta2 I an used to import DICOM image in CERR.
but when i imported DICOM folder, this error message always appear my
commend window.
My DICOM files work well Matlab and other image processing program.


??? Undefined variable "org" or class
"org.dcm4che2.io.DicomInputStream".

Error in ==> scanfile_mldcm at 48
in = org.dcm4che2.io.DicomInputStream(ifile);

Error in ==> scandir_mldcm at 70
[dcmObj, isDcm] = scanfile_mldcm(filename);

Error in ==> CERRImportDCM4CHE at 65
patient = scandir_mldcm(fullfile(path, dirs(i).name), hWaitbar,
i);

Error in ==> CERR at 138
CERRImportDCM4CHE;

??? Error while evaluating uicontrol Callback


So I try other method DICOM(deprecated) menu. but another error
message have appeared.

??? Error using ==>
dicomrt_DICOMimport at 182
dicomrt_DICOMimport: The study list
should not start with an empty
element. Check data. Exit now!

Error in ==> CERRImportDICOM at 48

[ap,ap_xmesh,ap_ymesh,ap_zmesh,ap_ct,ap_ct_xmesh,ap_ct_ymesh,ap_ct_zmesh,ap_voi,MRCell,PETCell,SPECTCell]=dicomrt_DICOMimport;

Error in ==> CERR at 150
CERRImportDICOM;

??? Error while evaluating uicontrol Callback

Would you help me in importing DICOM image?
thank you :)
Heejin
KCCH

ap...@mskcc.org

unread,
Mar 19, 2012, 12:32:03 PM3/19/12
to cerr-...@googlegroups.com
Heejin,

We saw this error with newer Matlab versions when the dcm4che dicom-import library was not added to Matlab path. Can you use this version on gitHub and see if that fixes the issue.

https://github.com/adityaapte/CERR

Thanks,
Aditya

--
You received this message because you are subscribed to the Google Groups "CERR FORUM" group.
To post to this group, send email to cerr-...@googlegroups.com.
To unsubscribe from this group, send email to cerr-forum+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cerr-forum?hl=en.


=====================================================================

Please note that this e-mail and any files transmitted from
Memorial Sloan-Kettering Cancer Center may be privileged, confidential,
and protected from disclosure under applicable law. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any reading, dissemination, distribution,
copying, or other use of this communication or any of its attachments
is strictly prohibited. If you have received this communication in
error, please notify the sender immediately by replying to this message
and deleting this message, any attachments, and all copies and backups
from your computer.

Heejin Kim

unread,
Mar 19, 2012, 10:29:06 PM3/19/12
to CERR FORUM
Thank you for your reply.
I download new version on gitHub and add to all folder in Matlab path
which included dcm4che-2.0.25 folder.
Did you said that dcm4che dicom import library is dcm4che-2.0.25
folder?
Anyway, I try to import DICOM file from new version but I saw another
error message.
This error message showed Matlab R2011b version.

??? Java exception occurred:
org.dcm4che2.io.DicomCodingException: Not a DICOM Stream

at

org.dcm4che2.io.DicomInputStream.guessTransferSyntax(DicomInputStream.java:
250)

at org.dcm4che2.io.DicomInputStream.<init>(DicomInputStream.java:122)


Error in ==> scanfile_mldcm at 48
in = org.dcm4che2.io.DicomInputStream(ifile);

Error in ==> scandir_mldcm at 70
[dcmObj, isDcm] = scanfile_mldcm(filename);

Error in ==> CERRImportDCM4CHE at 65
patient = scandir_mldcm(fullfile(path, dirs(i).name), hWaitbar,
i);

Error in ==> CERR at 138
CERRImportDCM4CHE;

??? Error while evaluating uicontrol Callback

I am not good at using Matlab, T.T
Sorry for bothering you.
> [ap,ap_xmesh,ap_ymesh,ap_zmesh,ap_ct,ap_ct_xmesh,ap_ct_ymesh,ap_ct_zmesh,ap _voi,MRCell,PETCell,SPECTCell]=dicomrt_DICOMimport;
>
> Error in ==> CERR at 150
>                     CERRImportDICOM;
>
> ??? Error while evaluating uicontrol Callback
>
> Would you help me in importing DICOM image?
> thank you :)
> Heejin
> KCCH
>
> --
> You received this message because you are subscribed to the Google Groups "CERR FORUM" group.
> To post to this group, send email to cerr-...@googlegroups.com.
> To unsubscribe from this group, send email to cerr-forum+...@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/cerr-forum?hl=en.

ap...@mskcc.org

unread,
Mar 20, 2012, 10:11:47 AM3/20/12
to cerr-...@googlegroups.com
Heejin,

Do you have any non-DICOM files in the folder you are trying to import? If so, can you try again by removing the non-DICOM files form the folder?

- Aditya

________________________________________
From: cerr-...@googlegroups.com [cerr-...@googlegroups.com] On Behalf Of Heejin Kim [gmlwl...@gmail.com]
Sent: Monday, March 19, 2012 10:29 PM
To: CERR FORUM
Subject: [cerr-forum:1498] Re: DICOM file import problem

Heejin Kim

unread,
Mar 21, 2012, 9:38:59 PM3/21/12
to CERR FORUM
Thanks you for recommendation
I remove the analyze format file, and it works very well :) !




On Mar 20, 11:11 pm, ap...@mskcc.org wrote:
> Heejin,
>
> Do you have any non-DICOM files in the folder you are trying to import? If so, can you try again by removing the non-DICOM files form the folder?
>
> - Aditya
>
> ________________________________________
> From: cerr-...@googlegroups.com [cerr-...@googlegroups.com] On Behalf Of Heejin Kim [gmlwls0...@gmail.com]
Reply all
Reply to author
Forward
0 new messages