Mushroom detection in a photo

조회 수: 2 (최근 30일)
João Martins
João Martins 2016년 3월 29일
댓글: Walter Roberson 2016년 3월 29일

Hi, I'm a complete beginner in MATLAB and I'm trying to detect the mushrooms in this photos so I can measure them, etc.

I have tried several algorithms like Hough Circle and detecting and identifying round objects but no luck...

Could someone give me some help please?

  댓글 수: 1
Walter Roberson
Walter Roberson 2016년 3월 29일
There are clearly Mycelium in the picture, and those effectively have no individual identity and so cannot be counted. You have not really distinguished between those and other commonly identified parts of mushrooms. As you refer to "round", it sounds like you might be wanting to measure the fruiting bodies, which is indeed one of the meanings for "mushroom". Due to the multiple meanings, one could meaningfully but confusingly say "I am interested in the mushroom part of the mushrooms".
Anyhow, please be more specific about what you need to detect.
A lot of the fruiting bodies in the picture are rather small and tucked away and counting them would be difficult.

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

답변 (2개)

Matthew Eicholtz
Matthew Eicholtz 2016년 3월 29일
When you say you have tried Hough circles, do you mean imfindcircles?
If not, try using that and tweak the input parameters (you may need to increase Sensitivity and decrease EdgeThreshold). You will probably need to call the function multiple times with varying radius ranges to span the set of mushroom sizes in your image.
With that being said, if the Hough transform approach does not work well, it is probably because your image does not have strong edges. An alternative approach that may be worth trying is Laplacian-of-Gaussian (LoG) filters.
h = fspecial('log',hsize,sigma);
J = imfilter(I,h,'replicate','conv');
where I is your image, J is your response map, and (hsize,sigma) are the filter parameters. Detecting circular blobs amounts to finding peaks in the response map.
Here is an online tutorial that may be helpful: Blob Detection by Scale-Space Filtering

Image Analyst
Image Analyst 2016년 3월 29일

카테고리

Help CenterFile Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by