Process Images

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 captured 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. The preprocessed images will replace the original images in the training, test, and validation sets.
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 False positive and False negative 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.

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 to evaluate the training effectiveness during model validation. It is not involved in the training process.
images divide

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.