←Select platform

Clusters Property

Summary

Gets or sets the number of the colors in the output image.

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

The number of colors in the output image. Valid values range from 2 to 255.

Example

Refer to the OtsuThresholdCommand example.

Requirements

Target Platforms

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

Leadtools.ImageProcessing.Core Assembly