SOD C/C++ API Reference - Image Processing


Syntax

void sod_flip_image(sod_img input);

Description

Creates a vertical mirror image by reflecting the pixels around the central X axis.

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. In-place operation where the processing output is copied back into the input parameter this interface takes.

Example

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

See also

sod_image_find_blobssod_img_load_from_filesod_resize_imagesod_dilate_imagesod_erode_imagesod_rotate_imagesod_rotate_crop_image.



Back