登录
首页 » 算法 » 鼠标移动得到图片的颜色值和坐标

鼠标移动得到图片的颜色值和坐标

于 2022-03-16 发布 文件大小:37.41 kB
0 155
下载积分: 2 下载次数: 1

代码说明:

vs2008开发工具,c#编写程序,打开图片,然后鼠标点击图片,得到颜色的RGB值和点击图片的位置坐标……得到颜色值的部分代码如下:                 Color pointColor = bmp.GetPixel(X, Y);                 textBox1.Text = pointColor.R.ToString();                 textBox2.Text = pointColor.G.ToString();                 textBox3.Text = pointColor.B.ToString();                 LAB_POS.Text = "坐标:" + X.ToString() + "," + Y.ToString();

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 2维FDTD TE 波
    2维FDTD TE 波-2-D FDTD TE wave
    2022-04-07 11:05:23下载
    积分:1
  • opengl 茶壶
    此程序绘制在 visual studio c + + 的计算机图形 3D 对象中使用 opengl 的犹他茶壶。此代码摘自补充材料,为 Chapter.This 程序为犹他茶壶、 茶杯和茶勺,使用数据集,并生成贝塞尔曲面使用 OpenGL 评价
    2022-12-23 02:05:03下载
    积分:1
  • SSIM c++源代码
    采用opencv进行图片读取和处理,c++实现SSIM算法,评估图片质量,工程在VC6.0开发平台实现,工程中包含opencv所需的头文件和库文件。SSIM算法是最经典的图像质量评价算法,c++源代码可以帮助学习,以供参考。
    2022-01-21 05:20:37下载
    积分:1
  • Prolog实现8-puzzle
    he 8-puzzle will be represented by a 3x3 list of lists positions where the empty box will be represented by the value 9, as shown below: [[9,1,3],[5,2,6],[4,7,8]] Possibility Solution: Only half of the initial positions of the 8-puzzle are solvable. There is a formula that allows to know from the beginning if you can solve the puzzle.To determine whether an 8-puzzle is solvable, for each square containing a value N is calculated how many numbers less than N there after the current cell. For example, to the initial status
    2023-07-26 11:40:02下载
    积分:1
  • administrador PHP
    应用背景078 9a7 9s879a8s7d897as89d7f89a7 897sd89 a79s7 897 89as7897asd897987df98as7 7 79 a7s9 7 77 as97 8 89 7 89s797 7 89 7 89s7d9 77 97 asd97 97 97 97 a89s7 987 897 7sd 97 897 897 897 7 97 9a789 789 79 7a97 987 789 7 97 d89 7 897 89789 a789 7 789789 df789 789 789 789 789 789 789 789 789 789 789 789f 789 789 789 789 789 789 789a789a 6767 8 687 78ad 78苑路甲 78 d6as78f687as6d8 sd 78af68as d678 6as786 s67f786sf asdfu asdf0s7dnf89asd798 89s789fab7sd89f7as98dfb79s7dbf98s asn sdn898f7a89sbb sb9b7f 9s8abf 89ab sb89 d8b7s9db89b b b898b7 89b 祁 b89 b ab89sbnbnasbnbns关键技术ASD F的DF的DF S D F S D F S S D F 4个DF S6 5 D 4 D 6 F 6 5A 4 5 F 4A 6 5 S D 4 F  ;a5s4df654asf4 6a46f4as6d4 f65a4s5df74as65d4fa5s4df65a4 4 64 4 4 6464 4 64 a465d4as6446 4sd4464a 65a4s6f5 4as65d4f65a4465 46a4sd54564s4d f54a6sd54 654 4 654 654654 654 654 65a4sd654654654 654a 654as64 65 4654654654 4 654 654 654 65465 4654 654 654 4
    2022-03-22 08:14:18下载
    积分:1
  • 分析数学表达式 运 以及作图用的,主要是可以支持大部分的自然书写...
    分析数学表达式 运算 以及作图用的,主要是可以支持大部分的自然书写-Analysis of mathematical expression used for computing and mapping, mainly to support most of the natural to write
    2022-03-10 07:26:56下载
    积分:1
  • 柏松分布
    自己编写的柏松分布函数算法, Poisson Distribution Util.java 已经经过项目测试了1-20阶乘  1-170的阶乘 都能满足
    2022-02-21 11:59:27下载
    积分:1
  • 判断IP地址是否合
    全零(“0.0.0.0”)地址对应于当前主机。全“1”的IP地址(“255.255.255.255”)是当前子网的广播地址。 在IP地址3种主要类型里,各保留了3个区域作为私有地址,其地址范围如下: A类地址:10.0.0.0~10.255.255.255 B类地址:172.16.0.0~172.31.255.255 C类地址:192.168.0.0~192.168.255.255
    2022-05-25 06:57:22下载
    积分:1
  • 一个实现多项式加的小程序
    一个实现多项式加法的小程序-a polynomial addition to the small program
    2022-01-21 04:03:19下载
    积分:1
  • matlab 遗传求解旅行商问题
    一个基于遗传算法求解旅行商问题的MATLAB程序,里面注释很清楚,可以运行,而且能够有实时更新显示。
    2023-07-16 05:10:04下载
    积分:1
  • 696518资源总数
  • 106242会员总数
  • 10今日下载