现在位置: 首页 > mzjfgyvqt发表的所有文章
  • 03月
  • 09日
综合 ⁄ 共 3600字 评论关闭
#ifndef KALMAN_H #define KALMAN_H #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <opencv2/video/tracking.hpp> #include <opencv2/imgproc/imgproc.hpp> class Kalman { public:Kalman();~Kalman() {} //KalmanFilter KF(6, 1, 0);cv::KalmanFilter* m_pkalman;cv::Mat* m_pProcessNoise;cv::Mat* m_pMeasurementNoise;cv::Mat* m_state;cv::Mat* m_measurement; bool m_bMeasurementAvail;bool m_bprior; // first time detection  int m_numStatesDim;int m_numMeasure......
阅读全文
  • 08月
  • 06日
综合 ⁄ 共 15858字 评论关闭
The original file are located here: http://msdn.microsoft.com/en-us/library/ms950721.aspx   Summary: Dare Obasanjo discusses how XML serialization lets you process strongly typed XML within the .NET Framework while supporting W3C standards and improving interoperability. A FAQ is also included in this article. (11 printed pages)   Download the xml01202003_sample.exe. The Story So Far In my previous columns, Things to Know and Avoid When Querying XML Documents with XPath and Working with N......
阅读全文
  • 05月
  • 09日
综合 ⁄ 共 691字 评论关闭
设计模式:模式是一种问题的解决思路,它已经适用于一个实践环境。并且可以适用于其他环境。 设计模式的分类:分布式编程模式,用户界面模式,数据模型模式三大类。 设计模式的作用:设计的重用;                         为设计提供共同的词汇,每个模式名就是一个设计词汇,其概念使得程序员的交流变得方便;                         在开发文档中采用模式词汇可以让其他人更容易理解你的想法。 GoF设计模式的分类: 根据目的准则分类: 1. 创建型:creational 与对象的创建有关。 2. 结构型:Struc......
阅读全文
  • 04月
  • 28日
综合 ⁄ 共 334字 评论关闭
-(void)color:(NSString *) red andGreen:(NSString*) green andBule:(NSString*) bule{ NSInteger Red = [red integerValue]; NSInteger Green = [green integerValue]; NSInteger Bule = [bule integerValue]; NSInteger colorsize = Red<<16 | Green << 8 | Bule; NSString * Color = [NSString stringWithFormat:@"#%06lx",colorsize]; NSLog(@"%li",(long)colorsize); NSLog(@"Color = %@",Color); }
阅读全文
  • 04月
  • 25日
综合 ⁄ 共 1886字 评论关闭
Largest Rectangle in a Histogram http://acm.hdu.edu.cn/showproblem.php?pid=1506 Problem Description A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but may have different heights. For example, the figure on the left shows the histogram that consists of rectangles with the heights 2, 1, 4, 5, 1, 3, 3, measured in units where 1 is the width of the rectangles: Usually, histograms are used to represent discret......
阅读全文
  • 01月
  • 18日
综合 ⁄ 共 718字 评论关闭
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <iostream> using namespace std; void MaxStr(char* str1, char* str2,char* sam) { if (str1 == NULL || str2 == NULL) { return; } int nLen1,nLen2,pos1,pos2; nLen1 = strlen(str1); nLen2 = strlen(str2); int count, nMax=0; int i,j; for (i=0;i<nLen1;i++) { for (j=0;j<nLen2;++j) { if (str1[i] == str2[j]) { pos1 = i; pos2 = j; count = 0; cout<&l......
阅读全文
  • 12月
  • 28日
综合 ⁄ 共 112字 评论关闭
    pdf under text mode->fbgs->fbida->gcc4.x->(gmp4.3.2+ && mpfr2.3.2+);     安装完了gmp与mpfr后,gcc3.x还是找不到这两家伙。所以,我搁浅了。。。。。。
阅读全文
  • 12月
  • 25日
综合 ⁄ 共 5075字 评论关闭
activity12.java package com.wansha; import android.app.Activity; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import com.wansha.db.DatabaseHelper; public class Activity12 extends Activity { private Button createDatabase; private Button update......
阅读全文
  • 12月
  • 06日
综合 ⁄ 共 3704字 评论关闭
Terms VSS - Virtual Set Size 虚拟耗用内存(包含共享库占用的内存) RSS - Resident Set Size 实际使用物理内存(包含共享库占用的内存) PSS - Proportional Set Size 实际使用的物理内存(比例分配共享库占用的内存) USS - Unique Set Size 进程独自占用的物理内存(不包含共享库占用的内存) 一般来说内存占用大小有如下规律:VSS >= RSS >= PSS >= USS Overview The aim of this post is to provide information that will assist in interpreting memory reports from various tools so the true memory usag......
阅读全文
  • 12月
  • 05日
综合 ⁄ 共 171字 评论关闭
https://github.com/markyun/My-blog/tree/master/Front-end-Developer-Questions#2014%E5%B9%B4%E6%9C%80%E6%96%B0%E5%89%8D%E7%AB%AF%E5%BC%80%E5%8F%91%E9%9D%A2%E8%AF%95%E9%A2%98
阅读全文
  • 11月
  • 11日
综合 ⁄ 共 3113字 评论关闭
配置 编辑 php.ini #以下是开发组推荐配置 opcache.memory_consumption=128      opcache.interned_strings_buffer=8      opcache.max_accelerated_files=4000      opcache.revalidate_freq=60      opcache.fast_shutdown=1      opcache.enable_cli=1 重启你的 php cgi 或者 Apache. 配置参数详解 opcache.enable(默认值:1) Zend Optimizer + 的开关, 关闭时代码不再优化. opcache.memory_consumption(默认值:64) Zend Optimizer + 共享内存的大小, 总共能够存储多少预编译的 PHP 代码(单位:MB). opcache.interned_strings_bu......
阅读全文
  • 10月
  • 11日
综合 ⁄ 共 921字 评论关闭
转http://hzwer.com/775.html 描述 曹操平定北方以后,公元208年,率领大军南下,进攻刘表。他的人马还没有到荆州,刘表已经病死。他的儿子刘琮听到曹军声势浩大,吓破了胆,先派人求降了。 孙权任命周瑜为都督,拨给他三万水军,叫他同刘备协力抵抗曹操。 隆冬的十一月,天气突然回暖,刮起了东南风。 没想到东吴船队离开北岸大约二里距离,前面十条大船突然同时起火。火借风势,风助火威。十条火船,好比十条火龙一样,闯进曹军水寨。那里的船舰,都挤在一起,又躲不开,很快地都烧起来。一眨眼工夫,已经烧成一片火海。......
阅读全文