图像处理:语言训练 [英] Image Processing: Language Camparison

查看:160
本文介绍了图像处理:语言训练的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在图像处理和计算机视觉方面,为什么C#比Visual C ++更好/更好?

Why is C# better/preferable than Visual C++ in terms of image processing and computer vision?

推荐答案

我反过来说.取决于您所谈论的C ++版本.如果我正确理解托管C ++(C ++/CLI),则它是C ++的.NET版本(扩展名),并且我认为不应有任何东西可以明智地提高性能.如果您试图在图像处理和计算机视觉方面做一些花哨的事情,那么我会选择非托管的C ++.这些东西可能是真正的CPU消耗,并且使用不受管理的C ++可以成为计算机的主人.
我的2 ct's

添加:
对于简单的图像处理任务,我还是更喜欢C#.
1.我已经为C#编程了很长一段时间了
2. System.Drawing命名空间中有很多东西,可以让您走一段距离
结束添加


问候,
Manfred
I''d say the other way around. Depends though what version of C++ you''re talking about. Managed C++ (C++/CLI) is the .NET version (extension) of C++ if I understand it correctly and I don''t think there shouldn''t be anything to gain performance wise. I''d go for the unmanaged C++ if you''re trying to do fancy things in image processing and computer vision. That stuff can be a real CPU hog and with unmanaged C++ your the master of your machine.
My 2ct''s!

Addition:
For simple image processing tasks I would prefer C# though.
1. I have programmed C# for quite a while now
2. There is lots of stuff in the System.Drawing namespace that lets you go quite a distance
End Addition


Regards,
Manfred


首先是算法,然后是语言.只有找到了最佳算法(或接近算法)后,您才可以选择语言:如果(本机)C++实现不太复杂,那么这是正确的选择,否则, go托管.
:)
First the algorithm then the language. Only after you''ve found the optimum algorithm (or a close one) you may choose the language: if a (native) C++ implementation isn''t too complex then it is the right choice, otherwise, go managed.
:)


好坏都没有.

C#带有一个巨大的标准运行时库,并且有大量的高质量组件可用.

C/C ++为您提供更好的控制力和更大的自由度-包括轻松无意射击自己的脚的能力.有许多高质量的开源图像处理和计算机视觉库.选择合适的一个取决于您的需求.

对于需要高质量解决方案的客户,我会选择C/C ++作为核心功能.没有什么可以阻止您在同一解决方案中同时使用C#和C/C ++,因此也许可以在c#和.Net中完成部分GUI.

如果我需要快速完成某些真正的工作(如昨天应做的那样),则可以购买.Net组件套件-也许 Leadtools [ ^ ]

问候
Espen Harlinn
It''s neither better nor worse.

C# comes with a HUGE standard runtime library, and there is an enormous amount of high quality components available.

C/C++ gives you better control and more freedom - including the ability to easily shoot yourself in the foot without intending to. There are many high quality open source image processing and computer vision libraries available. Choosing the right one depends on your needs.

For a customer with the need for a high quality solution I would choose C/C++ for the core functionality. There is nothing that prevents you from using both C# and C/C++ in the same solution, so maybe part of the GUI could be done in c# and .Net.

If I needed something real fast, as in should be done yesterday, I would shop around for a .Net component suite - maybe Leadtools[^]

Regards
Espen Harlinn


这篇关于图像处理:语言训练的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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