8#ifndef SCANBOTSDK_IMAGEPROCESSOR_H
9#define SCANBOTSDK_IMAGEPROCESSOR_H
21#include <ScanbotSDKDefs.h>
ScanbotSDK Error Code C API.
scanbotsdk_error_code_t
The error codes returned by most of the Scanbot SDK functions.
Definition ScanbotSDKErrorCode.h:25
ScanbotSDK Image Ref C API.
The Scanbot SDK C API primitive types.
Represents a point with floating point coordinates.
Definition ScanbotSDKTypes.h:33
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,...
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_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.
struct scanbotsdk_image_processor_t scanbotsdk_image_processor_t
scanbotsdk_image_processor_t class
Definition ScanbotSDKImageProcessor.h:35
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.
struct scanbotsdk_parametric_filter_t scanbotsdk_parametric_filter_t
scanbotsdk_parametric_filter_t class
Definition ScanbotSDKParametricFilters.h:92
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 ...
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.
scanbotsdk_image_rotation_t
scanbotsdk_image_rotation_t enum
Definition ScanbotSDKImageTypes.h:28
struct scanbotsdk_image_t scanbotsdk_image_t
Represents an instance of the opaque image.
Definition ScanbotSDKImage.h:31