フィルターのクリア

Out of memory error

2 ビュー (過去 30 日間)
bes
bes 2012 年 7 月 6 日
when i try to detect edge array from a 5184*3456 resolution image it gives error message. "out of memory". My RAM is 16GB. OS windows 7. matlab version 2011b. i need to detect the edges (using phase congruency edge detection method) from this image and need to save the endpoints of edges, length of the edges and the orientation of the edges in an array. How can i resolve out of memory problem.
Note: if i reduced the image size by 1/4 it works fine. it gives error message when dealing with original image.
  3 件のコメント
Walter Roberson
Walter Roberson 2012 年 7 月 8 日
It would likely be easier to comment if you showed your code and showed exactly which step was producing the error.
Are you using the 32 bit version of MATLAB or the 64 bit version?
bes
bes 2012 年 7 月 18 日
64 bit version

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

採用された回答

the cyclist
the cyclist 2012 年 7 月 8 日
Here's a starting point for understanding memory use in MATLAB:

その他の回答 (1 件)

Jan
Jan 2012 年 7 月 18 日
An RGB image of the size 5184*3456 need only 430MB RAM. Although this memory must be free in a contiguous block, this should be the case if you have 16GB RAM. Therefore I assume you have wasted memory anywhere else. Without seeing the code it is impossible to give any suggestions.

Community Treasure Hunt

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

Start Hunting!

Translated by