This module is intended for image pre-processing. The following modifications are available in this module:
Cut lets you crop the image manually from all four sides.
Scale lets you adjust the resolution of the image.
You can rotate all images by a specified angle.
Background normalization serves for unifying colors.
This functions blurs the picture and reduces noise. Details in the OpenCV documentation.
Canny edge detector
Canny edge detector focuses only on the outlines of the objects. Here you can set Threshold value to highlight the outlines. Details in the OpenCV documentation.
Remove background function can help you with focusing only on the main object. Offers two types of background removal (histogram and canny), each can be useful for different kinds of images. The ‘Canny background removal’ uses canny edge detector, dilation and erosion.
Unifies the position and angle of objects or just puts the angle of the object into Context (if this option is ticked). Remove background needs to be used before Unifier.
Equalises the contrast using the CLAHE algorithm, which works with a histogram of a pixel and its surroundings (depending on the kernel size). Clip limit determines the value at which the histogram is clipped. Details in the OpenCV documentation for CLAHE and histogram equalisation.
Finds the biggest circle in the image (found circle can be seen in the left image showing the ‘Stage 1’ layer of polar transform), then transforms it using polar coordinates. ‘Minimal distance between circles’ can be used to adjust how many circles will be found by defining a minimal distance which needs to be between their centers. The ‘inverse ratio of the accumulator/image resolution’ is used to adjust accumulator resolution (the lower the ratio, the higher the accumulator resolution). Details in the OpenCV documentation for Hough circles and polar warp.
Color space transform
Converts the image into a different color space (HLS, HSV, YUV, LAB or GRAY). Details in the OpenCV documentation.
This function lets you adjust the gamma value.
Some transformations use a parameter called ‘Kernel size’, which determines the size of the matrix of surrounding pixels, which are taken into consideration when computing the transformation.
Using the ‘Active’ checkbox, the whole module can be enabled or disabled. You can also enable/disable each function individually. When new module or individual function is created, it is automatically set as active.
Order of functions, changing layers
Individual functions are applied one after another from the top. You can change the order of the functions so that they suit your needs best, just drag and drop them to the right place. If you want to see how the image looks after applying individual active modifications (and its stages in some cases), you can change layers using the button at the top, which is set to ‘Show all layers’ by default.