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)) ;

Respuestas (1)

Walter Roberson
Walter Roberson el 23 de Nov. de 2017

1 voto

You probably need to reinstall the Image Processing Toolbox

5 comentarios

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 el 21 de En. de 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 el 22 de En. de 2019
Worked for me. Thanks Walter!
aghil aghili
aghil aghili el 24 de Jun. de 2019
Hey ? Thanks for your help That was also my problem Thank you
Karbala'a Unvi. Science
Karbala'a Unvi. Science el 22 de Ag. de 2019
Thank you for the help
there were the same error with me

Iniciar sesión para comentar.

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 23 de Nov. de 2017

Comentada:

el 22 de Ag. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by