Particle Editor

The particle editor serves to edit particles detected in an image (see the overview on particle detection for background information on how to identify particles in an image). The particle editor displays the found particles, allows to filter them and to edit particle areas.

The particle editor provides the following areas:
List of Particle Classes The list of particle classes provides an overview of the found particles itemized by the various particle classes. Depending on the method used for the detection of the particles, several classes can be created during particle detection.
Visibility Filter The visibility filter allows to restrict the list of displayed particles (both in the particle list and the image). You can set the mininum required size (in pixels), the relevance and the similarity to reference spectra.
Particle List The particle list contains the parameters of all found particles. While the meaning of most parameters such as "Length" or "Width" is obvious, there are a few parameters which need more explanation. Further you can define additional parameters which can be used for entering additional information (see below for details).

The particle list can be processed further by clicking one of the buttons at the top left of the particle list (activate the check boxes at the left to select a particle for further processing):
Deselect all particles.
Invert the particle selection.
Add the spectra of the selected particles to the spectral collection. After clicking this button you have to select which spectra to add to the collection.
Copies the spectra of the selected partcles to the training/test dataset. Please note that this command overwrites all existing entries in the dataset editor. Hint: If the dataset editor was not already open, it will be opened without any selected spectral descriptors. In order to see a background image in the dataset editor you have to load suitable spectral descriptors.
Delete the selected particles.

Particle Spectra There are two forms how particle spectra are displayed: (1) all spectra of a selected particle and all non-particle spectra along the edge of the selected particle drawn on top of each other; (2) the spectrum of the center of the particle compared to a reference spectrum of the same class of particles (this feature is only available, if you have a set of reference spectra installed and if the classification process during particle detection assigned unique class IDs. See the section on particle spectra for more.
Particle Viewer The found particles are displayed on top of the photo of the sample (if available and calibrated) or on top of an artificial sample "photo". The colors of the displayed particles correspond to the class colors displayed in the particle list.

The particle viewer toolbar contains the following buttons:

Adjust the zoom factor to display the entire image.1)
Zoom in on the image.1)
Zoom out of the image.1)
Zoom into the image by drawing a rectangular area which is enlarged to fill the data window after releasing the mouse button.1)
Pan the image by dragging it with the mouse.1)
Select a particle and display its spectrum.
Add pixels by drawing a lasso line around the area to be added. If the lasso line does not intersect with other particles a new particle is created, otherwise the pixels within the lasso line are added to the intersecting particle.
Remove pixels within a region defined by a lasso line.
Temporarily hide the particles and show only the photo below the particles.
Add the current image to the image stack
This tool allows you to set or reset individual pixels simply by clicking them.
Opens the path measurement and editing tool. After closing this tool the specified pathes are added as particles to the image.
Enlarge the selected particle by adding a one-pixel margin around the pixel. Please note that the additional edge is also added to internal edges (in the case of holes in the particle).
Undo/Redo: The particle editor remembers the last five changes, enabling you to undo or redo recent changes.

Hint: The particles which are currently loaded in the particle editor can be accessed programmatically by using the pre-declared global variable PEData.

1) Please note that you can tie the particle display and the viewport of the 2D Imager by activating the checkbox "Sync 2D Imager Viewport" in the top toolbar of the particle editor. If this option is enabled the two displays show the same viewport of the image (as far as possible).

Last Update: 2018-Sep-17