I've been trying many times to create an algorithm to extract stroke information from Chinese characters. I've tried various methods but none was very satisfying, probably because of my limited knowledge of graphics algorithms in general.
Basically, I have the following data:
The Chinese character, which can be either pixels or vector (in black)
The overall outline of the stroke, in pixels (in red)
An overall direction (the blue arrows).
From this, I'm trying to extract the stroke. If you had to do this, given the available data, what methods would you use? Can you think of any automatic way to extract the stroke?