自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(21)
  • 收藏
  • 关注

转载 OpenCv学习笔记(三)——openCv数据结构之间的转换

1 由IplImage*得到BYTE*图像数据:data = iplImage->imageDataOrigin; //未对齐的原始图像数据或者data = iplImage->imageData; //已对齐的图像数据2 由BYTE*得到IplImage*图像数据iplImage = cvCreateImageHeader(cvSize(width,height),depth

2015-11-30 16:37:35 506

转载 OpenCv学习笔记(二)—cv::Mat学习

由于在写上一篇图像的数据结构时,发现自己只知道CvMat,竟然还有Mat数据结构,真是无知了,看了这么多程序,貌似没有看到这个结构。有可能那些程序都是些老版本的例子,这是在2.0以后加上的,所以我也得紧跟呀!以下是自己的学习心得。。。。一、Mat简介    在2001年刚刚出现的时候,OpenCV基于 C 语言接口而建。为了在内存(memory)中存放图像,当时采用名为 IplImag

2015-11-30 16:36:57 532

转载 OpenCv学习笔记(一)——数字图形的基础和结构

一图像基础1 数字图像 又称数码图像或数位图像,是二维图像用有限数字数值像素的表示。数字图像是由模拟图像数字化得到的、以像素为基本元素的、可以用数字计算机或数字电路存储和处理的图像。2. 像素 像素(或像元,Pixel)是数字图像的基本元素,像素是在模拟图像数字化时对连续空间进行离散化得到的。每个像素具有整数行(高)和列(宽)位置坐标,同时每个像素都具有整数灰度值或颜色值。 通常,像素

2015-11-30 16:36:19 719

转载 Cuda编程总结2013-10-120:32:46

学习cuda例子中的总结1、__constant__和__device__,__shared__的使用说明...22、分配二位数组实现两个二位数组相加...23、用cudaMemcpyPitch和cudaMemcpy2D实现二位数组的分配和拷贝...54、cudaMalloc3D()和cudaMemcpy3D()函数的用法...75、不带共享存储器的矩阵的相乘...96、带

2015-11-30 10:33:02 700

转载 YUV <-> RGB

I recently received an email from Mike Perry thoroughly explaining this whole issue. For the definitive answer,please look here. If you want my original posting, here it is...Conversion back and f

2015-11-30 09:36:15 556

转载 Rotation Matrix

http://mathworld.wolfram.com/RotationMatrix.htmlWhen discussing a rotation, there are two possible conventions: rotation of the axes, and rotation of theobject relative to fixed axes.In

2015-11-27 08:34:04 1336

转载 H264 编码简介

H264层次构成H264标准是由JVT(Joint Video Team,视频联合工作组)组织提出的新一代数字视频编码标准。JVT于2001年12月在泰国Pattaya成立。它由ITU-T的VCEG(视频编码专家组)和ISO/IEC的MPEG(活动图像编码专家组)两个国际标准化组织的专家联合组成。JVT的工作目标是制定一个新的视频编码标准,以实现视频的高压缩比、高图像质量、良好的网络适应性

2015-11-23 08:32:24 10834

转载 HDR(High Dynamic Range Imaging)在摄影中指高动态范围成像

HDR(High Dynamic RangeImaging)在摄影中指高动态范围成像。国内的教程基本语焉不详,找到一篇比较详尽的国外教程翻译出来,希望对大家有帮助。^_^原文地址:http://photo.tutsplus.com/tutorials/hdr/how-to-shoot-and-post-process-professional-hdr-photos-in-one-day/

2015-11-22 08:29:07 4192

转载 cudaEncode编码详细过程 H.264

一,ParseInputParams(argc, argv,&sEncoderParams)//配置参数:输入、输出文件,配置文件,基本的参数 二,pCudaEncoder = new VideoEncoder  (&sEncoderParams);   执行的详细过程:1,fpIn= fopen(m_pEncoderParams->inputFile,"rb")输入文件2

2015-11-16 14:56:46 3327 1

原创 ubuntu compile surfGPU

1 download git clone https://github.com/cudpp/cudpp.git2 copy cub into cudpp/ext/cub3 copy moderngpu into cudpp/ext/moderngpu4 cmake5 make install

