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

Go to the source code of this file.

Typedefs

typedef enum scanbotsdk_output_mode_t scanbotsdk_output_mode_t
 scanbotsdk_output_mode_t enum
 
typedef enum scanbotsdk_binarization_filter_preset_t scanbotsdk_binarization_filter_preset_t
 scanbotsdk_binarization_filter_preset_t enum
 
typedef struct scanbotsdk_parametric_filter_t scanbotsdk_parametric_filter_t
 scanbotsdk_parametric_filter_t class
 
typedef struct scanbotsdk_legacy_filter_t scanbotsdk_legacy_filter_t
 scanbotsdk_legacy_filter_t class
 
typedef struct scanbotsdk_scanbot_binarization_filter_t scanbotsdk_scanbot_binarization_filter_t
 scanbotsdk_scanbot_binarization_filter_t class
 
typedef struct scanbotsdk_custom_binarization_filter_t scanbotsdk_custom_binarization_filter_t
 scanbotsdk_custom_binarization_filter_t class
 
typedef struct scanbotsdk_color_document_filter_t scanbotsdk_color_document_filter_t
 scanbotsdk_color_document_filter_t class
 
typedef struct scanbotsdk_brightness_filter_t scanbotsdk_brightness_filter_t
 scanbotsdk_brightness_filter_t class
 
typedef struct scanbotsdk_contrast_filter_t scanbotsdk_contrast_filter_t
 scanbotsdk_contrast_filter_t class
 
typedef struct scanbotsdk_grayscale_filter_t scanbotsdk_grayscale_filter_t
 scanbotsdk_grayscale_filter_t class
 
typedef struct scanbotsdk_white_black_point_filter_t scanbotsdk_white_black_point_filter_t
 scanbotsdk_white_black_point_filter_t class
 
typedef enum scanbotsdk_page_binarization_t scanbotsdk_page_binarization_t
 scanbotsdk_page_binarization_t enum
 

Enumerations

enum  scanbotsdk_output_mode_t {
  SCANBOTSDK_OUTPUT_MODE_BINARY = 0 ,
  SCANBOTSDK_OUTPUT_MODE_ANTIALIASED = 1
}
 scanbotsdk_output_mode_t enum More...
 
enum  scanbotsdk_binarization_filter_preset_t {
  SCANBOTSDK_BINARIZATION_FILTER_PRESET_PRESET_1 = 0 ,
  SCANBOTSDK_BINARIZATION_FILTER_PRESET_PRESET_2 = 1 ,
  SCANBOTSDK_BINARIZATION_FILTER_PRESET_PRESET_3 = 2 ,
  SCANBOTSDK_BINARIZATION_FILTER_PRESET_PRESET_4 = 3 ,
  SCANBOTSDK_BINARIZATION_FILTER_PRESET_PRESET_5 = 4
}
 scanbotsdk_binarization_filter_preset_t enum More...
 
enum  scanbotsdk_page_binarization_t {
  SCANBOTSDK_PAGE_BINARIZATION_DISABLED = 0 ,
  SCANBOTSDK_PAGE_BINARIZATION_ENABLED = 1 ,
  SCANBOTSDK_PAGE_BINARIZATION_ENABLED_IF_BINARIZATION_FILTER_SET = 2
}
 scanbotsdk_page_binarization_t enum More...
 

Functions

