Find the distance beween two two lines from different images?

2 次查看(过去 30 天)
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.

采纳的回答

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 CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by