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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow CSV input to CLIs #35

Open
jcreinhold opened this issue Aug 18, 2021 · 1 comment
Open

Allow CSV input to CLIs #35

jcreinhold opened this issue Aug 18, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jcreinhold
Copy link
Owner

馃殌 Feature

Allow CSV files as input to the normalization CLIs, where there is an image (or several modalities) column to be normalized, a mask column, an output column, etc. This is mostly relevant for sample-based methods (RAVEL, Nyul, and LSQ).

Motivation

The current workflow for sample-based methods requires images to be setup in a directory structure which is often unnatural for how neuroimaging/medical image projects are formatted. A CSV file specifying all the image paths would be an alternative that also makes sure the masks are in proper correspondence with the images.

The CSV file format could also be used to normalize multiple modalities sequentially, e.g., with FCM you could provide the CSV with the T1-w, T2-w, etc. image paths under corresponding columns and the method can automatically find the tissue mask on the T1-w image and use the tissue mask to normalize the other modalities.

Alternatives

Force users to symlink/copy their images into a directory to normalize them.

@jcreinhold jcreinhold added enhancement New feature or request help wanted Extra attention is needed labels Aug 18, 2021
@jcreinhold jcreinhold self-assigned this Aug 18, 2021
@jcreinhold
Copy link
Owner Author

jcreinhold commented Aug 20, 2021

Will add in >=v2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Development

No branches or pull requests

1 participant