Namespace SigStat.Common.Transforms
Classes
AddConst
Adds a constant value to a feature. Works with collection features too.
Default Pipeline Output: Pipeline Input
AddVector
Adds a vector feature's elements to other features.
Default Pipeline Output: Pipeline Input
ApproximateOnlineFeatures
init Pressure, Altitude, Azimuth features with default values.
Default Pipeline Output: Features.Pressure, Features.Altitude, Features.Azimuth
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
BinaryRasterizer
Converts standard features to a binary raster.
Default Pipeline Input: Standard Features
Default Pipeline Output: (bool[,]) Binarized
CentroidExtraction
Extracts the Centroid (aka. Center Of Gravity) of the input features.
Default Pipeline Output: (List{double}) Centroid.
CentroidTranslate
Sequential pipeline to translate X and Y Features to Centroid. The following Transforms are called: CentroidExtraction, Multiply(-1), Translate
Default Pipeline Output: (List{double}) Centroid
ComponentExtraction
Extracts unsorted components by tracing through the binary Skeleton raster.
Default Pipeline Input: (bool[,]) Skeleton, (List{Point}) EndPoints, (List{Point}) CrossingPoints
Default Pipeline Output: (List{List{PointF}}) Components
ComponentSorter
Sorts Component order by comparing each starting X value, and finding nearest components.
Default Pipeline Input: (bool[,]) Components
Default Pipeline Output: (bool[,]) Components
ComponentsToFeatures
Extracts standard Features from sorted Components.
Default Pipeline Input: (List{List{PointF}}) Components
Default Pipeline Output: X, Y, Button Features
EndpointExtraction
Extracts EndPoints and CrossingPoints from Skeleton.
Default Pipeline Input: (bool[,]) Skeleton
Default Pipeline Output: (List{Point}) EndPoints, (List{Point}) CrossingPoints
Extrema
Extracts minimum and maximum values of given feature.
Default Pipeline Output: (List{double}) Min, (List{double}) Max
HSCPThinning
Iteratively thins the input binary raster with the HSCPThinningStep algorithm.
Pipeline Input type: bool[,]
Default Pipeline Output: (bool[,]) HSCPThinningResult
ImageGenerator
Generates an image feature out of a binary raster. Optionally, saves the image to a png file. Useful for debugging pipeline steps.
Pipeline Input type: bool[,]
Default Pipeline Output: (bool[,]) Input, (Image{Rgba32}) InputImage
Map
Maps values of a feature to a specified range.
Pipeline Input type: List{double}
Default Pipeline Output: (List{double}) MapResult
Multiply
Multiplies the values of a feature with a given constant.
Pipeline Input type: List{double}
Default Pipeline Output: (List{double}) Input
Normalize
Maps values of a feature to 0.0 - 1.0 range.
Pipeline Input type: List{double}
Default Pipeline Output: (List{double}) NormalizationResult
OnePixelThinning
Iteratively thins the input binary raster with the SigStat.Common.Algorithms.OnePixelThinningStep algorithm.
Pipeline Input type: bool[,]
Default Pipeline Output: (bool[,]) OnePixelThinningResult
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
Resize
Resizes the image to a specified width and height
TangentExtraction
Extracts tangent values of the standard X, Y Features
Default Pipeline Input: X, Y Features
Default Pipeline Output: (List{double}) Tangent
TimeReset
Sequential pipeline to reset time values to begin at 0. The following Transforms are called: Extrema, Multiply, AddVector.
Default Pipeline Input: T
Default Pipeline Output: T
Translate
Sequential pipeline to translate X and Y Features by specified vector (constant or feature). The following Transforms are called: AddConst twice, or AddVector.
Trim
Trims unnecessary empty space from a binary raster.
Pipeline Input type: bool[,]
Default Pipeline Output: (bool[,]) Trimmed
Enums
Binarization.ForegroundType
Represents the type of the input image.