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

Batch Processing #53

Open
nsasanka opened this issue Mar 21, 2019 · 5 comments
Open

Batch Processing #53

nsasanka opened this issue Mar 21, 2019 · 5 comments
Labels

Comments

@nsasanka
Copy link

I have 2 questions

  1. Is there a command line way to extract radiomics of one specific structure using an RT-Struct file with many contours.

  2. Also is it possible to do this as a batch process for many patients using command line

Thanks

@fedorov
Copy link
Collaborator

fedorov commented Mar 21, 2019

No, you will need first to convert your RT-struct file into label volumes. We recommend plastimatch for this purpose. If your RT-struct files follow the same convention for labeling individual structures, it should be relatively easy to script running plastimatch and pyradiomics in sequence for batch processing.

@timeanddoctor
Copy link

Was the code of pyradiomic installed after activation of this extension? Then, can I run the code of pyradiomic by 'import radiomic' just as a script in slicer directly (e.g.https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository)?

@JoostJM
Copy link
Contributor

JoostJM commented Dec 24, 2019

Yes, installation of the radiomics package is part of the installation and is therefore available in the slicer environment if you install the extension

@timeanddoctor
Copy link

Thanks, Professor JoostJM.
I installed SlicerCaseIterator and still have some problems. The .csv table should be created including the dir of all volume and segment before loading? Can I save/write a loaded volume and mask segmentation in slicer by this module? I tried to do that but nothing happen after clicking the batch buttom.

@JoostJM
Copy link
Contributor

JoostJM commented Sep 16, 2020

@timeanddoctor, both volumes and segmentations loaded in slicer can be saved using the "save data" button. The default format (respectively ".nrrd" and ".seg.nrrd") are both supported in PyRadiomics.

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

No branches or pull requests

4 participants