Low sampled characters: How to use Black Dilation
Oftentimes documents are scanned with a high brightness or are converted to binary images via a bad algorithm. This process results in low sampled, unclear characters. Black Dilation is a solution to this problem.
Here is the code example you can use.
There are many overloads to FxBitonalDilate: The basic is FxBitonalDilate, which takes a parameter indicating the size. The larger the size is, the more dilated the black content of the image gets.
There is also FxBitonalDilateV, which only acts in the vertical direction. FxBitonalDilate4 and FxBitonalDilate8 are two overloads, that use 4 and 8 surrounding pixels in the dilation operation respectively.
Do play with those functions, so you can get a better sense of what they can accomplish for your documents.