
OpenCV
机器学习的小学生
这个作者很懒,什么都没留下…
展开
-
fitgeotrans,transformPointsForward,imwarp,非反射相似变换,相似变换,仿射变换
函数fitgeotrans的用法: tform = fitgeotrans(movingPoints,fixedPoints,transformationType)example tform = fitgeotrans(movingPoints,fixedPoints,’polynomial’,degree) tform = fitgeotrans(movingPoints,fixe原创 2016-10-08 20:05:53 · 7739 阅读 · 0 评论 -
Why OpenCV is slower than Matlab in matrix related operation,如:特征值分解,奇异值分解
OpenCV is not designed for solving matrix related operation like: multiplication, eigenvalue decomposition or SVD, etc., so your result is not surprise to me. For your problem, there two kinds of choic原创 2016-10-02 15:58:52 · 756 阅读 · 0 评论 -
相似变换
% headpose_with_block/ini_shapeclc;clearvars;close all;data=load('../data_temp/data.mat','data');data=data.data;meanshape=calc_meanshape2(data);ind=1;img=imread(data{ind}.imgPath);%color imagelan原创 2016-10-10 18:53:41 · 6078 阅读 · 0 评论 -
Hog特征
Hog各参数图解 http://blog.youkuaiyun.com/raodotcong/article/details/6239431 图中:红色区域表示图像,绿色区域表示winSize,蓝色区域表示block,黄色区域表示cell,一般性的一个block中含有4个cell,其中cell是最小的单元,用来统计cell中梯度方向的直方图(如方向bin为9,具体方向的统计可以根据自己需要进行修改),图中给出原创 2016-10-12 21:16:15 · 2030 阅读 · 0 评论 -
opencv-warpAffine,matlab-imwarp
clearall;%% titleinfo_=[ '文档的功能: 是实现对图像的标准化' ... ',标准化的方式采用将所有形状对齐的平均形状. \n'... '文档的创建时间为:2016/11/1/18:37 \n'];%% contentdata = load('pose_train_data.mat','s_traindata','s_testdata');t原创 2016-11-01 21:28:30 · 3794 阅读 · 0 评论 -
OpenCV for Python
1. 注意: 彩色图像使用 OpenCV 加载时是 BGR 模式。但是 Matplotib 是 RGB 模式。所以彩色图像如果已经被 OpenCV 读取,那它将不会被 Matplotib 正 确显示。具体细节请看练习. 2. ...原创 2018-05-14 10:35:32 · 806 阅读 · 0 评论 -
Moravec角点检测算子
Moravec角点检测算子Moravec 在1981年提出Moravec角点检测算子[1],并将它应用于立体匹配。首先, 计算每个像素点的兴趣值, 即以该像素点为中心, 取一个w*w(如:5x5)的方形窗口, 计算0度、45度、90度、135度四个方向灰度差的平方和, 取其中的最小值作为该像素点的兴趣值。图1- 1 以3x3为例 黑色窗口为I(x,y) 红色窗口为I(x+u,y转载 2013-10-02 17:39:09 · 2747 阅读 · 0 评论