←Select platform

Clusters Property (KMeansCommand)

Summary

Gets or sets the number of clusters.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int Clusters {get; set;}
Public Property Clusters As Integer
public int Clusters {get; set;}
@property (nonatomic, assign) NSInteger clusters
public int getClusters() 
public void setClusters(int value) 
get_Clusters(); 
set_Clusters(value); 
Object.defineProperty('Clusters'); 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.ImageProcessing.Core Assembly
Click or drag to resize