SOD C/C++ API Reference - Image Processing


Syntax

void sod_img_rgb_to_yuv(sod_img input);

Description

Change the RGB colorspace of a given image to the YUV colorspace.

Parameters

sod_img    input

The input image to be processed. The image can be loaded from disk using sod_img_load_from_file(), from memory (i.e. network socket) via sod_img_load_from_mem() or dynamically created via sod_make_image().

Return Value

None.

Example

Checkout the introduction course, the C/C++ samples on the download page or refer to the SOD Github Repository.

See also

sod_canny_edge_imagesod_grayscale_imagesod_img_rgb_to_yuvsod_hough_lines_detectsod_equalize_histogramsod_image_distance.



Back