how to split a gray image into dark, middle and bright pixels
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Elysi Cochin
il 14 Lug 2014
Modificato: Elysi Cochin
il 15 Lug 2014
how to split a gray image into dark, middle and bright pixels
0 Commenti
Risposta accettata
Image Analyst
il 14 Lug 2014
You would have to know the algorithm they're using because there are quite a few gray levels that seem to be in all three classes. I think there is quite a bit of overlap in what they call dark, middle, and bright.
2 Commenti
Image Analyst
il 14 Lug 2014
Simple method is thresholding
darkPixels = grayImage(grayImage < 100));
middlePixels = grayImage((grayImage >= 100) & (grayImage <= 200));
brightPixels = grayImage(grayImage > 200));
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!