PixelMask: Precalculate raw maskto avoid copying it in the later code
This commit is contained in:
@@ -40,7 +40,7 @@ AzimuthalIntegrationMapping::AzimuthalIntegrationMapping(const DiffractionExperi
|
||||
nthreads = std::clamp<size_t>(nthreads, 1, 64);
|
||||
|
||||
if (!experiment.IsGeometryTransformed())
|
||||
SetupRawGeom(experiment, mask.GetMaskRaw(experiment), nthreads);
|
||||
SetupRawGeom(experiment, mask.GetMaskRaw(), nthreads);
|
||||
else
|
||||
SetupConvGeom(experiment.GetDiffractionGeometry(),mask.GetMask(), nthreads);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user