Workswell SDK para Camara Termcia WIC
Workswell SDK para Camara Termcia WIC
Introduction
Workswell s.r.o. is pleased to introduce you WIC SDK for Windows which is written in C# for .NET platform
and gives you full control of your WIC thermal camera. You might write programs in every .NET programming
language using this SDK. It supports communication and streaming using Gigabit and USB interfaces. Main
goal of this WIC SDK is to allow you fast conversion from raw signal data to temperature data.
Your thermal camera can be used in many ways, so this SDK architecture is designed to give you full support
for all your projects and to give you possibility of quick software development as well.
All technical explanations are fully described in documentation, which you can find in your WIC SDK folder
after installation of WIC SDK on your PC (usually in: \Program Files\WIC_SDK\Documentation.chm).
Workswell company has created WIC SDK samples to present some possibilities and to introduce its
advantages. You are kindly invited to continue reading and let us explain those possibilities in this document.
First of all, there is defined the path to the directory of licences. If at least one camera is detected, system is
asked to connect to the first one.
Both changes, such as addition or removal of camera will be visible, because the list of found cameras in
WIC SDK will be updated.
Finally, in the list of cameras you see all cameras and you can select one to work with.
Every acquisition of the scene is different, so it should be possible to change thermal parameters of the
environment, which affects a measurement, like Emissivity, Reflected temperature, Atmospheric
temperature, Humidity and Distance. WIC SDK allows you all that and more.
You can also choose between low and high Gain (temperature range). Then there is a possibility to select one
of predefined Palette and finally, you can select one of the Calibrated lens.
In the next code example, there is described settings of two parameters: Emissivity and Reflected
temperature which were mentioned higher and both are adjustable.
As we have already mentioned, you can also change gain (temperature range). You are allowed to choose
between two modes. First of them – law gain is made for measurement, that will be highly accurate in range
from -40°C to 160°C. Second of those – high gain is preferred for measurement in much higher range, up to
very high temperatures.
You might use one of those modes according to the present application, so that your final image corresponds
to the reality and does not contain thermal noise.
After connect to the camera, it is convenient to see live stream from it. WIC SDK is also prepared for
a requirement like this.
Using a method StartAcquisition you can start the acquisition from the selected camera, using
a property ThermoImageSource you might get the thermal image from the camera which is currently
connected. Eventually, for stopping the acquisition there is a similar method StopAcquisiton.
In the short code example below, you may see a usage of those commands.
System connects to the first detected camera, if there is some. Then the acquisition is started and finally the
thermal image is acquired from camera.
Thanks to this possibility, it is also possible to get current temperature under your cursor. Short code example
is below.
As it is very convenient and sometimes necessary to read device information, for these cases WIC SDK is also
capable to find information about camera and to let you know them.
If you want to read specific information, you can simply ask WIC SDK for them. There is need to connect to
the right camera instance, then you ask for a specific property and finally you might get it using getter
method.
In the following code example, we are showing an example of how to get property like: Manufacturer info,
Model Name and Serial Number.
As it is only the example, you can certainly read much more properties of your camera from WIC SDK. For
example: Version of the device, User-defined device name, MAC address etc.
WIC SDK will automatically detect the maximum and minimum temperature so you might also read these
values on every frame, without any need to go through temperature array. It is made by MaxTemperature
and MinTemperature properties which belongs to Camera class.
There is always some difference between two lenses. Every property of two lenses might be more or less
different, which may cause the inaccuracy in conversion of raw data to temperature. That is why it is
important to set correctly your camera’s lens.
As you might use more than one lens, it is necessary to tell WIC SDK which one is currently used, so that it
may use the appropriate calibration data for selected lens.
Searching for available calibrated lenses is demonstrated in the code example below.
Conclusion
To conclude, WIC SDK was created by Workswell company and is very useful tool in cases when you deal with
software development for WIC thermal camera. It will help you simplify your work a lot.
This documents describes WIC SDK in version for windows users, but we would like to ensure you, that also
Linux version is available from Workswell company. It is definitely prepared to help you improve your own
projects, where you can use your thermal camera in the unlimited number of ways.
Web: www.apliter.com