Show / Hide Table of Contents

Class Binarization

Generates a binary raster version of the input image with the iterative threshold method.

Pipeline Input type: Image{Rgba32}

Default Pipeline Output: (bool[,]) Binarized

Inheritance
System.Object
PipelineBase
Binarization
Implements
ILoggerObject
IProgress
ITransformation
IPipelineIO
Inherited Members
PipelineBase.PipelineInputs
PipelineBase.PipelineOutputs
PipelineBase.Logger
PipelineBase.Progress
PipelineBase.ProgressChanged
PipelineBase.OnProgressChanged()
Namespace: SigStat.Common.Transforms
Assembly: SigStat.Common.dll
Syntax
public class Binarization : PipelineBase, ILoggerObject, IProgress, ITransformation, IPipelineIO

Constructors

| Improve this Doc View Source

Binarization()

Initializes a new instance of the Binarization class with default settings: Iterative threshold and Dark.

Declaration
public Binarization()
| Improve this Doc View Source

Binarization(Binarization.ForegroundType, Nullable<Double>)

Initializes a new instance of the Binarization class with specified settings.

Declaration
public Binarization(Binarization.ForegroundType foregroundType, double? binThreshold)
Parameters
Type Name Description
Binarization.ForegroundType foregroundType
System.Nullable<System.Double> binThreshold

Use this threshold value instead of iteratively calculating it. Range from 0 to 1

Properties

| Improve this Doc View Source

InputImage

Gets or sets the featuredescriptor of the input image.

Declaration
public FeatureDescriptor<Image<Rgba32>> InputImage { get; set; }
Property Value
Type Description
FeatureDescriptor<Image<Rgba32>>
| Improve this Doc View Source

OutputMask

Gets or sets the featuredescriptor of a the binarized image.

Declaration
public FeatureDescriptor<bool[, ]> OutputMask { get; set; }
Property Value
Type Description
FeatureDescriptor<System.Boolean[,]>

Methods

| Improve this Doc View Source

Transform(Signature)

Executes the transform on the signature parameter. This function gets called by the pipeline.

Declaration
public void Transform(Signature signature)
Parameters
Type Name Description
Signature signature

The Signature with a set of features to be transformed.

Implements

ILoggerObject
IProgress
ITransformation
IPipelineIO
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX