This commit is contained in:
jomjol
2020-09-26 19:29:39 +02:00
parent d428abc12f
commit 5a98b3d0bb
20 changed files with 312 additions and 161 deletions

View File

@@ -171,8 +171,14 @@ bool ClassFlowAnalog::doAlignAndCut(string time)
return false;
}
if (input_roi.length() > 0)
img_roi = new CImageBasis(input_roi);
if (input_roi.length() > 0){
img_roi = new CImageBasis(input_roi);
if (!img_roi->ImageOkay()){
LogFile.WriteToFile("ClassFlowAnalog::doAlignAndCut ImageRoi not okay!");
delete img_roi;
return false;
}
}
for (int i = 0; i < ROI.size(); ++i)
{