Find max value on images

3 visualizzazioni (ultimi 30 giorni)
Mohamed Elbeialy
Mohamed Elbeialy il 20 Apr 2021
Commentato: Image Analyst il 21 Apr 2021
How to find the max value of those punch of images

Risposte (1)

Image Analyst
Image Analyst il 20 Apr 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 Commenti
Image Analyst
Image Analyst il 21 Apr 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.

Accedi per commentare.

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by