Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gamma knife #995

Open
MohHu opened this issue Aug 30, 2024 · 3 comments
Open

Gamma knife #995

MohHu opened this issue Aug 30, 2024 · 3 comments

Comments

@MohHu
Copy link

MohHu commented Aug 30, 2024

Dear Dr.Apte,

Good morning,

I am writing to you with regard to a gamma knife plan. Actually, Actually, I would like to extract dose distribution after converting to DICOM to CERR format. However, I have the following error!

Could i ask you how we can solve it?

Yours sincerely

CERR
CERR>> Scanning DICOM directory
Reading directory:C:\Users\hp\Downloads\TMR10\TMR10 ...
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 ...
Reading structures ...
Loading RTSTRUCT ...
Reading structureArray ...
Reading structureArrayMore ...
Reading beams ...
Reading beamGeometry ...
Unrecognized field name "SourceAxisDistance".

Error in getfield (line 69)
f = f.(field);

Error in populate_planC_beamGeometry_field (line 76)
beamGeometryInitS(1,i).nominalIsocenterDistance = getfield(beamsInitS, 'BeamSequence',['Item_', num2str(i)],'SourceAxisDistance');

Error in populate_planC_field (line 514)
beamGeometryS = populate_planC_beamGeometry_field(rtPlans(i), dataS);

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.

@MohHu
Copy link
Author

MohHu commented Sep 1, 2024

Further to the question above, I tried both the “GammaKnife” option under CERR import, but I have this error. Also exported gamma knife plan to DICOM and import it from DICOM to CERR was also tried, but it is still not working!
Reading MR scan info...
Dot indexing is not supported for variables of this type.

Error in importLeksellPlan (line 168)
for i=1:length(LekC.volS)

Error in CERRImportGammaKnife (line 38)
[planC, leksellInfo] = importLeksellPlan(planDir);

Error in CERR (line 139)
CERRImportGammaKnife;

Error while evaluating UIControl Callback.

@adityaapte
Copy link
Collaborator

adityaapte commented Sep 19, 2024 via email

@MohHu
Copy link
Author

MohHu commented Sep 20, 2024

Thank you for your effort. I still have the following error!

CERR
Dot indexing is not supported for variables of this type.

Error in importLeksellPlan (line 168)
for i=1:length(LekC.volS)

Error in CERRImportGammaKnife (line 38)
[planC, leksellInfo] = importLeksellPlan(planDir);

Error in CERR (line 139)
CERRImportGammaKnife;

Error while evaluating UIControl Callback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants