原创 unresolved external symbol initHistogram256 referenced in function main

20191210 cuda、vs、opencv踩坑錯誤日記 vs中使用cuda 編譯出現錯誤 unresolved external symbol initHistogram256 referenced in function m

原创 Ceres 入門——Ceres Solver新手向全攻略

Ceres solver 是谷歌開發的一款用於非線性優化的庫,在谷歌的開源激光雷達slam項目cartographer中被大量使用。Ceres官網上的文檔非常詳細地介紹了其具體使用方法,相比於另外一個在slam中被廣泛使用的

原创 在vs中配置cuda環境

問題:在vs中配置cuda環境 1:包含頭文件路徑:(VC++ Directories -> Include Directories ) C:\ProgramData\NVIDIA Corporation\CUDA Samples

原创 多種格式圖像打開與顯示

由於圖像格式的差異,爲了解決圖像格式的問題,結合opencv、hdr庫寫一個能打開、保存多種圖像的類。功能如下: 1.打開、保存raw數據 2.打開、保存bmp、jpg、png圖像 3.打開、保存tif格式圖像 4.打開、保存hd

原创 C++獲取文件大小方式(MFC,linux,C++,C)

四種C++獲取指定文件的大小 #include < iostream> #include < io.h> #include < sys\stat.h> #include < afx.h> #define _AFXDLL

原创 libcurl安裝編譯及QT配置https/http文件下載

1.curl下載 git clone https://github.com/curl/curl.git 2.curl的編譯與安裝 cd curl ./buidconf ./configure make make install

原创 firebreath插件進程間函數調用

Background Before reading this document, you should be familiar with Chromium's multi-process architecture. Ove

原创 firebreath build in windows

1Building the FireBreath Plugin2Requirements3Get the source432 bit vs 64 bit builds5Generate the example project f

原创 屏蔽編譯過程中的警告信息cmake、QT

linux中配置cmake文件屏蔽警告 在 .cmake 中添加add_definitions(-w) QT工程中屏蔽警告輸出 在工程文件**.pro**裏面添加 DEFINES += QT_NO_WARNING_OUTPUT Q

原创 firebreath中使用方法、屬性、事件以及特性

Please feel free to add to these pages! The documentation is a wiki, and anyone can sign up. Note that all modific

原创 ACE原理及結合Opencv算法實現

算法實現 //自適應對比度增強算法,C表示對高頻的直接增益係數,n表示濾波半徑,maxCG表示對CG做最大值限制 int ACE(Mat& src, Mat& dst, int C, int n, float MaxCG) {

原创 灰度世界算法原理及結合Opencv的C++實現

代碼實現: int GrayWorld(Mat& src, Mat& dst) { if (src.empty() || src.type()!=CV_8UC3) return -1; if (dst.empty() |

原创 自動白平衡算法原理及結合Opencv的C++實現

算法原理 完美反射理論假設圖像中最亮的點就是白點,並以此白點爲參考對圖像進行自動白平衡,最亮點定義爲R+G+B的最大值。 算法過程 1.計算每個像素R,G,B之後,並保存 2.按照R+G+B的值的大小計算出其前10%或其他Rati

原创 ++運算符小測試

編譯器VC++ int j = 0; int a[3]{ 1,2,3 }; int dj = a[j++] + a[j++]; cout << dj << endl; //////**輸出爲2** 也就是**值都取的a

原创 linux中搭建firebreath環境及創建plugin

1Building a FireBreath Plugin on Linux2Requirements3Get the source4Generate the example project files5Generate you