Effacer les filtres
Effacer les filtres

Find the distance beween two two lines from different images?

3 vues (au cours des 30 derniers jours)
Sobit Singh
Sobit Singh le 11 Juin 2018
Commenté : Sobit Singh le 11 Juin 2018
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 commentaires
Matt J
Matt J le 11 Juin 2018
first line.jpg and second line.jpg look almost identical.
Sobit Singh
Sobit Singh le 11 Juin 2018
Sir, The images were the earth coastline i think they should be nearly same

Connectez-vous pour commenter.

Réponse acceptée

Matt J
Matt J le 11 Juin 2018
Modifié(e) : Matt J le 11 Juin 2018
Something like this, maybe
x=(1:size(firstline,2)).';
distance = double(secondline-firstline)*x;

Plus de réponses (0)

Catégories

En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by