01 2021 档案

摘要:cn特征 c++实现 vs2015 #include <iostream> #include <opencv2/opencv.hpp> #include <vector> //#include <matio.h> // class cn_feature { public: bool init(std 阅读全文
posted @ 2021-01-18 20:52 快乐码小农 阅读(210) 评论(0) 推荐(0)
摘要:假设A为二维矩阵, A(:)/8 得到的一个列向量 img = [8 2*8 3*8;4*8 5*8 6*8]; fprintf('img original: \n'); disp(img); g = img(:)/8; [m,n] = size(g); fprintf('m : %d, n : % 阅读全文
posted @ 2021-01-18 17:55 快乐码小农 阅读(775) 评论(0) 推荐(0)
摘要:matlab sub2ind利用c语言重写 #include <stdio.h> #include <assert.h> #include <stdlib.h> #include <string.h> #include <time.h> typedef struct _sub2ind_res { u 阅读全文
posted @ 2021-01-18 16:06 快乐码小农 阅读(128) 评论(0) 推荐(0)
摘要:注释掉printf、std::cout语句,或者添加fflush(stdout),否则容易导致缓存区阻塞! 一杯茶一包烟,一个bug调一天! 阅读全文
posted @ 2021-01-13 16:13 快乐码小农 阅读(75) 评论(0) 推荐(0)
摘要:Windows下配置c++版本vot 配置环境: vs2015,matlab2014b, windows版本cmake 1.编译trax, source code为解压后的trax路径 where to build the binaries在trax里面添加build文件夹 点两次Configure 阅读全文
posted @ 2021-01-12 22:16 快乐码小农 阅读(183) 评论(0) 推荐(0)
摘要:每次进入一个新的工作空间时,先退出matlab! 阅读全文
posted @ 2021-01-05 19:43 快乐码小农 阅读(90) 评论(0) 推荐(0)