Class ImageLoader
DataSetLoader for Image type databases. Similar format to Svc2004Loader, but finds png images.
Inherited Members
Namespace: SigStat.Common.Loaders
Assembly: SigStat.Common.dll
Syntax
public class ImageLoader : DataSetLoader, IDataSetLoader, ILoggerObject
Constructors
| Improve this Doc View SourceImageLoader(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 SourceSamplingFrequency
Sampling frequency for each database
Declaration
public override int SamplingFrequency { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Methods
| Improve this Doc View SourceEnumerateSigners(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 |
Overrides
| Improve this Doc View SourceLoadImage(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. |
LoadSignature(String)
Declaration
public static Signature LoadSignature(string file)
Parameters
Type | Name | Description |
---|---|---|
System.String | file |
Returns
Type | Description |
---|---|
Signature |