Cargo Features

imgthin has no features set by default.

[dependencies]
imgthin = { version = "0.1.1", features = ["improved_ysc_whh"] }
default

Use default version of T.Y Zhang and C.Y. Suen http://www-prima.inrialpes.fr/perso/Tran/Draft/gateway.cfm.pdf

improved_ysc_whh

Use improved version of Yung-Sheng CHEN and Wen-Hsing HSU https://www.researchgate.net/publication/222456229_A_modified_fast_parallel_algorithm_for_thinning_digital_patterns