Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKImageProcessor.h
Go to the documentation of this file.
1// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2// Generated from SchemasV3/CoreSchemas/schemas/ImageProcessor.yaml
6
7#pragma once
8#ifndef SCANBOTSDK_IMAGEPROCESSOR_H
9#define SCANBOTSDK_IMAGEPROCESSOR_H
10
11
12#include <ScanbotSDKImage.h>
13#include <ScanbotSDKTypes.h>
17#include <stdbool.h>
18#include <stddef.h>
19#include <stdint.h>
20#include <string.h>
21#include <ScanbotSDKErrorCode.h>
22#include <ScanbotSDKDefs.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28
37
48);
49
58);
59
76 scanbotsdk_image_t* image,
78 size_t quad_size,
79 scanbotsdk_document_crop_optimization_t document_crop_optimization,
80 scanbotsdk_image_t** result
81);
82
97 scanbotsdk_image_t* image,
98 int size,
99 scanbotsdk_image_t** result
100);
101
116 scanbotsdk_image_t* image,
118 scanbotsdk_image_t** result
119);
120
136 scanbotsdk_image_t* image,
138 scanbotsdk_image_t** result
139);
140
141
142#ifdef __cplusplus
143} /* extern "C" */
144#endif
145
146#endif /* SCANBOTSDK_IMAGEPROCESSOR_H */
ScanbotSDK Error Code C API.
scanbotsdk_error_code_t
The error codes returned by most of the Scanbot SDK functions.
Definition ScanbotSDKErrorCode.h:26
ScanbotSDK Image Ref C API.
The Scanbot SDK C API primitive types.
Represents a point with floating point coordinates.
Definition ScanbotSDKTypes.h:36
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_document_crop_optimization_t document_crop_optimization, scanbotsdk_image_t **result)
Crops the given image to the given quadrilateral.
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,...
scanbotsdk_document_crop_optimization_t
scanbotsdk_document_crop_optimization_t enum
Definition ScanbotSDKImageProcessorTypes.h:28
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:36
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:99
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