Definition at line 871 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.


Public Member Functions | |
| spatial_filter () | |
| Create spatial filter Spatial filter smooths the image by calculating frame with alpha and delta settings alpha defines the weight of the current pixel for smoothing, and is bounded within [25..100]%, delta defines the depth gradient below which the smoothing will occur as number of depth levels For more information, check the spatial-filter.cpp. More... | |
| spatial_filter (float smooth_alpha, float smooth_delta, float magnitude, float hole_fill) | |
| Create spatial filter Spatial filter smooths the image by calculating frame with alpha and delta settings. More... | |
| spatial_filter (filter f) | |
| spatial_filter () | |
| Create spatial filter Spatial filter smooths the image by calculating frame with alpha and delta settings alpha defines the weight of the current pixel for smoothing, and is bounded within [25..100]%, delta defines the depth gradient below which the smoothing will occur as number of depth levels For more information, check the spatial-filter.cpp. More... | |
| spatial_filter (float smooth_alpha, float smooth_delta, float magnitude, float hole_fill) | |
| Create spatial filter Spatial filter smooths the image by calculating frame with alpha and delta settings. More... | |
| spatial_filter (filter f) | |
| rs2::frame | process (rs2::frame frame) const override |
| Ask processing block to process the frame and poll the processed frame from internal queue. More... | |
| rs2::frame | process (rs2::frame frame) const override |
| Ask processing block to process the frame and poll the processed frame from internal queue. More... | |
| frame_queue | get_queue () |
| frame_queue | get_queue () |
| rs2_processing_block * | get () const |
| rs2_processing_block * | get () const |
| template<class T > | |
| bool | is () const |
| template<class T > | |
| bool | is () const |
| template<class T > | |
| T | as () const |
| template<class T > | |
| T | as () const |
| operator bool () const | |
| operator bool () const | |
| template<class S > | |
| void | start (S on_frame) |
| Start the processing block with callback function on_frame to inform the application the frame is processed. More... | |
| template<class S > | |
| void | start (S on_frame) |
| Start the processing block with callback function on_frame to inform the application the frame is processed. More... | |
| template<class S > | |
| S & | operator>> (S &on_frame) |
| Does the same thing as "start" function. More... | |
| template<class S > | |
| S & | operator>> (S &on_frame) |
| Does the same thing as "start" function. More... | |
| void | invoke (frame f) const |
| Ask processing block to process the frame. More... | |
| void | invoke (frame f) const |
| Ask processing block to process the frame. More... | |
| operator rs2_options * () const | |
| operator rs2_options * () const | |
| bool | supports (rs2_camera_info info) const |
| Check if a specific camera info field is supported. More... | |
| bool | supports (rs2_camera_info info) const |
| Check if a specific camera info field is supported. More... | |
| bool | supports (rs2_option option) const |
| check if particular option is supported More... | |
| bool | supports (rs2_option option) const |
| check if particular option is supported More... | |
| bool | supports (rs2_option option) const |
| check if particular option is supported More... | |
| bool | supports (rs2_option option) const |
| check if particular option is supported More... | |
| bool | supports (rs2_option option) const |
| check if particular option is supported More... | |
| const char * | get_info (rs2_camera_info info) const |
| Retrieve camera specific information, like versions of various internal components. More... | |
| const char * | get_info (rs2_camera_info info) const |
| Retrieve camera specific information, like versions of various internal components. More... | |
| const char * | get_option_description (rs2_option option) const |
| get option description More... | |
| const char * | get_option_description (rs2_option option) const |
| get option description More... | |
| const char * | get_option_name (rs2_option option) const |
| get option name More... | |
| const char * | get_option_name (rs2_option option) const |
| get option name More... | |
| const char * | get_option_value_description (rs2_option option, float val) const |
| get option value description (in case specific option value hold special meaning) More... | |
| const char * | get_option_value_description (rs2_option option, float val) const |
| get option value description (in case specific option value hold special meaning) More... | |
| float | get_option (rs2_option option) const |
| read option's value More... | |
| float | get_option (rs2_option option) const |
| read option's value More... | |
| option_range | get_option_range (rs2_option option) const |
| retrieve the available range of values of a supported option More... | |
| option_range | get_option_range (rs2_option option) const |
| retrieve the available range of values of a supported option More... | |
| void | set_option (rs2_option option, float value) const |
| write new value to the option More... | |
| void | set_option (rs2_option option, float value) const |
| write new value to the option More... | |
| bool | is_option_read_only (rs2_option option) const |
| check if particular option is read-only More... | |
| bool | is_option_read_only (rs2_option option) const |
| check if particular option is read-only More... | |
| std::vector< rs2_option > | get_supported_options () |
| std::vector< rs2_option > | get_supported_options () |
Protected Member Functions | |
| void | register_simple_option (rs2_option option_id, option_range range) |
| void | register_simple_option (rs2_option option_id, option_range range) |
Protected Attributes | |
| frame_queue | _queue |
| std::shared_ptr< rs2_processing_block > | _block |
Friends | |
| class | context |
|
inline |
Create spatial filter Spatial filter smooths the image by calculating frame with alpha and delta settings alpha defines the weight of the current pixel for smoothing, and is bounded within [25..100]%, delta defines the depth gradient below which the smoothing will occur as number of depth levels For more information, check the spatial-filter.cpp.
Definition at line 881 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inline |
Create spatial filter Spatial filter smooths the image by calculating frame with alpha and delta settings.
| [in] | smooth_alpha | - defines the weight of the current pixel for smoothing is bounded within [25..100]% |
| [in] | smooth_delta | - defines the depth gradient below which the smoothing will occur as number of depth levels |
| [in] | magnitude | - number of filter iterations. |
| [in] | hole_fill | - an in-place heuristic symmetric hole-filling mode applied horizontally during the filter passes. Intended to rectify minor artefacts with minimal performance impact |
Definition at line 892 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References RS2_OPTION_FILTER_MAGNITUDE, RS2_OPTION_FILTER_SMOOTH_ALPHA, RS2_OPTION_FILTER_SMOOTH_DELTA, RS2_OPTION_HOLES_FILL, and rs2::options::set_option().
|
inline |
|
inline |
Create spatial filter Spatial filter smooths the image by calculating frame with alpha and delta settings alpha defines the weight of the current pixel for smoothing, and is bounded within [25..100]%, delta defines the depth gradient below which the smoothing will occur as number of depth levels For more information, check the spatial-filter.cpp.
Definition at line 881 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inline |
Create spatial filter Spatial filter smooths the image by calculating frame with alpha and delta settings.
| [in] | smooth_alpha | - defines the weight of the current pixel for smoothing is bounded within [25..100]% |
| [in] | smooth_delta | - defines the depth gradient below which the smoothing will occur as number of depth levels |
| [in] | magnitude | - number of filter iterations. |
| [in] | hole_fill | - an in-place heuristic symmetric hole-filling mode applied horizontally during the filter passes. Intended to rectify minor artefacts with minimal performance impact |
Definition at line 892 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References RS2_OPTION_FILTER_MAGNITUDE, RS2_OPTION_FILTER_SMOOTH_ALPHA, RS2_OPTION_FILTER_SMOOTH_DELTA, RS2_OPTION_HOLES_FILL, and rs2::options::set_option().
|
inline |
Definition at line 900 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::error::handle(), RS2_EXTENSION_SPATIAL_FILTER, and rs2_is_processing_block_extendable_to().
|
inlineinherited |
Definition at line 398 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inlineinherited |
Definition at line 398 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inlineinherited |
Definition at line 388 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block.
Referenced by rs2::decimation_filter::decimation_filter(), rs2::depth_huffman_decoder::depth_huffman_decoder(), rs2::disparity_transform::disparity_transform(), rs2::hdr_merge::hdr_merge(), rs2::hole_filling_filter::hole_filling_filter(), rs2::sequence_id_filter::sequence_id_filter(), spatial_filter(), rs2::temporal_filter::temporal_filter(), rs2::threshold_filter::threshold_filter(), and rs2::zero_order_invalidation::zero_order_invalidation().
|
inlineinherited |
Definition at line 388 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block.
|
inlineinherited |
Retrieve camera specific information, like versions of various internal components.
| [in] | info | camera info type to retrieve |
Definition at line 323 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::error::handle(), and rs2_get_processing_block_info().
|
inlineinherited |
Retrieve camera specific information, like versions of various internal components.
| [in] | info | camera info type to retrieve |
Definition at line 323 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::error::handle(), and rs2_get_processing_block_info().
|
inlineinherited |
read option's value
| [in] | option | option id to be queried |
Definition at line 72 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_get_option().
|
inlineinherited |
read option's value
| [in] | option | option id to be queried |
Definition at line 72 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_get_option().
|
inlineinherited |
get option description
| [in] | option | option id to be checked |
Definition at line 32 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_get_option_description().
|
inlineinherited |
get option description
| [in] | option | option id to be checked |
Definition at line 32 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_get_option_description().
|
inlineinherited |
get option name
| [in] | option | option id to be checked |
Definition at line 45 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_get_option_name().
|
inlineinherited |
get option name
| [in] | option | option id to be checked |
Definition at line 45 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_get_option_name().
|
inlineinherited |
retrieve the available range of values of a supported option
Definition at line 84 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::option_range::def, rs2::error::handle(), rs2::option_range::max, rs2::option_range::min, rs2_get_option_range(), and rs2::option_range::step.
|
inlineinherited |
retrieve the available range of values of a supported option
Definition at line 84 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::option_range::def, rs2::error::handle(), rs2::option_range::max, rs2::option_range::min, rs2_get_option_range(), and rs2::option_range::step.
|
inlineinherited |
get option value description (in case specific option value hold special meaning)
| [in] | option | option id to be checked |
| [in] | val | value of the option |
Definition at line 59 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), rs2_get_option_value_description(), and val.
|
inlineinherited |
get option value description (in case specific option value hold special meaning)
| [in] | option | option id to be checked |
| [in] | val | value of the option |
Definition at line 59 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), rs2_get_option_value_description(), and val.
|
inlineinherited |
Definition at line 387 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::filter::_queue.
|
inlineinherited |
Definition at line 387 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::filter::_queue.
|
inlineinherited |
Definition at line 119 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2_delete_options_list(), rs2_get_option_from_list(), rs2_get_options_list(), and rs2_get_options_list_size().
|
inlineinherited |
Definition at line 119 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2_delete_options_list(), rs2_get_option_from_list(), rs2_get_options_list(), and rs2_get_options_list_size().
|
inlineinherited |
Ask processing block to process the frame.
| [in] | on_frame | frame to be processed. |
Definition at line 267 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::get(), rs2::error::handle(), rs2_process_frame(), and absl::swap_internal::swap().
Referenced by rs2::syncer::operator()(), and rs2::filter::process().
|
inlineinherited |
Ask processing block to process the frame.
| [in] | on_frame | frame to be processed. |
Definition at line 267 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::get(), rs2::error::handle(), rs2_process_frame(), and absl::swap_internal::swap().
|
inlineinherited |
Definition at line 391 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inlineinherited |
Definition at line 391 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inlineinherited |
check if particular option is read-only
| [in] | option | option id to be checked |
Definition at line 111 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_is_option_read_only().
|
inlineinherited |
check if particular option is read-only
| [in] | option | option id to be checked |
Definition at line 111 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_is_option_read_only().
|
inlineinherited |
Definition at line 404 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block.
|
inlineinherited |
Definition at line 404 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block.
|
inlineinherited |
Definition at line 302 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::get().
|
inlineinherited |
Definition at line 302 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::get().
|
inlineinherited |
Does the same thing as "start" function.
| [in] | on_frame | address of callback function for noticing the frame to be processed is ready. |
Definition at line 257 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::start().
|
inlineinherited |
Does the same thing as "start" function.
| [in] | on_frame | address of callback function for noticing the frame to be processed is ready. |
Definition at line 257 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::start().
|
inlineoverridevirtualinherited |
Ask processing block to process the frame and poll the processed frame from internal queue.
| [in] | on_frame | frame to be processed. return processed frame |
Implements rs2::filter_interface.
Definition at line 352 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::filter::_queue, rs2::processing_block::invoke(), and rs2::frame_queue::poll_for_frame().
|
inlineoverridevirtualinherited |
Ask processing block to process the frame and poll the processed frame from internal queue.
| [in] | on_frame | frame to be processed. return processed frame |
Implements rs2::filter_interface.
Definition at line 352 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::filter::_queue, rs2::processing_block::invoke(), and rs2::frame_queue::poll_for_frame().
Referenced by rs2::frame::apply_filter(), rs2::pointcloud::calculate(), rs2::colorizer::colorize(), rs2::pointcloud::map_to(), and rs2::align::process().
|
inlineprotectedinherited |
Definition at line 331 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::option_range::def, rs2::error::handle(), rs2::option_range::max, rs2::option_range::min, rs2_processing_block_register_simple_option(), and rs2::option_range::step.
|
inlineprotectedinherited |
Definition at line 331 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::option_range::def, rs2::error::handle(), rs2::option_range::max, rs2::option_range::min, rs2_processing_block_register_simple_option(), and rs2::option_range::step.
|
inlineinherited |
write new value to the option
| [in] | option | option id to be queried |
| [in] | value | new value for the option |
Definition at line 99 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_set_option().
Referenced by rs2::colorizer::colorizer(), rs2::decimation_filter::decimation_filter(), rs2::hole_filling_filter::hole_filling_filter(), rs2::pointcloud::map_to(), rs2::pointcloud::pointcloud(), rs2::sequence_id_filter::sequence_id_filter(), spatial_filter(), rs2::temporal_filter::temporal_filter(), and rs2::threshold_filter::threshold_filter().
|
inlineinherited |
write new value to the option
| [in] | option | option id to be queried |
| [in] | value | new value for the option |
Definition at line 99 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_set_option().
|
inlineinherited |
Start the processing block with callback function on_frame to inform the application the frame is processed.
| [in] | on_frame | callback function for notifying the frame to be processed is ready. |
Definition at line 244 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::get(), rs2::error::handle(), and rs2_start_processing().
|
inlineinherited |
Start the processing block with callback function on_frame to inform the application the frame is processed.
| [in] | on_frame | callback function for notifying the frame to be processed is ready. |
Definition at line 244 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::get(), rs2::error::handle(), and rs2_start_processing().
Referenced by rs2::filter::filter(), rs2::processing_block::operator>>(), and rs2::syncer::syncer().
|
inlineinherited |
Check if a specific camera info field is supported.
| [in] | info | the parameter to check for support |
Definition at line 310 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::error::handle(), and rs2_supports_processing_block_info().
|
inlineinherited |
Check if a specific camera info field is supported.
| [in] | info | the parameter to check for support |
Definition at line 310 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::error::handle(), and rs2_supports_processing_block_info().
|
inlineinherited |
check if particular option is supported
| [in] | option | option id to be checked |
Definition at line 19 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_supports_option().
|
inlineinherited |
check if particular option is supported
| [in] | option | option id to be checked |
Definition at line 19 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
|
inlineinherited |
check if particular option is supported
| [in] | option | option id to be checked |
Definition at line 19 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
|
inlineinherited |
check if particular option is supported
| [in] | option | option id to be checked |
Definition at line 19 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
|
inlineinherited |
check if particular option is supported
| [in] | option | option id to be checked |
Definition at line 19 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
|
friend |
Definition at line 910 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
protectedinherited |
Definition at line 337 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
Referenced by rs2::decimation_filter::decimation_filter(), rs2::depth_huffman_decoder::depth_huffman_decoder(), rs2::disparity_transform::disparity_transform(), rs2::processing_block::get(), rs2::filter::get(), rs2::processing_block::get_info(), rs2::hdr_merge::hdr_merge(), rs2::hole_filling_filter::hole_filling_filter(), rs2::filter::operator bool(), rs2::processing_block::processing_block(), rs2::processing_block::register_simple_option(), rs2::sequence_id_filter::sequence_id_filter(), spatial_filter(), rs2::processing_block::supports(), rs2::temporal_filter::temporal_filter(), rs2::threshold_filter::threshold_filter(), and rs2::zero_order_invalidation::zero_order_invalidation().
|
protectedinherited |
Definition at line 406 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
Referenced by rs2::filter::filter(), rs2::filter::get_queue(), and rs2::filter::process().