フィルターのクリア

Coordinates of the brightest point of the first line

2 ビュー (過去 30 日間)
Thiago Tenorio
Thiago Tenorio 2012 年 12 月 27 日
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

採用された回答

Walter Roberson
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
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.
Walter Roberson
Walter Roberson 2012 年 12 月 28 日
greythresh() might be suitable.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by