im2bw, then take the logical not of the bw image. regionprops asking for the Orientation property.
In theory you should also be able to use hough() transform. However, I do not know how to interpret the output of hough()
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!