How can I detect 0.5 percent brightest pixels in an image?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have a grayscale image.I need to find the 0.5 percent brightest pixels in that image. But my image contain differet object. I want to find the 0.5 percent brightest pixels in an for each object.
Could you help me ?
2 Commenti
Adam
il 25 Feb 2019
brightnessVal = prctile( img, 99.5 );
brightestPixels = img >= brightnessVal;
should give you a mask of the brightest pixels in a given greyscale image. How you take your original image and define objects from it to create individual img arguments for this is an entirely different question to the one in the title though and plenty more complicated.
Risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!