Show / Hide Table of Contents

Class Trim

Trims unnecessary empty space from a binary raster.

Pipeline Input type: bool[,]

Default Pipeline Output: (bool[,]) Trimmed

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

Constructors

| Improve this Doc View Source

Trim(Int32)

Declaration
public Trim(int framewidth)
Parameters
Type Name Description
System.Int32 framewidth

Leave a border around the trimmed area. framewidth > 0

Properties

| Improve this Doc View Source

Input

Input FeatureDescriptor describing the image of the signature

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

Output

Output FeatureDescriptor describing the trimed image of the signature

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