scan a binary image

I need to scan the binary image according as:
row range from row m to the height of the image, column range of (n − 30) to (n + 30), get the point with the least white pixels, and denoted by q(x, y), get region of (x − 30, x + 30), (y − 30, y + 30) as region of interest

7 comentarios

KSSV
KSSV el 7 de Mzo. de 2019
Okay.....go ahead..what is the problem?
rahul unnikrishnan
rahul unnikrishnan el 7 de Mzo. de 2019
Please provide the matlab code
KSSV
KSSV el 7 de Mzo. de 2019
if you have given x and y..you can pick the indices:
idx = (x-30):(x+30) ;
rahul unnikrishnan
rahul unnikrishnan el 7 de Mzo. de 2019
Editada: rahul unnikrishnan el 7 de Mzo. de 2019
How can we get the point with the least white pixels
Rik
Rik el 7 de Mzo. de 2019
You could find the region with the least number of true positions with a convolution.
rahul unnikrishnan
rahul unnikrishnan el 7 de Mzo. de 2019
Please provide the Matlab code
Rik
Rik el 7 de Mzo. de 2019
Do you realize how rude you sound? You didn't show any indication that you put in any effort. If you want a turn key solution, you should hire a consultant. If you want help, you can stay on this forum.
Have a read here (or here for more general advice). It will greatly improve your chances of getting an answer.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 7 de Mzo. de 2019

Comentada:

Rik
el 7 de Mzo. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by