Skip to content

fcm-normalize for multiple images #78

Closed Answered by jcreinhold
Al-yhuwert asked this question in Q&A
Discussion options

You must be logged in to vote

The easiest way to do this is to write a small bash script with a for loop properly formats the call to fcm-normalize with the corresponding image and brain mask. You can avoid using find in that case; this bash reference might be useful if you're not familiar with bash.

You can also use the Python API to write a script that does the normalization if that's easier than bash for you (see the docs for examples).

I had to remove the ability to process whole directories for individual timepoint-based normalization schemes because it was too difficult to maintain.

For the histogram, instead of using the -p option on fcm-normalize, use the plot-histograms CLI that's installed with the package a…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Al-yhuwert
Comment options

@jcreinhold
Comment options

@Al-yhuwert
Comment options

@jcreinhold
Comment options

@jcreinhold
Comment options

Answer selected by jcreinhold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants