OpenNetCF SDF 与 .Net CF 3.5
浏览 SDF 的文档,我发现了许多类,例如 BitmapEx 类或 TextBox2 类。 我可以看到他们的成员,但我找不到任何文本向我解释为什么我需要使用它们而不是 .Net CF 3.5 中给出的内容
所以,我要求的是一些[文档]或某人来解释如何或者为什么 SDF 类比 CF 类更好。现在,位图和文本框只是示例。 如果我能更多地了解框架本身以及如何使用它,那就更好了。
仅作为背景:
我正在开发手机 OCR 解决方案。 它使用手机功能完成整个处理和检测。 该应用程序能够在 HTC Diamond 上大约 80 秒内将 800x600 的图像区域[分割成字符]并包含大约 7 行文本。 我相信我应该能够提高表现。 现在我完全没有进行任何性能优化。 我正在阅读很多有关优化等的文章...当我遇到无法解决的问题时,我会针对这些主题发布一些单独的问题...
Going through the documentation of the SDF, i found many classes like the BitmapEx class or the TextBox2 class. I could see their members, but i could not find any text that explained to me why i needed to use them instead of whats given in the .Net CF 3.5
So, what i am requesting is something [a document] or someone to explain how or why the SDF classes are better than their CF equivalents. Now, the bitmap and textbox where just examples. It would be preferable if i could know more about the framework itself and how to use it.
Just for background:
I am developing an OCR solution for mobile phones. It does the entire processing and detecting using the cell phone capabilities. The app is able to segment [into characters] a 800x600 area of image with some 7 lines of text in around 80 seconds on a HTC Diamond. I believe i should be able to improve the performance. Right now i have done absolutely no performance optimizations. Am reading lots of articles on optimizations etc... will post some separate questions on those topics as and when i come across something i cant solve...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
SDF 类的设计目的并不是比 CF 类“更好”——它们主要是 CF 提供的类的扩展。 在许多情况下,它们提供完整框架可能具有但 CF 省略的方法、属性等。
显然,这是一种过度简化 - 例如,整个 OpenNETCF.WindowsCE 命名空间纯粹是 FFx 或 CF 中不存在的功能,但作为一般答案,它就是这样工作的。
SDF 并不是 CF 的替代品,而是 CF 的延伸。
The SDF classes aren't designed to be "better" than the CF classes - they are largely an extension of the CF-supplied classes. In many cases they provides methods, properties, etc. that the full framework may have but that the CF omitted.
Obviously that's an over-simplification - for example the entire OpenNETCF.WindowsCE namespace is purely features that don't exist in the FFx or the CF, but as a general answer, that's how it works.
The SDF is not a replacement for the CF, it's an extension of it.