How to find the maximum(single) value in an image
이전 댓글 표시
I wish to eliminate the pixels of and around the maximum pixel value of the image. How do i go about it? Please help.
답변 (2개)
Andreas Goser
2012년 2월 16일
0 개 추천
First you identify the maximum value. Use the MAX command.
Then it depends what "eliminating" means, as you can't have a matrix whith holes it it :-) You may want to set those pixel values to e.g. zero.
Image Analyst
2012년 2월 16일
"Of and around" the max - well that's the whole image. So just do
imageArray = zeros(size(imageArray));
카테고리
도움말 센터 및 File Exchange에서 Image Category Classification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!