问题描述
实际上,我正在从事一个项目,并且由于对图像处理一无所知,因此我坚持使用图像处理.
实际上,我想分别更改图像每个像素的强度或任何字符(亮度,对比度,色相等),然后将其保存到硬盘.
然后再次按像素读取图像,以检索我已更改的属性.
任何人都可以PLZ帮我弄清楚.
Actually I am working on an project and I am stuck with image processing as I have little idea on it.
Actually I want to change the intensity or any character(brightness,Contrast,hue etc.) of each pixel of the image individually and then save it to hard disk .
Then again read the image pixelwise to retrive the properties that i had changed erlier.
Can anyone PLZ help me to figure it out.
推荐答案
Bitmap.GetPixel
Bitmap.SetPixel
Bitmap.Save
Color.GetHue
Color.GetBrightness
Color.GetSaturation
您可以在此处 [ ^ ],因为从HSL到RGB不在Color类中.
[edit]刚注意到,它也包含VB代码.[/edit]
You will find HSL<->RGB conversion here[^] since HSL to RGB is not a part of the Color class.
[edit]Just noticed, it includes the VB code as well.[/edit]
这篇关于任何人都可以帮助我进行图像编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!