问题描述
大家好
我一直在研究Camera Module,该模块可以将RAW图像生成为字节数组,因此我想在pictureBox上显示此字节数组.
该模块支持以下类型:
2位灰度级(RAW,仅2位用于Y)
4位灰度级(RAW,仅Y位为4位)
8位灰度级(RAW,仅Y位为8位)
8位彩色(RAW,332(RGB))
12位彩色(RAW,444(RGB))
16位彩色(RAW,565(RGB))
显然我不太擅长使用C#进行图像处理,因此请编写完整的代码,并简要说明其中一种类型.
Hello everyone
I''ve been working on Camera Module and this module can generate RAW image as byte array, so I want to display this byte array on pictureBox.
This module support these types:
2-bit Gray Scale (RAW, 2-bit for Y only)
4-bit Gray Scale (RAW, 4-bit for Y only)
8-bit Gray Scale (RAW, 8-bit for Y only)
8-bit Color (RAW, 332(RGB))
12-bit Color (RAW, 444(RGB))
16-bit Color (RAW, 565(RGB))
Acually I''m not that good at image processing in C# so please write the whole code with brief explanation for one of these types.
推荐答案
这篇关于如何在C#中显示RAW图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!