ccoolbaugh / FloWave.US

Matlab Program for Automated Ultrasound Blood Flow Analysis
MIT License
33 stars 18 forks source link

Problem with BMode for diameter calculation #19

Open FranciscoSotoCl opened 2 years ago

FranciscoSotoCl commented 2 years ago

Describe the bug In the last step of the diameter calculation, an error appears after correctly calculating the points of the blood vessel. I have followed exactly the same instructions from the Wiki. The errors that appear are

Advancing to Automated Diameter 'imfilter' requires Image Processing Toolbox. Error in imgaussian (line 41) I=imfilter(imfilter(I,Hx, 'same' ,'replicate'),Hy, 'same' ,'replicate'); Error in AutoDiameter (line 23) IFilt = imgaussian(I,1); Error in BMode (line 104) DiameterPixel(k,1) = AutoDiameter(DiameterImage,Center',theta(1)); Unable to resolve the name DemoBMode.mov.

To Reproduce Steps to reproduce the behavior:

Type the video filename and extension (e.g. USVideo.avi): DemoBMode.mov DemoBMode.mov

Use the cursor to select the scale range (lower & upper extremes).

Select the scale extremes (e.g. 0 cm/s and 80 cm/s) Enter the scale conversion factor (e.g. 10 cm/s = 10): 2

Do you need to repeat the calibration (Y/N)? n

Were Vessel Points Selected Correctly? (Y/N)y

Advancing to Automated Diameter (here beginning error....) 'imfilter' requires Image Processing Toolbox. Error in imgaussian (line 41) I=imfilter(imfilter(I,Hx, 'same' ,'replicate'),Hy, 'same' ,'replicate'); Error in AutoDiameter (line 23) IFilt = imgaussian(I,1); Error in BMode (line 104) DiameterPixel(k,1) = AutoDiameter(DiameterImage,Center',theta(1)); Unable to resolve the name DemoBMode.mov.

Expected behavior I hope to measure arterial diameters with BMode

Screenshots reporte de error bmode

Desktop (please complete the following information):

dstanfo commented 2 years ago

For this, you should be able to fix this by going back to your MATLAB installer and selecting the additional toolboxes that you need. Screen shots are added below. When you select them it only updates your current MATLAB. You'll need to close MATLAB prior to doing this and when you open it after installing it should work!

WIKI FloWave 2 WIKI FloWave