WIRIS Data SDK tutorial


WIRIS Data SDK tutorial​

Linking WIRIS Data SDK to a Visual Studio C++ Project


Open Visual Studio and create new project: File -> New -> Project -> Visual C++


Link the SDK’s header files:

  • Open Project properties: Project -> Properties.
  • Open C/C++ tab and choose
  • Click on Additional Include Directories text field and open dialog using the arrow down icon and choose Edit from the dropdown menu.

Use the dialog to navigate to the headers which are located in your SDK folder.


Link the pre-compiled SDK files:

  • Open Project properties: Project -> Properties.
  • Open the Linker tab and choose
  • Click on the Additional Dependencies text field, open dialog using the arrow down icon, and choose Edit from the drop-down menu.
  • Insert path for all binary files found in the lib-win directory within the SDK.


Project Compilation and Licensing:

  • Make sure you compile the project in release mode with a 64bit compiler.
  • Include the file h, which is the entrypoint of the SDK.
  • Activate your license serial number – you need your SDK copy – by calling function wtl::Center::Activate(serialNumber). This requires an internet connection.
  • After the activation, the license file is saved to your computer. You can use the function wtl::Center::Authenticate to check the state of your license.
  • After the activation, you will be able to work with thermograms and sequences.

Using Wiris Data SDK in a Visual Studio C++ Project


Please refer to the Linking Wiris Data SDK to a Visual Studio C++ Project tutorial to get information about setting up the project and licensing.


Loading thermograms stored on your file system is done using the methods wtl::Center::loadImageRadiometric(path) and wtl::Center::loadSequenceeRadiometric(path), which return the shared pointer to the created thermogram instance.


Read temperatures, radiometric values or parameters from the thermogram.

1 1 1


Modify thermogram parameters and add measurements using ImageRadiometric or SequenceRadiometric methods.

2 1 1


Change the appearance of the thermogram – choose the palette to be used or change the temperature range, view your image data, or save it to the filesystem.

3 2


If you want to present the image in your application‘s GUI, use the method ImageRadiometric::getRGBArrayRepresentation(data). It will calculate RGB values using temperature in each pixel and colors from the palette and save them to memory as given by the parameter.

Github sample: https://github.com/SoftwareWorkswell/wwp-data-sdk-sample