2015-11-13 11:53:54 426

转载 linux interfaces文件配置

1 auto lo  2 iface lo inet loopback  3  4 # The primary network interface  5 auto eth0  6 iface eth0 inet static  7 address 192.168.0.42  8 network 192.168.0.0  9 netmask 255.255.255.0

2015-11-12 15:19:33 1697

转载 apt-get: NO_PUBKEY / GPG error

When updating a Debian based system (such as Ubuntu), it may happenthat apt-get will display an error message about public keys orGPG. This is a new feature of apt-get that will guarantee theauthentic

2015-11-12 11:53:03 476

转载 How To Install Mate Desktop In Ubuntu 14.04 & 14.10

The other week we saw about installing Cinnamon in Ubuntu. This week we’ll see how to install Mate desktop in Ubuntu 14.04 and 14.10.I think you might have already heard of Mate desktop environm

2015-11-11 17:27:47 1050

转载 ubuntu下制作u盘启动盘

ubuntu12.04下成功制作了ubuntu13.10 U盘启动盘。先把经验分享一下。1.安装u盘制作工具unetbootinsudo apt-get install unetbootin2.格式化u盘sudo fdisk -l #查看U盘盘符,假设为/dev/sdbsudo umount /dev/sdb #先卸载u盘sudo mkfs.vfat /dev/sdb

2015-11-11 11:43:20 712

原创 linux ssh without passwd

1 ssh-keygen -t rsa 或 ssh-keygen -d (dsa) => 产生出 id_rsa, id_rsa.pub2 scp id_rsa.pub server_hostname:~/.ssh/3 cat .ssh/id_rsa.pub >> .ssh/authorized_keys4 chmod 700 ~/.ssh5 chmod 600 ~/.ssh/aut

2015-11-11 09:37:02 598

转载 Ubuntu防火墙设置

1.安装 sudo apt-get install ufw 2.启用 sudo ufw enable sudo ufw default deny 运行以上两条命令后,开启了防火墙,并在系统启动时自动开启。 关闭所有外部对本机的访问,但本机访问外部正常。 3.开启/禁用 sudo ufw allow|deny [service] 打开或关闭某个端口,例如:

2015-11-10 09:52:37 456

原创 linux 网络相关

Linux查看网关: 可用命令打netstat -r 看里面的default路由,指向的就是默认网关查看DNS服务器:nm-tool

2015-11-10 08:46:54 389

转载 Ubuntu常见问题及解决方案

最近安装了Ubuntu 12.10版,折腾了好几天,总算摸到一些规律了,现总结出来,也希望大家把自己遇到的问题和解决方法共享出来,汇总在这里,帮助其他遇到相同问题的人。如果您的电脑是需要用于重要的工作,不推荐安装使用Ubuntu 12.10版,因为这个版本正在做较大的修改和测试,把 Unity 2D桌面取消了,这是为了在以后“统一”桌面做准备,所以在Ubuntu 12.10版中使用带3D特

2015-11-09 16:44:06 1649

转载 图形学领域的关键算法及源码链接

Last updated December 5, 2012.Try searching this page for keywords like 'segmentation' or 'PLY'.If you would like to contribute links, please e-mail them to [email protected] & Arch

2015-11-08 07:41:14 4119 1

转载 libevent介绍

libevent 是一个轻量级的事件触发的网络库。它适用于windows、linux、bsd等多种平台,它是跨平台的。libevent是c语言编写的一个开源的网络库。libevent 的设计目标是: 1、可移植性,它是跨平台的。2、效率高。基于事件驱动(event-driven),采用非阻塞I/O,对事件异步处理;       libevent API提供了一种当某事件的条件发生时

2015-11-04 15:46:35 1146

原创 ubuntu14.04 for bagadus

1 gcc 4.7+ (for c++11, we use 4.8 as of writing this)2 yasm (version 1.2+) http://yasm.tortall.net/Download.html ./configure make -j8 && sudo make install3  PylonSDK4  sudo apt

2015-11-04 10:59:29 868

空空如也

空空如也

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

TA关注的人

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