|
|
VisionWorks Toolkit ReferenceApril 8, 2016 | 1.4 Release |
This tutorial demonstrates single image processing with immediate mode.
The tutorial uses the following pipeline as an example:
(source image) -> [Median 3x3] -> [Equalize Hist] -> [Canny Edge Detector] -> (edges)
VisionWorks has two modes for vision primitive execution : immediate mode and graph mode. In immediate mode, primitives are executed directly by calling a function (like in OpenCV or NPP). The mode is useful for single image processing.
First, the source image is loaded from a file using NVXIO library. The NVXIO library must be initialized prior to this call.
Second, the output edges image is created, as well as an dditional vx_threshold object that is used for CannyEdgeDetector primitive.
Finally, the VisionWorks primitives are called in immediate mode. Note that intermediate data objects are created as normal images.