eda_plugin.utility.eda_gui.NapariImageViewer

class eda_plugin.utility.eda_gui.NapariImageViewer(*args: Any, **kwargs: Any)

Bases: QWidget

Simple implementation showing the output of the neural network.

This could be extended to also show the images received from micro-manager or the preprocessed versions of those. Calling this can lead to the other Qt widgets being very scaled down. Napari is not installed with the module, so you have to install it yourself.

__init__()

Open a napari viewer.

Methods

__init__()

Open a napari viewer.

add_network_image

add_network_image(image, dims: tuple)

Add the image received to the respective layer, or make a new layer.