-
本实验实现RGB颜色与HLS颜色的相互转换;在此实验中,定义了函数void HSLtoRGB(UINT hue, UINT sat, UINT light, B...
本实验实现RGB颜色与HLS颜色的相互转换;在此实验中,定义了函数void HSLtoRGB(UINT hue, UINT sat, UINT light, BYTE &r, BYTE &g, BYTE &b)实现HSL向RGB转换;void CPaletteDlg::RGBtoHSL(BYTE r, BYTE g, BYTE b, UINT &hue, UINT &sat, UINT
&light)实现RGB向HSL转换-Experimental realization of the RGB and HLS color color conversion in this experiment, the definition of the function void HSLtoRGB (UINT hue, UINT sat, UINT light, BYTE & r, BYTE & g, BYTE & b) the realization of HSL to RGB conversion void CPaletteDlg: : RGBtoHSL (BYTE r, BYTE g, BYTE b, UINT & hue, UINT & sat, UINT & light) to achieve conversion RGB to HSL
- 2023-04-19 04:00:05下载
- 积分:1
-
UARPT的一个编程实例,实现串口通信。针对DSP编程
UARPT的一个编程实例,实现串口通信。针对DSP编程
-UARPT instance of a program to achieve serial communication. Programming for DSP
- 2022-03-25 08:44:13下载
- 积分:1
-
图像打开,检索的各种代码。
图像打开,检索的各种代码。-Image opened, the code retrieval.
- 2022-07-16 01:50:46下载
- 积分:1
-
新建一个C++Builder项目 设置Form1的font为“宋体,小五” 在Form1中添加一个TRadioGroup组件rgDrawWhat供选择画什么图形...
新建一个C++Builder项目 设置Form1的font为“宋体,小五” 在Form1中添加一个TRadioGroup组件rgDrawWhat供选择画什么图形;添加一个Tbutton组件colorBtn和一个TcolorDialog组件ColorDialog1;添加一个TImage组件Image1。 3、 将当前项目保存在自己实验文件夹的exp1子文件夹中(以防错误操作而前功尽弃)。 编写colorBtn的OnClick事件,激活ColorDialog1,并获取所选择的颜色: if (ColorDialog1->Execute()) Image1->Canvas->Pen->Color = ColorDialog1->Color 5、 编写Image1的OnImage1MouseUp事件,要求实现: 1) 若是第奇数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第一个端点或圆心坐标; 2) 若是第偶数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第二个端点并利用TCanvas的MoveTo()和LineTo()方法画出直线段,或计算出圆的外接矩形后调用TCanvas的Ellipse()方法画圆。-C Builder a new project set the font to Form1 "wherein V" in Form1 add a TRadioGroup components rgDrawWhat options for what painting graphics; Add a Tbutton colorBtn components and a TcolorDialog ColorDialog1 components; Add a TImage component Image1. 3, the current project will be kept in their laboratories folders exp1 Documents folder (to prevent erroneous operation and wasted). Preparation colorBtn the OnClick, ColorDialog1 activated, and access t
- 2022-03-05 21:42:30下载
- 积分:1
-
JEPG图像中数字的识别,能实现JEPG图像中0~9之间数字的识别功能...
JEPG图像中数字的识别,能实现JEPG图像中0~9之间数字的识别功能-JEPG of digital image recognition, to achieve JEPG image number between 0 ~ 9 recognition
- 2022-02-03 17:23:59下载
- 积分:1
-
CT基本算法
简单的演示了CT的基本算法和实现,有图示和源码,标准的C++代码,可用于学习CT的基本知识。
- 2023-01-26 23:45:03下载
- 积分:1
-
采用Visual C++6.0编写,将一个位图文件显示出来,并用ADSW键控制场景移动。对于想学习游戏编程的同学会有一定帮助。...
采用Visual C++6.0编写,将一个位图文件显示出来,并用ADSW键控制场景移动。对于想学习游戏编程的同学会有一定帮助。-Using Visual C++ 6.0 prepared a bitmap file is displayed, and button control scenes ADSW mobile. Want to learn programming for the game will definitely help the students.
- 2022-05-20 18:26:42下载
- 积分:1
-
java写的3d游戏
java写的3d游戏-write java 3d game
- 2022-07-05 05:17:15下载
- 积分:1
-
c++实现opengl的代码, 其中有3个实例, 是很好的opengl的入门代码
c++实现opengl的代码, 其中有3个实例, 是很好的opengl的入门代码-c++ implementation of opengl code, there is one of three examples is a good entry-opengl code
- 2022-02-22 07:31:19下载
- 积分:1
-
opencv 下的,能打开图片,垂直,图片的缩放,旋转,都被我以注释的形式放在main函数中了。我也是初学者...
opencv 下的,能打开图片,垂直,图片的缩放,旋转,都被我以注释的形式放在main函数中了。我也是初学者-opencv under, to be able to open pictures, vertical, pictures of zooming and rotation, I have been in the form of notes on the main function. I also beginners
- 2022-05-23 12:20:56下载
- 积分:1