valosekj / fsleyes_preset

Run FSLeyes and automatically set display options
GNU General Public License v3.0
0 stars 0 forks source link

Allow to set min intensity #26

Closed valosekj closed 2 years ago

valosekj commented 2 years ago

Currently the script sets only the max intensity:

https://github.com/valosekj/fsleyes_preset/blob/a035f6934d79912b2b4596db10d1b5a554bea3b8/fsleyes_preset.py#L240-L241

For some images, also min intensity could be set.

Possible solution - include also min into set_intensity_dict: https://github.com/valosekj/fsleyes_preset/blob/a035f6934d79912b2b4596db10d1b5a554bea3b8/fsleyes_preset.py#L71-L72

like:

'T1w.nii(.gz)*': [0, 0.7],