Fixed data race by computing image data increments locally
Data races were found by TSan in the ImagingCorePython-Spectrum
test.
Solution copied from afb57cc2.
Co-authored-by: Ben Boeckel ben.boeckel@kitware.com
Data races were found by TSan in the ImagingCorePython-Spectrum
test.
Solution copied from afb57cc2.
Co-authored-by: Ben Boeckel ben.boeckel@kitware.com