Open meyerzinn opened 5 years ago
I ran the model against the MEDI sample data and got good results, so I presume the window
is referring to how 99.99% of the values are within [-250, 250] for MEDI. This does not generalize across datasets (especially if using another program for reconstruction), so I'm experimenting with using a zscore-thresholding mechanism to remove outliers.
I am trying to use your model to segment a QSM and I have a few questions:
chi_cosmos
from the 2016 QSM Challenge data (intensities in the range [-0.264, 0.39]). I tracked down the source of the problem to the scale function, which seems to map every number to either 127 or 128 (because adding 250 to n<1 and then dividing by 500 yields 0.5 plus or minus n/500), but the comment implies it should be mapping uniformly to 0-255 (or 256?).What is
scale
supposed to do, and what doeswindow
represent? I tried changing the function to do a true linear mapping:which normalizes the data to the range [0, 255]. That gave me at least some output (which looks half-decent).
Thank you for making your work public.