iCub-main
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
python_imaging.SobelFilter Class Reference

Public Member Functions

 __init__ (self, input_port_name, output_port_name)
 
 run (self)
 
 cleanup (self)
 

Protected Attributes

 _input_port
 
 _input_port_name
 
 _output_port
 
 _output_port_name
 
 _input_buf_image
 
 _input_buf_array
 
 _output_buf_image
 
 _output_buf_array
 

Detailed Description

Object that reads an image from a port, transforms it and sends the result to another port.
    
    The object reads RGB images and sends monochrome ones with calculated sobel filter.
    Note: this class uses the alternative implementation of setExternal together with numpy array interface.

Definition at line 56 of file python_imaging.py.

Constructor & Destructor Documentation

◆ __init__()

python_imaging.SobelFilter.__init__ (   self,
  input_port_name,
  output_port_name 
)

Definition at line 63 of file python_imaging.py.

Member Function Documentation

◆ cleanup()

python_imaging.SobelFilter.cleanup (   self)

Definition at line 103 of file python_imaging.py.

◆ run()

python_imaging.SobelFilter.run (   self)

Definition at line 85 of file python_imaging.py.

Member Data Documentation

◆ _input_buf_array

python_imaging.SobelFilter._input_buf_array
protected

Definition at line 77 of file python_imaging.py.

◆ _input_buf_image

python_imaging.SobelFilter._input_buf_image
protected

Definition at line 75 of file python_imaging.py.

◆ _input_port

python_imaging.SobelFilter._input_port
protected

Definition at line 65 of file python_imaging.py.

◆ _input_port_name

python_imaging.SobelFilter._input_port_name
protected

Definition at line 66 of file python_imaging.py.

◆ _output_buf_array

python_imaging.SobelFilter._output_buf_array
protected

Definition at line 82 of file python_imaging.py.

◆ _output_buf_image

python_imaging.SobelFilter._output_buf_image
protected

Definition at line 80 of file python_imaging.py.

◆ _output_port

python_imaging.SobelFilter._output_port
protected

Definition at line 69 of file python_imaging.py.

◆ _output_port_name

python_imaging.SobelFilter._output_port_name
protected

Definition at line 70 of file python_imaging.py.


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