浏览代码

Merge branch 'release/v0.4.7'

Jérôme BUISINE 5 年之前
父节点
当前提交
57b643ed5b
共有 5 个文件被更改,包括 1663 次插入54 次删除
  1. 688 0
      analysis/custom_diff_filter_svd.ipynb
  2. 858 0
      analysis/custom_filters_analysis.ipynb
  3. 113 50
      analysis/plane_filter.ipynb
  4. 3 3
      data_attributes.py
  5. 1 1
      modules

文件差异内容过多而无法显示
+ 688 - 0
analysis/custom_diff_filter_svd.ipynb


文件差异内容过多而无法显示
+ 858 - 0
analysis/custom_filters_analysis.ipynb


文件差异内容过多而无法显示
+ 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)
 
             # 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