←Select platform

Clusters Property

Summary
Gets or sets the number of clusters.
Syntax
C#
VB
Objective-C
C++
Java
public int Clusters { get; set; } 
Public Property Clusters As Integer 
@property (nonatomic, assign) NSInteger clusters 
public int getClusters() 
public void setClusters(int value) 
public: 
property int Clusters { 
   int get(); 
   void set (    int ); 
} 

Property Value

Number of output clusters or colors in the output image. Valid values range from 2 to 255.

Example

Refer to the KMeansCommand example.

Requirements

Target Platforms

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

Leadtools.ImageProcessing.Core Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.