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

1 回表示 (過去 30 日間)
Muhammad Bilal
Muhammad Bilal 2020 年 6 月 6 日
コメント済み: KSSV 2020 年 6 月 7 日
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.
  2 件のコメント
Muhammad Bilal
Muhammad Bilal 2020 年 6 月 7 日
Yes, I am already working using these commands.
Thanks for your suggestion
KSSV
KSSV 2020 年 6 月 7 日
Also have a look on drawline.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeComputer Vision with Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by