Enum skeletonize::MarkingMethod[][src]

pub enum MarkingMethod {
    Standard,
    Modified,
}

The algorithm that determines which pixels are removed during the edge thinning process.

Reference

Zhang, T. Y. & Suen, C. Y. (1984). A fast parallel algorithm for thinning digital patterns. Commun. ACM 27, 3 (March 1984), 236–239. DOI:10.1145/357994.358023

Chen, Yung-Sheng & Hsu, Wen-Hsing. (1988). A modified fast parallel algorithm for thinning digital patterns. Pattern Recognition Letters. 7. 99-106. DOI:10.1016/0167-8655(88)90124-9

Variants

Standard

An algorithm based on Zhang and Suen, 1984.

See MarkingMethod for reference.

Modified

An improved and slightly more complex algorithm than Standard based on Chen and Hsu, 1988. This algorithm improves on the original’s weaknesses with generally thinner lines and better line connectivity.

See MarkingMethod for reference.

Trait Implementations

impl Clone for MarkingMethod[src]

impl Copy for MarkingMethod[src]

impl Debug for MarkingMethod[src]

impl Default for MarkingMethod[src]

impl PartialEq<MarkingMethod> for MarkingMethod[src]

impl StructuralPartialEq for MarkingMethod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.