L_ICRBinarize

Summary

Performs binary segmentation on an image containing handwritten text.

Syntax

#include "l_bitmap.h"

L_LTIMGCOR_API L_INT L_ICRBinarize(pBitmap, uFlags)

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

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

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