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)) ;
回答(1 个)
Walter Roberson
2017-11-23
1 个投票
You probably need to reinstall the Image Processing Toolbox
5 个评论
jahanzaib ahmad
2019-1-20
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
2019-1-21
Looks like you might need to download a Microsoft Runtime Library, https://www.microsoft.com/en-us/download/details.aspx?id=48145
Andrew Hill
2019-1-22
Worked for me. Thanks Walter!
aghil aghili
2019-6-24
Hey ? Thanks for your help That was also my problem Thank you
Karbala'a Unvi. Science
2019-8-22
Thank you for the help
there were the same error with me
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!