Acquisition and preprocessing image.

조회 수: 8 (최근 30일)
AConsBogla
AConsBogla 2017년 11월 23일
답변: Walter Roberson 2017년 11월 23일
I have a image with a black line.
I want to preprocessing the image, to be able to get direction of the black line. How can i do that and what steps i need to follow?
Thanks

채택된 답변

Walter Roberson
Walter Roberson 2017년 11월 23일
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()

추가 답변 (0개)

제품

Community Treasure Hunt

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

Start Hunting!

Translated by