Interface FeatureDetection<E,I>
-
- Type Parameters:
E
- Type of Elements in collection of the featureI
- Type of Image wrapped by ImageWrapper
- All Known Implementing Classes:
AbstractEdgeFeatureDetection
,AbstractPointFeatureDetection
,OpenCVEdgeFeatureDetection
,OpenCVPointFeatureDetection
public interface FeatureDetection<E,I>
This interface is used to compute a `FeatureWrapper` of an image. This can be done with algorithms like GradientMagnitude, CannyEdge, Sift or similar algorithms.
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FeatureWrapper<E>
getFeature(ImageWrapper<I> img, String additionalParameters)
Method for computing feature of an image source.FeatureWrapper<E>
getFeature(ImageWrapper<I> img, String additionalParameters, int bestX)
Method for computing feature of an image source.
-
-
-
Method Detail
-
getFeature
FeatureWrapper<E> getFeature(ImageWrapper<I> img, String additionalParameters)
Method for computing feature of an image source.- Parameters:
img
- is the source for which features should be extractedadditionalParameters
- additional parameters to set for the feature detection- Returns:
- A featurewrapper containing the computed features of the image.
-
getFeature
FeatureWrapper<E> getFeature(ImageWrapper<I> img, String additionalParameters, int bestX)
Method for computing feature of an image source.- Parameters:
img
- is the source for which features should be extractedadditionalParameters
- additional parameters to set for the feature detectionbestX
- the maximum number of elements that should be in the featureWrapper- Returns:
- A featurewrapper containing the computed features of the image.
-
-