;i dZddlZddlZddlmZejdejdZ ej Z e ddej dd Ze ee e d ed ejd ejdddddejejfzZeejejdddzz Zejd ejdddddejejfzZeejejdddzz Zejd ejdddddejejfzZeejejdddzz ZejeddddddejfeddddddejfeddddddejffdZeeejddejde dej!j"#de$e%dkrej&dSdS)a This example demonstrates the use of ImageView with 3-color image stacks. ImageView is a high-level widget for displaying and analyzing 2D and 3D data. ImageView provides: 1. A zoomable region (ViewBox) for displaying the image 2. A combination histogram and gradient editor (HistogramLUTItem) for controlling the visual appearance of the image 3. A timeline for selecting the currently displayed frame (for 3D data only). 4. Tools for very basic analysis of image data (see ROI and Norm buttons) N) QtWidgetsz row-major)imageAxisOrderzImageView Examplei Trgba)discreteTimeLine levelModezpyqtgraph example: ImageViewzHistogram label goes here)dr Zr)r r )size)r )axisg?g@)xvals __main__)'__doc__numpynp pyqtgraphpg pyqtgraph.QtrsetConfigOptionsmkQAppapp QMainWindowwinresize ImageViewimvsetCentralWidgetshowsetWindowTitlesetHistogramLabeloneslinspacenewaxisdataRedgaussianFilterrandomnormaldataGrndataBlu concatenatedatasetImageshapeplayuiroiBtn setChecked roiClicked__name__execPC:\PYTHON\MyICR_Workspace\venv\Lib\site-packages\pyqtgraph/examples/ImageView.pyr=s8  """""";////bi#$$i 3sblDF;;;S 12221222 "'/ " "[R[S#%>%>qqq"*bj?X%Y Y 2 RY--:->> G G# MM "'/ " "[R[S#%>%>qqq"*bj?X%Y Y 2 RY--:->> G G# MM "'/ " "[R[b#%>%>qqq"*bj?X%Y Y 2 RY--:->> G G# MMr~ QQQ111bj !7111aaaBJ+>#?AAAqqqRTR\I\A]^ef  TRTZ];; <<<   z BGIIIIIr;