I am using regionprops function to estimate the length of some lines in a binary images. There is no issue with the function when these liones do not intersect. However, when there are some interescting lines like in the shape of "X, +, V" the result is a bit weird. How can I overcome this problem?

# MATLAB: MajorAxisLength of two intersecting lines using regionprops

majoraxislength of two intersecting lines using regionprops

## Best Answer