Borrar filtros
Borrar filtros

Find the distance beween two two lines from different images?

3 visualizaciones (últimos 30 días)
I want to find the distance between the line for same rows . So far i have trying to add the two images and distance is the number of black pixels between two white pixels from same row.
  2 comentarios
Matt J
Matt J el 11 de Jun. de 2018
first line.jpg and second line.jpg look almost identical.
Sobit Singh
Sobit Singh el 11 de Jun. de 2018
Sir, The images were the earth coastline i think they should be nearly same

Iniciar sesión para comentar.

Respuesta aceptada

Matt J
Matt J el 11 de Jun. de 2018
Editada: Matt J el 11 de Jun. de 2018
Something like this, maybe
x=(1:size(firstline,2)).';
distance = double(secondline-firstline)*x;

Más respuestas (0)

Categorías

Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by