Effacer les filtres
Effacer les filtres

Identifying and isolating brighter parts in an image

8 vues (au cours des 30 derniers jours)
Ritird
Ritird le 31 Jan 2017
Commenté : Image Analyst le 31 Jan 2017
Hi everyone,
I need to identify and isolate the brighter parts in the attached image. My problem is that I have to do this operation on a large amount of images, similar to this one, but with different intesities of the brighter parts and of the background. Therefore I wanted to find a way to automate the process, but if I calculate the value of thresholding with graythresh and then use im2bw with it I get too many white parts. I should use a costumed value of thresholding, but that varies depending on the image and I cannot automate the process... Any idea?
Rita
  1 commentaire
Andres Fonts
Andres Fonts le 31 Jan 2017
Modifié(e) : Andres Fonts le 31 Jan 2017
Hi Ritird, I did some image processing in the past, and I remember to find similar problems.
Have you tried to use edge-detection filters? It may help you. For instance, first you apply an edge detection filter to the image, and then you find the threshold. You may need to play with the threshold and also with the kind of filter (roberts, sobel, kirsh...).
Sorry if this cannot help you!

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 31 Jan 2017
I don't know what identify and isolate means to you. Please clarify. Perhaps it means that you simple threshold and get a binary image. Perhaps you want the centroids. Perhaps you want to crop each blob out into a new, smaller image. I don't know so please tell us.
You might be interested in my Image Processing Tutorial, or my interactive thresholding app in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  2 commentaires
Ritird
Ritird le 31 Jan 2017
By identifying and isolating the brighter parts I meant thresholding and getting a binary image where the brighter parts are white and everything else is black.
Image Analyst
Image Analyst le 31 Jan 2017
Then threshold:
binaryImage = grayScaleImage > someThreshold;

Connectez-vous pour commenter.

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by