Show / Hide Table of Contents

Class Resize

Resizes the image to a specified width and height

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

Properties

| Improve this Doc View Source

Height

The new height. Leave it as null, if you do not want to explicitly specify a given height

Declaration
public int? Height { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

InputImage

Input FeatureDescriptor describing the image of the signature

Declaration
public FeatureDescriptor<Image<Rgba32>> InputImage { get; set; }
Property Value
Type Description
FeatureDescriptor<Image<Rgba32>>
| Improve this Doc View Source

OutputImage

Output FeatureDescriptor describing the resized image of the signature

Declaration
public FeatureDescriptor<Image<Rgba32>> OutputImage { get; set; }
Property Value
Type Description
FeatureDescriptor<Image<Rgba32>>
| Improve this Doc View Source

ResizeFunction

Set a resize function if you want to dynamically calculate the new width and height of the image

Declaration
public Func<Image<Rgba32>, Size> ResizeFunction { get; set; }
Property Value
Type Description
Func<Image<Rgba32>, Size>
| Improve this Doc View Source

Width

The new width. Leave it as null, if you do not want to explicitly specify a given width

Declaration
public int? Width { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

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