From 3692d00a567225b5bd9e126301dd57213d648812 Mon Sep 17 00:00:00 2001
From: asantamaria <asantamaria@iri.upc.edu>
Date: Wed, 16 May 2018 15:47:22 +0200
Subject: [PATCH] Set agast and brief as det/des for fundamental matrix example

---
 src/examples/yaml/fundamental_matrix.yaml | 26 ++++++++---------------
 1 file changed, 9 insertions(+), 17 deletions(-)

diff --git a/src/examples/yaml/fundamental_matrix.yaml b/src/examples/yaml/fundamental_matrix.yaml
index 96c8f59..da5949a 100644
--- a/src/examples/yaml/fundamental_matrix.yaml
+++ b/src/examples/yaml/fundamental_matrix.yaml
@@ -1,23 +1,15 @@
 detector:
-  type: "GFTT"
-  maxCorners: 1000
-  qualityLevel: 0.015
-  minDistance: 20.0
-  blockSize: 15
-  k: 0.04
+  type: "AGAST"         
+  threshold: 10
+  nonmaxSuppression: true
+  detection type: 3         #  AGAST_5_8=0, AGAST_7_12d=1, AGAST_7_12s=2, OAST_9_16=3, THRESHOLD=10000, NONMAX_SUPPRESSION=10001
   
 descriptor:
-  type: "ORB"         
-  nfeatures: 1000
-  scale factor: 1.2
-  nlevels: 8
-  edge threshold: 31   # 16
-  first level: 0 
-  WTA_K: 2            # See: http://docs.opencv.org/trunk/db/d95/classcv_1_1ORB.html#a180ae17d3300cf2c619aa240d9b607e5
-  score type: 1       #enum { kBytes = 32, HARRIS_SCORE=0, FAST_SCORE=1 };
-  patch size: 31      # 31
-
+  type: "BRIEF"
+  bytes: 32
+  use_orientation: false     
+  
 matcher:
-  type: "BRUTEFORCE" # BRUTEFORCE, BRUTEFORCE_HAMMING, BRUTEFORCE_HAMMING_2, BRUTEFORCE_L1, FLANNBASED
+  type: "FLANNBASED" # BRUTEFORCE, BRUTEFORCE_HAMMING, BRUTEFORCE_HAMMING_2, BRUTEFORCE_L1, FLANNBASED
   match type: 1    #  Match type. MATCH = 1, KNNMATCH = 2, RADIUSMATCH = 3
   min normalized score: 0.8
\ No newline at end of file
-- 
GitLab