Class RealisticImageGenerator
Generates a realistic looking image of the Signature based on standard features. Uses blue ink and white paper. It does NOT save the image to file.
Default Pipeline Input: X, Y, Button, Pressure, Azimuth, Altitude Features
Default Pipeline Output: Image
Inherited Members
Namespace: SigStat.Common.Transforms
Assembly: SigStat.Common.dll
Syntax
public class RealisticImageGenerator : PipelineBase, ILoggerObject, IProgress, ITransformation, IPipelineIO
Constructors
| Improve this Doc View SourceRealisticImageGenerator(Int32, Int32)
Initializes a new instance of the RealisticImageGenerator class with specified settings.
Declaration
public RealisticImageGenerator(int resolutionX, int resolutionY)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | resolutionX | Output image width. |
System.Int32 | resolutionY | Output image height. |
Properties
| Improve this Doc View SourceAltitude
Input FeatureDescriptor describing the altitude values of an online signature
Declaration
public FeatureDescriptor<List<double>> Altitude { get; set; }
Property Value
Type | Description |
---|---|
FeatureDescriptor<List<System.Double>> |
Azimuth
Input FeatureDescriptor describing the azimuth values of an online signature
Declaration
public FeatureDescriptor<List<double>> Azimuth { get; set; }
Property Value
Type | Description |
---|---|
FeatureDescriptor<List<System.Double>> |
Button
Input FeatureDescriptor describing the stroke endings of an online signature
Declaration
public FeatureDescriptor<List<bool>> Button { get; set; }
Property Value
Type | Description |
---|---|
FeatureDescriptor<List<System.Boolean>> |
OutputImage
Output FeatureDescriptor describing the generated image of the signature
Declaration
public FeatureDescriptor<Image<Rgba32>> OutputImage { get; set; }
Property Value
Type | Description |
---|---|
FeatureDescriptor<Image<Rgba32>> |
Pressure
Input FeatureDescriptor describing the pressure values of an online signature
Declaration
public FeatureDescriptor<List<double>> Pressure { get; set; }
Property Value
Type | Description |
---|---|
FeatureDescriptor<List<System.Double>> |
X
Input FeatureDescriptor describing the X coordinates of an online signature
Declaration
public FeatureDescriptor<List<double>> X { get; set; }
Property Value
Type | Description |
---|---|
FeatureDescriptor<List<System.Double>> |
Y
Input FeatureDescriptor describing the Y coordinates of an online signature
Declaration
public FeatureDescriptor<List<double>> Y { get; set; }
Property Value
Type | Description |
---|---|
FeatureDescriptor<List<System.Double>> |
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. |