Show / Hide Table of Contents

Class BinaryRasterizer

Converts standard features to a binary raster.

Default Pipeline Input: Standard Features

Default Pipeline Output: (bool[,]) Binarized

Inheritance
System.Object
PipelineBase
BinaryRasterizer
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 BinaryRasterizer : PipelineBase, ILoggerObject, IProgress, ITransformation, IPipelineIO

Constructors

| Improve this Doc View Source

BinaryRasterizer(Int32, Int32, Single)

Initializes a new instance of the BinaryRasterizer class with specified raster size and pen width.

Declaration
public BinaryRasterizer(int resolutionX, int resolutionY, float penWidth)
Parameters
Type Name Description
System.Int32 resolutionX

Raster width.

System.Int32 resolutionY

Raster height.

System.Single penWidth

Properties

| Improve this Doc View Source

InputButton

Gets or sets the FeatureDescriptor representing the stroke endings of an online signature

Declaration
public FeatureDescriptor<List<bool>> InputButton { get; set; }
Property Value
Type Description
FeatureDescriptor<List<System.Boolean>>
| Improve this Doc View Source

InputX

Gets or sets the FeatureDescriptor representing the X coordinates of an online signature

Declaration
public FeatureDescriptor<List<double>> InputX { get; set; }
Property Value
Type Description
FeatureDescriptor<List<System.Double>>
| Improve this Doc View Source

InputY

Gets or sets the FeatureDescriptor representing the Y coordinates of an online signature

Declaration
public FeatureDescriptor<List<double>> InputY { get; set; }
Property Value
Type Description
FeatureDescriptor<List<System.Double>>
| Improve this Doc View Source

Output

Gets or sets the FeatureDescriptor representing the output of the transformation

Declaration
public FeatureDescriptor<bool[, ]> Output { 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