How to apply region growing for candidates?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Krishna Chaitanya
le 6 Jan 2020
Commenté : Krishna Chaitanya
le 8 Jan 2020
I have been working on the diabetic retinopathy and currently implementing a paper named " Detection of microaneurysms using multi-scale correlation coefficients " by Bob Zhang and others.The link for the paper is :https://www.sciencedirect.com/science/article/abs/pii/S003132031000004X
I have to apply region growing for the candidates(the white spots present in the above image) so that the output should look like the below image where the candidates shape and size are grown by region growing.
In the paper, It is mentioned that In the region growing, the background image Ibg can be obtained by applying a median filter of size 25x25 to green channel image Igreen. A threshold 't' is calculated using the equation
t = Idarkest - 0.5(Idarkest - ibg)
where Idarkest denotes the lowest intensity for each candidate region in the Igreen, ibg is its background intensity at the same location.
Region growing starts from the point of Idarkest in each candidate region and continues until no more connected pixels are higher than threshold. Considering the size of MA is less than 120 pixels if the area of every resultant connected component is larger than 120 pixels, it will be discarded.
Can somebody help me with this?
I have attached the green channel image Igreen as 'green_sample.jpg'.
3 commentaires
KALYAN ACHARJYA
le 6 Jan 2020
Have you applied the region growing on the first image (Binary Image)?? Why?
Réponse acceptée
Image Analyst
le 6 Jan 2020
See my attached regiongrowing program. Adapt as needed.
5 commentaires
Rik
le 8 Jan 2020
There are probably more efficient methods, but you could do it like this:
- use bwlabel to label all white regions
- use second output to loop through all labeled areas
- in each iteration, use L==k as a binary mask to index into your image and use mean, min, median, max, whatever to find the pixel intensity you need.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Image Processing Toolbox 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!