#include "l_bitmap.h"
L_LTIMGCOR_API L_INT L_RemoveBackground(pBitmap, RBGInfo, uFlags)
Removes background from a bitmap.
Pointer to the bitmap handle referencing the bitmap to be processed.
Pointer to the REMOVEBACKGROUNDINFO structure that sets the amount of removing the background.
Reserved for future use. Must be 0.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This function is useful, especially with medical images and grayscale images, in reducing the values of the background area.
This function reduces background by matching the histogram of the input image to a predefined Sigmoid curve.
In order to enhance anatomic areas, user needs to apply L_MultiScaleEnhancementBitmap to the output of this function.
This function removes background by attenuating its values according to the lower half of the Sigmoid curve, whereas, L_SubtractBackgroundBitmap subtracts the estimated background from the rolling ball algorithm.
This function supports 12 and 16 - bit grayscale and 48 and 64 - bit color images.Support for 12 and 16 - bit grayscale and 48 and 64 - bit color images is available only in the Document/Medical toolkits.
This function does not support signed data images.
This function does not support 32 - bit grayscale images.
Required DLLs and Libraries
Win32, x64.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document