pyrealsense2.temporal_filter

class pyrealsense2.temporal_filter

Temporal filter smooths the image by calculating multiple frames with alpha and delta settings. Alpha defines the weight of current frame, and delta defines thethreshold for edge classification and preserving.

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrealsense2.temporal_filter) -> None
  2. __init__(self: pyrealsense2.temporal_filter, smooth_alpha: float, smooth_delta: float, persistence_control: int) -> None

Possible values for persistence_control: 1 - Valid in 8/8 - Persistency activated if the pixel was valid in 8 out of the last 8 frames 2 - Valid in 2 / last 3 - Activated if the pixel was valid in two out of the last 3 frames 3 - Valid in 2 / last 4 - Activated if the pixel was valid in two out of the last 4 frames 4 - Valid in 2 / 8 - Activated if the pixel was valid in two out of the last 8 frames 5 - Valid in 1 / last 2 - Activated if the pixel was valid in one of the last two frames 6 - Valid in 1 / last 5 - Activated if the pixel was valid in one out of the last 5 frames 7 - Valid in 1 / last 8 - Activated if the pixel was valid in one out of the last 8 frames 8 - Persist Indefinitely - Persistency will be imposed regardless of the stored history(most aggressive filtering)

Methods

__init__(*args, **kwargs) Overloaded function.
as_decimation_filter(...)
as_depth_huffman_decoder(...)
as_disparity_transform(...)
as_hole_filling_filter(...)
as_spatial_filter(...)
as_temporal_filter(...)
as_threshold_filter(...)
as_zero_order_invalidation(...)
get_info(...) Retrieve camera specific information, like versions of various internal components.
get_option((self: pyrealsense2.options, ...) Read option value from the device.
get_option_description(...) Get option description.
get_option_range(...) Retrieve the available range of values of a supported option
get_option_value_description(...) Get option value description (In case a specific option value holds special meaning)
get_supported_options(...) Retrieve list of supported options
invoke((self: pyrealsense2.processing_block, ...) Ask processing block to process the frame
is_decimation_filter(...)
is_depth_huffman_decoder(...)
is_disparity_transform(...)
is_hole_filling_filter(...)
is_option_read_only(...) Check if particular option is read only.
is_spatial_filter(...)
is_temporal_filter(...)
is_threshold_filter(...)
is_zero_order_invalidation(...)
process(...)
set_option((self: pyrealsense2.options, ...) Write new value to device option
start((self: pyrealsense2.processing_block, ...) Start the processing block with callback function to inform the application the frame is processed.
supports(...) Check if a specific camera info field is supported.