Image resolution enhancement. Resolution enhancement is applied during the binarization of non-B/W images. It means that the resolution of the created binary image is larger than the resolution of the non-BW image. The ratio of the enhancement currently can be 1.5 or 2.0, depending on the current enumIGRecImgResEnhancement setting. To set resolution enhancement use the IG_REC_res_enhancement_mode_set function.
Values:
IG_REC_IMG_RE_NO | No resolution enhancement applied. |
IG_REC_IMG_RE_YES | Apply enhancement, ratio = 2.0. |
IG_REC_IMG_RE_LEGACY | The ratio of the enhancement depends on the resolution of the non-BW image. The ratio is 2.0 if the resolution is less than or equal to 150 DPI, and it is 1.5 if the resolution is less than or equal to 200 DPI. Otherwise resolution enhancement is not applied. |
IG_REC_IMG_RE_STANDARD | The ratio is detected dynamically: it depends on the resolution of the non-BW image and on the detected average character size. |
IG_REC_IMG_RE_AUTO | Enhancement depends on the current tradeoff setting: if tradeoff is TO_FAST use IG_REC_IMG_RE_LEGACY, otherwise use IG_REC_IMG_RE_STANDARD. IG_REC_IMG_RE_AUTO is the default setting. |