フィルターのクリア

What does this matlab error mean

1 回表示 (過去 30 日間)
med-sweng
med-sweng 2013 年 2 月 27 日
I was trying to run a program in `matlab` where I have used `imdilate`, but got the following error which I actually didn't understand:
visible ?? Error using ==> morphmex Out of memory. Type HELP MEMORY for your options.
Error in ==> morphop at 69
B = morphmex(mex_method, B, double(getnhood(se(k))), getheight(se(k)), unpacked_M);
Error in ==> imdilate at 121
B = morphop(A,se,'dilate',mfilename,varargin{:});
What is the cause of such error? How can I go around it?
Thanks.
  1 件のコメント
Jan
Jan 2013 年 2 月 27 日
How large are the input data?

サインインしてコメントする。

回答 (2 件)

Cédric Devivier
Cédric Devivier 2013 年 2 月 27 日
Hi,
The matrix you are trying to build is too large. If you are using a 32 bits version of MATLAB, you can install a 64 bits one on a 64 bits OS and it should solve it. Another solution is to increase your RAM.
Regards, Cédric

Image Analyst
Image Analyst 2013 年 2 月 27 日
You don't show the actual call to imdilate. Show your code where you call imdilate. Copy and paste all the red text that you see. Don't omit any code, and don't paraphrase. Just copy and paste. ANd also do "whos" on the variable you're passing into imdilate() so we can see the size of it. It's not a color image is it? Are you sure?

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by