Class BinaryRasterizer
Converts standard features to a binary raster.
Default Pipeline Input: Standard Features
Default Pipeline Output: (bool[,]) Binarized
Inherited Members
Namespace: SigStat.Common.Transforms
Assembly: SigStat.Common.dll
Syntax
public class BinaryRasterizer : PipelineBase, ILoggerObject, IProgress, ITransformation, IPipelineIO
Constructors
| Improve this Doc View SourceBinaryRasterizer(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 SourceInputButton
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>> |
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>> |
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>> |
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 SourceTransform(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. |