Home DALSA Digital Imaging Home

Features Download Buy News Support

Code Generation

The WiT C code generator can be used to convert a simple igraph to either a C program or function where each icon in the igraph becomes a C function call into the WiT libraries. This is useful when you want to convert a frequently used sequence of operators into a compiled C function, or when you want to see examples of how to call WiT operators in C.

For creating custom high-speed user applications, using the WiT Engine can often allow your application to run equally fast or sometimes even faster than compiled linear C code, because the WiT Engine execution overhead is small and it automatically takes advantage of multiple CPUs. However, for the ultimate flexibility and hand optimization, C code generation from igraphs can be an invaluable feature.