Medial axis(orthogonal skeletonization) of blobs

1.8k Views Asked by At

I need to obtain something like is shown on these pictures:

enter image description here enter image description here

I think it's relative to medial axis transform, but I need vertical or horizontal lines only. any suggestions?

1

There are 1 best solutions below

3
Matthias Odisio On BEST ANSWER

Thinning should work, though in standard implementations it's hard to enforce desired directions (vertical or horizontal here).