SOD C/C++ API Reference - Image Processing


Syntax

void sod_img_rgb_to_bgr(sod_img input);

Description

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



Back