Corner detection in freehand drawings

조회 수: 2 (최근 30일)
Gee
Gee 2019년 6월 12일
답변: yin shan 2020년 11월 17일
I currently have a dataset of x and y coordinates of shapes drawn by users on a graphics tablet.
The users are asked to copy an image by drawing it on the screen. The object they're required to copy is a collection of shapes (straight lines, squares, rectangles, triangles and circles). At the moment, I'm trying to determine the best approach to identifying individual shapes and thought that detecting lines and "snapping" them to a perfectly straight line would be a good approach and then identify corners in these shapes to determine what shapes are drawn. Is there an optimal way to detect corners and possibly snap a "wonky/wobbly" line in a matrix of x and y coordinates? Certainly not requesting someone provide the code, but more some helpful guidance as to different possible approaches and methodologies?
Thank you in advance!

답변 (3개)

Himanshu Rai
Himanshu Rai 2019년 6월 17일

Image Analyst
Image Analyst 2019년 6월 17일
Count the vertices. See my attached demo.

yin shan
yin shan 2020년 11월 17일
For free hand drawing a pen tablet is important for a lot of people. I got this XP-PEN Star G640 drawing pad as my first tablet and i still have it, really good for starting and its cheap-ish.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by