L_ICRBinarize

#include "l_bitmap.h"

L_LTIMGCOR_API L_INT L_ICRBinarize(pBitmap, uFlags)

Performs binary segmentation on an image containing handwritten text.

Parameters

pBITMAPHANDLE pBitmap

Pointer to the bitmap.

L_UINT uFlags

Flags for any preprocessing to be performed.

Value Meaning
ICRBINARIZE_REMOVE_PAGE_LINES [1] Used to remove page lines prior to performing binary segmentation.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

This function is similar to L_AutoBinarizeBitmap but is specifically used for images with handwritten text.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

Help Version 22.0.2021.9.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.