SOD C/C++ API Reference - Image Processing


Syntax

void sod_img_bgr_to_rgb(sod_img input);

Description

Change the BGR colorspace of a given image to the RGB 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_yuv_to_rgbsod_hough_lines_detectsod_equalize_histogramsod_image_distance.



Back