#include <EdgeDetectorConfig.hpp>

Public Member Functions | |
| EdgeDetectorConfig () | |
| EdgeDetectorConfig (std::shared_ptr< RawEdgeDetectorConfig > ptr) | |
| dai::RawEdgeDetectorConfig | get () const |
| EdgeDetectorConfigData | getConfigData () const |
| EdgeDetectorConfig & | set (dai::RawEdgeDetectorConfig config) |
| void | setSobelFilterKernels (const std::vector< std::vector< int >> &horizontalKernel, const std::vector< std::vector< int >> &verticalKernel) |
| virtual | ~EdgeDetectorConfig ()=default |
Public Member Functions inherited from dai::Buffer | |
| Buffer () | |
| Creates Buffer message. More... | |
| Buffer (std::shared_ptr< dai::RawBuffer > ptr) | |
| std::vector< std::uint8_t > & | getData () const |
| Get non-owning reference to internal buffer. More... | |
| int64_t | getSequenceNum () const |
| std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > | getTimestamp () const |
| std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > | getTimestampDevice () const |
| void | setData (const std::vector< std::uint8_t > &data) |
| void | setData (std::vector< std::uint8_t > &&data) |
| Buffer & | setSequenceNum (int64_t sequenceNum) |
| Buffer & | setTimestamp (std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp) |
| Buffer & | setTimestampDevice (std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp) |
| virtual | ~Buffer ()=default |
Public Member Functions inherited from dai::ADatatype | |
| ADatatype (std::shared_ptr< RawBuffer > r) | |
| std::shared_ptr< RawBuffer > | getRaw () const |
| virtual | ~ADatatype ()=default |
Private Member Functions | |
| std::shared_ptr< RawBuffer > | serialize () const override |
Private Attributes | |
| RawEdgeDetectorConfig & | cfg |
Additional Inherited Members | |
Protected Attributes inherited from dai::ADatatype | |
| std::shared_ptr< RawBuffer > | raw |
EdgeDetectorConfig message. Carries sobel edge filter config.
Definition at line 14 of file EdgeDetectorConfig.hpp.
| dai::EdgeDetectorConfig::EdgeDetectorConfig | ( | ) |
Construct EdgeDetectorConfig message.
Definition at line 9 of file EdgeDetectorConfig.cpp.
|
explicit |
Definition at line 10 of file EdgeDetectorConfig.cpp.
|
virtualdefault |
| dai::RawEdgeDetectorConfig dai::EdgeDetectorConfig::get | ( | ) | const |
Retrieve configuration data for EdgeDetector.
Definition at line 22 of file EdgeDetectorConfig.cpp.
| EdgeDetectorConfigData dai::EdgeDetectorConfig::getConfigData | ( | ) | const |
Retrieve configuration data for EdgeDetector
Definition at line 18 of file EdgeDetectorConfig.cpp.
|
overrideprivatevirtual |
Reimplemented from dai::Buffer.
Definition at line 5 of file EdgeDetectorConfig.cpp.
| EdgeDetectorConfig & dai::EdgeDetectorConfig::set | ( | dai::RawEdgeDetectorConfig | config | ) |
Set explicit configuration.
| config | Explicit configuration |
Definition at line 26 of file EdgeDetectorConfig.cpp.
| void dai::EdgeDetectorConfig::setSobelFilterKernels | ( | const std::vector< std::vector< int >> & | horizontalKernel, |
| const std::vector< std::vector< int >> & | verticalKernel | ||
| ) |
Set sobel filter horizontal and vertical 3x3 kernels
| horizontalKernel | Used for horizontal gradient computation in 3x3 Sobel filter |
| verticalKernel | Used for vertical gradient computation in 3x3 Sobel filter |
Definition at line 13 of file EdgeDetectorConfig.cpp.
|
private |
Definition at line 16 of file EdgeDetectorConfig.hpp.