LupoLab-UCSF / Arterial_segmentation_thickness

MIT License
0 stars 0 forks source link

Running error #1

Open haibinswe opened 2 years ago

haibinswe commented 2 years ago

Hello, I tried to use this great method to segment brain vessels from TOF MRA images, but no matter how I adjust the parameters, the program does not run properly, and I am prompted with the following error:

Processing.. Error using graydiffweight>parse_inputs (line 205)
MASK must have at least one element set to logical true.

Error in graydiffweight (line 121)
[I, refGrayVal, rolloffFactor, grayDiffCutoff] = parse_inputs(varargin{:});

Error in filter_threshold

Error in AdaptiveFrangi_pipeline3

Error in Call_AdaptiveFrangi (line 38)
    [Auto, ~] = AdaptiveFrangi_pipeline3(img, type, alpha, erode_size);

Can you help me to solve this problem?

wright-adam commented 1 year ago

I tried to run the code with a TOF MRA image as well and ended up with the same error.