MATLAB: How to denoise this cell image and generate connected regions

drosophilaimage noise reductionImage Processing Toolboximage segmentation

I am processing images of Drosophila embryos to achieve precise positioning of the nucleus in the embryo. But at present, I have a problem in generating accurate nuclei connectivity areas, and it is impossible to accurately tell the true nuclear fluorescence signal from noise.
Thanks in advance!

Best Answer

Threshold it and call imclose(). Untested code:
mask = grayImage > someValue;
se = strel('disk', 5, 0);
mask = imclose(mask, se);
mask = bwareaopen(mask, 4) % Get rid of blobs smaller than 4 pixels.
props = regionprops(mask, 'Centroid');
xy = vertcat(props.Centroid)