如何在Vb.Net中使用Colordialog控制和图像Rgb [英] How Do I Control And Images Rgb Using A Colordialog In Vb.Net

查看:152
本文介绍了如何在Vb.Net中使用Colordialog控制和图像Rgb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧所以我想做的是拍摄灰度图像并将其放入图像框中,然后使用colordialog我想让图像根据用户在colordialog中选择的颜色改变颜色..如果这样做感谢..谢谢

okay so what i want to do is take a grayscale image and put it in an imagebox, then using a colordialog i want to make the image change colors depending on the color chosen by the user in the colordialog.. if that makes sense.. Thanks

推荐答案

您知道当彩色图像转换为灰度图像时会丢失信息,因此,一般来说没有确切的方法可以恢复原色的。但是,您可能会发现colorazing算法可能对某些特定用途有用(当然,这取决于您)。
You know when a color image is converted into a grayscale one there is information loss, hence, generally speaking there is no exact way to restore the original colored one. However you may find 'colorazing' algorithms that could be useful for some specific purposes (that's up to you, of course).


这篇关于如何在Vb.Net中使用Colordialog控制和图像Rgb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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