Error using images.internal.morphmex

Error using images.internal.morphmex
Invalid MEX-file 'F:\MATLAB\R2017b\toolbox\images\images\+images\+internal\morphmex.mexw64': The
specified module could not be found.
.
Error in images.internal.morphop (line 101)
B = images.internal.morphmex(ocvMethod, B, logical(nhood), zeros(size(nhood)), unpacked_M);
Error in imerode (line 132)
B = images.internal.morphop(A,se,'erode',mfilename,varargin{:});
Error in imclearborder (line 85)
im2 = imerode(im2,conn);
Error in check_trachea (line 22)
Ib2=imclearborder(Ib1);
Error in lung_extraction (line 13)
[Im_lung,Img_s_lung, closeBW_new,s_max_1_snake,s_max_2_snake,trachea_area]=
check_trachea(phi1,Im_double,psi);
Error in second_to_read_dicom_file (line 27)
[Im_lung{i},Img_s_lung{i},
closeBW_new{i},s_max_1_snake,s_max_2_snake,trachea_area,epsilon,delt,mu,alf]= lung_extraction(
images{i},PS(1)) ;

Réponses (1)

Walter Roberson
Walter Roberson le 23 Nov 2017

1 vote

You probably need to reinstall the Image Processing Toolbox

5 commentaires

i m getting the the same error ...i have reinstalled matlab ..still getting this error on laptop .
Error using images.internal.morphmex
Invalid MEX-file 'C:\Program Files\MATLAB\R2018b\toolbox\images\images\+images\+internal\morphmex.mexw64': Missing dependent shared libraries:
'CONCRT140.dll' required by 'C:\Program Files\MATLAB\R2018b/bin/win64\opencv_core340.dll->C:\Program
Files\MATLAB\R2018b/bin/win64\libmwmorphop_ocv.dll->C:\Program Files\MATLAB\R2018b\toolbox\images\images\+images\+internal\morphmex.mexw64'.
Error in images.internal.morphop (line 101)
B = images.internal.morphmex(ocvMethod, B, logical(nhood), zeros(size(nhood)), unpacked_M);
Error in imerode (line 87)
B = images.internal.morphop(A,se,'erode',mfilename,varargin{:});
Error in imclearborder (line 85)
im2 = imerode(im2,conn);
Error in IMAGEPROCEESING1 (line 8)
BW = imclearborder(BW2);
Walter Roberson
Walter Roberson le 21 Jan 2019
Looks like you might need to download a Microsoft Runtime Library, https://www.microsoft.com/en-us/download/details.aspx?id=48145
Andrew Hill
Andrew Hill le 22 Jan 2019
Worked for me. Thanks Walter!
aghil aghili
aghil aghili le 24 Juin 2019
Hey ? Thanks for your help That was also my problem Thank you
Karbala'a Unvi. Science
Karbala'a Unvi. Science le 22 Août 2019
Thank you for the help
there were the same error with me

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by