how to find the pixel exact location
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
asthana
el 27 de Feb. de 2014
Comentada: mohd akmal masud
el 7 de Dic. de 2017
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
0 comentarios
Respuesta aceptada
Walter Roberson
el 27 de Feb. de 2014
[row, column] = find(YourBinaryImage == 1);
There are also mechanisms using regionprops()
1 comentario
mohd akmal masud
el 7 de Dic. de 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?
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!