DriveWorks SDK Reference
5.14.77 Release
For Test and Development only

Image Transformation Sample


The Image Transformation sample demonstrates the basic image processing functions within DriveWorks.

It takes an H.264 video as input, reads the frames sequentially, processes the image, and displays the output next to the original video.

Running the Sample

The command line for the sample is:

./sample_imagetransformation --video=[path/to/video]


    Points to a recorded video.
    Default value: path/to/data/samples/sfm/triangulation/video_0.h264


The sample creates a window, processes the image, and displays the output to the right of the original video. The simplest output is a cropeed, resized and converted to monochrome image The sample allows the user to select the are to transform.

Press T to toggle Thresholding and switch between different modes

Image Transformation Output

Additional information

For more details, see Image Transformation.