可能是像素级操纵? [英] Pixel level manipulation , possible?
问题描述
Hello Guys,
我正在尝试将现有应用程序迁移到Metro。问题是我需要做很多像素级操作,现在这可能吗?
我的senerio包括图像变换(不仅是仿射),有时还包括颜色空间变化或轮廓检测。 / p>
感谢您的帮助。
最佳
您可以对
WriteableBitmap ,然后使用
图片对象。
您还可以使用
RenderTransform 属性,以及非仿射变换设置
投影属性。
如果您需要做非常复杂的图像处理,另一个更高级的选项是在C ++中使用Direct2D来应用
图像效果 或进行自定义渲染,然后使用
SurfaceImageSource在XAML应用中显示。
Hello Guys,
I am trying to migrate our existing application to Metro. The problem is I need to do a lot pixel level manipulation, is this possible by now?
My senerio encludes Image transform(not only affine)and sometimes color space altering or contour detection.
Thanks for any help.
Best
You can do pixel-level manipulation of the content of a WriteableBitmap, then display it in your app using an Image object.
You can also apply affine transforms to the Image using its RenderTransform property, and non-affine transforms by setting the Projection property.
If you need to do very complex image processing, another more advanced option is to use Direct2D in C++ to apply image effects or do custom rendering, then display it in a XAML app using a SurfaceImageSource.
这篇关于可能是像素级操纵?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!