High speed matrix manipulation in c#?
I'm working on some image manipulation code in c# and need to do some matrix operations (specifically 2D convolution). I have the code written in matlab which uses the conv2
function ... is there a library for C# / .NET that does good high-speed matrix manipulations? I'd be fine if it requires some specific GPU开发者_开发百科 and does the matrix math on-GPU if that's what it takes.
Emgu is a nice C# port of OpenCV. I'm not sure about your convolution speicifically, but from this link it appears likely.
Another idea would be to create a dll with your routines that you link to with C#. I think Matlab has export/compile to C file functionality..
http://www.mathworks.com/products/netbuilder/
For GPU based work have a look at CUDA :
http://www.nvidia.com/object/what_is_cuda_new.html
.Net with CUDA :
http://www.hoopoe-cloud.com/Solutions/CUDA.NET/Default.aspx
精彩评论