CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - v c
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - v c - List
[
2D Graphic
]
基本画线实现算法
DL : 0
新建一个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 to the choice of colors : if (ColorDialog1- gt; Execute ()) Image1- gt; Canvas- gt; Pen-gt; Color = ColorDialog1- gt; Color 5, the preparation of OnImage1MouseUp Image1, call for : a) If the first odd number of pop-up mouse button, then choose rgDrawWhat the record straight section or an endpoint Center coordinates; 2) If the firs
Date
: 2025-12-30
Size
: 570kb
User
:
朱磊
[
2D Graphic
]
20060816
DL : 0
图像处理算法源程序.pdf,包含: 利用Visual C++实现AVI文件的图像截取 Visual C++中实现对图像数据的读取显示 Visual C++实现视频图像处理技术 VC编程中如何操作数据库中的图像字段 Visual C++实现数字图像增强处理 Visual C++6.0开发灰度位图处理 VC++开发腐蚀运算源程序 VC++开发膨胀运算源程序 VC++开发细化源程序 VC++开发Hough变换的源程序 VC++开发轮廓提取源程序 堆栈的数据结构和操作 VC++开发轮廓跟踪源程序 VC++开发差影法的源程序 VC++开发投影法的源程序 VC++开发直方图均衡化的源程序 VC++转置变换的原代码 VC++平移的源代码 VC++旋转的源代码 VC++镜象变换的原代码 VC++缩放变换的原代码 实现中值滤波的源程序 通用的3*3模板的函数程序 图案法源程序 Floyd-Steinberg算法的源代码 bmp2txt源程序 实现反色的源程序 彩色图到灰度图的转换的源程序 真彩图转256色图算法的源程序 显示一幅图的灰度直方图的程序-image processing algorithm source. Pdf, include : Using Visual C AVI file realize the image Visual C interception achieving the right image data was read Visual C said video image processing technology VC how to operate the database of images field Visu al C Digital Image Enhancement Visual C 6.0 gray bitmap processing VC corrosion Operational source VC procedures developed swelling Operational source VC++ development refinement source VC++ development of the Hough transform-source VC development sequence contour extraction source stack data structure and operation of the development of VC contour tracking source VC poor video France The source VC projection of the source VC histogram equalization of the source VC transform home to the original code V translation of C source code VC ro
Date
: 2025-12-30
Size
: 268kb
User
:
pudn_dxg001
[
2D Graphic
]
Vcad
DL : 0
图形学的一个小型Vcad绘图程序,可以绘制直线,园,园弧,椭圆,可以直线剪裁,填充,还可以绘制Btz曲线-graphics of a small Vcad mapping procedures, drawing straight lines, the landscape, the landscape arc, ellipse, straight line tailoring, Filling can also draw Btz curve
Date
: 2025-12-30
Size
: 230kb
User
:
肖傲
[
2D Graphic
]
inpoly
DL : 0
This code is described in "Computational Geometry in C" (Second Edition), Chapter 7. It is not written to be comprehensible without the explanation in that book. This program reads a polygon P followed by query points from stdin. The input format is: n x0 y0 x1 y1 ... xn-1 yn-1 qx qy qx qy qx qy ... For each query point q, InPoly returns one of four char s: i : q is strictly interior to P o : q is strictly exterior to P v : q is a vertex of P e : q lies on the relative interior of an edge of P These represent mutually exclusive categories. For an explanation of the code, see Chapter 7 of "Computational Geometry in C (Second Edition)."
Date
: 2025-12-30
Size
: 3kb
User
:
fds
[
2D Graphic
]
05
DL : 0
Visual C++ 数字图像处理-配套代码第五章,算法非常经典-Visual C++ Digital image processing- matching code Chapter V, the algorithm is very classic
Date
: 2025-12-30
Size
: 62kb
User
:
洪东
[
2D Graphic
]
CV
DL : 0
cv模型 matlab 图像分割源码,与传统模型相比,该C V模型具有更高的分割精度。-cv model segmentation matlab source, compared to the traditional model, the CV model has higher accuracy of segmentation.
Date
: 2025-12-30
Size
: 18kb
User
:
SylnaHu
[
2D Graphic
]
Circul-plot
DL : 0
it is used to plot cicul by nice way. Plot a circle v - center (either 2 or 3 dimensional vector) r - radius default = 1 c - color default = white n - number of plot points default = 20 -it is used to plot cicul by nice way. Plot a circle v - center (either 2 or 3 dimensional vector) r - radius default = 1 c - color default = white n - number of plot points default = 20
Date
: 2025-12-30
Size
: 5kb
User
:
Hussein
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.