Find max value on images

11 Ansichten (letzte 30 Tage)
Mohamed Elbeialy
Mohamed Elbeialy am 20 Apr. 2021
Kommentiert: Image Analyst am 21 Apr. 2021
How to find the max value of those punch of images

Antworten (1)

Image Analyst
Image Analyst am 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 Kommentare
Walter Roberson
Walter Roberson am 21 Apr. 2021
Image Analyst
Image Analyst am 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by