4 Commits 8195f41807 ... e3b44fa410

Autor SHA1 Mensagem Data
  Jérôme BUISINE e3b44fa410 change bar width 3 anos atrás
  Jérôme BUISINE 52b745ca5e Merge tag 'v1.1.9' into develop 3 anos atrás
  Jérôme BUISINE 08ce634d76 Merge branch 'release/v1.1.9' 3 anos atrás
  Jérôme BUISINE 0bd8163d1e Fix unused script in compilation 3 anos atrás

+ 0 - 3
main/CMakeLists.txt

@@ -2,7 +2,6 @@ add_executable(rawls_convert rawls_convert.cpp)
 add_executable(rawls_merge_mean rawls_merge_mean.cpp)
 add_executable(rawls_h_flip rawls_h_flip.cpp)
 add_executable(rawls_merge_mean_incr rawls_merge_mean_incr.cpp)
-add_executable(rawls_merge_mean_incr_v2 rawls_merge_mean_incr_v2.cpp)
 add_executable(rawls_merge_median_incr rawls_merge_median_incr.cpp)
 add_executable(rawls_merge_MON_incr rawls_merge_MON_incr.cpp)
 add_executable(rawls_merge_MON_pct_incr rawls_merge_MON_pct_incr.cpp)
@@ -15,7 +14,6 @@ target_link_libraries(rawls_convert LINK_PUBLIC rawls)
 target_link_libraries(rawls_merge_mean LINK_PUBLIC rawls)
 target_link_libraries(rawls_h_flip LINK_PUBLIC rawls)
 target_link_libraries(rawls_merge_mean_incr LINK_PUBLIC rawls)
-target_link_libraries(rawls_merge_mean_incr_v2 LINK_PUBLIC rawls)
 target_link_libraries(rawls_merge_median_incr LINK_PUBLIC rawls)
 target_link_libraries(rawls_merge_MON_incr LINK_PUBLIC rawls)
 target_link_libraries(rawls_merge_MON_pct_incr LINK_PUBLIC rawls)
@@ -28,7 +26,6 @@ set_property(TARGET rawls_merge_mean PROPERTY CXX_STANDARD 17)
 set_property(TARGET rawls_convert PROPERTY CXX_STANDARD 17)
 set_property(TARGET rawls_h_flip PROPERTY CXX_STANDARD 17)
 set_property(TARGET rawls_merge_mean_incr PROPERTY CXX_STANDARD 17)
-set_property(TARGET rawls_merge_mean_incr_v2 PROPERTY CXX_STANDARD 17)
 set_property(TARGET rawls_merge_median_incr PROPERTY CXX_STANDARD 17)
 set_property(TARGET rawls_merge_MON_incr PROPERTY CXX_STANDARD 17)
 set_property(TARGET rawls_merge_MON_pct_incr PROPERTY CXX_STANDARD 17)

+ 1 - 1
main/extract_stats_images.cpp

@@ -25,7 +25,7 @@ struct Tile {
 
 
 void writeProgress(float progress, bool moveUp = false){
-    int barWidth = 200;
+    int barWidth = 150;
 
     if (moveUp){
         // move up line

+ 1 - 1
main/extract_stats_images_all.cpp

@@ -42,7 +42,7 @@ std::vector<std::string> split(const std::string& s, char delimiter)
 }
 
 void writeProgress(float progress, bool moveUp = false){
-    int barWidth = 200;
+    int barWidth = 150;
 
     if (moveUp){
         // move up line

+ 1 - 1
main/extract_stats_images_all_reduced.cpp

@@ -42,7 +42,7 @@ std::vector<std::string> split(const std::string& s, char delimiter)
 }
 
 void writeProgress(float progress, bool moveUp = false){
-    int barWidth = 200;
+    int barWidth = 150;
 
     if (moveUp){
         // move up line

+ 1 - 1
main/rawls_merge_MON_incr.cpp

@@ -13,7 +13,7 @@
 const unsigned numberOfMeans = 20;
 
 void writeProgress(float progress, bool moveUp = false){
-    int barWidth = 200;
+    int barWidth = 150;
 
     if (moveUp){
         // move up line

+ 1 - 1
main/rawls_merge_MON_pct_incr.cpp

@@ -10,7 +10,7 @@
 #include <regex>
 
 void writeProgress(float progress, bool moveUp = false){
-    int barWidth = 200;
+    int barWidth = 150;
 
     if (moveUp){
         // move up line

+ 1 - 1
main/rawls_merge_mean.cpp

@@ -9,7 +9,7 @@
 #include <filesystem>
 
 void writeProgress(float progress){
-    int barWidth = 200;
+    int barWidth = 150;
 
     std::cout << "[";
     int pos = barWidth * progress;

+ 1 - 1
main/rawls_merge_mean_incr.cpp

@@ -15,7 +15,7 @@
 #include <sys/types.h> 
 
 void writeProgress(float progress, bool moveUp = false){
-    int barWidth = 200;
+    int barWidth = 150;
 
     if (moveUp){
         // move up line

+ 1 - 1
main/rawls_merge_median_incr.cpp

@@ -10,7 +10,7 @@
 #include <regex>
 
 void writeProgress(float progress, bool moveUp = false){
-    int barWidth = 200;
+    int barWidth = 150;
 
     if (moveUp){
         // move up line

+ 2 - 2
utils/extract_specific_png.py

@@ -33,13 +33,13 @@ def main():
     for img in sorted(images_path):
 
         # replace expected Samples value
-        img_data = img.split('-')
+        img_data = img.split('/')[-1].split('-')
         img_data[-2] = "S" + p_samples
         img_data[-1] = output_index + ".png"
 
         output_path = '-'.join(img_data)
 
-        output_path = output_path.replace(p_folder, p_output)
+        output_path = os.path.join(p_output, img.split('/')[-2], output_path)
         output_folder, _ = os.path.split(output_path)
 
         if not os.path.exists(output_folder):