Object segmentation is performed by selecting Objects toolbar button. In perClass Mira, object segmentation is controlled by a segmentation mask.

By default, the mask is constructed handling each of the foreground classes separately, this is known as Each foreground mode. Note how the leaf touching the walnut in pixel decisions are segmented separately.



Object segmentation directly removes all objects smaller than specified Minimum size. By changing the minimum size, we can quickly focus on large structures:



The other type of segmentation mask is called All foreground, this mask combines all foreground classes together:



The display object list checkbox enables detailed information on segmented objects in the Output window:



This includes object ID, centroid, size in pixels, bounding box, and object decision. The last line shows the size of smallest object size, this is helpful when adjusting minimum object size.