Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Muhammad Bilal
Muhammad Bilal le 6 Juin 2020
Commenté : KSSV le 7 Juin 2020
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

Réponses (1)

KSSV
KSSV le 6 Juin 2020
Modifié(e) : KSSV le 6 Juin 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.
  2 commentaires
Muhammad Bilal
Muhammad Bilal le 7 Juin 2020
Yes, I am already working using these commands.
Thanks for your suggestion
KSSV
KSSV le 7 Juin 2020
Also have a look on drawline.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by