-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR : error using imPadMex #42
Comments
I got exactly same error here, is there any solutions? |
Me too... |
Hi, I don't know exactly about your errors, but it seems the same error we fixed with: This errors are related to a recent change in Matlab in the mex types (Matlab 2017?). In the P. Dollar code they are hardcoded to C++ types. In my fix I changed this types to Matlab C++ types, and then everything works. On the other hand, I don't know exactly if in your case it would be fixed with the Push Request, but I bet if not, the fix would be similar. |
I am not able to resolve this issue. If I just pull the code and try to run the mex commands, I get the following error:
If I change the types from const int to const size_t or const mwSize, then the mex code compiles successfully with some warnings. But then when I try to use the edgeBoxes(img, model, opts) function, I get the same error as mentioned in the issue.
If anyone found a solution to this then please share. I am not sure if this is a version compatibility issue, I am using a 64-bit Linux machine with Matlab2017b. |
I have the same error with Matlab2017b on 64-bit Linux machine. |
this error is caused by |
…ize. For more info look at: pdollar/toolbox@a0575fd and also look at pdollar/toolbox#42
Error using imPadMex
Requested 137438953888x512x7598263500303858035 (17179869184.0GB) array exceeds maximum array size
preference. Creation of arrays greater than this limit may take a long time and cause MATLAB to become
unresponsive. See array size limit or preference panel for more information.
Error in imPad (line 39)
J = imPadMex( I, pad, type );
Error in edgesDetect (line 52)
I = imPad(I,p,'symmetric');
Error in edgesDemo (line 25)
tic, E=edgesDetect(I,model); toc
The text was updated successfully, but these errors were encountered: