Counting cells in image
35 views (last 30 days)
BY so far i have a image and i have been able to apply filter on it and sees the cells clearly but what iam stuck is that what should i do after that when i convert to binary and apply the simple algo for counting the white regions doesnt work, since the gray part is there and have strel isnt even working with the disk option clearly i have tried every artifact removal algorithm but nothing is working here, help will be appreciated since i have to count to number of cell in the picture. I have attached the file 1.jpg if original and till 4.jpg i can view them clearly with artifacts and gray ghosts........
K = imadjust(k,[0.48 0.7],[0 1]);
K = filter2(fspecial('average',3),K)/255;
K = wiener2(K,[5 5]);
K = medfilt2(K);
% background = imopen(K,strel('disk',8)); % K=K-background; % figure % imshow(k) %end % <<