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

2 views (last 30 days)
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

Answers (1)

KSSV
KSSV on 6 Jun 2020
Edited: KSSV on 6 Jun 2020
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.

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!