Class 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
Inherited Members
Namespace: SigStat.Common.Transforms
Assembly: SigStat.Common.dll
Syntax
public class ComponentExtraction : PipelineBase, ILoggerObject, IProgress, ITransformation, IPipelineIO
Constructors
| Improve this Doc View SourceComponentExtraction(Int32)
Initializes a new instance of the ComponentExtraction class with specified sampling resolution.
Declaration
public ComponentExtraction(int samplingResolution)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | samplingResolution | Steps to trace before a new point is sampled. Smaller values result in a more precise tracing. Provide a positive value. |
Properties
| Improve this Doc View SourceCrossingPoints
crossing points
Declaration
public FeatureDescriptor<List<Point>> CrossingPoints { get; set; }
Property Value
Type | Description |
---|---|
FeatureDescriptor<List<Point>> |
EndPoints
endpoints
Declaration
public FeatureDescriptor<List<Point>> EndPoints { get; set; }
Property Value
Type | Description |
---|---|
FeatureDescriptor<List<Point>> |
OutputComponents
Output components
Declaration
public FeatureDescriptor<List<List<PointF>>> OutputComponents { get; set; }
Property Value
Type | Description |
---|---|
FeatureDescriptor<List<List<PointF>>> |
Skeleton
binary representation of a signature image
Declaration
public FeatureDescriptor<bool[, ]> Skeleton { 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. |