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

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

于 2022-03-16 发布 文件大小:37.41 kB
0 174
下载积分: 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 个回复

  • 直接插入排序(C++语言编写)
        用C++实现直接插入排序,在VC++ 6.0编译通过。算法描述如下:    每趟将一个待排序字的关键字,按照其关键字值的大小顺序查找到适当的位置,完成插入,直到待排序的关键字为空。
    2022-04-09 18:32:36下载
    积分:1
  • 八皇后问题
    代码是利用Prolog来解决两个问题:数独和八皇后问题。
    2023-07-23 07:30:03下载
    积分:1
  • 这opennl,图书馆很容易构造和求解稀疏线性系统。
    This OpenNL, a library to easily construct and solve sparse linear systems. * OpenNL is supplied with a set of built-in iterative solvers (Conjugate gradient,BICGSTAB, GMRes) and preconditioners (Jacobi, SSOR). * OpenNL can also use other solvers (SuperLU 3.0 is supported as an OpenNL extension,MUMPS will be supported in a future version)-This is OpenNL. a library to easily construct and solve sparse l inear systems.* OpenNL is supplied with a set of built-in iterative solvers (Conjugate gradie nt, Application of BICGSTAB. GMRes) and preconditioners (Jacobi, SSOR).* OpenNL can also use other solvers (Super rLU 3.0 is supported as an OpenNL extension, MUMPS will be supported in a future version)
    2023-07-05 19:45:04下载
    积分:1
  • Apriori中频繁项目集生成C语言实现
    算法在根据频繁K项集过程中要计算频繁K 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2023-02-10 23:30:03下载
    积分:1
  • 与干扰
    With the interference-to-noise ratio reduced to 30 dB, plot the adaptive antenna pattern after 200 iterations of the LMS algorithm-With the interference-to-noise ratio of red uced to 30 dB. plot the adaptive antenna pattern after 200 ite rations of the LMS algorithm
    2023-03-06 19:50:03下载
    积分:1
  • sm2实现描述
    椭圆曲线的定义:     一条椭圆曲线是在射影平面上满足方程     Y2Z+a1XYZ+a3YZ2=X3+a2X2Z+a4XZ2+a6Z3   的曲线.   一个利用椭圆曲线进行加密通信的过程: 1、用户A选定一条椭圆曲线Ep(a,b),并取椭圆曲线上一点,作为基点G。 2、用户A选择一个私有密钥k,并生成公开密钥K=kG。 3、用户A将Ep(a,b)和点K,G传给用户B。 4、用户B接到信息后 ,将待传输的明文编码到Ep(a,b)上一点M(编码方法很多,这里不作讨论),并产生一个随机整数
    2022-05-31 23:53:50下载
    积分:1
  • computer calendar (including discriminant whether a leap year)
    计算机日历程序 (包括判别是否闰年)-computer calendar (including discriminant whether a leap year)
    2022-02-20 07:35:21下载
    积分:1
  • 禁忌搜索
    禁忌搜索解决TSP的Matlab程序 编的一个很简单的禁忌搜索程序,效果一般,以后还要努力改善。 %keywords:TSP,TS %by Zhaokai,zkcsu@126.com
    2022-03-07 09:48:09下载
    积分:1
  • 自动计养老保险金额,包括每个月上交金额,何时开始,何时结束,退休后应得每月金额...
    自动计算养老保险金额,包括每个月上交金额,何时开始,何时结束,退休后应得每月金额-Automatically calculate the amount of pension insurance, including the amount paid every month when he will begin, when the end of each month after retirement should be the amount of
    2022-03-22 06:32:33下载
    积分:1
  • 两段锁模拟 java语言
    通过基于锁的并发控制系统的模拟实现,掌握两段加锁协议和简单并发控制系统的构建;理解事务并发访问造成的不可串行化和如何保证可串行化的技术,使用java语言模拟实现数据库的两段锁协议的实现过程
    2023-03-14 16:00:04下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载