自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 资源 (3)
  • 收藏
  • 关注

原创 OpenCV中KdTree的用法

KdTree是一种非常好用的搜索算法。特别是在处理高维度数据时,仅通过KdTree进行近邻搜索,就能获取到不错的模糊搜索效果。对于OpenCV这样的老牌优秀图像库,自然是提供了KdTree函数的。下面我们来通过一个小例子简单介绍下OpenCV中KdTree的用法。这个例子的目的是输入一张图片,然后我们根据图片的内容,将其转换为ascii字符的形式输出。这就要求每一个ascii字符要建立一个图素,比如8x8像素的图素,或是16x16、32x32像素的图素等。我们通过OpenCV将ascii字符打印到一

2020-12-03 14:08:50 2943

原创 Spring中启用AOP时要使用ApplicationContext而不要使用XmlBeanFactory

<br />如题。<br />大家在做spring in action 2中的例子时或其它教程的例子程序时,要注意,新版的AOP,在使用时,要用ApplicationContext作为Bean的容器,慎用XmlBeanFactory。因为XmlBeanFactory默认是不支持AOP自动代理的,那么您的基于AOP的代码就都不会获得支持。这一点要切记。

2011-05-23 14:51:00 721

原创 CORBA: ubuntu下编译omniorb并创建示例程序

首先自己去下载omniorb,解压后准备安装。我解压到了/root/omniorb4.1.5文件夹中。请一定要阅读README.unix,按照其指示的步骤,在终端中如下:1) cd /root/omniorb4.1.52) 根据建议,创建一个独立的文件夹,如build:mkdir build3) cd build4) ../configure5) make6) make install如果您刚通过ubuntu的光盘安装好ubuntu,那么您是到不了第六步的了,因为第5步的恶梦

2011-05-17 23:41:00 1210

MASM和英特尔处理器架构(MASM & Intel Architecture Docs)绝对的牛书

学习MASM汇编绝对的牛书,书中不但完整讲解了IA架构而且还讲解了很DOS的内容和MASM汇编工具的功能,如编译参数的详细解释等,是不可多得的绝对好书。

2008-10-16

Programming_Microsoft_DirectShow_for_Digital_Video___TV.chm

A book is rarely written alone; although a title might have one author, there are a host of midwives who help it into being. First and foremost, thanks go to the Microsoft DirectShow team, who created this technology, and especially to the following members who contributed specifically to this project: Syon Bhattacharya, John Carothers, Alok Chakrabarti, Ben Ellett, Glenn Evans, Dennis Evseev, Stephen Estrop, Dennis Flanagan, Matthijs Gates, David Goll, Jay Kapur, Tuan Le, Danny Miller, Stan Pennington, Michael Savage, Robin Speed, Gary Sullivan, and E-Zu Wu.<br><br>Michael Blome and Mike Wasson of the DirectShow Documentation team at Microsoft provided vital input into the design of the book, and their timely and thoughtful review of each chapter helped immeasurably. (They also contributed several of the sample programs discussed in the text.) Jay Loomis on their team provided helpful input on the Microsoft Windows Media chapter, and their manager, Peter Turcan, deserves a tip of the hat as well, for giving them the resources and time they needed to assist me in this project. Ross Cutler from Microsoft Research contributed the filter wizards—many thanks to him for those.<br><br>At Microsoft Press, Barbara Moreland and Juliana Aldous Atkinson were patient, tireless, and hard workers who kept me well informed throughout the whole process of making this book happen, and they were responsive to my needs as they developed. Everyone at Microsoft Press did a wonderful job: from the art design, through the editing, and to production, everything went smoothly. The big boss, publisher Don Fowley, deserves a big “thank you” for managing such a great team.<br><br>This book required a few media samples. I’d like to thank Brian Tibbetts and Liam Gowing of John Boy 9 for their song, “Foggy Day,” which is included on the CD (and used in several of the examples). The “Sunset” movie was shot with the help of the peerless Steven Piasecki. Finally, I’d like to thank Jeff Cain, who put up with my 20-hour days as this book neared deadline.<br>

2008-01-09

Spring框架研究与探讨

本文对Spring框架中所包含的AOP思想以及事务管理进行了分析,并通过对一个业务对象实现加锁/解锁的操作,说明<br>了动态代理模式的可行性与有效性。<br> Aspect Oriented Programming(AOP)是近年来计算机技术中比较热门的话题之一。其发展历史从学术领域和研发机构<br>的运用开始,目前流行的Spring应用程序框架将AOP思想融入了整个框架的设计开发与应用当中。使用Spring框架固然给<br>我们的编程带来了好处与便利,但是同时存在着一个问题,对于初学者来说,所谓的“控制反转”,不是一个能够望文生义的<br>好名称,“依赖注入”也是一样,也正是因为这样,不少初学者很难在短时间内理解和掌握这些名字和他们的用法,而要使用<br>AOP的功能也需要理解AOP,也比较难。基于以上原因,我们就会想到,能否简单地将Spring框架中运用到的优秀的理念,<br>巧妙的运用到我们需要使用的地方,而又绕过不容易上手的Spring框架,做到一举两得呢?本文就将围绕着上述提出的问题<br>给出作者的看法和观点。

2008-01-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除