From 5315b90fe7fa348b74fa79cc4486056f356be035 Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Fri, 27 Nov 2015 21:13:22 +0100 Subject: [PATCH] Update the repo with the last classification --- ..._lbp_flatten_aligned_cropped_global_random | 31 +++++++++++++++++++ ...i_lbp_flatten_aligned_cropped_local_random | 31 +++++++++++++++++++ ...pt_seri_lbp_flatten_aligned_cropped_wt_bow | 31 +++++++++++++++++++ ...ipt_seri_lbp_flatten_aligned_global_random | 31 +++++++++++++++++++ ...ript_seri_lbp_flatten_aligned_local_random | 31 +++++++++++++++++++ .../script_seri_lbp_flatten_aligned_wt_bow | 31 +++++++++++++++++++ .../script_seri_lbp_flatten_global_random | 31 +++++++++++++++++++ .../script_seri_lbp_flatten_local_random | 31 +++++++++++++++++++ .../script_seri_lbp_flatten_wt_bow | 31 +++++++++++++++++++ .../script_seri_lbp_non_flatten_global_random | 31 +++++++++++++++++++ .../script_seri_lbp_non_flatten_local_random | 31 +++++++++++++++++++ .../script_seri_lbp_non_flatten_wt_bow | 31 +++++++++++++++++++ ..._top_flatten_aligned_cropped_global_random | 0 ...p_top_flatten_aligned_cropped_local_random | 31 +++++++++++++++++++ ...seri_lbp_top_flatten_aligned_global_random | 0 ..._seri_lbp_top_flatten_aligned_local_random | 31 +++++++++++++++++++ .../script_seri_lbp_top_flatten_global_random | 0 .../script_seri_lbp_top_flatten_local_random | 31 +++++++++++++++++++ ...ipt_seri_lbp_top_non_flatten_global_random | 0 ...ript_seri_lbp_top_non_flatten_local_random | 31 +++++++++++++++++++ ..._lbp_flatten_aligned_cropped_global_random | 0 ...i_lbp_flatten_aligned_cropped_local_random | 0 ...pt_seri_lbp_flatten_aligned_cropped_wt_bow | 31 +++++++++++++++++++ ...ipt_seri_lbp_flatten_aligned_global_random | 0 ...ript_seri_lbp_flatten_aligned_local_random | 0 .../script_seri_lbp_flatten_aligned_wt_bow | 31 +++++++++++++++++++ .../script_seri_lbp_flatten_global_random | 0 .../script_seri_lbp_flatten_local_random | 0 .../script_seri_lbp_flatten_wt_bow | 31 +++++++++++++++++++ .../script_seri_lbp_non_flatten_global_random | 0 .../script_seri_lbp_non_flatten_local_random | 0 .../script_seri_lbp_non_flatten_wt_bow | 31 +++++++++++++++++++ ..._top_flatten_aligned_cropped_global_random | 31 +++++++++++++++++++ ...p_top_flatten_aligned_cropped_local_random | 0 ...seri_lbp_top_flatten_aligned_global_random | 31 +++++++++++++++++++ ..._seri_lbp_top_flatten_aligned_local_random | 0 .../script_seri_lbp_top_flatten_global_random | 31 +++++++++++++++++++ .../script_seri_lbp_top_flatten_local_random | 0 ...ipt_seri_lbp_top_non_flatten_global_random | 31 +++++++++++++++++++ ...ript_seri_lbp_top_non_flatten_local_random | 0 .../script_lbp_top_flatten_aligned_cropped | 1 + ...ript_lbp_top_patch_flatten_aligned_cropped | 1 + src/matlab/script_lbp_top_patch_non_flatten | 1 + 43 files changed, 747 insertions(+) create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_cropped_global_random create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_cropped_local_random create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_cropped_wt_bow create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_global_random create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_local_random create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_wt_bow create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_flatten_global_random create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_flatten_local_random create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_flatten_wt_bow create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_non_flatten_global_random create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_non_flatten_local_random create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_non_flatten_wt_bow rename script/{lbp_classification => lbp_classification_codebook_final}/script_seri_lbp_top_flatten_aligned_cropped_global_random (100%) create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_aligned_cropped_local_random rename script/{lbp_classification => lbp_classification_codebook_final}/script_seri_lbp_top_flatten_aligned_global_random (100%) create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_aligned_local_random rename script/{lbp_classification => lbp_classification_codebook_final}/script_seri_lbp_top_flatten_global_random (100%) create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_local_random rename script/{lbp_classification => lbp_classification_codebook_final}/script_seri_lbp_top_non_flatten_global_random (100%) create mode 100755 script/lbp_classification_codebook_final/script_seri_lbp_top_non_flatten_local_random rename script/{lbp_classification => lbp_classification_codebook_random}/script_seri_lbp_flatten_aligned_cropped_global_random (100%) rename script/{lbp_classification => lbp_classification_codebook_random}/script_seri_lbp_flatten_aligned_cropped_local_random (100%) create mode 100755 script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_cropped_wt_bow rename script/{lbp_classification => lbp_classification_codebook_random}/script_seri_lbp_flatten_aligned_global_random (100%) rename script/{lbp_classification => lbp_classification_codebook_random}/script_seri_lbp_flatten_aligned_local_random (100%) create mode 100755 script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_wt_bow rename script/{lbp_classification => lbp_classification_codebook_random}/script_seri_lbp_flatten_global_random (100%) rename script/{lbp_classification => lbp_classification_codebook_random}/script_seri_lbp_flatten_local_random (100%) create mode 100755 script/lbp_classification_codebook_random/script_seri_lbp_flatten_wt_bow rename script/{lbp_classification => lbp_classification_codebook_random}/script_seri_lbp_non_flatten_global_random (100%) rename script/{lbp_classification => lbp_classification_codebook_random}/script_seri_lbp_non_flatten_local_random (100%) create mode 100755 script/lbp_classification_codebook_random/script_seri_lbp_non_flatten_wt_bow create mode 100755 script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_aligned_cropped_global_random rename script/{lbp_classification => lbp_classification_codebook_random}/script_seri_lbp_top_flatten_aligned_cropped_local_random (100%) create mode 100755 script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_aligned_global_random rename script/{lbp_classification => lbp_classification_codebook_random}/script_seri_lbp_top_flatten_aligned_local_random (100%) create mode 100755 script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_global_random rename script/{lbp_classification => lbp_classification_codebook_random}/script_seri_lbp_top_flatten_local_random (100%) create mode 100755 script/lbp_classification_codebook_random/script_seri_lbp_top_non_flatten_global_random rename script/{lbp_classification => lbp_classification_codebook_random}/script_seri_lbp_top_non_flatten_local_random (100%) create mode 100644 src/matlab/script_lbp_top_flatten_aligned_cropped create mode 100644 src/matlab/script_lbp_top_patch_flatten_aligned_cropped create mode 100644 src/matlab/script_lbp_top_patch_non_flatten diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_cropped_global_random b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_cropped_global_random new file mode 100755 index 0000000..cd019c9 --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_cropped_global_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_global' +# Type of codebook +codebook_type='codebook_final' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_flatten_aligned_cropped_global_final_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_cropped_local_random b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_cropped_local_random new file mode 100755 index 0000000..98b7b90 --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_cropped_local_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_local' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_local' +# Type of codebook +codebook_type='codebook_final' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_flatten_aligned_cropped_local_final_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_cropped_wt_bow b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_cropped_wt_bow new file mode 100755 index 0000000..664f257 --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_cropped_wt_bow @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_global' +# Type of codebook +codebook_type='wt_codebook' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_flatten_aligned_cropped_wt_codebook_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_global_random b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_global_random new file mode 100755 index 0000000..625450f --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_global_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned/lbp_riu/lbp_hist/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned/lbp_riu/lbp_hist/lbp_global' +# Type of codebook +codebook_type='codebook_final' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_flatten_aligned_global_final_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_local_random b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_local_random new file mode 100755 index 0000000..6b7744b --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_local_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned/lbp_riu/lbp_hist/lbp_local' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned/lbp_riu/lbp_hist/lbp_local' +# Type of codebook +codebook_type='codebook_final' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_flatten_aligned_local_final_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_wt_bow b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_wt_bow new file mode 100755 index 0000000..4385347 --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_aligned_wt_bow @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned/lbp_riu/lbp_hist/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned/lbp_riu/lbp_hist/lbp_global' +# Type of codebook +codebook_type='wt_codebook' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_flatten_aligned_wt_codebook_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_flatten_global_random b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_global_random new file mode 100755 index 0000000..7cd09b5 --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_global_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten/lbp_riu/lbp_hist/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten/lbp_riu/lbp_hist/lbp_global' +# Type of codebook +codebook_type='codebook_final' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_flatten_global_final_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_flatten_local_random b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_local_random new file mode 100755 index 0000000..145e4df --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_local_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten/lbp_riu/lbp_hist/lbp_local' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten/lbp_riu/lbp_hist/lbp_local' +# Type of codebook +codebook_type='codebook_final' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_flatten_local_final_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_flatten_wt_bow b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_wt_bow new file mode 100755 index 0000000..bb9df6f --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_flatten_wt_bow @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten/lbp_riu/lbp_hist/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten/lbp_riu/lbp_hist/lbp_global' +# Type of codebook +codebook_type='wt_codebook' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_flatten_wt_codebook_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_non_flatten_global_random b/script/lbp_classification_codebook_final/script_seri_lbp_non_flatten_global_random new file mode 100755 index 0000000..6afe3d5 --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_non_flatten_global_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/non_flatten/lbp_riu/lbp_hist/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/non_flatten/lbp_riu/lbp_hist/lbp_global' +# Type of codebook +codebook_type='codebook_final' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_non_flatten_global_final_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_non_flatten_local_random b/script/lbp_classification_codebook_final/script_seri_lbp_non_flatten_local_random new file mode 100755 index 0000000..f1db103 --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_non_flatten_local_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/non_flatten/lbp_riu/lbp_hist/lbp_local' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/non_flatten/lbp_riu/lbp_hist/lbp_local' +# Type of codebook +codebook_type='codebook_final' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_non_flatten_local_final_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_non_flatten_wt_bow b/script/lbp_classification_codebook_final/script_seri_lbp_non_flatten_wt_bow new file mode 100755 index 0000000..fa4c526 --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_non_flatten_wt_bow @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/non_flatten/lbp_riu/lbp_hist/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/non_flatten/lbp_riu/lbp_hist/lbp_global' +# Type of codebook +codebook_type='wt_codebook' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_non_flatten_wt_codebook_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification/script_seri_lbp_top_flatten_aligned_cropped_global_random b/script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_aligned_cropped_global_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_top_flatten_aligned_cropped_global_random rename to script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_aligned_cropped_global_random diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_aligned_cropped_local_random b/script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_aligned_cropped_local_random new file mode 100755 index 0000000..89c739f --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_aligned_cropped_local_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned_cropped/lbp_riu/lbp_hist_top/lbp_local' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned_cropped/lbp_riu/lbp_hist_top/lbp_local' +# Type of codebook +codebook_type='codebook_final' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_top_flatten_aligned_cropped_local_final_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_top_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification/script_seri_lbp_top_flatten_aligned_global_random b/script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_aligned_global_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_top_flatten_aligned_global_random rename to script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_aligned_global_random diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_aligned_local_random b/script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_aligned_local_random new file mode 100755 index 0000000..489d086 --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_aligned_local_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned/lbp_riu/lbp_hist_top/lbp_local' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned/lbp_riu/lbp_hist_top/lbp_local' +# Type of codebook +codebook_type='codebook_final' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_top_flatten_aligned_local_final_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_top_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification/script_seri_lbp_top_flatten_global_random b/script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_global_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_top_flatten_global_random rename to script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_global_random diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_local_random b/script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_local_random new file mode 100755 index 0000000..33ca6b1 --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_top_flatten_local_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten/lbp_riu/lbp_hist_top/lbp_local' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten/lbp_riu/lbp_hist_top/lbp_local' +# Type of codebook +codebook_type='codebook_final' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_top_flatten_local_final_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_top_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification/script_seri_lbp_top_non_flatten_global_random b/script/lbp_classification_codebook_final/script_seri_lbp_top_non_flatten_global_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_top_non_flatten_global_random rename to script/lbp_classification_codebook_final/script_seri_lbp_top_non_flatten_global_random diff --git a/script/lbp_classification_codebook_final/script_seri_lbp_top_non_flatten_local_random b/script/lbp_classification_codebook_final/script_seri_lbp_top_non_flatten_local_random new file mode 100755 index 0000000..ff51cf6 --- /dev/null +++ b/script/lbp_classification_codebook_final/script_seri_lbp_top_non_flatten_local_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/non_flatten/lbp_riu/lbp_hist_top/lbp_local' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/non_flatten/lbp_riu/lbp_hist_top/lbp_local' +# Type of codebook +codebook_type='codebook_final' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_top_non_flatten_local_final_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_top_bow.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification/script_seri_lbp_flatten_aligned_cropped_global_random b/script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_cropped_global_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_flatten_aligned_cropped_global_random rename to script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_cropped_global_random diff --git a/script/lbp_classification/script_seri_lbp_flatten_aligned_cropped_local_random b/script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_cropped_local_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_flatten_aligned_cropped_local_random rename to script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_cropped_local_random diff --git a/script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_cropped_wt_bow b/script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_cropped_wt_bow new file mode 100755 index 0000000..664f257 --- /dev/null +++ b/script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_cropped_wt_bow @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned_cropped/lbp_riu/lbp_hist/lbp_global' +# Type of codebook +codebook_type='wt_codebook' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_flatten_aligned_cropped_wt_codebook_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification/script_seri_lbp_flatten_aligned_global_random b/script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_global_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_flatten_aligned_global_random rename to script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_global_random diff --git a/script/lbp_classification/script_seri_lbp_flatten_aligned_local_random b/script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_local_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_flatten_aligned_local_random rename to script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_local_random diff --git a/script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_wt_bow b/script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_wt_bow new file mode 100755 index 0000000..4385347 --- /dev/null +++ b/script/lbp_classification_codebook_random/script_seri_lbp_flatten_aligned_wt_bow @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned/lbp_riu/lbp_hist/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned/lbp_riu/lbp_hist/lbp_global' +# Type of codebook +codebook_type='wt_codebook' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_flatten_aligned_wt_codebook_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification/script_seri_lbp_flatten_global_random b/script/lbp_classification_codebook_random/script_seri_lbp_flatten_global_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_flatten_global_random rename to script/lbp_classification_codebook_random/script_seri_lbp_flatten_global_random diff --git a/script/lbp_classification/script_seri_lbp_flatten_local_random b/script/lbp_classification_codebook_random/script_seri_lbp_flatten_local_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_flatten_local_random rename to script/lbp_classification_codebook_random/script_seri_lbp_flatten_local_random diff --git a/script/lbp_classification_codebook_random/script_seri_lbp_flatten_wt_bow b/script/lbp_classification_codebook_random/script_seri_lbp_flatten_wt_bow new file mode 100755 index 0000000..bb9df6f --- /dev/null +++ b/script/lbp_classification_codebook_random/script_seri_lbp_flatten_wt_bow @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten/lbp_riu/lbp_hist/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten/lbp_riu/lbp_hist/lbp_global' +# Type of codebook +codebook_type='wt_codebook' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_flatten_wt_codebook_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification/script_seri_lbp_non_flatten_global_random b/script/lbp_classification_codebook_random/script_seri_lbp_non_flatten_global_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_non_flatten_global_random rename to script/lbp_classification_codebook_random/script_seri_lbp_non_flatten_global_random diff --git a/script/lbp_classification/script_seri_lbp_non_flatten_local_random b/script/lbp_classification_codebook_random/script_seri_lbp_non_flatten_local_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_non_flatten_local_random rename to script/lbp_classification_codebook_random/script_seri_lbp_non_flatten_local_random diff --git a/script/lbp_classification_codebook_random/script_seri_lbp_non_flatten_wt_bow b/script/lbp_classification_codebook_random/script_seri_lbp_non_flatten_wt_bow new file mode 100755 index 0000000..fa4c526 --- /dev/null +++ b/script/lbp_classification_codebook_random/script_seri_lbp_non_flatten_wt_bow @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/non_flatten/lbp_riu/lbp_hist/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/non_flatten/lbp_riu/lbp_hist/lbp_global' +# Type of codebook +codebook_type='wt_codebook' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_non_flatten_wt_codebook_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_aligned_cropped_global_random b/script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_aligned_cropped_global_random new file mode 100755 index 0000000..f2cd4b4 --- /dev/null +++ b/script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_aligned_cropped_global_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned_cropped/lbp_riu/lbp_hist_top/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned_cropped/lbp_riu/lbp_hist_top/lbp_global' +# Type of codebook +codebook_type='codebook_random' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_top_flatten_aligned_cropped_global_random_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_top.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification/script_seri_lbp_top_flatten_aligned_cropped_local_random b/script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_aligned_cropped_local_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_top_flatten_aligned_cropped_local_random rename to script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_aligned_cropped_local_random diff --git a/script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_aligned_global_random b/script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_aligned_global_random new file mode 100755 index 0000000..d348e14 --- /dev/null +++ b/script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_aligned_global_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten_aligned/lbp_riu/lbp_hist_top/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten_aligned/lbp_riu/lbp_hist_top/lbp_global' +# Type of codebook +codebook_type='codebook_random' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_top_flatten_aligned_global_random_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_top.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification/script_seri_lbp_top_flatten_aligned_local_random b/script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_aligned_local_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_top_flatten_aligned_local_random rename to script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_aligned_local_random diff --git a/script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_global_random b/script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_global_random new file mode 100755 index 0000000..7b830c4 --- /dev/null +++ b/script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_global_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/flatten/lbp_riu/lbp_hist_top/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/flatten/lbp_riu/lbp_hist_top/lbp_global' +# Type of codebook +codebook_type='codebook_random' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_top_flatten_global_random_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_top.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification/script_seri_lbp_top_flatten_local_random b/script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_local_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_top_flatten_local_random rename to script/lbp_classification_codebook_random/script_seri_lbp_top_flatten_local_random diff --git a/script/lbp_classification_codebook_random/script_seri_lbp_top_non_flatten_global_random b/script/lbp_classification_codebook_random/script_seri_lbp_top_non_flatten_global_random new file mode 100755 index 0000000..f688289 --- /dev/null +++ b/script/lbp_classification_codebook_random/script_seri_lbp_top_non_flatten_global_random @@ -0,0 +1,31 @@ +#!/bin/bash + +# Name of the dataset +name_dataset='seri' +# Input path +input_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/feature_data/non_flatten/lbp_riu/lbp_hist_top/lbp_global' +# Output path +output_path='/work/le2i/gu5306le/retinopathy/OCT/SERI/results/non_flatten/lbp_riu/lbp_hist_top/lbp_global' +# Type of codebook +codebook_type='codebook_random' + +# Keep the directory of the script into a variable +script_dir=$(pwd) + +# Try the three different radius +for radius in `seq 1 3`; +do + # Create an automatic script + script_filename_core='/script_lbp_top_non_flatten_global_random_r_' + script_filename="$script_dir$script_filename_core$radius" + ### Create the file + touch $script_filename + ### Truncate the file if it is existing + : > $script_filename + + printf "ipython ../../pipeline/feature-classification/${name_dataset}/classification_lbp_top.py ${radius} \"${input_path}\" \"${output_path}\" \"${codebook_type}\" " >> $script_filename + ### Make it executable + chmod u+x $script_filename + # Submit the job to the queue + qsub -q batch -pe smp 8 $script_filename +done diff --git a/script/lbp_classification/script_seri_lbp_top_non_flatten_local_random b/script/lbp_classification_codebook_random/script_seri_lbp_top_non_flatten_local_random similarity index 100% rename from script/lbp_classification/script_seri_lbp_top_non_flatten_local_random rename to script/lbp_classification_codebook_random/script_seri_lbp_top_non_flatten_local_random diff --git a/src/matlab/script_lbp_top_flatten_aligned_cropped b/src/matlab/script_lbp_top_flatten_aligned_cropped new file mode 100644 index 0000000..6ad1d9b --- /dev/null +++ b/src/matlab/script_lbp_top_flatten_aligned_cropped @@ -0,0 +1 @@ +matlab -nosplash -jvm -nodisplay -r 'FeatureExtraction_TopLBP_flatten_aligned_cropped(1)' \ No newline at end of file diff --git a/src/matlab/script_lbp_top_patch_flatten_aligned_cropped b/src/matlab/script_lbp_top_patch_flatten_aligned_cropped new file mode 100644 index 0000000..d794643 --- /dev/null +++ b/src/matlab/script_lbp_top_patch_flatten_aligned_cropped @@ -0,0 +1 @@ +matlab -nosplash -jvm -nodisplay -r 'FeatureExtraction_TopLBPPatch_flatten_aligned_cropped(1)' \ No newline at end of file diff --git a/src/matlab/script_lbp_top_patch_non_flatten b/src/matlab/script_lbp_top_patch_non_flatten new file mode 100644 index 0000000..e0cbc4f --- /dev/null +++ b/src/matlab/script_lbp_top_patch_non_flatten @@ -0,0 +1 @@ +matlab -nosplash -jvm -nodisplay -r 'FeatureExtraction_TopLBPPatch(1)' \ No newline at end of file