Hello all,
here is my problem: I have to determine & separate particles, but sometimes I end up in the situation when the image is shifted from the initial background used for subtraction, thus resulting in something like on the image attached - after subtracting the background, thresholding and applying mask.
Tings to mention:
1 - the "line" is not straight;
2 - the particle touches "line" strongly, so that 4-connectivity does not help
3 - IMAQ Separation didn't work as well.
4 - it is binary, threshoded to the maximal possible not destroying the particle
5 - Erosion 2 even 3 does not work here, higher is not possible - it might destroy the other small particles to be detected
Any ideas hot to programmatically cut the particle from the line and remove the line afterwards?
Many thanks in advance!
Ilya