We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b6e047 commit 860d40fCopy full SHA for 860d40f
IMAQdxCamera/blacs_workers.py
@@ -478,6 +478,14 @@ def transition_to_manual(self):
478
dset.attrs['IMAGE_SUBCLASS'] = np.string_('IMAGE_GRAYSCALE')
479
dset.attrs['IMAGE_WHITE_IS_ZERO'] = np.uint8(0)
480
481
+ # If the images are all the same shape, send them to the GUI for display:
482
+ try:
483
+ image_block = np.stack(self.images)
484
+ except ValueError:
485
+ print("Cannot display images in the GUI, they are not all the same shape")
486
+ else:
487
+ self._send_image_to_parent(image_block)
488
+
489
self.images = None
490
self.n_images = None
491
self.attributes_to_save = None
0 commit comments