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>
16#include <stdbool.h>
17#include <stddef.h>
18#include <stdint.h>
19#include <string.h>
20#include <ScanbotSDKErrorCode.h>
21#include <ScanbotSDKDefs.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27
36
47);
48
57);
58
74 scanbotsdk_image_t* image,
76 size_t quad_size,
77 scanbotsdk_image_t** result
78);
79
94 scanbotsdk_image_t* image,
95 int size,
96 scanbotsdk_image_t** result
97);
98
113 scanbotsdk_image_t* image,
115 scanbotsdk_image_t** result
116);
117
133 scanbotsdk_image_t* image,
135 scanbotsdk_image_t** result
136);
137
138
139#ifdef __cplusplus
140} /* extern "C" */
141#endif
142
143#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: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