Find max value on images
6 views (last 30 days)
Show older comments
How to find the max value of those punch of images
0 Comments
Answers (1)
Image Analyst
on 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 Comments
Walter Roberson
on 21 Apr 2021
Classification by shape is a totally different topic. You asked that question in https://www.mathworks.com/matlabcentral/answers/808630-how-to-classify-images-depending-on-the-shape-of-each-image-s-object?s_tid=prof_contriblnk
Image Analyst
on 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.
See Also
Categories
Find more on Explore and Edit Images with Image Viewer App in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!