Public Member Functions | Protected Member Functions | Private Attributes | List of all members
librealsense::hole_filling_filter Class Reference

#include <hole-filling-filter.h>

Inheritance diagram for librealsense::hole_filling_filter:
Inheritance graph
[legend]

Public Member Functions

 hole_filling_filter ()
 
- Public Member Functions inherited from librealsense::depth_processing_block
 depth_processing_block (const char *name)
 
virtual ~depth_processing_block ()
 
- Public Member Functions inherited from librealsense::stream_filter_processing_block
 stream_filter_processing_block (const char *name)
 
virtual ~stream_filter_processing_block ()
 
- Public Member Functions inherited from librealsense::generic_processing_block
 generic_processing_block (const char *name)
 
virtual ~generic_processing_block ()
 
- Public Member Functions inherited from librealsense::processing_block
synthetic_source_interfaceget_source () override
 
void invoke (frame_holder frames) override
 
 processing_block (const char *name)
 
void set_output_callback (frame_callback_ptr callback) override
 
void set_processing_callback (frame_processor_callback_ptr callback) override
 
virtual ~processing_block ()
 
- Public Member Functions inherited from librealsense::processing_block_interface
virtual ~processing_block_interface ()=default
 
- Public Member Functions inherited from librealsense::options_interface
virtual ~options_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< options_interface >
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::info_interface
virtual ~info_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< info_interface >
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::options_container
void create_snapshot (std::shared_ptr< options_interface > &snapshot) const override
 
void enable_recording (std::function< void(const options_interface &)> record_action) override
 
optionget_option (rs2_option id) override
 
const optionget_option (rs2_option id) const override
 
std::shared_ptr< optionget_option_handler (rs2_option id)
 
std::shared_ptr< optionget_option_handler (rs2_option id) const
 
virtual const char * get_option_name (rs2_option option) const override
 
std::vector< rs2_optionget_supported_options () const override
 
void register_option (rs2_option id, std::shared_ptr< option > option)
 
bool supports_option (rs2_option id) const override
 
void unregister_option (rs2_option id)
 
void update (std::shared_ptr< extension_snapshot > ext) override
 
- Public Member Functions inherited from librealsense::extension_snapshot
virtual ~extension_snapshot ()=default
 
- Public Member Functions inherited from librealsense::info_container
void create_snapshot (std::shared_ptr< info_interface > &snapshot) const override
 
void enable_recording (std::function< void(const info_interface &)> record_action) override
 
const std::stringget_info (rs2_camera_info info) const override
 
void register_info (rs2_camera_info info, const std::string &val)
 
bool supports_info (rs2_camera_info info) const override
 
void update (std::shared_ptr< extension_snapshot > ext) override
 
void update_info (rs2_camera_info info, const std::string &val)
 

Protected Member Functions

template<typename T >
void apply_hole_filling (void *image_data)
 
template<typename T >
void holes_fill_farest (T *image_data, size_t width, size_t height, size_t stride)
 
template<typename T >
void holes_fill_left (T *image_data, size_t width, size_t height, size_t stride)
 
template<typename T >
void holes_fill_nearest (T *image_data, size_t width, size_t height, size_t stride)
 
rs2::frame prepare_target_frame (const rs2::frame &f, const rs2::frame_source &source)
 
rs2::frame process_frame (const rs2::frame_source &source, const rs2::frame &f) override
 
void update_configuration (const rs2::frame &f)
 
- Protected Member Functions inherited from librealsense::depth_processing_block
bool should_process (const rs2::frame &frame) override
 
- Protected Member Functions inherited from librealsense::generic_processing_block
virtual rs2::frame prepare_output (const rs2::frame_source &source, rs2::frame input, std::vector< rs2::frame > results)
 

Private Attributes

size_t _bpp
 
size_t _current_frm_size_pixels
 
rs2_extension _extension_type
 
size_t _height
 
uint8_t _hole_filling_mode
 
rs2::stream_profile _source_stream_profile
 
size_t _stride
 
rs2::stream_profile _target_stream_profile
 
size_t _width
 

Additional Inherited Members

- Protected Attributes inherited from librealsense::stream_filter_processing_block
stream_filter _stream_filter
 
- Protected Attributes inherited from librealsense::processing_block
frame_processor_callback_ptr _callback
 
std::mutex _mutex
 
frame_source _source
 
synthetic_source _source_wrapper
 
- Protected Attributes inherited from librealsense::options_container
std::map< rs2_option, std::shared_ptr< option > > _options
 
std::function< void(const options_interface &)> _recording_function = [](const options_interface&) {}
 

Detailed Description

Definition at line 16 of file hole-filling-filter.h.

Constructor & Destructor Documentation

librealsense::hole_filling_filter::hole_filling_filter ( )

Definition at line 22 of file hole-filling-filter.cpp.

Member Function Documentation

template<typename T >
void librealsense::hole_filling_filter::apply_hole_filling ( void image_data)
inlineprotected

Definition at line 28 of file hole-filling-filter.h.

template<typename T >
void librealsense::hole_filling_filter::holes_fill_farest ( T *  image_data,
size_t  width,
size_t  height,
size_t  stride 
)
inlineprotected

Definition at line 74 of file hole-filling-filter.h.

template<typename T >
void librealsense::hole_filling_filter::holes_fill_left ( T *  image_data,
size_t  width,
size_t  height,
size_t  stride 
)
inlineprotected

Definition at line 53 of file hole-filling-filter.h.

template<typename T >
void librealsense::hole_filling_filter::holes_fill_nearest ( T *  image_data,
size_t  width,
size_t  height,
size_t  stride 
)
inlineprotected

Definition at line 117 of file hole-filling-filter.h.

rs2::frame librealsense::hole_filling_filter::prepare_target_frame ( const rs2::frame f,
const rs2::frame_source source 
)
protected

Definition at line 89 of file hole-filling-filter.cpp.

rs2::frame librealsense::hole_filling_filter::process_frame ( const rs2::frame_source source,
const rs2::frame f 
)
overrideprotectedvirtual

Implements librealsense::generic_processing_block.

Definition at line 57 of file hole-filling-filter.cpp.

void librealsense::hole_filling_filter::update_configuration ( const rs2::frame f)
protected

Definition at line 71 of file hole-filling-filter.cpp.

Member Data Documentation

size_t librealsense::hole_filling_filter::_bpp
private

Definition at line 162 of file hole-filling-filter.h.

size_t librealsense::hole_filling_filter::_current_frm_size_pixels
private

Definition at line 164 of file hole-filling-filter.h.

rs2_extension librealsense::hole_filling_filter::_extension_type
private

Definition at line 163 of file hole-filling-filter.h.

size_t librealsense::hole_filling_filter::_height
private

Definition at line 161 of file hole-filling-filter.h.

uint8_t librealsense::hole_filling_filter::_hole_filling_mode
private

Definition at line 167 of file hole-filling-filter.h.

rs2::stream_profile librealsense::hole_filling_filter::_source_stream_profile
private

Definition at line 165 of file hole-filling-filter.h.

size_t librealsense::hole_filling_filter::_stride
private

Definition at line 161 of file hole-filling-filter.h.

rs2::stream_profile librealsense::hole_filling_filter::_target_stream_profile
private

Definition at line 166 of file hole-filling-filter.h.

size_t librealsense::hole_filling_filter::_width
private

Definition at line 161 of file hole-filling-filter.h.


The documentation for this class was generated from the following files:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37