SOD C/C++ API Reference - Image Processing


Syntax

void sod_img_set_release(sod_img *aLoaded, int nEntries);

Description

Release the resources allocated to each sod_img object obtained from a previous call to sod_img_set_load_from_directory(). This interface must be called in order to avoid memory leaks.

Parameters

sod_img    *aLoaded

A pointer to sod_img array that is to be released and each sod_img object it contains.

int    nEntries

Total number of entries in the aLoaded sod_img array.

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



Back