how to speed up imfindcircles

Hi,
i have a bunch of pictures taken with a microscope. I am analysing the size distribution of bubbles. imfindcircles works find, but it is slow. I already split the size ranges up according to the rules in the documentation. Still it takes several minutes for one image.
Are there any ways to speed it up ? Eg. Tresholding, reduction of resolution. I dont have the paralell computing toolbox.
Thank you.
Moritz

回答 (1 件)

Spandan Tiwari
Spandan Tiwari 2013 年 3 月 20 日

2 投票

Two ways to get IMFINDCIRCLES run faster in your code are:
1) Sending in the image at a lower resolution.
2) Use smaller radius range, if possible.

2 件のコメント

Ted Shultz
Ted Shultz 2020 年 6 月 29 日
and 3) crop to around circle if possible. If you know the approx range of the r, you can have a user click on the circle, and crop to just an area around that to be searched. I was able to greatly inclrease the speed by doing that.
Andres Elzaurdia
Andres Elzaurdia 2020 年 7 月 2 日
Ted Shultz , do you possibly have some example code for the cropping method?
Thank you!

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

カテゴリ

ヘルプ センター および File ExchangeRead, Write, and Modify Image についてさらに検索

質問済み:

2012 年 11 月 9 日

コメント済み:

2020 年 7 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by