摘要:
函数原型 void Sobel( InputArray src, OutputArray dst, int ddepth, //图像深度 int dx, //x,y方向的差分阶数 int dy, int ksize=3, //sobel核的大小,必须取1,3,5 or 7 double scale= 阅读全文
摘要:
图像深度 1 bit : 用一位来存储,那么这个像素点的取值范围就是0或者1,那么我们看来这幅图片要么是黑色要么是白色。 4 bit : 取值范围为0 到 ( 2 的4次方 1 ) 8 bit : 来存储像素点的取值范围为 0 到 ( 2 的8次方 1 ) 以此类推,我们把 计算机存储单个像素点所用 阅读全文