←Select platform
In This Topic ▼

KMeansCommand Class Members

Summary

The following tables list the members exposed by KMeansCommand.

Public Constructors

Name Description
Public Constructor
KMeansCommand Initializes a new KMeansCommand class object with explicit parameters.

Public Methods

Name Description
Public Method
OnProgress Raises the Progress event. (Inherited from RasterCommand)
Public Method Run Runs the image processing command. (Inherited from RasterCommand)
Public Method ToString Overridden. Returns a meaningful name for this class.

Public Properties

Name Description
Public Property
Clusters Gets or sets the number of clusters.
Public Property HasProgress Determines if the command object has a progress event handler set. (Inherited from RasterCommand)
Public Property InCenters Sets and gets an array of Leadtools.RasterColor values that represent the initial centers of the clusters. Used whenever the Type is KMeans_UserDefined input clusters.
Public Property OutCenters Gets the final centers of the image clusters (i.e. the colors in the output image).
Public Property Type Gets or sets the flag that determines which initializing algorithm to use when choosing the initial centers for the output clusters.

Public Events

Name Description
Public Event
Progress Occurs during the image processing command, to provide status on the progress of the command. (Inherited from RasterCommand)

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