How to find the position of the maximum values in an image?
2 次查看(过去 30 天)
显示 更早的评论
we find the max value of an image by max function but i does not know how to find the position of maximum value.
0 个评论
采纳的回答
Pierre Benoit
2014-9-12
编辑:Pierre Benoit
2014-9-12
[max_value max_idx] = max(A);
The position is in the second argument, max_idx
doc max
Edit : Also, regarding your previous question : http://www.mathworks.com/matlabcentral/answers/154462-how-to-find-the-maximum-value-of-an-image-by-using-buit-in-function-in-matlab
You should try learning the basics of Matlab with this link , it will be easier than to ask every time you get stuck by something which is written in the documentation .
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!