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_image • sod_img_get_pixel • sod_img_bgr_to_rgb • sod_hough_lines_detect • sod_equalize_histogram • sod_image_distance.