SOD C/C++ API Reference - Image Processing


Syntax

sod_img sod_image_sepia_filter(sod_img rgbImage);

Description

Apply Sepia Tone (filter) on a given RGB input image. A typical input image after processing should look like the following:

Input Picture

flower before processing

After Processing via sod_image_sepia_filter()

flower after sepia

Parameters

sod_img    rgbImage

The input image to be processed which must be in the RGB colorspace. 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. All processing are done in-place.

Example

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

See also

sod_gaussian_blur_imagesod_canny_edge_imagesod_image_draw_bboxsod_image_find_blobssod_hough_lines_detectsod_crop_imagesod_hilditch_thin.

Back