
Single-Octant Mode - In this mode, three features from the image are selectedĪnd mapped to the x, y, and z axes in theģD window. View_nd function provides several modes forĭisplaying high-dimensional data in a 3-dimensional display window: To facilitate interactive visual analysis of high-dimensional images, the Unlabeled pixels (white) have been supressed, and the displayed pixel size has The following figure shows the same window after the display has been rotated, U -> Toggle display of unassigned points (points with class = 0) P/P -> Increase/Decrease the size of displayed points M -> Toggle mouse function between rotate/zoom and pan modes Right-click -> Open GLUT menu for pixel reassignmentĬ -> View dynamic raster image of class valuesĭ -> Cycle display mode between single-quadrant, mirrored octants,Īnd independent octants (display will not change until features SHIFT+Left-click & drag -> Define selection box in the window Left-click & drag -> Rotate viewing geometry (or pan)ĬTRL+Left-click & drag -> Zoom viewing geometryĬTRL+SHIFT+Left-click -> Print image row/col and class of selected pixel Modifiying members of the module’s SpySettings You can customize some of the default behaviours of the image display by Matplotlib figure and canvas attributes from the axesĪttribute of the ImageView object returned by imshow. ImageView object directly and customize it To customize behavior of the image display beyond what is provided by the z -> open zoom window See matplotlib imshow documentation for addition key binds. Mouse Functions : - ctrl + left - click -> pan zoom window to pixel shift + left - click & drag -> select rectangular image region left - dblclick -> plot pixel spectrum Keybinds : - 0 - 9 -> enter class ID for image pixel labeling ENTER -> apply specified class ID to selected rectangular region a / A -> decrease / increase class overlay alpha value c -> set display mode to "classes" ( if classes set ) C -> set display mode to "overlay" ( if data and classes set ) d -> set display mode to "data" ( if data set ) h -> print help message i -> toggle pixel interpolation between "nearest" and SPy default. Reassigning sub-rectangles back to class 0 (or whatever was the original class ID). The class ID to a super-rectangle covering all the pixels of interest, then Regions, you can assign classes to non-rectangular regions by first assigning While the selection tool only produces rectangular Press ENTER again to apply the class ID or press any otherĬlasses can be assigned form either a main ImageView window or fromĪn associated zoom window. The command line will request confirmation of the The digits will not be echoed on the command line. The class ID can contain multiple digits. With focus still on the ImageView window, enter the numericĬlass ID to apply to the region. Released will result in cancellation of the selection operation. Note that releasing the SHIFT key before the mouse button is Drag the mouse cursorĪnd release the mouse button at the lower right corner of the rectangular Upper left corner of the rectangle to be selected. While holding the SHIFT key, click with the left mouse button at the Image, pass an array of all zeros for the classes argument. Represents an unlabeled pixel so to start with a completely unlabeled This must be a non-negative, integer-valued array. Call imshow, providing an initial array for the classes argument.
