摘要: knoppix@Microknoppix:/media$ suroot@Microknoppix:/media# mkdir blubroot@Microknoppix:/media# cat /proc/partitionsmajor minor #blocks name240 0 1971456 cloop0251 0 765032 zram0 8 0 39082680 sda 8 1 522081 sda1 8 2 37535871 sda2 8 3 1024000 sda3 8 16 7872511 sdb 8 17 7871487 sdb1root... 阅读全文
posted @ 2012-08-10 06:36 joywelt 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 原文地址:OpenCV在未知相机内参数情况下的立体图像矫正方法及注意事项作者:风之忧伤很多时候我们不知道摄像机的内参数矩阵,并且我们也不太关注内参数到底是多少,因为我们仅仅关心如何得到两幅图像的稠密匹配,或者两幅图像的差别——例如我们只想计算两幅图像的视差图,或者说得到两幅立体图像对的深度图就足够了。既然不知道摄像机的内参数,那么就只能借助对极约束来达到目的了。通过计算两幅图像的基础矩阵F,然后利用对极约束矫正极线为平行线的方法,可以很好的实现这个目标,该方法也被称为Hartly方法,在OpenCV中由cv::stereoRectifyUncalibrated函数实现。 立体图像的极线矫正需要 阅读全文
posted @ 2012-08-06 19:46 joywelt 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: 用两个文件即可,一个是opencv源里有的,可以处理当前文件夹下的内容,叫build_all.sh,内容如下:#!/bin/shif [ $# -gt 0 ] ; thenbase=`basename $1 .c`echo "compiling $base"gcc -ggdb `pkg-config opencv --cflags --libs` $base.c -o$base elsefor i... 阅读全文
posted @ 2012-08-02 17:43 joywelt 阅读(210) 评论(0) 推荐(0) 编辑
摘要: The Installation ProcedureTo install and configure OpenCV 2.4.1, complete the following steps. The commands shown in each step can be copy and pasted directly into a Linux command line.Remove any installed versions of ffmpeg and x264.sudo apt-get remove ffmpeg x264 libx264-devGet all the dependencie 阅读全文
posted @ 2012-06-20 21:54 joywelt 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 今天用的时候突然忘了,其实很简单,在上边的图标栏或view选项卡中找到property manager,点开,编辑"Microsoft.Cpp.Win32.user"即可完成对全局lib和include路径的配置。这个方法对经常用其他库比如opencv的很有用。不过因为更改时,Debug和Release两种模式同时变化,所以具体需要的lib文件还是在具体项目中配置比较好。另外,opencv2.4.1出来了,新加了好多强大的函数,还对有些函数算法进行了改进,结果更精确了。稀饭 阅读全文
posted @ 2012-06-19 23:16 joywelt 阅读(306) 评论(0) 推荐(0) 编辑
摘要: environment: in openSUSEit won't work to restart computer, but a command could helpmv ~/.mozilla ~/mozilla.bakget out the bookmarks.html first. 阅读全文
posted @ 2012-05-22 23:15 joywelt 阅读(160) 评论(0) 推荐(0) 编辑
摘要: source code 位置:samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarityThe PSNR (peak SNR) returns a float number, that if the two inputs are similar between 30 and 50 (higher is better).The SSIM returns the MSSIM of the images. This is too a float number between zero and one (highe 阅读全文
posted @ 2012-05-16 23:20 joywelt 阅读(1210) 评论(0) 推荐(0) 编辑
摘要: Personally I would prefer Eclipse in linux platform, as in windows it's much easier to use visual studio instead. What's more, it's quite hard to build your own version for eclipse with opencv for windows.In linux platform (taking mint as an example), to install theEclipse CDT version an 阅读全文
posted @ 2012-04-27 21:22 joywelt 阅读(190) 评论(0) 推荐(0) 编辑