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

1 Ansicht (letzte 30 Tage)
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

Antworten (1)

KSSV
KSSV am 6 Jun. 2020
Bearbeitet: KSSV am 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.

Community Treasure Hunt

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

Start Hunting!

Translated by