Applying Individual Thresholds to Objects Within the Same Image

6 vues (au cours des 30 derniers jours)
Francisco
Francisco le 22 Oct 2013
Commenté : Image Analyst le 23 Oct 2013
I'm analyzing images of cellular nuclei and I am trying to figure a way to remove pixels under a certain intensity within this image. But instead of setting one threshold for the entire image that applies to all the nuclei,I would like to apply my own threshold for each individual nucleus within the same image. Does anybody have an idea to tackle this problem? I attached an example of an image that I am working with.

Réponses (3)

Image Analyst
Image Analyst le 22 Oct 2013
There is no image attached. What do you mean by "remove", knowing that an image must remain rectangular and you can't have any "missing" pixels which would cause some rows or columns to have a different number of pixels. Do you mean crop out to extract those dark regions to small, separate mini-images?

Francisco
Francisco le 22 Oct 2013

Francisco
Francisco le 22 Oct 2013
I apologize about the picture it is now attached. When I set a range of pixels that I want to display based on my cutoff I use
imshow(image, [low value, high value]).
I'm assuming with this command only pixels above the low threshold - infinity are displayed. I have also attached a picture of the frequency distribution of all pixel intensity of one nucleus. The line represents the cutoff that is calculated for the object, and pixels to the right of the line is what I want to keep (note: for the graph the x axis is the pixel intensity value and the y axis is the count at the x value for that point). I know there are better ways to do this but what I currently do is crop each individual nucleus from the entire image and calculate the threshold. I would then like to apply the threshold determined for each individual nuclei to the picture which contains all of the nuclei.

Community Treasure Hunt

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

Start Hunting!

Translated by