用法:
class skimage.viewer.ImageViewer(image, useblit=True)
基礎:
PyQt5.QtWidgets.QMainWindow
用於顯示圖像的查看器。
這個查看器是一個簡單的容器對象,它包含一個用於顯示圖像的 Matplotlib 軸。
ImageViewer
子類和插件可能會擴展
update_image
- image:數組
正在查看的圖像。
參數:
例子:
>>> from skimage import data >>> image = data.coins() >>> viewer = ImageViewer(image) >>> viewer.show()
- canvas, fig, ax:Matplotlib 畫布、圖形和軸
Matplotlib 畫布、圖形和軸用於顯示圖像。
- image:數組
正在查看的圖像。設置此值將更新顯示的幀。
- original_image:數組
插件通常對原始圖像進行操作(但不更改)。
- plugins:列表
附加插件列表。
屬性:
相關用法
- Python skimage.viewer.canvastools.RectangleTool用法及代碼示例
- Python skimage.viewer.canvastools.PaintTool用法及代碼示例
- Python skimage.viewer.plugins.Plugin用法及代碼示例
- Python skimage.feature.graycomatrix用法及代碼示例
- Python skimage.color.lab2lch用法及代碼示例
- Python skimage.draw.random_shapes用法及代碼示例
- Python skimage.feature.blob_doh用法及代碼示例
- Python skimage.feature.blob_dog用法及代碼示例
- Python skimage.filters.unsharp_mask用法及代碼示例
- Python skimage.registration.optical_flow_tvl1用法及代碼示例
- Python skimage.filters.rank.noise_filter用法及代碼示例
- Python skimage.exposure.histogram用法及代碼示例
- Python skimage.filters.gaussian用法及代碼示例
- Python skimage.feature.graycoprops用法及代碼示例
- Python skimage.segmentation.active_contour用法及代碼示例
- Python skimage.feature.corner_orientations用法及代碼示例
- Python skimage.exposure.adjust_gamma用法及代碼示例
- Python skimage.morphology.h_minima用法及代碼示例
- Python skimage.filters.threshold_otsu用法及代碼示例
- Python skimage.feature.structure_tensor用法及代碼示例
注:本文由純淨天空篩選整理自scikit-image.org大神的英文原創作品 skimage.viewer.ImageViewer。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。