Browse Source

modules updates

Jérôme BUISINE 1 year ago
parent
commit
d2afc1170d
2 changed files with 4 additions and 4 deletions
  1. 3 3
      data_attributes.py
  2. 1 1
      modules

+ 3 - 3
data_attributes.py

@@ -524,7 +524,7 @@ def get_image_features(data_type, block):
             normed_l_img = utils.normalize_2D_arr(l_img)
 
             # bilateral with window of size (3, 3)
-            normed_diff = convolution.convolution2D(normed_l_img, kernels.bilateral_diff, (3, 3))
+            normed_diff = convolution.convolution2D(normed_l_img, kernels.min_bilateral_diff, (3, 3))
             std_diff = np.std(normed_diff)
             mean_diff = np.mean(normed_diff)
 
@@ -532,7 +532,7 @@ def get_image_features(data_type, block):
             diff_mean_list_3.append(mean_diff)
 
             # bilateral with window of size (5, 5)
-            normed_diff = convolution.convolution2D(normed_l_img, kernels.bilateral_diff, (5, 5))
+            normed_diff = convolution.convolution2D(normed_l_img, kernels.min_bilateral_diff, (5, 5))
             std_diff = np.std(normed_diff)
             mean_diff = np.mean(normed_diff)
 
@@ -665,7 +665,7 @@ def get_image_features(data_type, block):
         normed_l_img = utils.normalize_2D_arr(l_img)
 
         # bilateral with window of size (5, 5)
-        normed_diff = convolution.convolution2D(normed_l_img, kernels.bilateral_diff, (5, 5))
+        normed_diff = convolution.convolution2D(normed_l_img, kernels.min_bilateral_diff, (5, 5))
 
         # getting sigma vector from SVD compression
         s = compression.get_SVD_s(normed_diff)

+ 1 - 1
modules

@@ -1 +1 @@
-Subproject commit 139aa3c2312e9449b32d1d6fa506d741e7790c98
+Subproject commit c500a84bebabfbebc53041bf8a00f0120cd417c3