In order to be able to create classifiers or estimators, one needs to have sets of data which contain knowledge about individual areas in an image (i.e. class attributes or concentrations). Epina ImageLab solves this assignment of information by providing a tool to select individual pixels of an image and assign them to one of several classes and/or quantities. Both class attributes and quantities can be combined in a single dataset.
![](img/but_loadspdc.gif) |
Load spectral descriptors |
A set of spectral descriptors has to be loaded in order to be able to add data points. Clicking a particular line of the spectral descriptor list displays the corresponding image. |
![](img/but_loadtdts.gif) |
Load a dataset |
Loads a dataset from the dataset directory. |
![](img/but_floppy.gif) |
Store the dataset |
Stores the current dataset on disk. After clicking this button you have to specify a filename. Please note that all datasets should be saved to the default dataset directory. Storing it outside this folder makes it less convenient to select datasets later-on. |
![](img/but_delete.gif) |
Delete all data points |
Deletes the entire set of datapoints after confirmation. |
![](img/but_nio.png) |
No. Classes |
Defines the number of classes used in the particular dataset. Epina ImageLab supports up to 25 different classes. |
![](img/but_nio.png) |
No. Quant. |
Defines the number of user-defined quantities used in the particular dataset. Epina ImageLab supports up to 10 different quantitative values. |
![](img/but_dropdbox.png) |
Mask Selection |
The dataset editor provides a tool to create random points either inside or outside a masked region (see below for details, buttons and ). Further, the random selection of data points by using the lasso tool is restricted to non-masked regions. |
![](img/but_nio.png) |
Sample Size |
Controls the number of random data points to be generated when either adding points inside or outside of a mask, or within a lasso-enclosed region. |
![](img/but_mark_inside_region.gif) |
Random data inside mask |
Creates a set of random data within the masked region. The number of created data points is determined by the "sample size" control. |
![](img/but_mark_outside_region.gif) |
Random data outside mask |
Creates a set of random data without the masked region. The number of created data points is determined by the "sample size" control. |
![](img/but_addto_speccoll.gif) |
Add selected data to the Spectral Collection |
Appends selected data points to the spectral collection. Be careful when using this command as it may easily spoil your spectral collection. |
![](img/but_export_to_disk.gif) |
Export dataset |
Stores the current dataset in one of several formats on disk. You can select from CSV (Excel) format, plain text format (.TXT) and ASC format (DataLab). The lines of the exported dataset are the data points, the columns contain the descriptor values and the class flags. |
![](img/but_setup_cplot.gif) |
Setup Image Properties |
Adjust the image settings (colors, pixel display, isolines, contour plot). Please note that the color scale and color palette can be adjusted by direct interaction with the color scale. |
![](img/but_zoom11.gif) |
Zoom 1:1 |
Adjust the zoom factor to display the entire image. |
![](img/but_zoomplus.gif) |
Zoom in |
Zooms into the image |
![](img/but_zoomminus.gif) |
Zoom out |
Zooms out of the image |
![](img/but_pan.gif) |
Activate pan mode |
Activates the pan mode to allow to drag the image across its viewport. |
![](img/but_zoomwind.gif) |
Zoom into a rectangular area. |
Zoom into the image by drawing a rectangular area which is enlarged to fill the data window after releasing the mouse button. |
![](img/but_cursorcross.gif) |
Spatial cursor |
Activating this button resets any previously selected function. |
![](img/but_add_point.gif) |
Add new points |
Click the image to add a point of the current class. |
![](img/but_add_currentloc.gif) |
Add current location as data point |
Create a new data point at the current position of the cursor. |
![](img/but_addpoints_lasso.gif) |
Add a random sample of points |
Fills the region enclosed by a lasso line by a number of randomly selected points. The number of points is controlled by the "Sample Size" control. Please note that the random points are only created in non-masked regions. |
![](img/but_addpoints_rect.gif) |
Add a random sample of points |
Fills a rectangluar region by a number of randomly selected points. The number of points is controlled by the "Sample Size" control. Please note that the random points are only created in non-masked regions. |
![](img/but_move_point.gif) |
Move a point |
Move a datapoint by dragging it with the mouse. |
![](img/but_delete_point.gif) |
Delete a point |
Click a point to delete it. Please note that deletions cannot be undone. Hint: in order to delete several points at once, you can use the dataset list. For this purpose select several points by clicking the corresponding lines while holding the Ctrl-button pressed. Then right-click and select "Delete Selected Data Points" |
![](img/but_changepoints_class.gif) |
Change the class number |
When this option is active you can change the class number of any point to the class number defined by the "current class" control. Click a point in the image to change its class number. |
![](img/but_nio.png) |
Current Class |
Determines the class number of new points to be added. Further it controls the target class when using the "change class number" tool ( ). |
Load Spectral Descriptors |
A set of spectral descriptors has to be loaded in order to be able to add data points. Clicking a particular line of the spectral descriptor list displays the corresponding image. |
Load Dataset |
Loads a dataset from the dataset directory. |
Save DataSet |
Stores the current dataset on disk. After clicking this button you have to specify a filename. Please note that all datasets should be saved to the default dataset directory. Storing it outside this folder makes it less convenient to select datasets later-on. |
Export Dataset |
Stores the current dataset in one of several formats on disk. You can select from CSV (Excel) format, plain text format (.TXT) and ASC format (DataLab). The lines of the exported dataset are the data points, the columns contain the descriptor values and the class flags. |
Import Snapshot Spectra |
Imports the snapshot spectra. In order to be able to import the snapshot spectra, the spectra have to have class numbers assigned to them which fall into the range of the defined classes (i.e. between 1 and the specified maximum, see the control "No. of Classes"). |
Import from Spectral Collection |
Imports data from the current spectral collection. |
Export to Spectral Collection |
Adds selected data points to the current spectral collection. |
Create Binary Datasets |
See Create Binary Datasets for details. |
Remove Invalid Data Points |
Removes all data points which are either located outside the currently loaded image or which belong to an undefined class. |
Remove Duplicates |
Removes all duplicate points from the dataset. The criteria for finding the duplicates are the columns 'x' and 'y' of the dataset list. If two points have equal coordinates the point with the higher index (column '##') is removed. |
Split Dataset |
See Split Datasets for details. |
The spectra of the assigned classes are averaged and displayed together with the standard deviation in the "Average Spectra" page. The standard deviation allows you to check the spectral consistency of the grouped data points. Further you may rename the classes by clicking and editing the current class name in the list of defined classes.