登录
首页 » 图形图像 » 图像的平移,旋转

图像的平移,旋转

于 2022-03-16 发布 文件大小:79.00 kB
0 161
下载积分: 2 下载次数: 1

代码说明:

平移(translation)变换是几何变换中最简单的一种。初始坐标为(x0,y0)的点经过平移(tx,ty)(以向 右,向下为正方向)后,坐标变为(x1,y1)。这两点之间的关系是x1=x0+tx ,y1=y0+ty。 下面给出 Translation 的源代码。算法的思想是先将所有区域填成白色,然后找平移后显示 区域的左上角点(x0,y0) 和右下角点(x1,y1) ,分几种情况进行处理。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 该代码是一个用C++编写的面向对象的计算机视觉库,它包含了许多的功能用于解决数学问题,许多的处理算法等...
    该代码是一个用C++编写的面向对象的计算机视觉库,它包含了许多的功能用于解决数学问题,许多的图像处理算法等-the code is a C prepared by the object-oriented computer vision library, which contains many of the functions for solving mathematical problems, many of the image processing algorithm
    2022-08-21 07:25:37下载
    积分:1
  • qt 二维变换实现源代码
    圆形,方形,水平渐变,垂直渐变,镜像等等都可以实现,文字添加,中文显示,大小变换都有记载。想画图,qt也可以帮你解决哦!
    2022-01-21 21:14:37下载
    积分:1
  • 头采集人脸并计算相似度
    加载原始对比图像,并计算原始图像的直方图; 获取摄像头信息,抽取其中的帧,并计算该帧图像的直方图; 将抽取的图像的直方图与原始图像的直方图进行比较,并计算其相似度。 这个相似度就是这两上人脸的相似度了。 主要有以下几个函数构成: /** Function Headers */ void detectAndDisplay(Mat bas_img, Mat frame, bool iscap ); //获取直方图 Mat calculateHistogram(Mat src_img); //计算相似度 double calculateComparesion(Mat src, Mat dst);
    2022-07-09 02:43:33下载
    积分:1
  • 得简单编辑,有兴趣得可以
    图像得简单编辑,有兴趣得可以-images were simple editing, interested to see if they can
    2022-01-29 01:10:39下载
    积分:1
  • PCB Quality Detection using machine vision method ,design and implication
    使用机器视觉的方法实现对印刷电路板制造缺陷的检测,包括相关问题的讨论-PCB Quality Detection using machine vision method ,design and implication
    2023-08-21 11:45:05下载
    积分:1
  • 读GML的Java的源代码
    读GML的Java的源代码 -reading GML Java source code
    2022-03-21 07:21:48下载
    积分:1
  • 这是一个3D的圆柱体的演示
    这是一个3D的圆柱体的演示-This is a 3D cylinder demo
    2022-02-20 17:11:21下载
    积分:1
  • 学习VC也没多久,将我做的这个小工具和大家分享一下。其主要功能就是可以自定义生成公章并保存为bmp片,希望对大家有点用。具体实现的方法如下: 步...
    学习VC也没多久,将我做的这个小工具和大家分享一下。其主要功能就是可以自定义生成公章图形并保存为bmp图片,希望对大家有点用。具体实现的方法如下: 步骤一:生成对话框工程,并加入相应的控件,图片的显示使用Picture控件; 步骤二:定义生成图形所需要的参数; 步骤三:通过参数定义,生成对应的Bitmap,再在Picture控件中显示该位图,具体实 现参看源程序。 步骤四:将生成的Bitmap保存为位图文件。 -VC did not learn how long I will do this small tools and share with you. Its main function is to be generated from the definition graphics and seals for the preservation bmp picture, and I hope to use you a bit. The specific methods to achieve the following : Step 1 : Generation dialog, and add the corresponding controls, the pictures showed a picture control; Step 2 : definition graphics generated by the parameters; Step 3 : through the definition of parameters, generate the corresponding Bitmap, and the Picture Control showed the bitmap, See achieve specific source. Step 4 : Generation to preserve the Bitmap bitmap file.
    2023-04-09 06:30:03下载
    积分:1
  • 《Visual C++数字处理典型算法及实现》源代码
    《Visual C++数字图像处理典型算法及实现》源代码-Visual C++ digital image processing algorithms and implementation of a typical source code
    2022-06-29 12:41:26下载
    积分:1
  • 用vc++实现矢量地背景下的实时显示源代码
    用vc++实现矢量地图背景下的实时显示源代码-with vc Vector Map context of real-time source code
    2022-03-18 09:05:40下载
    积分:1
  • 696516资源总数
  • 106459会员总数
  • 0今日下载