pyrealsense2.filter

class pyrealsense2.filter

Define the filter workflow, inherit this class to generate your own filter.

__init__(self: pyrealsense2.filter, filter_function: Callable[[pyrealsense2.frame, pyrealsense2.frame_source], None], queue_size: int = 1) None

Methods

__init__(self, filter_function[, queue_size])

as_decimation_filter(self)

as_disparity_transform(self)

as_hdr_merge(self)

as_hole_filling_filter(self)

as_sequence_id_filter(self)

as_spatial_filter(self)

as_temporal_filter(self)

as_threshold_filter(self)

get_info(self, arg0)

Retrieve camera specific information, like versions of various internal components.

get_option(self, option)

Read option value from the device.

get_option_description(self, option)

Get option description.

get_option_range(self, option)

Retrieve the available range of values of a supported option

get_option_value(self, arg0)

get_option_value_description(self, option, value)

Get option value description (In case a specific option value holds special meaning)

get_supported_options(self)

Retrieve list of supported options

invoke(self, f)

Ask processing block to process the frame

is_decimation_filter(self)

is_disparity_transform(self)

is_hdr_merge(self)

is_hole_filling_filter(self)

is_option_read_only(self, option)

Check if particular option is read only.

is_sequence_id_filter(self)

is_spatial_filter(self)

is_temporal_filter(self)

is_threshold_filter(self)

on_options_changed(self, callback)

Sets a callback to notify in case options in this container change value

process(self, frame)

set_option(self, option, value)

Write new value to device option

set_option_value(self, arg0, arg1)

start(self, callback)

Start the processing block with callback function to inform the application the frame is processed.

supports(self, arg0)

Check if a specific camera info field is supported.

as_decimation_filter(self: pyrealsense2.filter) rs2::decimation_filter
as_disparity_transform(self: pyrealsense2.filter) rs2::disparity_transform
as_hdr_merge(self: pyrealsense2.filter) rs2::hdr_merge
as_hole_filling_filter(self: pyrealsense2.filter) rs2::hole_filling_filter
as_sequence_id_filter(self: pyrealsense2.filter) rs2::sequence_id_filter
as_spatial_filter(self: pyrealsense2.filter) rs2::spatial_filter
as_temporal_filter(self: pyrealsense2.filter) rs2::temporal_filter
as_threshold_filter(self: pyrealsense2.filter) rs2::threshold_filter
is_decimation_filter(self: pyrealsense2.filter) bool
is_disparity_transform(self: pyrealsense2.filter) bool
is_hdr_merge(self: pyrealsense2.filter) bool
is_hole_filling_filter(self: pyrealsense2.filter) bool
is_sequence_id_filter(self: pyrealsense2.filter) bool
is_spatial_filter(self: pyrealsense2.filter) bool
is_temporal_filter(self: pyrealsense2.filter) bool
is_threshold_filter(self: pyrealsense2.filter) bool