Borrar filtros
Borrar filtros

circle cells which are not so circular

6 visualizaciones (últimos 30 días)
Lea Corbova
Lea Corbova el 26 de Abr. de 2019
Hi everyone!
I am actually working on my bachelor project. I can currently detect nuclei of leucocytes, but I would like to compare number of nuclei with number of cells. How can I detect the number of leukocytes?
I tried to find circles in images with function: various radii in grayscale image via Hough Transform and imfincircles but it did not help me, I could detect number of cells just on one image and on the others it was not accurate, even when I added automatic threshold as one of the parameters for detecting circles.
I attached sample of images which I am working with and result of finding nuclei with K-means function :
This last image is result of imfindcircles , but it was accurate filter just for this image, for others it detected one or more circles without detecting real cells.
I used:
vybrany= imread('C:\Users\Lea\Documents\Bakalarka\komprimovane\100\Screenshot_45.jpg');
imshow(vybrany), title('targetImage');
x=rgb2gray(vybrany)
imshow(x)
threshold =graythresh(x)
[centersBright,radiiBright,metricBright] = imfindcircles(x,[35 105], ...
'ObjectPolarity','dark','Sensitivity',0.96,'EdgeThreshold',(threshold./1.9));
viscircles(centersBright, radiiBright,'Color','b');

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by