I am hoping someone will be able to help me. I have quite a simple picture:
And I am wanting to segment out the larvae to get some data regarding their morphology, colour, size etc.
I have a pipe line that currently consists of:
ColorToGray - convert the image to gray scale
ImageMath - Invert the image so the larvae are bright and the background dull
IdentifyPrimaryObjects - to segment out the larvae.
Now this is where it falls down - the IdentifyPrimaryObjects doesn’t seem to pull out any of the larvae regardless of the settings I use even know the larvae are clearly easily identifiable.
This is the output I see if I use Global Threshold strategy and Otsu threshold method:
The interesting part is if I ask it to filter the objects by size it perfectly identifies the larvae not issue. So why are they not being found as accepted objects.
My hunch is it is because of the broken outline around the larvae and it is causing it not to be accepted, but I can not seem to change this and I have tried every setting there is.
Any help would be greatly appreciated.