How to detect rectangular lines in image

Hi,
I have a tiny rectangular component (I have attached the image) and I would like to find his contour for find out his misalignment. I tried use edge detection but the results I got were not good enough, I am interested in maintaining the outer contours of the rectangle and not altering them during the detection process. Please help me.
Thanks, Itai

回答 (0 件)

質問済み:

2017 年 4 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by