Write an explanation about the arg of commandline in the readme.

This commit is contained in:
sunwen
2023-06-28 17:10:33 +08:00
parent 45edfcd974
commit 70b6cbb526
2 changed files with 8 additions and 2 deletions

View File

@@ -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/)
```

View File

@@ -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);