Process Images

You are currently viewing the documentation for the latest version (2.6.2). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

This topic describes how to preprocess the imported images, filter images, switch the image view mode, and partition training and validation sets, helping you easily view the images and improve the accuracy of model training and validation.

Mech-DLK provides the following image processing tools:

Image Preprocessing

You can adjust the brightness, contrast, and color balance of images.

Typical Usage Scenarios

The original images acquired by the camera might be dark or too bright, or don’t have obvious object features due to lighting or other factors, resulting in poor recognition results. In such cases, you can preprocess images for better results.

Steps

  1. On the upper part of the image list, click image preprocessing tool icon to open the Image Preprocessing Tool.

  2. Adjust the parameters to satisfy your needs.

  3. Click Start and wait for the processing to complete.

  4. Click OK in the pop-up window.

  • Range of preprocessing: All images of the current project. After the parameters are set, the Image Preprocessing Tool will also process subsequently imported images. After image preprocessing, the images will be directly modified and used as part of the training or validation set for model training and optimization.

  • MRAW intensity images are larger than depth images, which may result in slower response during image switching or preprocessing.

image preprocessing tool

Filter Images

You can set the filtering conditions to conveniently select specific images from datasets.

Typical Usage Scenarios

  • View the results of the dataset division. When the images are divided into different datasets, you can filter images by dataset type to view the content of each dataset and check whether the division results need to be adjusted.

  • Check the data labeling results. During labeling, you can view the labeling progress and labeling results by data type.

  • Check the model prediction results. After validation, you can view the validation results by result type. For example, when a Defect Segmentation model makes an incorrect prediction, you can filter the images by selecting Overkills and Escapes for the result type and do a quick check. The incorrect prediction might result from wrong labels.

Steps

  1. On the upper part of the image list, click process filter images.

  2. Set the filtering conditions according to actual needs.

  3. Click OK.

    process filter images1

Switch to Preview Mode

The list view mode is the default mode, and you can click toggle preview mode icon to view preview images. You can drag the slider to change the display size of preview images. Click it again to display the list.

Partition Training and Validation Sets

By default, 80% of the images in the dataset will be split into the training set, and the rest 20% will be split into the validation set. Please make sure that both the training set and validation set include images in all different classes, which will guarantee that the model can learn all different features and validate the images of different classes properly.

  • Training set

    The training set is the dataset used to train the model. It usually accounts for the majority of the dataset and contains input data along with correct labels for that data. The model learns patterns and rules from this data and adjusts its parameter settings to accomplish specific tasks.

  • Validation set

    The validation set is used to evaluate the model’s performance during training, check for overfitting, ensure the model’s generalization capability, and select the optimal model.

  • Test set

    The test set is used to evaluate the model’s generalization capability after training is complete, that is, to assess its performance on new data.

  • Total

    The total number of data samples involved in model training, which is the sum of the images in the training set and validation set.

In Mech-DLK, training can only start after images in the training and validation sets have been labeled.

Steps

  1. On the upper part of the image list, click images divide icon.

  2. Drag the slider to adjust the proportion of the training set and validation set.

Right-click the image and click Switch to training set, Switch to validation set, or Switch to test set on the pop-up menu to modify the set to which the current image belong.

The test set is used during model validation to evaluate the generalization capability of a model. It is not involved in the training process.
images divide

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.