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!