From 70b6cbb526f3549a067355f9d41b8eacd488e557 Mon Sep 17 00:00:00 2001 From: sunwen Date: Wed, 28 Jun 2023 17:10:33 +0800 Subject: [PATCH] Write an explanation about the arg of commandline in the readme. --- Readme.md | 6 ++++++ src/common/fileHelper.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 653e56f..951ef42 100644 --- a/Readme.md +++ b/Readme.md @@ -2,4 +2,10 @@ - The project need to set a Aurora_DIR path in the cmake command line. ```shell cmake .. -DAurora_DIR=/path/to/AuroraConfig.cmake/ + +Arguments: +dataPath the input data path to reconstruction. +dataRefPath the empty water data path to reconstruction.(If you don not want to use it, you can input "") +outPut the out put file path.(Default: /home/UR/ReconResult/USCT_Result.mat) +configPath the config file path(Default: /home/UR/ConfigFiles/) ``` \ No newline at end of file diff --git a/src/common/fileHelper.h b/src/common/fileHelper.h index dc08f16..7311171 100644 --- a/src/common/fileHelper.h +++ b/src/common/fileHelper.h @@ -5,8 +5,8 @@ namespace Recon { - const std::string DEFAULT_CONFIG_PATH = "/home/sun/UR/build/"; - const std::string DEFAULT_OUTPUT_PATH = "/home/sun/USCT_Result.mat"; + const std::string DEFAULT_CONFIG_PATH = "/home/UR/ConfigFiles/"; + const std::string DEFAULT_OUTPUT_PATH = "/home/UR/ReconResult/USCT_Result.mat"; const std::string DEFAULT_OUTPUT_FILENAME = "USCT_Result.mat"; std::string getPath(const std::string &aFullPath);