Segmentation Panel

The segmentation panel is the main panel used for segmentation. It allows creating models, modifying materials and selecting different segmentation tools.

Back to Index --> User Guide --> Panels

 

Contents

 

What are the Models

A model is a matrix with dimensions equal to those of the opened Image dataset , i.e., [1:imageHeight, 1:imageWidth, 1:imageThickness]. The model consists of materials, and each element of the model matrix can belong only to a single material or to an exterior. Therefore, it is not possible to have several materials above the same pixel of the image overlapping each other. Each material in the model matrix is encoded with its own index.

Example of a model 4x4 pixels

Model = [1 1 0 0; 1 1 0 0; 0 0 2 2; 0 0 2 2];
Model
Model =

     1     1     0     0
     1     1     0     0
     0     0     2     2
     0     0     2     2

In this example, the shown matrix represents a Model with 2 materials encrypted with 1 (the upper left corner) and 2 (the lower right corner) for the Image of 4x4 pixels. Index 0 encodes background (Exterior)


The Create button

The Create button is used to start a new model. When this button is clicked, the existing Model layer will be removed.

Whenever is possible is is recommended to use models with 63 materials.
If you need to work with materials that exceed 255, you can find a short introduction about this topic in the following video:
MIB 2.1: compatible with models with more than 255 materials (https://youtu.be/r3lpmWyvrJU)
For more information about the different types of models, you can visit the Menu->Models page

The Load button

The Load button is used to load a model from the disk. The following formats are accepted:

Alternatively, you can also use the Menu->Models->Load model option or directly drag-and-drop *.model file to the Image View panel or the Segmentation table.

The +, -, >|, Squeeze, Recolor buttons

The Filled/Contour ▼ dropdown

This dropdown modifies visualization of materials in the Image View panel.

 

The Segmentation table

The Segmentation table displays the list of materials in the model.

A brief demonstration of the Segmentation table is available in the following video:
MIB in brief: Segmentation Table (https://youtu.be/_iwQI2DIDjk)


The segmentation table has 3 columns:

Keyboard shortcuts

The Segmentation table also provides various shortcuts and options for selecting materials and working with layers. For example:

To select a combination of the Mask and any other layer, you can:

Drag and drop models

The [✓] Fix selection to material checkbox

The [✓] Fix selection to material checkbox ensures that all segmentation tools will only be applied to the material selected in the table. When this checkbox is selected, any segmentation operations performed will be limited to the specific material that has been chosen in the table. This can be useful when you want to focus on a specific material within an image and apply segmentation techniques only to that material.

The [✓] Masked area checkbox

The [✓] Masked area checkbox ensures that segmentation tools will be limited to the areas of the image that have been masked. When this checkbox is selected, any segmentation operations performed will only affect the areas of the image that have been designated as masked. This can be useful when you want to isolate certain regions of the image and apply segmentation techniques only within those areas

The [✓] "D" checkbox, to select fast access tools

The [✓] D checkbox is used to mark the favorite selection tools that can be accessed quickly using the D key shortcut. When this checkbox is selected, the chosen fast access tools will be highlighted with an orange background in the Selection type ▼ dropdown. This allows you to easily access and use your preferred selection tools without having to navigate through menus or options. You can select any tool as a favorite by checking the [✓] D checkbox next to it.

The Segmentation tools ▼ dropdown

The Segmentation tools ▼ dropdown provides a selection of different tools that can be used for segmentation. These tools are designed to help you separate and identify different regions or objects within an image, See more here.

Back to Index --> User Guide --> Panels