private void Do_Work()
{
string preProcessString = "";
string reconstructString = "";
try
{
preProcessString = Preprocess_Final(inputFile, outPath, false, thresh);
if (preProcessString == "FAIL")
{
throw new Exception("FAIL");
}
reconstructString = Reconstruct("image", outPath, false);
}
catch (Exception ex)
{
WriteToLog("[ERROR] input file not usable");
}
int x = 45;
//string preprocessString = Preprocess_Final(inputFile, outPath, false, thresh);
//WriteToLog(preprocessString);
//CarusoSample.SecondDeliverable.Preprocess_Final(inputFile, outPath, false, thresh);
// Workers.Preprocess_Final(inputFile, outPath, thresh);
//WriteToLog(reconstructString);
EnablebReconstruct();
}