Coordinates of the brightest point of the first line
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Walter Roberson
il 27 Dic 2012
Modificato: Walter Roberson
il 27 Dic 2012
[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 Commenti
Image Analyst
il 28 Dic 2012
I think a histogram would be a better method for determining the gray level between the foreground and the background.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Acquisition Using Kinect for Windows Hardware in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!