MAIN_URL="http://www.idiap.ch/folded-ctf"
-######################################################################
+#########################################################################
# Compiling
make -j -k
echo
-######################################################################
+#########################################################################
# Generating the pool file
DATA_PATH=./rmk-data
fi
-######################################################################
-# Running the computation per se
-
RESULT_DIR=./results
case $1 in
+ #####################################################################
+ ## Generate the pictures from the paper
+
pics)
SEED=0
if [[ -d "${EXPERIMENT_RESULT_DIR}" ]]; then
- for n in -1 0 2501 2504; do
+ for npf in -1 0 2497; do
./folding --random-seed=${SEED} \
--pool-name=${POOL_NAME} \
- --result-path=${EXPERIMENT_RESULT_DIR} \
+ --result-path=/tmp/ \
--detector-name=${EXPERIMENT_RESULT_DIR}/default.det \
- --nb-images=1 \
- --material-feature-nb=${n} \
+ --nb-images=63 \
+ --material-feature-nb=${npf} \
open-pool \
read-detector \
write-pool-images
;;
+ #####################################################################
+ ## Run the full computation
+
valgrind|"")
if [[ ! -d ${RESULT_DIR} ]]; then