Enhancement: Line Smoothing as preprocessing step