Skip to content

Commit

Permalink
updated Gabor ground truth (now 4 frequencies)
Browse files Browse the repository at this point in the history
  • Loading branch information
friskluft committed Aug 28, 2023
1 parent b748b33 commit 9c16ce9
Showing 1 changed file with 25 additions and 34 deletions.
59 changes: 25 additions & 34 deletions tests/test_gabor_truth.h
Original file line number Diff line number Diff line change
@@ -1,41 +1,32 @@
#include <vector>

// Ground truth at
// f0 = { 1, 2, 4, 8, 16, 32, 64 }
// gamma = 0.1
// sig2lam = 0.8
// kernel size = 16
// f0LP = 0.1
// theta = pi / 4
// GRAYthr = 0.025
// 'gabor_f0': 0.1
// 'gabor_freqs' : [4.0, 16.0, 32.0, 64.0]
// 'gabor_thetas' : [0.0, 45.0, 90.0, 135.0]
// 'gabor_gamma' : 0.1
// 'gabor_kersize' : 16
// 'gabor_sig2lam' : 0.8
// 'gabor_thold' : 0.025
//
const static std::vector<std::vector<double>> gabor_truth = {
{ 0.98876404494382020,
0.32584269662921350,
0.62921348314606740,
1.0,
1.0,
0.96629213483146070,
0.95505617977528090 },
{ 0.080717488789237665,
0.0,
0.0,
0.99551569506726456,
0.98654708520179368,
0.96860986547085204,
0.90582959641255600 },
{ 0.25268817204301075,
0.0053763440860215058,
0.10215053763440861,
0.98387096774193550,
0.97311827956989250,
0.94086021505376349,
0.88172043010752688 },
{ 0.53886010362694303,
0.20207253886010362,
{ 1.0112359550561798,
0.83146067415730340,
0.79775280898876400,
0.49438202247191010 },

{ 1.0044843049327354,
0.72645739910313900,
0.0,
0.95854922279792742,
0.92746113989637302,
0.92227979274611394,
0.89637305699481862 },
0.0 },

{ 1.0053763440860215,
0.89247311827956988,
0.12903225806451613,
0.0 },

{ 1.0103626943005182,
0.89637305699481862,
0.34715025906735753,
0.0 },
};

0 comments on commit 9c16ce9

Please sign in to comment.