Find max value on images
3 次查看(过去 30 天)
显示 更早的评论
How to find the max value of those punch of images
0 个评论
回答(1 个)
Image Analyst
2021-4-20
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 个评论
Walter Roberson
2021-4-21
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
2021-4-21
@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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 3-D Volumetric Image Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!