Cropping the image around the spinal cord…
Normalizing the intensity…
/home/sct/sct_4.2.1/spinalcordtoolbox/deepseg_lesion/core.py:49: RuntimeWarning: divide by zero encountered in double_scalars
m = (y2 - y1) / (x2 - x1)
/home/sct/sct_4.2.1/spinalcordtoolbox/deepseg_lesion/core.py:50: RuntimeWarning: invalid value encountered in double_scalars
b = y1 - (m * x1)
/home/sct/sct_4.2.1/spinalcordtoolbox/deepseg_lesion/core.py:56: RuntimeWarning: invalid value encountered in double_scalars
omega = m * mu90 - s2 + b
/home/sct/sct_4.2.1/spinalcordtoolbox/deepseg_lesion/core.py:57: RuntimeWarning: invalid value encountered in double_scalars
beta = omega * np.exp(-m * mu90 * 1.0 / omega)
load data…
hi,
what exactly is your question?
also, if you encountered some bugs, please output the syntax you wrote and full terminal output. If you can upload the data, even better
cheers
julien