-
图像的平移,旋转
平移(translation)变换是几何变换中最简单的一种。初始坐标为(x0,y0)的点经过平移(tx,ty)(以向
右,向下为正方向)后,坐标变为(x1,y1)。这两点之间的关系是x1=x0+tx ,y1=y0+ty。
下面给出 Translation 的源代码。算法的思想是先将所有区域填成白色,然后找平移后显示
区域的左上角点(x0,y0) 和右下角点(x1,y1) ,分几种情况进行处理。
- 2022-03-16 08:40:04下载
- 积分:1
-
No graphics library function like windows drawing program to do this is the rece...
不用图形库函数的仿windows画图程序
这是最近做的计算机图形学实验,其界面是一个仿Windows下的窗口界面,程序具有较好的交互性。全部的图形函数都没有用C语言自带的图形库函数,所写的函数都是直接写屏实现的,模拟了大部分图形库函数的功能。但也有部分没有写出,如保存图形块的getimage()等函数。由于水平有限,还有部分功能没有实现,如保存或打开BMP图片等。等有了时间再说吧。算法什么的写的很潦草,都随便说说的,欢迎高手指点,希望与广大C语言爱好者共同学习讨论。
-No graphics library function like windows drawing program to do this is the recent experiment of computer graphics, the interface is an imitation of the window under the Windows interface, the program has better interactivity. All graphics functions are not used C language graphics library built-in function, written by direct write screen functions are achieved, the majority of simulation graphics library function function. However, some did not write, such as the preservation of graphical block getimage () function and so on. Due to the limited level, there are some features did not realize, such as saved or opened that BMP pictures. With time, etc. later. What algorithm is written in the scrawl, are casual, welcome expert guidance, I hope with the
- 2022-09-09 18:05:02下载
- 积分:1
-
jpg coding, C realization of the VC under development and tested. We hope to use...
jpg 编码,用C++实现,在VC下开发,经过测试。希望对大家有用-jpg coding, C realization of the VC under development and tested. We hope to useful
- 2022-02-22 12:22:06下载
- 积分:1
-
3次Bezier曲线的c语言实现
3次Bezier曲线的c语言实现-3rd Bezier curve in C Language
- 2022-11-07 07:15:03下载
- 积分:1
-
立体视觉源程序,家当都拿出来了
立体视觉源程序,家当都拿出来了-stereoscopic source, the family had to come up with the
- 2022-08-11 13:18:11下载
- 积分:1
-
VC based on the conditions of the three endpoint interpolation B
基于VC的三种端点条件的插值B样条曲线绘制,包括夹持端点,自由端点,抛物线端点,线性方程组的解法采用了追赶法。-VC based on the conditions of the three endpoint interpolation B-spline curve drawing, including the gripping end, the Liberal endpoint, the endpoint parabola, the solution of linear equations using the law to catch up.
- 2023-08-26 11:30:03下载
- 积分:1
-
Photogrammetry, photogrammetry for the rendezvous problem. One of problem solvin...
摄影测量,用于摄影测量中的交会问题。其中解决了矩阵相乘问题-Photogrammetry, photogrammetry for the rendezvous problem. One of problem solving matrices
- 2022-11-14 17:30:03下载
- 积分:1
-
计算机图形学中的视图变换程序,是用VC++中的MFC编写的
计算机图形学中的视图变换程序,是用VC++中的MFC编写的-computer graphics View transform the process, with VC++ MFC prepared
- 2022-02-04 19:25:29下载
- 积分:1
-
可以自动帮您更换墙纸
可以自动帮您更换墙纸-automatically help you replace wallpaper
- 2022-08-12 21:24:40下载
- 积分:1
-
显示渐变色文本的程序
显示渐变色文本的程序- The demonstration gradually changes color the text procedure
- 2022-01-26 00:12:49下载
- 积分:1