EdgeDetectorConfig
This message is used to configure the EdgeDetector node. You can set the horizontal and vertical Sobel filter kernel.Examples of functionality
Reference
class
dai::EdgeDetectorConfig
function
EdgeDetectorConfig()explicit function
EdgeDetectorConfig(std::shared_ptr< RawEdgeDetectorConfig > ptr)function
~EdgeDetectorConfig()function
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
function
EdgeDetectorConfigData getConfigData()Retrieve configuration data for EdgeDetector
Returns
EdgeDetectorConfigData: sobel filter horizontal and vertical 3x3 kernels
function
EdgeDetectorConfig & set(dai::RawEdgeDetectorConfig config)Set explicit configuration.
Parameters
- config: Explicit configuration
function
dai::RawEdgeDetectorConfig get()Retrieve configuration data for EdgeDetector.
Returns
config for EdgeDetector
Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.