Find max value on images
6 ビュー (過去 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.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!