-
新建一个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
-
区域填充的算法 扫描线的填充算法 图形学的作业实验基本内容...
区域填充的算法 扫描线的填充算法 图形学的作业实验基本内容-area filling algorithm scanning lines filling algorithm graphics operations as basic experiment
- 2022-04-24 23:41:00下载
- 积分:1
-
轮廓跟踪算法很有价值
采用了常用的方法。
轮廓跟踪算法很有价值
采用了常用的方法。-Contour Trace is useful for Tracing image sContour
- 2023-01-05 09:35:03下载
- 积分:1
-
利用神经元网络方法进行文字识别的算法,希望对大家有用
利用神经元网络方法进行文字识别的算法,希望对大家有用-use neural network methods of character recognition algorithm, it may be useful to hope
- 2022-03-22 18:49:17下载
- 积分:1
-
一个图象域值分割程序
一个图象域值分割程序-an image segmentation procedures Domain
- 2022-02-07 10:37:56下载
- 积分:1
-
计算机图形学中的裁剪算法。裁剪的用途是从一幅大的画面中提取所需的信息。...
计算机图形学中的裁剪算法。裁剪的用途是从一幅大的画面中提取所需的信息。-Computer Graphics cutting algorithm. The use of cutting from a big picture extract the required information.
- 2022-01-26 01:23:05下载
- 积分:1
-
VC 6.0 Egyptian agricultural placed gravitational force Map function
利用VC++ 6.0实现埃农引力摆力线图的绘制功能-VC 6.0 Egyptian agricultural placed gravitational force Map function
- 2023-04-06 17:20:04下载
- 积分:1
-
完成图像的插补运算,实现图像的增强与灰度调节
完成图像的插补运算,实现图像的增强与灰度调节-Completion of image interpolation operations, the realization of image enhancement and gray-scale adjustment
- 2022-03-16 19:29:21下载
- 积分:1
-
用Prewitt算子检测图像的边缘,用不同σ值的LoG算子检测图像的边缘,用Canny算子检测图像的边缘,将图像分为文字和非文字的两个类别等等...
用Prewitt算子检测图像的边缘,用不同σ值的LoG算子检测图像的边缘,用Canny算子检测图像的边缘,将图像分为文字和非文字的两个类别等等 -Edge detection using Prewitt edge of the image with different σ values LoG edge detection image edge detection using Canny operator the edge of the image, text and images are divided into two categories, and so on
- 2022-02-11 16:20:39下载
- 积分:1
-
一系列简单实用的图像处理源代码
一系列简单实用的图像处理源代码-a series of simple and practical image processing source code
- 2022-02-24 17:10:26下载
- 积分:1