原创 有關旋轉矩的證明

1. 設有旋轉矩陣RRR,證明RTR=IR^TR=IRTR=I且detR=±1det R = \pm1detR=±1 證明:假設有兩組正交集(e1,e2,e3)(e_1, e_2, e_3)(e1​,e2​,e3​)與(e1′,e

原创 Mac下使用Linux

記錄: Mac 上玩 Linux(一)安裝Ubuntu https://www.jianshu.com/p/489ea047caa8 mac下使用ssh鏈接自己虛擬機中的centos https://blog.csdn.net/

原创 Mean Shift的資料

參考: 【1】Image Segmentation using Mean Shift explained http://stackoverflow.com/questions/4831813/image-segmentation-usin

原创 判斷一個字符串是否爲另外一個字符串的子串

#include<iostream> #include<string> using namespace std; bool checkchild(string &s, string &t) { int j = 0; for (in

原创 Johnson's Algorithm

#ifndef DIJKSTRA_H #define DIJKSTRA_H #include <math.h> #include <vector> #include <climits> using namespace std; ty

原创 CVPR 2014文章

Shape-Preserving Half-Projective Warps for Image Stitching (PDF) Che-Han C

原创 使用MinGW編譯Efficient graph-based image segmentation

1. 首先下載MinGW-w64[1],一路安裝下來,並不知道是否設置了環境變量: 編寫一個簡單的程序實驗一下,同時用cmd命令重新開了一個窗口,也可以運行出結果: 2. 編譯Efficient graph-based image s

原创 Matlab繪製帶箭頭座標

t = 0:0.1:360; y1 = sin(t/180*pi); y2 = sin((t-120)/180*pi); y3 = sin((t-240)/180*pi); h = figure; plot(t, y1, t, y2,

原创 numpy的安裝

並沒有安裝成功。 環境:win7-64, vs2013, python27, numpy-1.9.2, mingw-64 首先關於setup.py的各個命令的選項: 關於編譯器的選項: 1. 首先根據[7],採用編譯器mingw32

原创 Cmake+OpenCV 2

接着上面,在CMake之後,進行程序的編譯: 結果出現了14個錯誤: 其中的錯誤爲: 34>d:\program files\opencv_3.0\sources\modules\opencv_contrib-master\modu

原创 Max space clustering (Hamming)

In this question your task is again to run the clustering algorithm from l

原创 Max-Spacing k-clustering

這裏主要用到的知識點是Union-find數據結構: In this programming problem and the next you'll code up the clustering algorithm from lectur

原创 Knapsack-Dynamic Programming

#include <iostream> #include <fstream> #include <sstream> #include <vector> using namespace std; typedef struct {

原创 公式

公式(1.27)的推導: f(x)=∫x0px(t)dt f(g(y))=∫g(y)0px(t)dt py(y)=f′(g(y))=px(g(y))g′(y)

原创 d:mtex/texlocal/l3packages/xparse.sty:57: Undefined control sequence

覺得還是得把這個錯誤寫成博客,以免以後忘了。 今天,在用modencv這個庫時,發現MTex一直產生錯誤"d:mtex/texlocal/l3packages/xparse.sty:57: Undefined control sequ