颜色矩阵算法 [英] Color Matrix algorithm
本文介绍了颜色矩阵算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨!
我想知道ColorMatrix在C#中的工作方式.
我需要它的算法,因为我想将其写入CUDA图形卡.
我进行了搜索,但没有找到任何东西,只有ColorMatrix类.
谢谢您的帮助!
Zollie
Hi!
I''d like to know how the ColorMatrix works in C#.
I need the algorithm of it, because of I want to write it to CUDA graphic card.
I searched for it, but I didn''t find nothing, only the class of ColorMatrix.
Thank You for helping me!
Zollie
推荐答案
在此CP文章中,已经很好地描述了RGBA值的转换,应该清楚如何用C编写(对于CUDA),但这不是一个周末项目.
您还可以P/调用CUDA函数以在.NET中使用.
ColorMatrix基础知识-简单图像颜色调整 [
Hi,
in this CP Article the transformation of RGBA values is well described, it should be clear how to write it in C (for CUDA), but it''s not a weekend project.
You can also P/Invoke CUDA functions to use in .NET.
ColorMatrix Basics - Simple Image Color Adjustment[^]
With Best Regards
这篇关于颜色矩阵算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文