Find max value on images

3 visualizaciones (últimos 30 días)
Mohamed Elbeialy
Mohamed Elbeialy el 20 de Abr. de 2021
Comentada: Image Analyst el 21 de Abr. de 2021
How to find the max value of those punch of images

Respuestas (1)

Image Analyst
Image Analyst el 20 de Abr. de 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 comentarios
Walter Roberson
Walter Roberson el 21 de Abr. de 2021
Image Analyst
Image Analyst el 21 de Abr. de 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.

Iniciar sesión para comentar.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by