Coordinates of the brightest point of the first line
2 次查看(过去 30 天)
显示 更早的评论
Hello, how can I know the coordinates of the brightest point of the first line of my image?
Can someone help me with this algorithm?
Thank you,
Thiago Tenório
0 个评论
采纳的回答
Walter Roberson
2012-12-27
编辑:Walter Roberson
2012-12-27
[minval, minidx] = max(YourImage(:,1));
or
[minval, minidx] = max(YourImage(1,:));
Oh wait -- is this an RGB image or grayscale? If it is RGB then how do you want to define "brightest" ?
6 个评论
Image Analyst
2012-12-28
I think a histogram would be a better method for determining the gray level between the foreground and the background.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Acquisition Using Kinect for Windows Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!