how to have only required pixels?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sir ,i have taken a rainy image and i use the clustering method .by using this i could able to have two types of clusters one is "background cluster" and another is "rain streak cluster". now i only want to have the rain streak clusters,so that i can go for my rest work.is there any " matlab code" for this situation or how can i do that? thanks in advance.
5 commentaires
Réponse acceptée
Image Analyst
le 30 Avr 2013
What does remove mean? So far, after your clustering algorithm, you have a binary image: 0 is background and 1 is rain. So someone might consider that binary image to already be the "background-removed" image. If you want just the rain pixels in a big long 1-D list, you could do this:
rainPixels = grayImage(binaryImage);
which might be useful, for example, if you wanted a histogram of only the rain pixels.
8 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Big Data Processing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!