Class EdgeDetectorConfig
Defined in File EdgeDetectorConfig.hpp
Inheritance Relationships
Base Type
public dai::Buffer(Class Buffer)
Class Documentation
-
class EdgeDetectorConfig : public dai::Buffer
EdgeDetectorConfig message. Carries sobel edge filter config.
Public Functions
-
EdgeDetectorConfig()
Construct EdgeDetectorConfig message.
-
virtual ~EdgeDetectorConfig() = default
-
void setSobelFilterKernels(const std::vector<std::vector<int>> &horizontalKernel, const std::vector<std::vector<int>> &verticalKernel)
Set sobel filter horizontal and vertical 3x3 kernels
- Parameters:
horizontalKernel – Used for horizontal gradient computation in 3x3 Sobel filter
verticalKernel – Used for vertical gradient computation in 3x3 Sobel filter
-
EdgeDetectorConfigData getConfigData() const
Retrieve configuration data for EdgeDetector
- Returns:
EdgeDetectorConfigData: sobel filter horizontal and vertical 3x3 kernels
-
EdgeDetectorConfig &set(dai::RawEdgeDetectorConfig config)
Set explicit configuration.
- Parameters:
config – Explicit configuration
-
dai::RawEdgeDetectorConfig get() const
Retrieve configuration data for EdgeDetector.
- Returns:
config for EdgeDetector
-
EdgeDetectorConfig()