Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKImageProcessor.h File Reference

Go to the source code of this file.

Typedefs

typedef struct scanbotsdk_image_processor_t scanbotsdk_image_processor_t
 scanbotsdk_image_processor_t class
 

Functions

SBSDK_API scanbotsdk_error_code_t scanbotsdk_image_processor_create (scanbotsdk_image_processor_t **result)
 Creates a new instance of scanbotsdk_image_processor with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_image_processor_free (scanbotsdk_image_processor_t *self)
 Frees the memory allocated for the instance of scanbotsdk_image_processor_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_image_processor_crop (scanbotsdk_image_processor_t *self, scanbotsdk_image_t *image, scanbotsdk_pointf_t *quad, size_t quad_size, scanbotsdk_image_t **result)
 Crops the given image to the given quadrilateral.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_image_processor_resize (scanbotsdk_image_processor_t *self, scanbotsdk_image_t *image, int size, scanbotsdk_image_t **result)
 Resizes the given image to the given size.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_image_processor_rotate (scanbotsdk_image_processor_t *self, scanbotsdk_image_t *image, scanbotsdk_image_rotation_t rotation, scanbotsdk_image_t **result)
 Rotates the given image by the given angle.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_image_processor_apply_filter (scanbotsdk_image_processor_t *self, scanbotsdk_image_t *image, scanbotsdk_parametric_filter_t *filter, scanbotsdk_image_t **result)
 Applies given filter to the given image.