1 /**
2 Module introduces the API that defines Feature Detector utilities in the dcv library.
3
4 Copyright: Copyright Relja Ljubobratovic 2016.
5
6 Authors: Relja Ljubobratovic
7
8 License: $(LINK3 http://www.boost.org/LICENSE_1_0.txt, Boost Software License - Version 1.0).
9 */
10 module dcv.features.detector;
11
12 import mir.ndslice;
13
14 public import dcv.core.image : Image;
15 public import dcv.features.utils : Feature;
16
17 /**
18 Feature detector interface.
19
20 Each feature detector algorithm
21 implements this interface.
22 */
23 interface Detector
24 {
25 /**
26 Detector features in the image.
27
28 Params:
29 image = Image in which features are looked for.
30 count = How many features are to be extracted from given image.
31 */
32 Feature[] detect(in Image image, size_t count) const;
33 }