fix for roi getting wrong data when imageAxisOrder='row-major'
This commit is contained in:
parent
c715c5ac28
commit
c349c3665b
@ -586,7 +586,8 @@ class ImageView(QtGui.QWidget):
|
||||
# Extract image data from ROI
|
||||
axes = (self.axes['x'], self.axes['y'])
|
||||
|
||||
data, coords = self.roi.getArrayRegion(image.view(np.ndarray), self.imageItem, axes, returnMappedCoords=True)
|
||||
#data, coords = self.roi.getArrayRegion(image.view(np.ndarray), self.imageItem, axes, returnMappedCoords=True)
|
||||
data, coords = self.roi.getArrayRegion(image.view(np.ndarray), self.imageItem, returnMappedCoords=True)
|
||||
if data is None:
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user