ImagePreview
ImagePreview
#
Bases: QWidget
A Widget that displays the last image snapped by active core.
This widget will automatically update when the active core snaps an image, when the active core starts streaming or when a Multi-Dimensional Acquisition is running.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
parent
|
QWidget | None
|
Optional parent widget. By default, None. |
None
|
mmcore
|
CMMCorePlus | None
|
Optional |
None
|
use_with_mda
|
bool
|
If False, the widget will not update when a Multi-Dimensional Acquisition is running. By default, True. |
True
|
Example#
image_preview.py | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
|