Borrar filtros
Borrar filtros

Return coordinate of a first nonzero value pixel from a matrix of an image.

1 visualización (últimos 30 días)
Hai friends, I have a binary image. I want my function return coordinate of the first nonzero value pixel from a selected row. How can I achieve this ? Thankq..

Respuesta aceptada

Walter Roberson
Walter Roberson el 10 de Dic. de 2011
find(YourImage(TheRow,:),1)

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by