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!