フィルターのクリア

Find the distance beween two two lines from different images?

3 ビュー (過去 30 日間)
Sobit Singh
Sobit Singh 2018 年 6 月 11 日
コメント済み: Sobit Singh 2018 年 6 月 11 日
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 件のコメント
Matt J
Matt J 2018 年 6 月 11 日
first line.jpg and second line.jpg look almost identical.
Sobit Singh
Sobit Singh 2018 年 6 月 11 日
Sir, The images were the earth coastline i think they should be nearly same

サインインしてコメントする。

採用された回答

Matt J
Matt J 2018 年 6 月 11 日
編集済み: Matt J 2018 年 6 月 11 日
Something like this, maybe
x=(1:size(firstline,2)).';
distance = double(secondline-firstline)*x;

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRead, Write, and Modify Image についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by