VB.NET中的快速矩阵计算 [英] Fast matrix calculation in VB.NET

查看:432
本文介绍了VB.NET中的快速矩阵计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI ALL

-----

我有一个基本问题:

执行矩阵计算的最佳方法是什么在VB.NET中?!

我想知道最快的方法是什么?!

-----

让我解释一下:

我想对图像进行一些处理,

(例如:在灰度图像上应用高斯滤镜),

因此,我必须编写一个计算两个矩阵卷积的代码,因为:

FILTERED-IMAGE =图像和过滤器卷积的结果

它很明显:

IMAGE = H * W矩阵,

FILTER = L * L矩阵,和

FILTERED-IMAGE = H * W矩阵

---

现在,问题是:如何在VB.NET中执行这些矩阵计算?!

我认为它可以用这种方式完成:用二维数组建模每个矩阵

它是否正确?!

如果是,它是一种快速的工作方式使用图像矩阵?!

如果不是,那么b是什么est方式?!

-----

请指导我......

感谢所有

HI ALL
-----
I have a fundamental question:
What is the best way to perform Matrix-Calculation in VB.NET?!
I want to know what is the fastest way to do that?!
-----
Let me explain it more:
I want to do some processing on images,
(For example: Apply a gaussian-filter on a gray-image),
So, i must write a code that calculates the convolution of two matrices, because:
FILTERED-IMAGE = result of convolution of IMAGE and FILTER
And it is obvious that:
IMAGE = H*W matrix,
FILTER = L*L matrix, and
FILTERED-IMAGE = H*W matrix
---
Now, the question is: How can I perform these Matrix-Calculations in VB.NET?!
I think it can be done in this manner: "Modeling each matrix with a 2-d Array"
Is it correct?!
If yes, is it a fast way to work with image matrices?!
If no, what is the best way?!
-----
PLEASE GUIDE ME...
THANKS ALL

推荐答案

使用 https://mathnetnumerics.codeplex.com/ [ ^ ]。

干杯

Andi
Use https://mathnetnumerics.codeplex.com/[^].
Cheers
Andi


这篇关于VB.NET中的快速矩阵计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