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_image • sod_grayscale_image • sod_img_yuv_to_rgb • sod_hough_lines_detect • sod_equalize_histogram • sod_image_distance.