Smooth, Clean and Preserve

This cleanup method also removes smaller structures and smooths edges. It also preserves horizontal and vertical lines so content is easier to recognize.

Use this method to smooth any jagged edges of machine printed characters without affecting any adjacent lines.