关于使用C语言提取图像像素的问题。 [英] Question about image pixel extraction using C language.

查看:144
本文介绍了关于使用C语言提取图像像素的问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



我想制作一个扫描图像文件的c程序,并将像素信息提取并存储在数组中。



我在互联网上搜索很多,但我没有收到愿望答案。



可以任意一个解释了应该如何完成以及我们如何使用c语言编程。



帮助我。



我的尝试:



http://homepages.inf.ed.ac.uk/rbf/BOOKS/PHILLIPS /cips2ed.pdf阅读文章,但我想要实际的例子。



高级C编程:: HW13 [ ^ ]

参考此链接我无法理解。





Images and Pixels \Processing.org [ ^ ]但无法理解。

Hello

I want to make a c program that scan the image file and extract and store the pixel information in array.

I search lot of on the internet but I didn't received desire answer.

Can any one explain how It should be done and how we can done using c language programming.?

Help me.

What I have tried:

http://homepages.inf.ed.ac.uk/rbf/BOOKS/PHILLIPS/cips2ed.pdf read the artical but I want practical example.

Advanced C Programming :: HW13[^]
refer this link bit I cant understand.


Images and Pixels \Processing.org[^] but cannnot understand.

推荐答案

如果你是在 Windows 上使用位图然后 MSDN 轻轻提供示例代码(请参阅使用位图 - Windows应用程序| Microsoft Docs [ ^ ])。

恐怕没什么好看的。
If you are using Bitmaps on Windows then MSDN gently provides sample code (see Using Bitmaps - Windows applications | Microsoft Docs[^]).
Not much straightfoward, I am afraid.


在C ++中读取/操作图像 - 堆栈溢出 [ ^ ]


最佳文章aobut图片及其操作 ImageStone 和我个人最喜欢的 CxImage 。但两者都是用C ++编写的,但实际上有很多知识和工作都是浓缩的。所以我想这会为你节省大量时间来仔细探索它们。



图像处理的典型工作流程是检测和解析图像格式,然后读取像素并将其转换为合格格式。
The best articles aobut images and their manipulation are ImageStone and my personal favorite CxImage. But both are written in C++ but there is real a whole lot of knowledge and work condensed. So I guess that it will save you a lot of time to carefully explore them.

A typical work flow in image processing is to detect and resolve the image format and than read the pixels and transform them into a approbiate format.


这篇关于关于使用C语言提取图像像素的问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