Просмотр исходного кода

Update of generate noise images script

Jérôme BUISINE 5 лет назад
Родитель
Сommit
84db755b03
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      generate_all_noise.sh

+ 1 - 1
generate_all_noise.sh

@@ -5,7 +5,7 @@ for file in "images"/*; do
     read -ra ADDR <<< "$file" # str is read into an array as tokens separated by IFS
     IFS=' '
 
-    image=${ADDR[1]}
+    image=${ADDR[1]%".png"}
 
     for noise in {"cauchy","gaussian","laplace","log_normal","mut_white","white"}; do