spinal-cord-7t / coil-qc-code

7T Spinal Cord Coil QC Analysis Code
0 stars 0 forks source link

sct_flatten_sagittal changes the dynamic range of the image #83

Open evaalonsoortiz opened 3 months ago

evaalonsoortiz commented 3 months ago

@jcohenadad, at ISMRM you recommended we flatten the spinal cord into the sagittal plane (https://github.com/spinal-cord-7t/coil-qc-code/issues/65) for better visualization of B1+ and SNR maps. I've implemented this here: https://github.com/spinal-cord-7t/coil-qc-code/commit/e6ac4b386a33ded3614fb6ccff742dd97e1c7330

https://github.com/spinal-cord-7t/coil-qc-code/blob/e6ac4b386a33ded3614fb6ccff742dd97e1c7330/data_processing-human.ipynb#L806-L812

However, it appears that sct_flatten_sagittal changes the dynamic range of the image. Is this normal?

The below image shows the pixel values for reference:

Screen Shot 2024-06-26 at 10 55 17 AM
jcohenadad commented 3 months ago

it appears that sct_flatten_sagittal changes the dynamic range of the image. Is this normal?

Oops! not normal (I think). Issue opened https://github.com/spinalcordtoolbox/spinalcordtoolbox/issues/4548. Thank you for reporting it!