Table of Contents

Class KmeansSettings

Namespace
ImageMagick
Assembly
Magick.NET-Q16-AnyCPU.dll

Class that contains setting for the kmeans operation.

public sealed class KmeansSettings : IKmeansSettings
Inheritance
KmeansSettings
Implements
IKmeansSettings
Inherited Members

Constructors

KmeansSettings()

public KmeansSettings()

Properties

MaxIterations

Gets or sets the maximum number of iterations while converging.

public int MaxIterations { get; set; }

Property Value

int

NumberColors

Gets or sets the number of colors to use as seeds.

public int NumberColors { get; set; }

Property Value

int

SeedColors

Gets or sets the seed clusters from color list (e.g. red;green;blue).

public string? SeedColors { get; set; }

Property Value

string

Tolerance

Gets or sets the maximum tolerance.

public double Tolerance { get; set; }

Property Value

double