cerr / CERR

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

Conver to planC #675

Open paulamartingonzalez opened 2 years ago

paulamartingonzalez commented 2 years ago

Hi,

I am trying to convert a DICOM to planC and I keep getting the error:

Error using reshape
To RESHAPE the number of elements must not change.
Error in populate_planC_scan_field (line 150)
                    slice2D = reshape(sliceV, [nCols nRows]);
Error in populate_planC_field (line 97)
                        populate_planC_scan_field(names{i}, ...
Error in dcmdir2planC (line 53)
    cellData = populate_planC_field(cellNames{i}, dcmdir_PATIENT,
    optS);
Error in CERRImportDCM4CHE (line 134)
    planC = dcmdir2planC(combinedDcmdirS);
Error in CERR (line 133)
                    CERRImportDCM4CHE; 
Error while evaluating UIControl Callback.

Do you have any idea of what might been going on?

adityaapte commented 2 years ago

Can you please provide a few more details to help figure out the issue?

  1. Is this the latest version? What branch are you using?
  2. What modality are you importing? It might help to filter out screen captures or similar images that might be missing the metadata required for import.
  3. Will it be possible to share a sample anonymized dataset?

On Mon, Dec 20, 2021, 6:39 AM Paula Martin @.***> wrote:

Hi,

I am trying to convert a DICOM to planC and I keep getting the error:

Error using reshape To RESHAPE the number of elements must not change. Error in populate_planC_scan_field (line 150) slice2D = reshape(sliceV, [nCols nRows]); Error in populate_planC_field (line 97) populate_planC_scan_field(names{i}, ... Error in dcmdir2planC (line 53) cellData = populate_planC_field(cellNames{i}, dcmdir_PATIENT, optS); Error in CERRImportDCM4CHE (line 134) planC = dcmdir2planC(combinedDcmdirS); Error in CERR (line 133) CERRImportDCM4CHE; Error while evaluating UIControl Callback.

Do you have any idea of what might been going on?

— Reply to this email directly, view it on GitHub https://github.com/cerr/CERR/issues/675, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGNJB7LPT57RALGJ3FLQB3UR4IWLANCNFSM5KNPOTEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>