-
JHGJGHJGFJG
题目:取一个整数a从右端开始的4~7位。
程序分析:可以这样考虑:
(1)先使a右移4位。
(2)设置一个低4位全为1,其余全为0的数。可用~(~0<<4)
(3)将上面二者进行&运算。
2.程序源代码:(Topic: take an integer a from the right end of the four to seven began.
Program analysis: it can be to consider:
(1) to make a move to the right four.
(2) sets a low four total for the 1, all the rest for 0 of the number. Can be used to (~ 0 < < 4)
(3) will above the difference and operations.
2. The source code:)
- 2012-05-26 20:20:03下载
- 积分:1
-
基于Moravec算子、Forstner算子、Harris算子的特征点提取
利用Moravec算子、Forstner算子、Harris算子对一幅位图(灰度图像)进行点特征提取,还可以将非位图(如.jpg格式)灰度化后转换为灰度图像进行提取。
- 2022-12-01 16:20:03下载
- 积分:1
-
serial
该源码为平时所用的串口调试工具的源码,效果还是挺不错的(The source is usually used for serial debugging tools, source code, the effect is very good)
- 2011-07-16 20:45:30下载
- 积分:1
-
脉冲激光测距中高精度时间间隔系统设计_田海军
脉冲激光测距系统工作原理即单片机控制激光发 射装置发射占空比一定的激光脉冲,其中一小部分能量 到达接收电路,然后光电探测器将微弱的光脉冲信号变 成电脉冲信号并看作Start信号触发时差测量。激光的 大部分能量在空间中传播,遇到目标物后反射传播到 达接收电路,看作Stop信号结束测量,至此完成时差测 量[2]。TDC?GP22芯片记录Start脉冲到Stop脉冲之间的 时差,用于计算目标物到发射端的距离。(The principle of the pulse laser range finding system is that the single-chip microcomputer controlled laser emission device launches a certain laser pulse, in which a small portion of the energy reaches the receiving circuit, and the photodetector turns the weak light pulse signal into the electric pulse signal and is considered as the time difference measurement of the trigger time of the Start signal. Most of the energy of the laser propagates in the space. After the target, the reflection transmission reaches the receiving circuit, which is regarded as the end of the Stop signal and then completes the time difference measurement [2]. The TDC GP22 chip records the time difference between Start pulse and Stop pulse, which is used to calculate the distance between the target and the transmitter.)
- 2018-06-04 11:19:16下载
- 积分:1
-
LZ78_mfc
编写的简单的LZ78编码,mfc程序,有界面,功能较简单(Write a simple LZ78 code, MFC program, interface, function is relatively simple)
- 2017-11-09 12:43:24下载
- 积分:1
-
wushua
基于STM32F103VET6的无刷直流电机控制程序和资料还有原理图(Brushless DC motor control procedures)
- 2014-04-15 09:22:56下载
- 积分:1
-
Infrared
通过DT1922D控制AT89S52单片机,并且通过单片机自主解码(DT1922D control through single-chip AT89S52, and through their own single-chip decoder)
- 2009-04-28 15:23:28下载
- 积分:1
-
LPC2368-2378
周立功的arm 开发板程序资料,初学者试用,可以参考(Zhou meritorious arm, a beginner Trial)
- 2020-08-23 14:07:46下载
- 积分:1
-
MetroForWinForm(win8风格模版)
MetroForWinForm(win8风格模版)
using System;
using System.Drawing;
using System.Globalization;
using System.Windows.Forms;
using MetroFramework.Forms;
namespace MetroFramework.Demo
{
public partial class MainForm : MetroForm
{
public MainForm()
{
InitializeComponent();
metroStyleManager.Theme = MetroThemeStyle.Default;
metroStyleManager.Style = MetroColorStyle.Teal;
}
private void metroTileSwitch_Click(object sender, EventArgs e)
{
- 2022-04-10 01:01:51下载
- 积分:1
-
shuzituxiang
这是一个数字图像处理的matlab仿真程序,效果比较好(This is a digital image processing matlab simulation program, the effect is better)
- 2009-03-15 23:07:05下载
- 积分:1