Find max value on images

3 vues (au cours des 30 derniers jours)
Mohamed Elbeialy
Mohamed Elbeialy le 20 Avr 2021
Commenté : Image Analyst le 21 Avr 2021
How to find the max value of those punch of images

Réponses (1)

Image Analyst
Image Analyst le 20 Avr 2021
What is a "punch" of images? And what is your definition of brightest for a color image? Do you just want to convert to gray scale and find the brightest? Something like (untested)
grayImage = rgb2gray(rgbImage);
maxValue = max(grayImage(:))
maxMap = grayImage == maxValue;
rgb2 = imoverlay(grayImage, maxMap);
imshow(rgb2);
  11 commentaires
Walter Roberson
Walter Roberson le 21 Avr 2021
Image Analyst
Image Analyst le 21 Avr 2021
@Mohamed Elbeialy, I'll take a look at that when/if I get time. But did this answer solve this problem? If so, please accept it.

Connectez-vous pour commenter.

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by