SBSDK_API scanbotsdk_error_code_t scanbotsdk_output_mode_t_to_string (scanbotsdk_output_mode_t value, const char **result)
 Returns the string representation of the given scanbotsdk_output_mode_t value.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_binarization_filter_preset_t_to_string (scanbotsdk_binarization_filter_preset_t value, const char **result)
 Returns the string representation of the given scanbotsdk_binarization_filter_preset_t value.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_free (scanbotsdk_parametric_filter_t *object)
 Frees the memory allocated for the instance of scanbotsdk_parametric_filter_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_legacy_filter_create (int filter_type, scanbotsdk_legacy_filter_t **result)
 Creates a new instance of scanbotsdk_legacy_filter with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_legacy_filter_create_with_defaults (scanbotsdk_legacy_filter_t **result)
 Creates a new instance of scanbotsdk_legacy_filter_t with given required params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_legacy_filter_free (scanbotsdk_legacy_filter_t *object)
 Frees the memory allocated for the instance of scanbotsdk_legacy_filter_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_is_scanbotsdk_legacy_filter (scanbotsdk_parametric_filter_t *object, bool *result)
 Checks if the given instance of scanbotsdk_parametric_filter_t is an instance of its subtype scanbotsdk_legacy_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_as_scanbotsdk_legacy_filter (scanbotsdk_parametric_filter_t *object, scanbotsdk_legacy_filter_t **result)
 Casts the given instance of scanbotsdk_parametric_filter_t to its subtype scanbotsdk_legacy_filter_t. If the given instance is not an instance of the subtype, result will be null.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_legacy_filter_as_scanbotsdk_parametric_filter (scanbotsdk_legacy_filter_t *object, scanbotsdk_parametric_filter_t **result)
 Casts the given instance of scanbotsdk_legacy_filter_t to its parent type scanbotsdk_parametric_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_legacy_filter_get_filter_type (scanbotsdk_legacy_filter_t *self, int *filter_type)
 Returns value of filter_type field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_legacy_filter_set_filter_type (scanbotsdk_legacy_filter_t *self, int filter_type)
 Sets value of filter_type field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_scanbot_binarization_filter_create (scanbotsdk_output_mode_t output_mode, scanbotsdk_scanbot_binarization_filter_t **result)
 Creates a new instance of scanbotsdk_scanbot_binarization_filter with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_scanbot_binarization_filter_create_with_defaults (scanbotsdk_scanbot_binarization_filter_t **result)
 Creates a new instance of scanbotsdk_scanbot_binarization_filter_t with given required params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_scanbot_binarization_filter_free (scanbotsdk_scanbot_binarization_filter_t *object)
 Frees the memory allocated for the instance of scanbotsdk_scanbot_binarization_filter_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_is_scanbotsdk_scanbot_binarization_filter (scanbotsdk_parametric_filter_t *object, bool *result)
 Checks if the given instance of scanbotsdk_parametric_filter_t is an instance of its subtype scanbotsdk_scanbot_binarization_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_as_scanbotsdk_scanbot_binarization_filter (scanbotsdk_parametric_filter_t *object, scanbotsdk_scanbot_binarization_filter_t **result)
 Casts the given instance of scanbotsdk_parametric_filter_t to its subtype scanbotsdk_scanbot_binarization_filter_t. If the given instance is not an instance of the subtype, result will be null.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_scanbot_binarization_filter_as_scanbotsdk_parametric_filter (scanbotsdk_scanbot_binarization_filter_t *object, scanbotsdk_parametric_filter_t **result)
 Casts the given instance of scanbotsdk_scanbot_binarization_filter_t to its parent type scanbotsdk_parametric_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_scanbot_binarization_filter_get_output_mode (scanbotsdk_scanbot_binarization_filter_t *self, scanbotsdk_output_mode_t *output_mode)
 Returns value of output_mode field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_scanbot_binarization_filter_set_output_mode (scanbotsdk_scanbot_binarization_filter_t *self, scanbotsdk_output_mode_t output_mode)
 Sets value of output_mode field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_custom_binarization_filter_create (scanbotsdk_output_mode_t output_mode, double denoise, int radius, scanbotsdk_binarization_filter_preset_t preset, scanbotsdk_custom_binarization_filter_t **result)
 Creates a new instance of scanbotsdk_custom_binarization_filter with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_custom_binarization_filter_create_with_defaults (scanbotsdk_custom_binarization_filter_t **result)
 Creates a new instance of scanbotsdk_custom_binarization_filter_t with given required params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_custom_binarization_filter_free (scanbotsdk_custom_binarization_filter_t *object)
 Frees the memory allocated for the instance of scanbotsdk_custom_binarization_filter_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_is_scanbotsdk_custom_binarization_filter (scanbotsdk_parametric_filter_t *object, bool *result)
 Checks if the given instance of scanbotsdk_parametric_filter_t is an instance of its subtype scanbotsdk_custom_binarization_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_as_scanbotsdk_custom_binarization_filter (scanbotsdk_parametric_filter_t *object, scanbotsdk_custom_binarization_filter_t **result)
 Casts the given instance of scanbotsdk_parametric_filter_t to its subtype scanbotsdk_custom_binarization_filter_t. If the given instance is not an instance of the subtype, result will be null.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_custom_binarization_filter_as_scanbotsdk_parametric_filter (scanbotsdk_custom_binarization_filter_t *object, scanbotsdk_parametric_filter_t **result)
 Casts the given instance of scanbotsdk_custom_binarization_filter_t to its parent type scanbotsdk_parametric_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_custom_binarization_filter_get_output_mode (scanbotsdk_custom_binarization_filter_t *self, scanbotsdk_output_mode_t *output_mode)
 Returns value of output_mode field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_custom_binarization_filter_set_output_mode (scanbotsdk_custom_binarization_filter_t *self, scanbotsdk_output_mode_t output_mode)
 Sets value of output_mode field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_custom_binarization_filter_get_denoise (scanbotsdk_custom_binarization_filter_t *self, double *denoise)
 Returns value of denoise field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_custom_binarization_filter_set_denoise (scanbotsdk_custom_binarization_filter_t *self, double denoise)
 Sets value of denoise field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_custom_binarization_filter_get_radius (scanbotsdk_custom_binarization_filter_t *self, int *radius)
 Returns value of radius field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_custom_binarization_filter_set_radius (scanbotsdk_custom_binarization_filter_t *self, int radius)
 Sets value of radius field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_custom_binarization_filter_get_preset (scanbotsdk_custom_binarization_filter_t *self, scanbotsdk_binarization_filter_preset_t *preset)
 Returns value of preset field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_custom_binarization_filter_set_preset (scanbotsdk_custom_binarization_filter_t *self, scanbotsdk_binarization_filter_preset_t preset)
 Sets value of preset field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_create (int radius, double border_width_fraction, double black_outliers_fraction, double white_outliers_fraction, double contrast_enhancement, double color_enhancement, double paper_whitening, int paper_whitening_bias, scanbotsdk_color_document_filter_t **result)
 Creates a new instance of scanbotsdk_color_document_filter with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_create_with_defaults (scanbotsdk_color_document_filter_t **result)
 Creates a new instance of scanbotsdk_color_document_filter_t with given required params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_free (scanbotsdk_color_document_filter_t *object)
 Frees the memory allocated for the instance of scanbotsdk_color_document_filter_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_is_scanbotsdk_color_document_filter (scanbotsdk_parametric_filter_t *object, bool *result)
 Checks if the given instance of scanbotsdk_parametric_filter_t is an instance of its subtype scanbotsdk_color_document_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_as_scanbotsdk_color_document_filter (scanbotsdk_parametric_filter_t *object, scanbotsdk_color_document_filter_t **result)
 Casts the given instance of scanbotsdk_parametric_filter_t to its subtype scanbotsdk_color_document_filter_t. If the given instance is not an instance of the subtype, result will be null.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_as_scanbotsdk_parametric_filter (scanbotsdk_color_document_filter_t *object, scanbotsdk_parametric_filter_t **result)
 Casts the given instance of scanbotsdk_color_document_filter_t to its parent type scanbotsdk_parametric_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_get_radius (scanbotsdk_color_document_filter_t *self, int *radius)
 Returns value of radius field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_set_radius (scanbotsdk_color_document_filter_t *self, int radius)
 Sets value of radius field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_get_border_width_fraction (scanbotsdk_color_document_filter_t *self, double *border_width_fraction)
 Returns value of border_width_fraction field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_set_border_width_fraction (scanbotsdk_color_document_filter_t *self, double border_width_fraction)
 Sets value of border_width_fraction field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_get_black_outliers_fraction (scanbotsdk_color_document_filter_t *self, double *black_outliers_fraction)
 Returns value of black_outliers_fraction field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_set_black_outliers_fraction (scanbotsdk_color_document_filter_t *self, double black_outliers_fraction)
 Sets value of black_outliers_fraction field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_get_white_outliers_fraction (scanbotsdk_color_document_filter_t *self, double *white_outliers_fraction)
 Returns value of white_outliers_fraction field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_set_white_outliers_fraction (scanbotsdk_color_document_filter_t *self, double white_outliers_fraction)
 Sets value of white_outliers_fraction field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_get_contrast_enhancement (scanbotsdk_color_document_filter_t *self, double *contrast_enhancement)
 Returns value of contrast_enhancement field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_set_contrast_enhancement (scanbotsdk_color_document_filter_t *self, double contrast_enhancement)
 Sets value of contrast_enhancement field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_get_color_enhancement (scanbotsdk_color_document_filter_t *self, double *color_enhancement)
 Returns value of color_enhancement field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_set_color_enhancement (scanbotsdk_color_document_filter_t *self, double color_enhancement)
 Sets value of color_enhancement field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_get_paper_whitening (scanbotsdk_color_document_filter_t *self, double *paper_whitening)
 Returns value of paper_whitening field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_set_paper_whitening (scanbotsdk_color_document_filter_t *self, double paper_whitening)
 Sets value of paper_whitening field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_get_paper_whitening_bias (scanbotsdk_color_document_filter_t *self, int *paper_whitening_bias)
 Returns value of paper_whitening_bias field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_color_document_filter_set_paper_whitening_bias (scanbotsdk_color_document_filter_t *self, int paper_whitening_bias)
 Sets value of paper_whitening_bias field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_brightness_filter_create (double brightness, scanbotsdk_brightness_filter_t **result)
 Creates a new instance of scanbotsdk_brightness_filter with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_brightness_filter_create_with_defaults (scanbotsdk_brightness_filter_t **result)
 Creates a new instance of scanbotsdk_brightness_filter_t with given required params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_brightness_filter_free (scanbotsdk_brightness_filter_t *object)
 Frees the memory allocated for the instance of scanbotsdk_brightness_filter_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_is_scanbotsdk_brightness_filter (scanbotsdk_parametric_filter_t *object, bool *result)
 Checks if the given instance of scanbotsdk_parametric_filter_t is an instance of its subtype scanbotsdk_brightness_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_as_scanbotsdk_brightness_filter (scanbotsdk_parametric_filter_t *object, scanbotsdk_brightness_filter_t **result)
 Casts the given instance of scanbotsdk_parametric_filter_t to its subtype scanbotsdk_brightness_filter_t. If the given instance is not an instance of the subtype, result will be null.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_brightness_filter_as_scanbotsdk_parametric_filter (scanbotsdk_brightness_filter_t *object, scanbotsdk_parametric_filter_t **result)
 Casts the given instance of scanbotsdk_brightness_filter_t to its parent type scanbotsdk_parametric_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_brightness_filter_get_brightness (scanbotsdk_brightness_filter_t *self, double *brightness)
 Returns value of brightness field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_brightness_filter_set_brightness (scanbotsdk_brightness_filter_t *self, double brightness)
 Sets value of brightness field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_contrast_filter_create (double contrast, scanbotsdk_contrast_filter_t **result)
 Creates a new instance of scanbotsdk_contrast_filter with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_contrast_filter_create_with_defaults (scanbotsdk_contrast_filter_t **result)
 Creates a new instance of scanbotsdk_contrast_filter_t with given required params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_contrast_filter_free (scanbotsdk_contrast_filter_t *object)
 Frees the memory allocated for the instance of scanbotsdk_contrast_filter_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_is_scanbotsdk_contrast_filter (scanbotsdk_parametric_filter_t *object, bool *result)
 Checks if the given instance of scanbotsdk_parametric_filter_t is an instance of its subtype scanbotsdk_contrast_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_as_scanbotsdk_contrast_filter (scanbotsdk_parametric_filter_t *object, scanbotsdk_contrast_filter_t **result)
 Casts the given instance of scanbotsdk_parametric_filter_t to its subtype scanbotsdk_contrast_filter_t. If the given instance is not an instance of the subtype, result will be null.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_contrast_filter_as_scanbotsdk_parametric_filter (scanbotsdk_contrast_filter_t *object, scanbotsdk_parametric_filter_t **result)
 Casts the given instance of scanbotsdk_contrast_filter_t to its parent type scanbotsdk_parametric_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_contrast_filter_get_contrast (scanbotsdk_contrast_filter_t *self, double *contrast)
 Returns value of contrast field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_contrast_filter_set_contrast (scanbotsdk_contrast_filter_t *self, double contrast)
 Sets value of contrast field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_grayscale_filter_create (double border_width_fraction, double black_outliers_fraction, double white_outliers_fraction, scanbotsdk_grayscale_filter_t **result)
 Creates a new instance of scanbotsdk_grayscale_filter with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_grayscale_filter_create_with_defaults (scanbotsdk_grayscale_filter_t **result)
 Creates a new instance of scanbotsdk_grayscale_filter_t with given required params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_grayscale_filter_free (scanbotsdk_grayscale_filter_t *object)
 Frees the memory allocated for the instance of scanbotsdk_grayscale_filter_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_is_scanbotsdk_grayscale_filter (scanbotsdk_parametric_filter_t *object, bool *result)
 Checks if the given instance of scanbotsdk_parametric_filter_t is an instance of its subtype scanbotsdk_grayscale_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_as_scanbotsdk_grayscale_filter (scanbotsdk_parametric_filter_t *object, scanbotsdk_grayscale_filter_t **result)
 Casts the given instance of scanbotsdk_parametric_filter_t to its subtype scanbotsdk_grayscale_filter_t. If the given instance is not an instance of the subtype, result will be null.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_grayscale_filter_as_scanbotsdk_parametric_filter (scanbotsdk_grayscale_filter_t *object, scanbotsdk_parametric_filter_t **result)
 Casts the given instance of scanbotsdk_grayscale_filter_t to its parent type scanbotsdk_parametric_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_grayscale_filter_get_border_width_fraction (scanbotsdk_grayscale_filter_t *self, double *border_width_fraction)
 Returns value of border_width_fraction field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_grayscale_filter_set_border_width_fraction (scanbotsdk_grayscale_filter_t *self, double border_width_fraction)
 Sets value of border_width_fraction field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_grayscale_filter_get_black_outliers_fraction (scanbotsdk_grayscale_filter_t *self, double *black_outliers_fraction)
 Returns value of black_outliers_fraction field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_grayscale_filter_set_black_outliers_fraction (scanbotsdk_grayscale_filter_t *self, double black_outliers_fraction)
 Sets value of black_outliers_fraction field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_grayscale_filter_get_white_outliers_fraction (scanbotsdk_grayscale_filter_t *self, double *white_outliers_fraction)
 Returns value of white_outliers_fraction field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_grayscale_filter_set_white_outliers_fraction (scanbotsdk_grayscale_filter_t *self, double white_outliers_fraction)
 Sets value of white_outliers_fraction field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_white_black_point_filter_create (double black_point, double white_point, scanbotsdk_white_black_point_filter_t **result)
 Creates a new instance of scanbotsdk_white_black_point_filter with given params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_white_black_point_filter_create_with_defaults (scanbotsdk_white_black_point_filter_t **result)
 Creates a new instance of scanbotsdk_white_black_point_filter_t with given required params and stores it in the location specified by the last argument.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_white_black_point_filter_free (scanbotsdk_white_black_point_filter_t *object)
 Frees the memory allocated for the instance of scanbotsdk_white_black_point_filter_t. If null is passed, the function does nothing.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_is_scanbotsdk_white_black_point_filter (scanbotsdk_parametric_filter_t *object, bool *result)
 Checks if the given instance of scanbotsdk_parametric_filter_t is an instance of its subtype scanbotsdk_white_black_point_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_parametric_filter_as_scanbotsdk_white_black_point_filter (scanbotsdk_parametric_filter_t *object, scanbotsdk_white_black_point_filter_t **result)
 Casts the given instance of scanbotsdk_parametric_filter_t to its subtype scanbotsdk_white_black_point_filter_t. If the given instance is not an instance of the subtype, result will be null.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_white_black_point_filter_as_scanbotsdk_parametric_filter (scanbotsdk_white_black_point_filter_t *object, scanbotsdk_parametric_filter_t **result)
 Casts the given instance of scanbotsdk_white_black_point_filter_t to its parent type scanbotsdk_parametric_filter_t.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_white_black_point_filter_get_black_point (scanbotsdk_white_black_point_filter_t *self, double *black_point)
 Returns value of black_point field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_white_black_point_filter_set_black_point (scanbotsdk_white_black_point_filter_t *self, double black_point)
 Sets value of black_point field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_white_black_point_filter_get_white_point (scanbotsdk_white_black_point_filter_t *self, double *white_point)
 Returns value of white_point field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_white_black_point_filter_set_white_point (scanbotsdk_white_black_point_filter_t *self, double white_point)
 Sets value of white_point field of the given object.
 
SBSDK_API scanbotsdk_error_code_t scanbotsdk_page_binarization_t_to_string (scanbotsdk_page_binarization_t value, const char **result)
 Returns the string representation of the given scanbotsdk_page_binarization_t value.