Emgu Matrix[Double] matrix = new Matrix[Double](height, width)的简单应用
2016-12-17 14:19
495 查看
//Matrix<Double> matrix = new Matrix<Double>(height, width); private void button1_Click(object sender, EventArgs e) { //创建一个矩阵 Matrix<Double> matrix1 = new Matrix<Double>(5, 7); double element = 0; //设置矩阵元素值 for (int i = 0; i < 5; i++) { for (int j = 0; j < 7; j++) { matrix1.Data[i, j] = element; element++; } } //显示 matrixBox1.Matrix = matrix1; }
相关文章推荐
- Matrix Chain Multiplication(栈的简单应用)
- UVA442 Matrix Chain Multiplication 矩阵运算量计算(栈的简单应用)
- 为什么不用简单的呢?关于限制Form的Width和Height
- UVA442 Matrix Chain Multiplication 矩阵运算量计算(栈的简单应用)
- Matrix Chain Multiplication(栈的简单应用)
- android中的matrix的简单应用--translate(平移),rotate(旋转),scale(缩放)和skew(倾斜)
- 兼容IE6的min-width、min-height的简单方法
- Calculate height and width of GIF/JPG files
- Tomcat4/5连接池的设置及简单应用示例
- SQLSERVER扩展存储过程XP_CMDSHELL的简单应用
- java(j2ee)应用-简单自定义标签开发全过程----之一(Inber)——JAVA夜未眠
- 企业应用Matrix
- [原创]用jar命令将Web应用打包成war文件的简单方法
- javascript里面的确一些关于Width,Height,Top,Left的问题
- 使用C#开发一个简单的P2P应用
- Tomcat4/5连接池的设置及简单应用示例
- java(j2ee)应用-简单自定义标签开发全过程----之一(Inber)
- 简单dll动态链接库的建立和应用
- process类的简单应用