登录
首页 » c++ » 基于重心坐标插值的变形

基于重心坐标插值的变形

于 2023-03-31 发布 文件大小:130.01 kB
0 66
下载积分: 2 下载次数: 1

代码说明:

拖动包围小熊的三角形的某个顶点(A),计算新三角形中的每个象素(P)的重心坐标,根据P的重心坐标找到其在原三角形的对应像素Q,最后再将Q的颜色赋给P就可以实现。

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

发表评论

0 个回复

  • 1030AD拉线直播案例
    pcb设计过程中,如何最快的拉线,可以参考此文件(In the process of PCB design, you can refer to this document for the fastest cable pulling)
    2020-06-18 15:00:01下载
    积分:1
  • stm32_usart
    1,修改串口初始化IO的bug 2,修改了USART_RX_STA,使得串口最大接收字节数为2的14次方 3,增加了USART_REC_LEN,用于定义串口最大允许接收的字节数(不大于2的14次方) 修改了EN_USART1_RX的使能方式
    2023-03-18 11:05:04下载
    积分:1
  • Calculator
    用C++实现的可计算多位数的四则运算计算器,能够自动跳过空格(Implemented in C++ calculate the multi-digit arithmetic calculator that can automatically skip a space)
    2011-11-30 21:28:35下载
    积分:1
  • 嵌入式芯片
    STC10f08xe芯片通过DS18B20采集温度,当超过额定温度,LED灯亮起,额定温度可以通过按键调节
    2022-12-09 21:00:03下载
    积分:1
  • C++程序员实用大全(精华版)的源代码,一些经典的PRA…
    C程序员实用大全(精华版)源代码,多个经典实用的c源代码-Utility Daquan C programmers (best version) source code, a number of classic practical c source code
    2023-01-21 07:50:03下载
    积分:1
  • WebGIS-development-ArcGIS-Server-and.NET
    《WebGIS开发-ArcGIS Server与.NET》源码,国内第一本Web GIS开发实战手册,以丰富的实例,系统、全面地介绍了基于Web服务的GIS开发,使用C#语言开发基于ArcGIS Server的Web GIS.(WebGIS development-ArcGIS Server and. NET. Web GIS development of China s first actual combat in this manual to a wealth of examples, systematic and comprehensive introduction to GIS-based Web services development, using C# language development based on ArcGIS Server for Web GIS.)
    2010-07-27 22:58:42下载
    积分:1
  • filetool
    完美解决VC++6.0中不能添加和引入外部文件的的问题,编译后,vc上会有添加文件按钮,使用方便快捷!(Perfect solution VC++6.0 can not add external files and the introduction of the issue, the compiler, vc there on the Add files button, easy to use and fast!)
    2013-09-04 19:42:52下载
    积分:1
  • slac015m
    IAR Workbench c++ codes for msp430
    2009-04-18 05:45:50下载
    积分:1
  • 矩阵键盘+TFT 屏幕显示
    基于STM32f407ZGT6编写的4*4矩阵键盘程序,并通过TFT显示屏显示(4*4 Matrix Keyboard Program Based on STM32f407ZGT6 and Displayed by TFT Display Screen)
    2020-06-21 12:20:02下载
    积分:1
  • 跑马灯实验
    如何利用STM32F103点亮流水灯,并且每一行代码都会有注释,新手容易上手。(How to use STM32F103 to light the pipelining lamp, and every line of code will have comments, novice easy to get started.)
    2020-06-18 12:00:02下载
    积分:1
  • 696518资源总数
  • 105895会员总数
  • 18今日下载