cerr / CERR

Matlab/Octave based platform for Radiological Research.
https://cerr.github.io/CERR/
GNU Lesser General Public License v2.1
189 stars 101 forks source link

image DICOM with structure DICOM is not imported #715

Open MohHu opened 2 years ago

MohHu commented 2 years ago

Dear Developer,

Good morning,

I have treatment plan in DICOM format that has set of images and structure. When I import them using CERR, I have this error: Reading directory:E:\ct with contour\New folder ... Reading header ... CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.sponsorID field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.protocolID field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.subjectID field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.submissionID field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.timeSaved field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.lastSavedInVer field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.CERRImportVersion field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.anonymizedID field, leaving empty. Reading comment ... Reading scan ... Loading Scan ... '"java"' is not recognized as an internal or external command, operable program or batch file. ans = 1 Struct contents reference from a non-struct array object. Error in populate_planC_scan_field (line 131) sliceV = cast(imgobj.getInts(2.145386512000000e+09),'int16'); %OW Error in populate_planC_field (line 83) populate_planC_scan_field(names{i}, ... Error in dcmdir2planC (line 53) cellData = populate_planC_field(cellNames{i}, dcmdir_PATIENT, optS); Error in CERRImportDCM4CHE (line 120) planC = dcmdir2planC(combinedDcmdirS,mergeScansFlag,optS); Error in CERR (line 133) CERRImportDCM4CHE; Error while evaluating UIControl Callback.

The TPS is MONACO Is there any suggestion to overcome this problem?

Yours sincerely

adityaapte commented 2 years ago

The error message points to Java was not initialized. Can you try to run init_ML_DICOM from the command line. Or restart Matlab? Please share the anonymized dataset if the issue still persists. Are you using the latest from GitHub? Thanks.

On Sun, May 1, 2022, 10:03 AM MohHu @.***> wrote:

Dear Developer,

Good morning,

I have treatment plan in DICOM format that has set of images and structure. When I import them using CERR, I have this error: Reading directory:E:\ct with contour\New folder ... Reading header ... CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.sponsorID field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.protocolID field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.subjectID field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.submissionID field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.timeSaved field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.lastSavedInVer field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.CERRImportVersion field, leaving empty. CERR>> DICOM Import has no methods defined for import into the planC{indexS.header}.anonymizedID field, leaving empty. Reading comment ... Reading scan ... Loading Scan ... '"java"' is not recognized as an internal or external command, operable program or batch file. ans = 1 Struct contents reference from a non-struct array object. Error in populate_planC_scan_field (line 131) sliceV = cast(imgobj.getInts(2.145386512000000e+09),'int16'); %OW Error in populate_planC_field (line 83) populate_planC_scan_field(names{i}, ... Error in dcmdir2planC (line 53) cellData = populate_planC_field(cellNames{i}, dcmdir_PATIENT, optS); Error in CERRImportDCM4CHE (line 120) planC = dcmdir2planC(combinedDcmdirS,mergeScansFlag,optS); Error in CERR (line 133) CERRImportDCM4CHE; Error while evaluating UIControl Callback.

The TPS is MONACO Is there any suggestion to overcome this problem?

Yours sincerely

— Reply to this email directly, view it on GitHub https://github.com/cerr/CERR/issues/715, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGNJBYI5RJMU6L7DDFOGMTVH2FL7ANCNFSM5UZ5VCWA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

MohHu commented 2 years ago

Thank you for your prompt reply,

When I run ''init_ML_DICOM'' from the command line, the output is

init_ML_DICOM ans = 1

I restarted Matlab, and I have the same problem, Yes, I do. I am working with the last version. I sent the link of the dataset to your email for ethical reasons

Yours sincerely