필터 지우기
필터 지우기

imread very slow to get image from URL

조회 수: 1 (최근 30일)
Alexander
Alexander 2013년 6월 7일
댓글: sky nku 2014년 4월 28일
I am trying to retrieve an image from an external camera connected via ethernet. The image is a bmp at a given URL (<http://xxx.xxx.xx.xx.filename.bmp>)
However, the command
imread('http://xxx.xxx.xx.xx.filename.bmp','bmp');
can take up to 15s to run, which is bizarre as it loads in the browser instantly.
I have traced the delay to the code segment
proxy = com.mathworks.webproxy.WebproxyFactory.findProxyForURL(url);
in the urlreadwrite>getUrlConnection function. Why does this take so long to run, and is there any way to speed it up?
Thanks
  댓글 수: 1
sky nku
sky nku 2014년 4월 28일
hi~ have you solved the problem? I encountered the same one and I am confused...

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

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by