matlab is getting slow when I am trying to read an image using imread() ?
7 次查看(过去 30 天)
显示 更早的评论
I am working on image processing based attendance system, but when I am trying to read an image it takes very much time around 1 mints. Can you tell me how to speed up the time without degrading the very property of the image. The image detail is as follows:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145877/image.jpeg)
0 个评论
回答(1 个)
yonatan gerufi
2014-10-28
use
memory
before and after doing:
clear all.
and see the difference.
that's suppose to accelerate your speed.
what PC do you use? 18MP picture is quite large.
is you picture is on a server? move it to your PC.
2 个评论
yonatan gerufi
2014-10-28
you misunderstood me,
"memory" is for your own check, don't put it in the code. just see how much free memory you have.
and you didn't do
"clear all".
"clear all" clears a lot more properties then just "clear".
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!