I. Introduction
The efforts on document analysis to recognize and classify documents have lead to develop complex systems that are capable of dealing with problems such as irregular illumination [1], background patterns [2], and handwritten documents [3] to mention some. These systems exploit diverse pixel features extracted not only from the color/gray space, but also from the structural relation between pixels. In particular, the stroke width is one of these structural features.