Commit 1c83eb19 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

Working on the resume option to resume segmentation after fail or abort.

parent 152ceb17
......@@ -116,10 +116,10 @@ private:
AddParameter(ParameterType_Bool, "resume", "Activate resume mode");
SetDefaultParameterInt("resume", 0);
AddParameter(ParameterType_Int, "resume.tilerow", "Starting tile row in resume mode");
AddParameter(ParameterType_Int, "resume.tilecol", "Starting tile column in resume mode");
SetDefaultParameterInt("resume.tilerow", 0);
SetDefaultParameterInt("resume.tilecol", 0);
AddParameter(ParameterType_Int, "resumetilerow", "Starting tile row in resume mode");
AddParameter(ParameterType_Int, "resumetilecol", "Starting tile column in resume mode");
SetDefaultParameterInt("resumetilerow", 0);
SetDefaultParameterInt("resumetilecol", 0);
//MandatoryOff("resume");
//MandatoryOff("resume.tilex");
//MandatoryOff("resume.tiley");
......@@ -237,7 +237,7 @@ private:
// Resume mode?
if (GetParameterInt("resume"))
{
controller->SetResumingMode(GetParameterInt("resume.tilerow"),GetParameterInt("resume.tilecol"));
controller->SetResumingMode(GetParameterInt("resumetilerow"),GetParameterInt("resumetilecol"));
}
// Run the segmentation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment