OrbbecSDK 1.10.18
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Loading...
Searching...
No Matches
Filter.h
Go to the documentation of this file.
1
5#pragma once
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11#include "ObTypes.h"
12
21
30
39
48
60
69
78
87
96
105
115
124
133
142
151
160
169
178
186
194void ob_temporal_filter_set_weight_value(ob_filter *filter, float value, ob_error **error);
195
202
211
220
229
238
247
256
263
272
281
290
337
344
353
362
371
380
387
396
405
406
415
424
433
442
443
450
458
466void ob_decimation_filter_set_scale_value(ob_filter *filter, uint8_t value, ob_error **error);
467
476
483
491
499
508bool ob_threshold_filter_set_scale_value(ob_filter *filter, uint16_t min, uint16_t max, ob_error **error);
509
516
524void ob_sequence_id_filter_select_sequence_id(ob_filter *filter, int sequence_id, ob_error **error);
525
534
535
543
551
558
566
575
582ob_filter *ob_create_disparity_transform(ob_error **error, bool depth_to_disparity);
583
591void ob_filter_reset(ob_filter *filter, ob_error **error);
592
603
611void ob_filter_enable(ob_filter *filter, bool enable, ob_error **error);
612
622
631void ob_filter_set_callback(ob_filter *filter, ob_filter_callback callback, void *user_data, ob_error **error);
632
640void ob_filter_push_frame(ob_filter *filter, ob_frame *frame, ob_error **error);
641
648void ob_delete_filter(ob_filter *filter, ob_error **error);
649
650#ifdef __cplusplus
651}
652#endif
ob_int_property_range ob_threshold_filter_get_max_range(ob_filter *filter, ob_error **error)
Get the threshold filter max range.
ob_uint8_property_range ob_spatial_moderate_filter_get_size_range(ob_filter *filter, ob_error **error)
Get the spatial moderate filter window size range.
ob_stream_type ob_align_get_to_stream_type(ob_filter *filter, ob_error **error)
Get the algin stream type.
bool ob_threshold_filter_set_scale_value(ob_filter *filter, uint16_t min, uint16_t max, ob_error **error)
Set the threshold filter scale range.
ob_uint16_property_range ob_edge_noise_removal_filter_get_margin_bottom_th_range(ob_filter *filter, ob_error **error)
Get the noise removal filter margin bottom th range.
ob_float_property_range ob_spatial_advanced_filter_get_alpha_range(ob_filter *filter, ob_error **error)
Get the spatial advanced filter alpha range.
ob_float_property_range ob_temporal_filter_get_weight_range(ob_filter *filter, ob_error **error)
Get the TemporalFilter weight range.
ob_filter * ob_create_noise_removal_filter(ob_error **error)
Create a noise removal filter.
ob_filter * ob_create_threshold_filter(ob_error **error)
Create a threshold filter.
ob_edge_noise_removal_filter_params ob_edge_noise_removal_filter_get_filter_params(ob_filter *filter, ob_error **error)
Get the edge noise removal filter params.
void ob_pointcloud_filter_set_position_data_scale(ob_filter *filter, float scale, ob_error **error)
Set the point cloud data scaling factor.
int ob_sequence_id_filter_get_sequence_id_list_size(ob_filter *filter, ob_error **error)
Get the current sequence id list size.
ob_uint8_property_range ob_spatial_fast_filter_get_size_range(ob_filter *filter, ob_error **error)
Get the spatial fast filter window size range.
ob_int_property_range ob_threshold_filter_get_min_range(ob_filter *filter, ob_error **error)
Get the threshold filter min range.
ob_int_property_range ob_spatial_advanced_filter_get_magnitude_range(ob_filter *filter, ob_error **error)
Get the spatial advanced filter magnitude range.
ob_hole_filling_mode ob_holefilling_filter_get_mode(ob_filter *filter, ob_error **error)
Get the HoleFillingFilter mode.
void ob_pointcloud_filter_set_frame_align_state(ob_filter *filter, bool state, ob_error **error)
Set the alignment state of the frames that will be input to produce the point cloud.
ob_filter * ob_create_temporal_filter(ob_error **error)
Create a Temporal Filter.
ob_filter * ob_create_decompression_filter(ob_error **error)
Create a decompression Filter.
void ob_temporal_filter_set_diffscale_value(ob_filter *filter, float value, ob_error **error)
Set the TemporalFilter diffscale value.
ob_spatial_fast_filter_params ob_spatial_fast_filter_get_filter_params(ob_filter *filter, ob_error **error)
Get the spatial fast filter params.
ob_uint16_property_range ob_spatial_advanced_filter_get_disp_diff_range(ob_filter *filter, ob_error **error)
Get the spatial advanced filter disp diff range.
void ob_holefilling_filter_set_mode(ob_filter *filter, ob_hole_filling_mode mode, ob_error **error)
Set the HoleFillingFilter mode.
ob_filter * ob_create_spatial_moderate_filter(ob_error **error)
Create a spatial moderate filter.
ob_filter * ob_create_spatial_fast_filter(ob_error **error)
Create a spatial fast filter.
void ob_spatial_advanced_filter_set_filter_params(ob_filter *filter, ob_spatial_advanced_filter_params params, ob_error **error)
Set the spatial advanced filter params.
void ob_filter_enable(ob_filter *filter, bool enable, ob_error **error)
Enable the frame post processing.
ob_filter * ob_create_disparity_transform(ob_error **error, bool depth_to_disparity)
Create a disparity transform.
void ob_pointcloud_filter_set_color_data_normalization(ob_filter *filter, bool state, ob_error **error)
Set the point cloud color data normalization.
void ob_delete_filter(ob_filter *filter, ob_error **error)
Delete the filter.
void ob_pointcloud_filter_set_coordinate_system(ob_filter *filter, ob_coordinate_system_type type, ob_error **error)
Set the point cloud coordinate system.
ob_spatial_advanced_filter_params ob_spatial_advanced_filter_get_filter_params(ob_filter *filter, ob_error **error)
Get the spatial advanced filter params.
ob_filter * ob_create_format_convert_filter(ob_error **error)
Create a format convert Filter.
ob_uint8_property_range ob_spatial_moderate_filter_get_magnitude_range(ob_filter *filter, ob_error **error)
Get the spatial moderate filter magnitude range.
bool ob_filter_is_enable(ob_filter *filter, ob_error **error)
Get the enable status of the frame post processing.
void ob_filter_reset(ob_filter *filter, ob_error **error)
Reset the filter, clears the cache, and resets the state. If the asynchronous interface is used,...
ob_filter * ob_create_sequenceId_filter(ob_error **error)
Create a SequenceId filter.
void ob_spatial_moderate_filter_set_filter_params(ob_filter *filter, ob_spatial_moderate_filter_params params, ob_error **error)
Set the spatial moderate filter params.
ob_uint8_property_range ob_decimation_filter_get_scale_range(ob_filter *filter, ob_error **error)
Get the decimation filter scale range.
void ob_decimation_filter_set_scale_value(ob_filter *filter, uint8_t value, ob_error **error)
Set the decimation filter scale value.
void ob_sequence_id_filter_select_sequence_id(ob_filter *filter, int sequence_id, ob_error **error)
Set the sequence id filter select sequence id.
void ob_pointcloud_filter_set_camera_param(ob_filter *filter, ob_camera_param param, ob_error **error)
Set the camera parameters for the PointCloud Filter.
ob_filter * ob_create_pointcloud_filter(ob_error **error)
Create a PointCloud Filter.
ob_uint16_property_range ob_spatial_moderate_filter_get_disp_diff_range(ob_filter *filter, ob_error **error)
Get the spatial moderate filter disp diff range.
ob_filter * ob_create_edge_noise_removal_filter(ob_error **error)
Create a edge noise removal filter.
void ob_filter_push_frame(ob_filter *filter, ob_frame *frame, ob_error **error)
Push the frame into the pending cache for the filter (asynchronous callback interface).
ob_filter * ob_create_holefilling_filter(ob_error **error)
Create a HoleFilling Filter.
void ob_spatial_fast_filter_set_filter_params(ob_filter *filter, ob_spatial_fast_filter_params params, ob_error **error)
Set the spatial fast filter params.
void ob_noise_removal_filter_set_filter_params(ob_filter *filter, ob_noise_removal_filter_params params, ob_error **error)
Set the noise removal filter params.
ob_filter * ob_create_compression_filter(ob_error **error)
Create a compression Filter.
uint8_t ob_decimation_filter_get_scale_value(ob_filter *filter, ob_error **error)
Get the decimation filter scale value.
ob_spatial_moderate_filter_params ob_spatial_moderate_filter_get_filter_params(ob_filter *filter, ob_error **error)
Get the spatial moderate filter params.
int ob_sequence_id_filter_get_sequence_id(ob_filter *filter, ob_error **error)
Get the current sequence id.
ob_filter * ob_create_align(ob_error **error, ob_stream_type align_to_stream)
Create a align.
ob_float_property_range ob_temporal_filter_get_diffscale_range(ob_filter *filter, ob_error **error)
Get the TemporalFilter diffscale range.
ob_sequence_id_item * ob_sequence_id_filter_get_sequence_id_list(ob_filter *filter, ob_error **error)
Get the current sequence id list.
ob_uint16_property_range ob_edge_noise_removal_filter_get_margin_left_th_range(ob_filter *filter, ob_error **error)
Get the noise removal filter margin left th range.
ob_uint16_property_range ob_edge_noise_removal_filter_get_margin_top_th_range(ob_filter *filter, ob_error **error)
Get the noise removal filter margin top th range.
void ob_temporal_filter_set_weight_value(ob_filter *filter, float value, ob_error **error)
Set the TemporalFilter weight range.
ob_uint16_property_range ob_noise_removal_filter_get_disp_diff_range(ob_filter *filter, ob_error **error)
Get the noise removal filter disp diff range.
void ob_filter_set_callback(ob_filter *filter, ob_filter_callback callback, void *user_data, ob_error **error)
Set the processing result callback function for the filter (asynchronous callback interface).
ob_noise_removal_filter_params ob_noise_removal_filter_get_filter_params(ob_filter *filter, ob_error **error)
Get the noise removal filter params.
void ob_pointcloud_filter_set_point_format(ob_filter *filter, ob_format type, ob_error **error)
Set the point cloud type parameters for the PointCloud Filter.
ob_filter * ob_create_hdr_merge(ob_error **error)
Create a hdr merge.
ob_uint16_property_range ob_spatial_advanced_filter_get_radius_range(ob_filter *filter, ob_error **error)
Get the spatial advanced filter radius range.
ob_filter * ob_create_spatial_advanced_filter(ob_error **error)
Create a spatial advanced filter.
void ob_compression_filter_set_compression_params(ob_filter *filter, ob_compression_mode mode, void *params, ob_error **error)
Set the compression parameters for the compression Filter.
void ob_format_convert_filter_set_format(ob_filter *filter, ob_convert_format type, ob_error **error)
Set the type of format conversion for the format convert Filter.
ob_frame * ob_filter_process(ob_filter *filter, ob_frame *frame, ob_error **error)
Process the frame (synchronous interface).
ob_filter * ob_create_decimation_filter(ob_error **error)
Create a decimation filter.
ob_uint16_property_range ob_edge_noise_removal_filter_get_margin_right_th_range(ob_filter *filter, ob_error **error)
Get the noise removal filter margin right th range.
void ob_edge_noise_removal_filter_set_filter_params(ob_filter *filter, ob_edge_noise_removal_filter_params params, ob_error **error)
Set the edge noise removal filter params.
ob_int_property_range ob_noise_removal_filter_get_max_size_range(ob_filter *filter, ob_error **error)
Get the noise removal filter max size range.
Provide structs commonly used in the SDK, enumerating constant definitions.
enum OBFormat ob_format
struct CFrameImpl ob_frame
Definition ObTypes.h:63
enum OBCompressionMode ob_compression_mode
enum OBHoleFillingMode ob_hole_filling_mode
enum OB_COORDINATE_SYSTEM_TYPE ob_coordinate_system_type
enum OBConvertFormat ob_convert_format
#define ob_filter_callback
Definition ObTypes.h:1759
enum OBStreamType ob_stream_type
struct FilterImpl ob_filter
Definition ObTypes.h:64
Structure for camera parameters.
Definition ObTypes.h:462
Structure for float range.
Definition ObTypes.h:336
Structure for integer range.
Definition ObTypes.h:325
SequenceId fliter list item.
Definition ObTypes.h:969
Structure for float range.
Definition ObTypes.h:347
Structure for float range.
Definition ObTypes.h:358
The error class exposed by the SDK, users can get detailed error information according to the error.
Definition ObTypes.h:151