ImageWidget#

ImageWidget#

Constructor#

ImageWidget(data[, window_funcs, ...])

This widget facilitates high-level navigation through image stacks, which are arrays containing one or more images.

Properties#

ImageWidget.cmap

ImageWidget.current_index

Get or set the current index

ImageWidget.data

data currently displayed in the widget

ImageWidget.figure

Figure used by ImageWidget.

ImageWidget.frame_apply

ImageWidget.managed_graphics

List of ImageWidget managed graphics.

ImageWidget.n_img_dims

list indicating the number of dimensions that contain image/single frame data for each data array.

ImageWidget.n_scrollable_dims

list indicating the number of dimenensions that are scrollable for each data array All other dimensions are frame/image data, i.e. [rows, cols] or [rows, cols, rgb(a)].

ImageWidget.ndim

Number of dimensions of grayscale data displayed in the widget (it will be 1 more for RGB(A) data)

ImageWidget.slider_dims

the dimensions that the sliders index

ImageWidget.window_funcs

Get or set the window functions

Methods#

ImageWidget.add_event_handler(handler[, event])

Register an event handler.

ImageWidget.clear_event_handlers()

Clear all registered event handlers

ImageWidget.close()

Close Widget

ImageWidget.remove_event_handler(handler)

Remove a registered event handler

ImageWidget.reset_vmin_vmax()

Reset the vmin and vmax w.r.t.

ImageWidget.reset_vmin_vmax_frame()

Resets the vmin vmax and HistogramLUT widgets w.r.t.

ImageWidget.set_data(new_data[, ...])

Change data of widget.

ImageWidget.show([toolbar, sidecar, ...])

Show the widget.