Filter löschen
Filter löschen

how to find the pixel exact location

3 Ansichten (letzte 30 Tage)
asthana
asthana am 27 Feb. 2014
hello, i have binary image and now i have to process where the image pixel value is one now how to find that and i want the exact location of that single pixel which have value 1?
pls answer me
thank you Vivek Asthana

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 27 Feb. 2014
[row, column] = find(YourBinaryImage == 1);
There are also mechanisms using regionprops()
  1 Kommentar
mohd akmal masud
mohd akmal masud am 7 Dez. 2017
Dear All,
if i want to know the location pixel for value 32676(gray scale image), so my code is
[row, column] = find(YourGrayscaleImage == 32676);
Is it correct?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by