Hey, I have a rather noisy image with stained nuclei of cells. I want to detect single nuclei and then recognize their center. I'm quite new to image processing, I've read through a bunch of cell detection posts. The one I found especially useful: http://blogs.mathworks.com/steve/2006/06/02/cell-segmentation/ I completely understand what he does and my code is pretty much the same so far, besides that I adjusted parameters:
clear; close all;
I = imread('Captured DAPI 20x 1.jpg'); figure, imshow(I),title('I')
L = watershed(I_mod); figure, imshow(label2rgb(L))
figure, imshow(I_eq), hold on himage = imshow(label2rgb(L)); set(himage, 'AlphaData', 0.3); title('Lrgb superimposed transparently on original image')
Especially important is the mask line: mask_em = imextendedmax(I_eq, 15);
The Problem I have is if I lower the second parameter too much, I'll get a lots of point that I don't want and are mostly due to noise. But with the current setting it doesn't find a maxima region in every cell. Does anybody have a good idea how to improve the mask for the watershed so I'll detect all my cells individually?