Simplon contains the Image Preprocessing Library - library of common routines for preprocessing the acquired image. The library is fully integrated into the Simplon API.
The library functions include:
- Color format conversions
- Bayer array decoding (various algorithms)
- Look-up tables (LUTs)
- RGB color transformation (RGB-to-RGB matrix transformation)
- Shading correction
- White balancing
- Gamma correction
- Brightness, contrast, saturation, gain, offset
- Rotation, mirroring, area of interest
- 3x3 convolution matrix
- Image saving/loading to/from BMP, TIFF or JPEG format
The Simplon API offers so called "unified image processing" mode. With unified image processing, the application only configures the processing functions to be applied on the acquired images and Simplon automatically dispatches the work between the camera itself and the Image Preprocessing Library. When the camera in use supports given functionality (such as LUT), Simplon configures the camera to apply the LUT directly by means of the hardware - thus saving the host processor resources. If the camera does not support the required function, it is applied to the image using the Image Preprocessing Libarary. The same code can thus be used with cameras of various capabilities - including 3rd party cameras, provided that they name the camera features in accordance with the GenICam SFNC standard.