/* * Created by: Miguel Angel Medina P�rez (miguel.medina.perez@gmail.com) * Created: Thursday, December 20, 2007 * Comments by: Miguel Angel Medina P�rez (miguel.medina.perez@gmail.com) */ using System.Drawing; namespace PatternRecognition.FingerprintRecognition.Core { /// <summary> /// Represents a non-generic algorithm for features extraction. /// </summary> public interface IFeatureExtractor { /// <summary> /// Extract features from the specified image. /// </summary> /// <param name="image">The source image to extract features from.</param> /// <returns>The features extracted from the specified image.</returns> object ExtractFeatures(Bitmap image); } /// <summary> /// Represents an algorithm for features extraction. /// </summary> /// <typeparam name="FeatureType"> /// The type of the features to be extracted. /// </typeparam> public abstract class FeatureExtractor<FeatureType> : IFeatureExtractor { /// <summary> /// When implemented in a derived class, extract features from the specified image. /// </summary> /// <param name="image">The source image to extract features from.</param> /// <returns>The features extracted from the specified image.</returns> public abstract FeatureType ExtractFeatures(Bitmap image); /// <summary> /// Extract features from the specified image. /// </summary> /// <param name="image">The source image to extract features from.</param> /// <returns>The features extracted from the specified image.</returns> object IFeatureExtractor.ExtractFeatures(Bitmap image) { return ExtractFeatures(image); } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)