How can we find the pen angle, letter slope, and pen scale of a single alphabet?

1 次查看(过去 30 天)
Hi,
I hope everyone is doing well. We need proper orientation of pen/bamboo during calligraphy operations. The terms pen angle, letter slope, and pen scale are defined as:
1) Pen angle: How the pen is held in relation to the writing line
2) Letter slope: How slanted or upright the lettering
3) Pen scale: The relationship between the thickness of the stroke and the height of the letter
How can we achieve this information using matlab? A simple image file has been attached herein

回答(1 个)

KSSV
KSSV 2020-6-6
编辑:KSSV 2020-6-6
Read about imdistline, getpoints, ginput.
You can get the points you want, lines you want and you can play with the coordinates (x,y) using the basic formulas.
Also you can get all the points of the letter, by picking up the pixel values.

类别

Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by