Table of Contents

Class ConnectedComponentsSettings

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

Class that contains setting for the connected components operation.

public sealed class ConnectedComponentsSettings : IConnectedComponentsSettings
Inheritance
ConnectedComponentsSettings
Implements
IConnectedComponentsSettings
Inherited Members

Constructors

ConnectedComponentsSettings()

public ConnectedComponentsSettings()

Properties

AngleThreshold

Gets or sets the threshold that merges any object not within the min and max angle threshold.

public Threshold? AngleThreshold { get; set; }

Property Value

Threshold?

AreaThreshold

Gets or sets the threshold that eliminate small objects by merging them with their larger neighbors.

public Threshold? AreaThreshold { get; set; }

Property Value

Threshold?

CircularityThreshold

Gets or sets the threshold that merges any object not within the min and max circularity threshold.

public Threshold? CircularityThreshold { get; set; }

Property Value

Threshold?

Connectivity

Gets or sets how many neighbors to visit, choose from 4 or 8.

public int Connectivity { get; set; }

Property Value

int

DiameterThreshold

Gets or sets the threshold that merges any object not within the min and max diameter threshold.

public Threshold? DiameterThreshold { get; set; }

Property Value

Threshold?

EccentricityThreshold

Gets or sets the threshold that merges any object not within the min and max eccentricity threshold.

public Threshold? EccentricityThreshold { get; set; }

Property Value

Threshold?

MajorAxisThreshold

Gets or sets the threshold that merges any object not within the min and max ellipse major threshold.

public Threshold? MajorAxisThreshold { get; set; }

Property Value

Threshold?

MeanColor

Gets or sets a value indicating whether the object color in the labeled image will be replaced with the mean-color from the source image.

public bool MeanColor { get; set; }

Property Value

bool

MinorAxisThreshold

Gets or sets the threshold that merges any object not within the min and max ellipse minor threshold.

public Threshold? MinorAxisThreshold { get; set; }

Property Value

Threshold?

PerimeterThreshold

Gets or sets the threshold that merges any object not within the min and max perimeter threshold.

public Threshold? PerimeterThreshold { get; set; }

Property Value

Threshold?