-
新建一个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
-
识别选定图片表情
vc和opencv写的识别选定图片的程序,详细识别步骤-眼--鼻--嘴debug可用
- 2022-07-09 14:14:24下载
- 积分:1
-
一个画图的基本框架原代码,对图形学的初学者应该有一定的用处...
一个画图的基本框架原代码,对图形学的初学者应该有一定的用处-a drawing of the basic framework of the original code, the right graphics beginners should have a certain usefulness
- 2023-07-17 13:05:03下载
- 积分:1
-
包编辑JPEG文件
COADING FOR EDITING JPEG FILES-COADING FOR EDITING JPEG FILES...
- 2022-03-15 13:05:16下载
- 积分:1
-
游程编码
系统实现方案:总体思想:将图像文件以二进制方式读入缓冲区,把二进制位转制为整数,对缓冲区数据进行编码,以特定的格式(unsigned short)写入输出文件;解压缩过程反过来即可。压缩文件存储格式:以每两个字节为单位储存(即每次写入16位unsigned short类型)。 0 1 2~15 ... 第0位 存储压缩信息(1压缩;0不压缩,原始数据)第1位 如果第0位为1(压缩),此位标明字符类别(0或1);如果第0位为0(原始数据),此位无意义,默认为0后14位 存储字符数量或者原始数据的值
- 2022-07-09 04:00:22下载
- 积分:1
-
TinyCad在VC6上重新编译调试成功的一个PCB CAD源码
TinyCad在VC6上重新编译调试成功的一个PCB CAD源码-TinyCad re-compile in VC6 debugger success PCB CAD source
- 2022-02-03 15:37:02下载
- 积分:1
-
地图中等值线的识别与矢量化(程序+源码)
地图中等值线的识别与矢量化,可以实现从栅格地图(目前支持bmp,emf等文件)中获取等值线.GIS工程有用的。-contour map of identification and vectorization, can be achieved from the raster maps (currently supports bmp, catalog, etc.) access contours. GIS projects useful.
- 2023-06-24 16:25:03下载
- 积分:1
-
图像识别程序,数字图像处理,源代码及资料
图像识别程序,数字图像处理,源代码及资料-image identification procedures, digital image processing, and information source
- 2022-01-28 00:33:56下载
- 积分:1
-
自己编写的作业使用VC++”一个非常典型的数字识别程序“,请站长检查...
自己编写的作业使用VC++”一个非常典型的数字识别程序“,请站长检查-My own homework writen by VC++,it is a typical program of figure recognization.Please check.
- 2022-05-13 13:07:11下载
- 积分:1
-
matlab程序,基于特征点的图像配准
matlab program about image registration feature point based
- 2022-02-02 22:35:48下载
- 积分:1