既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上物联网嵌入式知识点,真正体系化!
由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、电子书籍、讲解视频,并且后续会持续更新
2.代码实现(代码是我以前自学图像处理时写的,代码很粗糙没做任何优化,但很好理解)
/*八方向的Robinson模板边缘检测 比例scale对差分结果进行缩放 n为选择八方向中的一个*/
QImage* MainWindow:: SideSobeldiant(QImage* image,double scale)
{
QImage* newImage = new QImage(image->width(),image->height(),QImage::Format_ARGB32);
QColor color0;
int templt[3][3] = {
{1,1,1},
{1,-2,1},
{-1,-1,-1}
};
int templt1[3][3] = {
{1,1,1},
{1,-2,-1},
{1,-1,-1}
};
int templt2[3][3] = {
{1,1,-1},
{1,-2,-1},
{1,1,-1}
};
int templt3[3][3] = {
{1,-1,-1},
{1,-2,-1},
{1,1,1}
};
int templt4[3][3] = {
{-1,-1,-1},
{1,-2,1},
{1,1,1}
};
int templt5[3][3] = {
{-1,-1,1},
{-1,-2,1},
{1,1,1}
};
int templt6[3][3] = {
{-1,1,1},
{-1,-2,1},
{-1,1,1}
};
int templt7[3][3] = {
{1,1,1},
{-1,-2,1},
{-1,-1,1}
};
int templtsize = 3;
int a =0;
for(int y = templtsize/2; y < image->height() - templtsize/2; y++)
{
for(int x = templtsize/2; x < image->width() - templtsize/2;x++)
{
int r =0;
int g = 0;
int b = 0;
for(int j = -templtsize/2; j <=templtsize/2;j++)
{
for(int i = -templtsize/2; i <= templtsize/2;i++)
{
color0 = QColor(image->pixel(x + i,y + j));
r += color0.red() * templt[i + templtsize/2][j + templtsize/2];
g += color0.green() * templt[i + templtsize/2][j + templtsize/2];
b += color0.blue() * templt[i + templtsize/2][j + templtsize/2];
}
}
r*= scale;


**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上物联网嵌入式知识点,真正体系化!**
**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、电子书籍、讲解视频,并且后续会持续更新**
**[如果你需要这些资料,可以戳这里获取](https://bbs.youkuaiyun.com/topics/618679757)**
线、电子书籍、讲解视频,并且后续会持续更新**
**[如果你需要这些资料,可以戳这里获取](https://bbs.youkuaiyun.com/topics/618679757)**