Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从相机(ov7670)中找到了一些 RGB(565)格式的原始数据。现在我想用 C#、C、C++ 或 MATLAB 从这些 RGB 数据中绘制一个 2D 图像,但我不知道该怎么做。我的最终目标是识别图像并显示它。
一次读取 16 位像素。然后将它们转换为以下结构:
struct rgb { unsigned int red : 5; unsigned int green: 6; unsigned int blue : 5; }
然后,您可以分别访问每种颜色。如何从它们实际制作图像?使用一些图书馆。这就是编程的工作原理。永远不要重新发明轮子。