Parcourir la source

Merge branch 'release/v0.4.7'

Jérôme BUISINE il y a 5 ans
Parent
commit
57b643ed5b

Fichier diff supprimé car celui-ci est trop grand
+ 688 - 0
analysis/custom_diff_filter_svd.ipynb


Fichier diff supprimé car celui-ci est trop grand
+ 858 - 0
analysis/custom_filters_analysis.ipynb


Fichier diff supprimé car celui-ci est trop grand
+ 113 - 50
analysis/plane_filter.ipynb


+ 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)
             normed_l_img = utils.normalize_2D_arr(l_img)
 
 
             # bilateral with window of size (3, 3)
             # 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)
             std_diff = np.std(normed_diff)
             mean_diff = np.mean(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)
             diff_mean_list_3.append(mean_diff)
 
 
             # bilateral with window of size (5, 5)
             # 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)
             std_diff = np.std(normed_diff)
             mean_diff = np.mean(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)
         normed_l_img = utils.normalize_2D_arr(l_img)
 
 
         # bilateral with window of size (5, 5)
         # 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
         # getting sigma vector from SVD compression
         s = compression.get_SVD_s(normed_diff)
         s = compression.get_SVD_s(normed_diff)

+ 1 - 1
modules

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