Designing kernels

The Visual Graph Tools provide a library of predefined APEX2 kernels to cover a wide range of elementary image and video processing tasks. A developer is provided an option to design their own kernels and store them in the developer's workspace or in the external storage.

The kernel design process includes the following high-level steps:
Table 1. APEX2 kernel design: high-level steps
Step Action Refer to:
1 Create an APEX2 kernel project. Creating a custom APEX2 kernel
2 Create an APEX2 graph project based on the kernel. Creating a graph for a kernel
3 Validate the graph diagram. Validating the diagram
4 Emit the source files in the above graph project (the APEX2 graph source type and the Emit kernels flag). Emitting the source code
5 Open the emitted source files and add the kernel code. Adding code to a custom APEX2 kernel
6 Move the kernel to an external storage to use it in any workspace. Moving a custom kernel to the external storage