matlab is getting slow when I am trying to read an image using imread() ?

조회 수: 12 (최근 30일)
lucky
lucky 2014년 10월 28일
댓글: yonatan gerufi 2014년 10월 28일
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:

답변 (1개)

yonatan gerufi
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
lucky
lucky 2014년 10월 28일
편집: lucky 2014년 10월 28일
Yes now I have added memory before and after clear all, and picture is also in the same folder as of the m file.But not much improvement I am attaching the m file.
yonatan gerufi
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".

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

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by