Skip to content
Snippets Groups Projects
Commit 172c0113 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

addBinMask -> addMask fixes GI round trip

parent 090e6b86
No related branches found
No related tags found
1 merge request!2628mask pattern now always in detector coordinates, not in bins
......@@ -76,7 +76,7 @@ std::unique_ptr<IDetector> DetectorItem::createDetector() const
result->setRegionOfInterest(ii->xLow(), ii->yLow(), ii->xUp(), ii->yUp());
} else {
std::unique_ptr<IShape2D> shape(m->createShape());
result->addBinMask(*shape, m->maskValue());
result->addMask(*shape, m->maskValue());
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment