Page History
Mask Editor GUI is intended to manually create/edit mask of the bad pixels and save it as 2-d image and 3-d array shaped as data.
Content
Table of Contents
Mask Editor GUI
...
main window
Mask editor Editor main window consists of sub-panels /widgets listed in this section with brief explanation description of their functionality.
Image with axes and cursor info panel
Click and drag or scroll mouse on image to translate of zoom-in/out desired part of the image. At mouse release spectrum will be updated. for visible part of the image.
Spectrum with statistical data
...
Click and drag or scroll mouse on spectrum to select its part projected on color map on image. The same works for vertical axis. Horizontal scale does the same things for histogram scale. At mouse release image will be updated.
Color bar selection
Click on color bar and select color map from pop-up window. The color bar and Image will be updated after selection is done.
...
Most important info messages are displayed in the logger window. By default it has low profile, but can be expanded by mouse using expansion mark on the boarder.
Control fields and buttons
...
Select DB parameters
After click on the button next to DataSource button label a bunch of sequentially pop-up windows for instrument, experiment. , and run number simplify allows to set DB parameters.
Select detector
After click on the button next to Detector button label pop-up menu window allows to select detector from specified DB
If geometry is available for specified DataSource and Detector arguments the field next to geo DB will be filled out automatically.
...
Button More/Less shows more or less control field between default and advanced modes. It adds fields to load geometry constants from file and array for image from DB constants.
ROI control buttons
Translate and zoom image
Click on Image mode button, then click and drag or scroll mouse for translation or zooming image, respectively. At release mouse button spectrum will be updated for visible portion part of the image.
Add ROI
Click on Add button and select ROI type from pop-up menu:
...
Right after click on Add button and selection of PIXEL or PIXGROUP ROI, start clicking on desired pixels or click-hold-and-pan. Added pixels will be marked by color. Double click removes appropriate pixel. Input of the PIXGROUP is compleated by the click on Compl.(ete) button.
Button Cancel
Button Cancel cancels adding of non-compleated ROI if it is not too late...
Button Compl.
Button Compl. completes adding of ROI with multi-point definition like PIXGROUP and POLYGON.
Select
...
and Delete ROIs
Currently Select mode is used in combination with Delete in order to preview deleting ROI.
Click on Select button, then on ROIs to select them. Selected items will change color.
...
Click on button Invert then select ROIs to invert region of good/bad pixels. By default internal region of each ROI is marked as bad pixels.
Edit mode
Click on Edit button, then on ROIs to edit. Selected for edition ROI changes color and shows control handle. Then, click and pan control handles to translate, resize or rotate ROIs.
Save/restore ROI constants
...