SOD C/C++ API Reference - Image Processing


Syntax

void sod_free_image(sod_img input);

Description

Release the resources allocated to a sod_img object. This interface must be called each time you have done working with a sod_img object in order to avoid memory leaks.

Parameters

sod_img    input

sod_img object that is to be released. 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(), dynamically created via sod_make_image() or returned from any image processing interfaces such as sod_canny_edge_image() and so forth.

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_image_draw_boxsod_hilditch_thinsod_hough_lines_detectsod_crop_imagesod_composite_image.



Back