Show / Hide Table of Contents

Class ImageLoader

DataSetLoader for Image type databases. Similar format to Svc2004Loader, but finds png images.

Inheritance
System.Object
DataSetLoader
ImageLoader
Implements
IDataSetLoader
ILoggerObject
Inherited Members
DataSetLoader.Logger
DataSetLoader.EnumerateSigners()
DataSetLoader.IDataSetLoader.SignerFilter
Namespace: SigStat.Common.Loaders
Assembly: SigStat.Common.dll
Syntax
public class ImageLoader : DataSetLoader, IDataSetLoader, ILoggerObject

Constructors

| Improve this Doc View Source

ImageLoader(String)

Initializes a new instance of the ImageLoader class with specified database.

Declaration
public ImageLoader(string databasePath)
Parameters
Type Name Description
System.String databasePath

File path to the database.

Properties

| Improve this Doc View Source

SamplingFrequency

Sampling frequency for each database

Declaration
public override int SamplingFrequency { get; }
Property Value
Type Description
System.Int32
Overrides
DataSetLoader.SamplingFrequency

Methods

| Improve this Doc View Source

EnumerateSigners(Predicate<Signer>)

Enumerates all Signers that match the signerFilter.

Declaration
public override IEnumerable<Signer> EnumerateSigners(Predicate<Signer> signerFilter)
Parameters
Type Name Description
Predicate<Signer> signerFilter

Filter to specify which Signers to load. Example: (p=>p=="01")

Returns
Type Description
IEnumerable<Signer>

Collection of Signers that match the signerFilter

Overrides
DataSetLoader.EnumerateSigners(Predicate<Signer>)
| Improve this Doc View Source

LoadImage(Signature, String)

Load one image.

Declaration
protected static void LoadImage(Signature signature, string file)
Parameters
Type Name Description
Signature signature

The signature that receives the new Image

System.String file

File path to the image to be loaded.

| Improve this Doc View Source

LoadSignature(String)

Declaration
public static Signature LoadSignature(string file)
Parameters
Type Name Description
System.String file
Returns
Type Description
Signature

Implements

IDataSetLoader
ILoggerObject
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX