C#
VB
Java
Objective-C
WinRT C#
C++
Represents which initialization algorithm to use for the KMeansCommand.
public enum KMeansCommandFlags
Public Enum KMeansCommandFlags
public enum KMeansCommandFlags
typedef NS_OPTIONS(NSUInteger, LTKMeansCommandFlags)
public enum KMeansCommandFlags
Leadtools.ImageProcessing.Core.KMeansCommandFlags = function() { };
Leadtools.ImageProcessing.Core.KMeansCommandFlags.prototype = {<br/>
KMeans_Random = 1,
KMeans_Uniform = 2,
KMeans_UserDefined = 3,
};
public enum class KMeansCommandFlags
Members
Value | Member | Description |
---|---|---|
1 | KMeans_Random | Use a Random sampling algorithm to set the initial means. |
2 | KMeans_Uniform | Use a Uniform sampling algorithm to set the initial means. |
3 | KMeans_UserDefined | Use an array of user-defined initial centers to set the initial means. |
Refer to the KMeansCommand example.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET