mantidimaging.gui.widgets.mi_image_view.view module#
- class mantidimaging.gui.widgets.mi_image_view.view.MIImageView(parent=None, name='ImageView', view=None, imageItem=None, levelMode='mono', detailsSpanAllCols=False, *args)[source]#
Bases:
ImageView
,BadDataOverlay
,AutoColorMenu
- property angles: ProjectionAngles | None#
- close() None [source]#
Closes the widget nicely, making sure to clear the graphics scene and release memory.
- details: QLabel#
- get_roi() tuple[CloseEnoughPoint, CloseEnoughPoint] [source]#
- property histogram: HistogramLUTItem#
- imageItem: ImageItem#
- image_hover_event(event: HoverEvent) None [source]#
- roiChanged() None [source]#
Re-implements the roiChanged function to expect only 3D data, and uses a faster mean calculation on the ROI view of the data, instead of the full sized data.
- roiString = None#
- roi_changed_callback: Callable[[SensibleROI], None] | None = None#
- setImage(image: ndarray, *args, **kwargs)[source]#
Set the image to be displayed in the widget
See
pyqtgraph.ImageView.setImage()
for details of additional arguments