#include "ltwrappr.h"
virtual L_INT LBitmap::LambdaConnectedness(lambdaVal)
L_INT lambdaVal; |
Lambda factor |
Performs image segmentation using a special region-growing algorithm called Lambda Connectedness.
Parameter | Description | |
lambdaVal | Represents Lambda factor. Possible values are range from from 1 to 1000. The default value is 950. |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Lambda-connectedness is a technique used to find the connectivity between an image's pixels and then clusters them into groups.
Low values for lambda can result in one region.
High values for lambda can result in an over-segmented image.
This function supports 12- and 16-bit grayscale and 48- and 64-bit color images.
This function supports signed/unsigned images.
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
Functions: |
LBitmap::OtsuThreshold, LBitmap::LevelsetBitmapRgn, LBitmap::ShrinkWrapTool, LBitmap::WatershedBitmap, LBitmap::KMeansBitmapSegmentation, LBitmap::GWireGetMinPath, Class Members |
#if defined (LEADTOOLS_V19_OR_LATER)
L_INT LBitmap__LambdaConnectednessExample(L_VOID)
{
L_INT nRet ;
LBitmap LeadBitmap ;
nRet = LeadBitmap.Load(MAKE_IMAGE_PATH(TEXT("ImageProcessingDemo\\NaturalFruits.jpg")), 0,ORDER_BGR);
if(nRet !=SUCCESS)
return nRet ;
// apply lambda filter
nRet = LeadBitmap.LambdaConnectedness(985);
return nRet ;
}
#endif // LEADTOOLS_V19_OR_LATER
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