mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +02:00
Client (data call back API) and Gui (Eiger 4 bit mode with multiple images) bug fix: npixelsx and npixelsy was not updated to complete detector level when calling call back function to give complete image
This commit is contained in:
parent
4a5cb011f7
commit
74f2783b10
@ -3280,11 +3280,11 @@ void multiSlsDetector::readFrameFromReceiver() {
|
||||
|
||||
// send data to callback
|
||||
if (data) {
|
||||
int nCompletePixelsX = multi_shm()->numberOfChannelInclGapPixels[X];
|
||||
int nCompletePixelsY = multi_shm()->numberOfChannelInclGapPixels[Y];
|
||||
// 4bit gap pixels
|
||||
if (dynamicRange == 4 && gappixelsenable) {
|
||||
int n = processImageWithGapPixels(multiframe, multigappixels);
|
||||
nPixelsX = multi_shm()->numberOfChannelInclGapPixels[X];
|
||||
nPixelsY = multi_shm()->numberOfChannelInclGapPixels[Y];
|
||||
thisData =
|
||||
new detectorData(getCurrentProgress(), currentFileName.c_str(), nPixelsX,
|
||||
nPixelsY, multigappixels, n, dynamicRange, currentFileIndex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user