Counting silk worm eggs or fish eggs

10 views (last 30 days)
javadhi srinuvas
javadhi srinuvas on 15 Dec 2020
Commented: Image Analyst on 12 May 2023
Hi,
I am working on counting the no of eggs laid by silkworm or fish eggs.
I am doing that with image segmantaion technique with all the filters and noise removal but i am not getting best accurate output. I have to make sure that syatem takes inly eggs in to consideration but not the background letters and distrbances.
Can anyone please help in this ? Do you have any good techniques to solve this issue?
The sample pic is attached
  4 Comments
Mangala Nageshwari
Mangala Nageshwari on 17 Sep 2021
Edited: Image Analyst on 18 Sep 2021
Can any one please share me source code for this counting fish eggs to my gmail mangalanagendramma@gmail.com?
Image Analyst
Image Analyst on 18 Sep 2021
@Mangala Nageshwari, please start your own question and upload your own photo. Place your eggs on a contrasting background, like black velvet, or a vividly colored paper. We'll put it in Answers so everyone can benefit from it.

Sign in to comment.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 17 Dec 2020
Edited: KALYAN ACHARJYA on 17 Dec 2020
You can try several approaches to see how much accuracy can be stated only after the results.
One Way:
hsv_im=rgb2hsv(im_data);
threshold=.... % around 0.58 to 6
worm_im=hsv_im(:,:,3)>threshold;
Nest steps Morpho operation,
  • Remove the largest opject (Outer Boundary)
  • Remove all tiny pixels
  • Apply Morpho imerode function (To disconnect the connected worm)
  • Be care ful on previous steps, it might be remove smaller worm pixel data
  • Counts the total object in the image
Note:The accuracy can be stated only after the results.
:)
  4 Comments
Vívian Helena
Vívian Helena on 12 May 2023
I know almost nothing of matlab, but recently on my lab we've been counting fish eggs. Can u help me with a code for that? I'll need some detail since I dont know much of the language. thanks in advance in case ur able to help
Image Analyst
Image Analyst on 12 May 2023
@Vívian Helena Sure, we could try to help. Start your own new question after doing the links below.
To learn fundamental concepts, invest 2 hours of your time here:
It's a generic, general purpose demo of how to threshold an image to find blobs, and then measure things about the blobs, and extract certain blobs based on their areas or diameters.

Sign in to comment.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!