【发布时间】:2019-11-26 17:46:15
【问题描述】:
做了一些研究,我发现在Matlab中他们有这个功能来创建具有一定角度的线性结构元素:
strel('line',len,deg)
文档上写着creates a linear structuring element that is symmetric with respect to the neighborhood center, with approximate length len and angle deg.,基本上就是这样一个不同大小和角度的垫子:
我正在尝试以不同的角度创建类似的结构元素,但我在 Opencv for C++ 中找不到等效函数。有没有办法做到这一点?
感谢您的帮助。提前致谢
【问题讨论】: