ImageView#
- class hdf5view.views.ImageView(model, dims_model)#
Bases:
QAbstractItemView
Shows a greyscale or rgb(a) image view of the associated ImageModel.
If the node of the hdf5 file has ndim > 2, the image shown can be changed by changing the slice (DimsTableModel). A scrollbar is provided which can also be used to scroll through the images in the first axis.
- TODO: Axis selection
Min/Max scaling Histogram Colour maps
Attributes
Methods
Update the cursor position when the mouse moves in the image scene.
ImageView.handle_scroll
(value)Change the image frame on scroll.
Return zero.
Initialise the mouse and scrollbar signals.
ImageView.moveCursor
(cursorAction, modifiers)Return a QModelIndex.
Update the image displayed.
Return zero.