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
Walter Roberson 2017년 11월 23일

1 개 추천

You probably need to reinstall the Image Processing Toolbox

댓글 수: 5

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 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
Andrew Hill 2019년 1월 22일
Worked for me. Thanks Walter!
aghil aghili
aghil aghili 2019년 6월 24일
Hey ? Thanks for your help That was also my problem Thank you
Thank you for the help
there were the same error with me

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

질문:

2017년 11월 23일

댓글:

2019년 8월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by