Splitting the image matrix into two matrix based on a condition

1 次查看(过去 30 天)
I have two parallel lines from edge detection. Now I want to measure the distance between each upper pixel of the above line and the lower pixel of the below line. So is there anyway I can do this. My plan was to create a new matrix for the above line and the below line and then find the difference between these two lines. It would be really helpful if someone can help me with the code. As I'm new to MATLAB.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

产品


版本

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by