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!