Table of Contents

Class ImageBuffer.DespeckleBitonalParameters

Namespace
LMKit.Media.Image
Assembly
LM-Kit.NET.dll

Controls which connected components are classified as speckle noise and removed by DespeckleBitonal(DespeckleBitonalParameters).

public sealed class ImageBuffer.DespeckleBitonalParameters
Inheritance
ImageBuffer.DespeckleBitonalParameters
Inherited Members

Properties

MaxSpeckleArea

Gets or sets the maximum foreground pixel count for a connected component to be considered speckle noise. Components with an area at or below this value are candidates for removal.

MinTextArea

Gets or sets the minimum foreground pixel count for a component to be considered "text" (a neighbor that protects nearby small components from removal).

NeighborhoodRadius

Gets or sets the dilation radius used to detect whether a small component is close to a larger text component. Small components within this distance of a text-sized component are preserved (they are likely diacritics, dots, or punctuation).

Share