-
birdseye
鸟瞰图校正,基于OPENCV的应用,可以把鸟瞰图校正为平面图。(Aerial view of the correction, based on the application of OPENCV, bird' s eye view can be corrected for the plan.)
- 2010-11-09 10:51:46下载
- 积分:1
-
基于winpcap的抓包程序,用MFC实现
说明: 一个基于winpcap的抓包程序,用MFC实现的课程设计,里面有具体的WORD介绍。(A package grabbing program based on WinPcap, the course design realized by MFC, which contains the specific word introduction.)
- 2020-11-27 10:29:30下载
- 积分:1
-
robot
实现了一个3D的机器人行走,我觉得这段代码很好地使用了glScalef,和glRotatef,实现了如何画出一个长方形,和机器人各部位的摆动(Implementation of a 3D robot walk, I think a good use of this code glScalef, and glRotatef, realized how to draw a rectangle, and each part of the swing robot)
- 2011-05-26 15:17:12下载
- 积分:1
-
wpf滑动效果 实例源码
鼠标拖动时 控件滑动 截图: 核心代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.Windows.Media.Animation;namespace FlashPrac2{ /// /// MainWindow.xaml 的交互逻辑 /// public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } /// /// 完成缓冲效果 /// /// 起始位置 /// 目标位置 /// 加速加速度 /// 减速加速度 /// 持续时间 private void DoMove(DependencyProperty dp, double to, double ar, double dr, double duration) { DoubleAnimation doubleAnimation = new DoubleAnimation();//创建双精度动画对象 doubleAnimation.To = to;//设置动画的结束值 doubleAnimation.Duration = TimeSpan.FromSeconds(duration);//设置动画时间线长度 doubleAnimation.AccelerationRatio = ar;//动画加速 doubleAnimation.DecelerationRatio = dr;//动画减速 doubleAnimation.FillBehavior = FillBehavior.HoldEnd;//设置动画完成后执行的操作 grdTransfer.BeginAnimation(dp, doubleAnimation);//设置动画应用的属性并启动动画 } private double pressedX; /// /// 点击鼠标,记录鼠标单击的位置 /// /// /// private void grdTest_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { ////获得鼠标点击的X坐标 pressedX = e.GetPosition(cvsGround).X; } ////鼠标释放时的操作 private void grdTest_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { double transferLeft = Convert.ToDouble(grdTransfer.GetValue(Canvas.LeftProperty)); //btn1.Content = transferLeft.ToString(); if (transferLeft > 0) { transferLeft = 0; } if (this.Width - transferLeft > cvsGround.Width) { transferLeft = this.Width - cvsGround.Width; } ////获得鼠标释放时的位置 double releasedX = e.GetPosition(cvsGround).X; ////获得距离间隔 double interval = releasedX - pressedX; pressedX = 0; ////计算出传送带要的目标位置 double to = transferLeft interval; ////移动 //btn1.Content = transferLeft.ToString() " " to.ToString(); // btn1.Content = transferLeft.ToString() " " to.ToString(); DoMove(Canvas.LeftProperty, to, 0.1, 0.5, 0.5); } }}
- 2014-06-24下载
- 积分:1
-
VS2015+opencv3.0的角点检测
基于VS2015+opencv3.0的角点检测程序,每部注释详细完全,供给大家参考,有关opencv的配置问题自行百度...
- 2022-02-01 21:10:26下载
- 积分:1
-
12864显示汉字
#include
#define uchar unsigned char
#define uint unsigned int
sbit wr=P2^0;
sbit rd=P2^1;
sbit ce=P2^2;
sbit cd=P2^3;
sbit rst=P2^4;
void delay(uint t);
void init_12864();
void write_data(uchar dat);
void write_cmd1(uchar cmd);
void write_cmd2(uchar dat,uchar cmd);
void write_cmd3(uchar data1,uchar data2,uchar cmd);
uchar read_status();
void check_status();
void clear_screen();
void display_char(uchar x,uchar y,uchar ch);
- 2023-04-04 12:20:03下载
- 积分:1
-
zow
该程序讲解了怎样去给制作向导程序,请朋友们可以自己体验一下(The program explains how to create a wizard program, and invites friends to experience it for themselves)
- 2018-10-27 17:11:26下载
- 积分:1
-
用VC.NET写的金额大小写转换,有好多人在找,特意放上
用VC.NET写的金额大小写转换,有好多人在找,特意放上-used to write the amount VC.NET case-insensitive change, a lot of people are looking for, deliberately placed
- 2022-03-22 12:31:49下载
- 积分:1
-
众多C#时间格式转换代码示例
众多C#时间格式转换代码示例,比如将MM/DD/YY格式日期替换为DD-MM-YY格式,显示:当前日期的MM/DD/YY表示格式是:01/09/2008,DD-MM-YY表示格式是:09-01-2008;
将字符串转换为标准的时间点格式、显示指定日期的中文星期几名称 、
显示指定日期的英文星期几名称、显示指定日期的英文星期缩略名称、使用自定义格式符表示科学计数法数字、使用标准格式符表示科学计数法数字等功能,具体请下载查看源码。
- 2022-04-13 10:20:10下载
- 积分:1
-
LIVST220
英国铁路调度模拟软件,可以在家里模拟调度火车(British Rail scheduling simulation software, you can train at home to simulate scheduling)
- 2009-10-29 21:02:23下载
- 积分:1