• 欢迎访问开心洋葱网站,在线教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入开心洋葱 QQ群
  • 为方便开心洋葱网用户,开心洋葱官网已经开启复制功能!
  • 欢迎访问开心洋葱网站,手机也能访问哦~欢迎加入开心洋葱多维思维学习平台 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏开心洋葱吧~~~~~~~~~~~~~!
  • 由于近期流量激增,小站的ECS没能经的起亲们的访问,本站依然没有盈利,如果各位看如果觉着文字不错,还请看官给小站打个赏~~~~~~~~~~~~~!

视觉SLAM学习【2】—–ubuntu16.04基于kitti数据集的SLAM中ORB特征点提取及暴力匹配

人工智能 陈一月的编程岁月 2510次浏览 0个评论

视觉SLAM学习【2】—–ubuntu16.04基于kitti数据集的SLAM中ORB特征点提取及暴力匹配目录

 

  • 一、Kitti数据集
    • 1、什么是Kitti数据集?
    • 2、Kitti完整数据集的获取
    • 3、Kitti数据集上传至ubuntu
  • 二、编写kitti数据集的ORB特征点的提取及暴力匹配代码
    • 1、创建cpp格式文件
    • 2、编写相应功能的C++代码
  • 三、实验整体代码
  • 四、运行结果测试
    • 1、程序编译
    • 2、程序运行
    • 3、运行结果

  上次博客,林君学长讲解了如何对我们拍摄的物体进行SLAM中ORB特征点提取及暴力匹配;但这种匹配是但方面的,少数的,不具有代表性的,所以,我们需要大量的数据进行对应的匹配,因此,本次博客,林君学长将借助kitti数据集进行SLAM中ORB特征点提取及暴力匹配,作为我们对于特征点提取及暴力匹配的一次实验性作业 Kitti数据集的处理要求:  

  1. 循环依次读取一个序列图片(几百张文件名按序号递增的文件),计算相邻3幅图片中的ORB特征点,连线匹配之,并绘制在当前窗口上。即: 第1次计算文件编号为001、002、003的3张图片的ORB特征点,并匹配连线,显示于当前窗口;第2次计算文件编号为003、004、005的3张图片的ORB特征点,并匹配连线,显示于当前窗口,依次类推。

 

  1. 如果中间出现ORB特征点匹配数小于4,cout输出一个提示信息“匹配点过少!”。

 

一、Kitti数据集

 

1、什么是Kitti数据集?

  KITTI数据集由德国卡尔斯鲁厄理工学院和丰田美国技术研究院联合创办,是目前国际上最大的自动驾驶场景下的算法评测数据集。该数据集用于评测立体图像(stereo),光流(optical flow),视觉测距(visual odometry),3D物体检测(object detection)和3D跟踪(tracking)等计算机视觉技术在车载环境下的性能。

2、Kitti完整数据集的获取

  (1)、由于该Kitti的数据集是国外创办的,所以原始下载地址为国外源,同时也是非常大的,如何小伙伴需要该数据集,课通过如下链接进行下载,还是很慢的:http://share.funcs.xyz/  
在这里插入图片描述   (2)、当然小伙伴还可以通过国内的源进行下载,下载速度可能会快一些 https://test.functionweb.tk/data/  
在这里插入图片描述   (3)、如果小伙伴只是为了测试ORB的特征点匹配,那么便可以下载林君学长上传的kitti数据集的部分资源,林君学长截取了50张图片序列,大约40多M,小伙伴可以通过以下链接快速下载: https://download.csdn.net/download/qq_42451251/12403267  
在这里插入图片描述

3、Kitti数据集上传至ubuntu

  (1)、将kitti数据集上传至ubuntu自己适合的位置,比如林君学长就在上传到opencv对应的测试目录下面的,方便我们测试:  
视觉SLAM学习【2】-----ubuntu16.04基于kitti数据集的SLAM中ORB特征点提取及暴力匹配

二、编写kitti数据集的ORB特征点的提取及暴力匹配代码

 

1、创建cpp格式文件

  (1)、进入opencv安装目录  

<code class="prism language-bash has-numbering"><span class="token function">cd</span> ~/lenovo/opencv-3.4.1/SLAM_ORB
<span class="token function">touch</span> slamORB1.cpp
gedit slamORB1.cpp
</code>

 
视觉SLAM学习【2】-----ubuntu16.04基于kitti数据集的SLAM中ORB特征点提取及暴力匹配

2、编写相应功能的C++代码

  (1)、导入相关opencv库及定义圆周率  

<code class="prism language-cpp has-numbering"><span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><opencv2/opencv.hpp></span></span>
<span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><iostream></span></span>
<span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><vector></span></span>
<span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><string></span></span>
<span class="token macro property">#<span class="token directive keyword">include</span><span class="token string"><sstream></span></span>
<span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><fstream></span></span>
<span class="token keyword">using</span> <span class="token keyword">namespace</span> cv<span class="token punctuation">;</span>
<span class="token keyword">using</span> <span class="token keyword">namespace</span> std<span class="token punctuation">;</span>
<span class="token comment">// global variables</span>
<span class="token keyword">const</span> <span class="token keyword">double</span> pi <span class="token operator">=</span> <span class="token number">3.1415926</span><span class="token punctuation">;</span>    <span class="token comment">// pi</span>
</code>

  (2)、计算角度功能函数编写  

<code class="prism language-cpp has-numbering"><span class="token comment">// compute the angle</span>
<span class="token keyword">void</span> <span class="token function">computeAngle</span><span class="token punctuation">(</span><span class="token keyword">const</span> cv<span class="token operator">::</span>Mat <span class="token operator">&</span>image<span class="token punctuation">,</span> vector<span class="token operator"><</span>cv<span class="token operator">::</span>KeyPoint<span class="token operator">></span> <span class="token operator">&</span>keypoints<span class="token punctuation">)</span> <span class="token punctuation">{</span>
    <span class="token keyword">int</span> half_patch_size <span class="token operator">=</span> <span class="token number">8</span><span class="token punctuation">;</span>
    <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">auto</span> <span class="token operator">&</span>kp <span class="token operator">:</span> keypoints<span class="token punctuation">)</span> <span class="token punctuation">{</span>
    <span class="token comment">// START YOUR CODE HERE (~7 lines)</span>
<span class="token comment">//        kp.angle = 0; // compute kp.angle</span>
        <span class="token keyword">double</span> m10 <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>
        <span class="token keyword">double</span> m01 <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>
        <span class="token keyword">int</span> x <span class="token operator">=</span><span class="token function">cvRound</span><span class="token punctuation">(</span>kp<span class="token punctuation">.</span>pt<span class="token punctuation">.</span>x<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">int</span> y <span class="token operator">=</span><span class="token function">cvRound</span><span class="token punctuation">(</span>kp<span class="token punctuation">.</span>pt<span class="token punctuation">.</span>y<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">if</span><span class="token punctuation">(</span>x<span class="token operator">-</span>half_patch_size<span class="token operator"><</span><span class="token number">0</span><span class="token operator">||</span>x<span class="token operator">+</span>half_patch_size<span class="token operator">></span>image<span class="token punctuation">.</span>cols<span class="token operator">||</span>
           y<span class="token operator">-</span>half_patch_size<span class="token operator"><</span><span class="token number">0</span><span class="token operator">||</span>y<span class="token operator">+</span>half_patch_size<span class="token operator">></span>image<span class="token punctuation">.</span>rows<span class="token punctuation">)</span>
            <span class="token keyword">continue</span><span class="token punctuation">;</span>
        <span class="token keyword">for</span><span class="token punctuation">(</span><span class="token keyword">int</span> u <span class="token operator">=</span> x <span class="token operator">-</span> half_patch_size<span class="token punctuation">;</span>u<span class="token operator"><</span>x <span class="token operator">+</span> half_patch_size<span class="token punctuation">;</span><span class="token operator">++</span>u<span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
            <span class="token keyword">for</span><span class="token punctuation">(</span><span class="token keyword">int</span> v <span class="token operator">=</span> y <span class="token operator">-</span>half_patch_size<span class="token punctuation">;</span>v<span class="token operator"><</span> y <span class="token operator">+</span> half_patch_size<span class="token punctuation">;</span><span class="token operator">++</span>v<span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                m10 <span class="token operator">+</span><span class="token operator">=</span>  <span class="token punctuation">(</span>u<span class="token operator">-</span>x<span class="token punctuation">)</span><span class="token operator">*</span>image<span class="token punctuation">.</span>at<span class="token operator"><</span>uchar<span class="token operator">></span><span class="token punctuation">(</span>v<span class="token punctuation">,</span>u<span class="token punctuation">)</span><span class="token punctuation">;</span>
                m01 <span class="token operator">+</span><span class="token operator">=</span>  <span class="token punctuation">(</span>v<span class="token operator">-</span>y<span class="token punctuation">)</span><span class="token operator">*</span>image<span class="token punctuation">.</span>at<span class="token operator"><</span>uchar<span class="token operator">></span><span class="token punctuation">(</span>v<span class="token punctuation">,</span>u<span class="token punctuation">)</span><span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">}</span>
 
        <span class="token keyword">double</span> theta <span class="token operator">=</span> std<span class="token operator">::</span><span class="token function">atan</span><span class="token punctuation">(</span>m01<span class="token operator">/</span>m10<span class="token punctuation">)</span><span class="token punctuation">;</span>
        kp<span class="token punctuation">.</span>angle <span class="token operator">=</span> theta <span class="token operator">*</span> <span class="token number">180</span><span class="token operator">/</span>pi<span class="token punctuation">;</span>
        cout<span class="token operator"><<</span><span class="token string">"kp.angel:"</span><span class="token operator"><<</span>kp<span class="token punctuation">.</span>angle<span class="token operator"><<</span>endl<span class="token punctuation">;</span>
<span class="token comment">//         END YOUR CODE HERE</span>
    <span class="token punctuation">}</span>
    <span class="token keyword">return</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code>

  (3)、计算描述符的功能函数编写  

<code class="prism language-cpp has-numbering"><span class="token comment">// compute the descriptor</span>
<span class="token keyword">void</span> <span class="token function">computeORBDesc</span><span class="token punctuation">(</span><span class="token keyword">const</span> cv<span class="token operator">::</span>Mat <span class="token operator">&</span>image<span class="token punctuation">,</span> vector<span class="token operator"><</span>cv<span class="token operator">::</span>KeyPoint<span class="token operator">></span> <span class="token operator">&</span>keypoints<span class="token punctuation">,</span> vector<span class="token operator"><</span>DescType<span class="token operator">></span> <span class="token operator">&</span>desc<span class="token punctuation">)</span> <span class="token punctuation">{</span>
    <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">auto</span> <span class="token operator">&</span>kp<span class="token operator">:</span> keypoints<span class="token punctuation">)</span> <span class="token punctuation">{</span>
        DescType <span class="token function">d</span><span class="token punctuation">(</span><span class="token number">256</span><span class="token punctuation">,</span> <span class="token boolean">false</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">double</span> un_up<span class="token punctuation">,</span>un_vp<span class="token punctuation">,</span>un_uq<span class="token punctuation">,</span>un_vq<span class="token punctuation">;</span> <span class="token comment">// 一对点;</span>
        <span class="token keyword">double</span> up<span class="token punctuation">,</span>vp<span class="token punctuation">,</span>uq<span class="token punctuation">,</span>vq<span class="token punctuation">;</span> <span class="token comment">// 旋转后的点;</span>
        <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">int</span> i <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span> i <span class="token operator"><</span> <span class="token number">256</span><span class="token punctuation">;</span> i<span class="token operator">++</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
            <span class="token comment">// START YOUR CODE HERE (~7 lines)</span>
            d<span class="token punctuation">[</span>i<span class="token punctuation">]</span> <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>  <span class="token comment">// if kp goes outside, set d.clear()</span>
 
            un_up <span class="token operator">=</span> ORB_pattern<span class="token punctuation">[</span>i<span class="token operator">*</span><span class="token number">4</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
            un_vp <span class="token operator">=</span> ORB_pattern<span class="token punctuation">[</span>i<span class="token operator">*</span><span class="token number">4</span><span class="token operator">+</span><span class="token number">1</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
            un_uq <span class="token operator">=</span> ORB_pattern<span class="token punctuation">[</span>i<span class="token operator">*</span><span class="token number">4</span><span class="token operator">+</span><span class="token number">2</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
            un_vq <span class="token operator">=</span> ORB_pattern<span class="token punctuation">[</span>i<span class="token operator">*</span><span class="token number">4</span><span class="token operator">+</span><span class="token number">3</span><span class="token punctuation">]</span><span class="token punctuation">;</span>           <span class="token comment">// 比较两组点的灰度值大小;</span>
 
            <span class="token comment">// 旋转到主方向上;</span>
            <span class="token keyword">double</span> angle <span class="token operator">=</span> kp<span class="token punctuation">.</span>angle <span class="token operator">*</span> <span class="token punctuation">(</span>pi<span class="token operator">/</span><span class="token number">180</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
 
            up <span class="token operator">=</span>kp<span class="token punctuation">.</span>pt<span class="token punctuation">.</span>x<span class="token operator">+</span>  <span class="token function">cos</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_up<span class="token operator">-</span><span class="token function">sin</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_vp<span class="token punctuation">;</span>
            vp <span class="token operator">=</span>kp<span class="token punctuation">.</span>pt<span class="token punctuation">.</span>y<span class="token operator">+</span> <span class="token function">sin</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_up <span class="token operator">+</span> <span class="token function">cos</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_vp<span class="token punctuation">;</span>
            uq <span class="token operator">=</span>kp<span class="token punctuation">.</span>pt<span class="token punctuation">.</span>x<span class="token operator">+</span>  <span class="token function">cos</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_uq<span class="token operator">-</span><span class="token function">sin</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_vq<span class="token punctuation">;</span>
            vq <span class="token operator">=</span>kp<span class="token punctuation">.</span>pt<span class="token punctuation">.</span>y<span class="token operator">+</span> <span class="token function">sin</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_uq <span class="token operator">+</span> <span class="token function">cos</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_vq<span class="token punctuation">;</span>
 
            <span class="token comment">//边界约束;</span>
            <span class="token keyword">if</span><span class="token punctuation">(</span>up<span class="token operator">></span>image<span class="token punctuation">.</span>cols<span class="token operator">||</span>up<span class="token operator"><</span><span class="token number">0</span> <span class="token operator">||</span> vp <span class="token operator"><</span><span class="token number">0</span><span class="token operator">||</span>vp<span class="token operator">></span>image<span class="token punctuation">.</span>rows<span class="token operator">||</span>uq<span class="token operator">></span>image<span class="token punctuation">.</span>cols<span class="token operator">||</span>uq<span class="token operator"><</span><span class="token number">0</span> <span class="token operator">||</span> vq <span class="token operator"><</span><span class="token number">0</span><span class="token operator">||</span>vq<span class="token operator">></span>image<span class="token punctuation">.</span>rows<span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                d<span class="token punctuation">.</span><span class="token function">clear</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span><span class="token comment">//超出边界,特征点描述子清零;</span>
                <span class="token keyword">break</span><span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
            <span class="token keyword">else</span> <span class="token keyword">if</span><span class="token punctuation">(</span>image<span class="token punctuation">.</span>at<span class="token operator"><</span>uchar<span class="token operator">></span><span class="token punctuation">(</span>vp<span class="token punctuation">,</span>up<span class="token punctuation">)</span><span class="token operator"><</span>image<span class="token punctuation">.</span>at<span class="token operator"><</span>uchar<span class="token operator">></span><span class="token punctuation">(</span>vq<span class="token punctuation">,</span>uq<span class="token punctuation">)</span><span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                d<span class="token punctuation">[</span>i<span class="token punctuation">]</span><span class="token operator">=</span><span class="token number">1</span><span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
 
        <span class="token comment">// END YOUR CODE HERE</span>
        <span class="token punctuation">}</span>
        desc<span class="token punctuation">.</span><span class="token function">push_back</span><span class="token punctuation">(</span>d<span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
 
    <span class="token keyword">int</span> bad <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>
    <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">auto</span> <span class="token operator">&</span>d<span class="token operator">:</span> desc<span class="token punctuation">)</span> <span class="token punctuation">{</span>
        <span class="token keyword">if</span> <span class="token punctuation">(</span>d<span class="token punctuation">.</span><span class="token function">empty</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">)</span> bad<span class="token operator">++</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
    cout <span class="token operator"><<</span> <span class="token string">"bad/total: "</span> <span class="token operator"><<</span> bad <span class="token operator"><<</span> <span class="token string">"/"</span> <span class="token operator"><<</span> desc<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator"><<</span> endl<span class="token punctuation">;</span>
    <span class="token keyword">return</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code>

  (4)、暴力匹配功能函数编写  

<code class="prism language-cpp has-numbering"><span class="token comment">// brute-force matching</span>
<span class="token keyword">void</span> <span class="token function">bfMatch</span><span class="token punctuation">(</span><span class="token keyword">const</span> vector<span class="token operator"><</span>DescType<span class="token operator">></span> <span class="token operator">&</span>desc1<span class="token punctuation">,</span> <span class="token keyword">const</span> vector<span class="token operator"><</span>DescType<span class="token operator">></span> <span class="token operator">&</span>desc2<span class="token punctuation">,</span> vector<span class="token operator"><</span>cv<span class="token operator">::</span>DMatch<span class="token operator">></span> <span class="token operator">&</span>matches<span class="token punctuation">)</span> <span class="token punctuation">{</span>
    <span class="token keyword">int</span> d_max <span class="token operator">=</span> <span class="token number">50</span><span class="token punctuation">;</span>
    <span class="token keyword">int</span> d <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>
    <span class="token keyword">int</span> queryIdx<span class="token punctuation">,</span>trainIdx<span class="token punctuation">;</span>
    <span class="token keyword">int</span> dis<span class="token punctuation">;</span>
    <span class="token comment">// START YOUR CODE HERE (~12 lines)</span>
    <span class="token comment">// find matches between desc1 and desc2.</span>
    <span class="token keyword">for</span><span class="token punctuation">(</span><span class="token keyword">int</span> i <span class="token operator">=</span><span class="token number">0</span><span class="token punctuation">;</span>i<span class="token operator"><</span>desc1<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span><span class="token operator">++</span>i<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">if</span><span class="token punctuation">(</span>desc1<span class="token punctuation">[</span>i<span class="token punctuation">]</span><span class="token punctuation">.</span><span class="token function">empty</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">)</span>
            <span class="token keyword">continue</span><span class="token punctuation">;</span>
        d<span class="token operator">=</span><span class="token number">0</span><span class="token punctuation">;</span>
        dis <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>
        <span class="token keyword">for</span><span class="token punctuation">(</span><span class="token keyword">int</span> j <span class="token operator">=</span><span class="token number">0</span><span class="token punctuation">;</span>j<span class="token operator"><</span>desc2<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span><span class="token operator">++</span>j<span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
         <span class="token keyword">if</span><span class="token punctuation">(</span>desc2<span class="token punctuation">[</span>j<span class="token punctuation">]</span><span class="token punctuation">.</span><span class="token function">empty</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">)</span>
             <span class="token keyword">continue</span><span class="token punctuation">;</span>
             d<span class="token operator">=</span><span class="token number">0</span><span class="token punctuation">;</span>
            <span class="token keyword">for</span><span class="token punctuation">(</span><span class="token keyword">int</span> k <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>k<span class="token operator"><</span><span class="token number">256</span><span class="token punctuation">;</span><span class="token operator">++</span>k<span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                <span class="token keyword">if</span><span class="token punctuation">(</span>desc1<span class="token punctuation">[</span>i<span class="token punctuation">]</span><span class="token punctuation">[</span>k<span class="token punctuation">]</span> <span class="token operator">!=</span> desc2<span class="token punctuation">[</span>j<span class="token punctuation">]</span><span class="token punctuation">[</span>k<span class="token punctuation">]</span><span class="token punctuation">)</span>
                    d <span class="token operator">+</span><span class="token operator">=</span> <span class="token number">1</span><span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
<span class="token comment">//            cout<<"d: "<<d<<endl;</span>
            <span class="token keyword">if</span> <span class="token punctuation">(</span>d<span class="token operator"><</span>d_max<span class="token operator">&&</span><span class="token punctuation">(</span>dis<span class="token operator">==</span><span class="token number">0</span><span class="token operator">||</span>d<span class="token operator"><</span>dis<span class="token punctuation">)</span><span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                dis <span class="token operator">=</span> d<span class="token punctuation">;</span>
                queryIdx <span class="token operator">=</span> i<span class="token punctuation">;</span>
                trainIdx <span class="token operator">=</span> j<span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">}</span>
        <span class="token keyword">if</span><span class="token punctuation">(</span>dis <span class="token operator">!=</span> <span class="token number">0</span><span class="token punctuation">)</span> <span class="token comment">//匹配到了;</span>
        <span class="token punctuation">{</span>
            matches<span class="token punctuation">.</span><span class="token function">push_back</span><span class="token punctuation">(</span>cv<span class="token operator">::</span><span class="token function">DMatch</span><span class="token punctuation">(</span>queryIdx<span class="token punctuation">,</span>trainIdx<span class="token punctuation">,</span>dis<span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token punctuation">}</span>
 
    <span class="token punctuation">}</span>
    <span class="token comment">// END YOUR CODE HERE</span>
    <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">auto</span> <span class="token operator">&</span>m<span class="token operator">:</span> matches<span class="token punctuation">)</span> <span class="token punctuation">{</span>
        cout <span class="token operator"><<</span> m<span class="token punctuation">.</span>queryIdx <span class="token operator"><<</span> <span class="token string">", "</span> <span class="token operator"><<</span> m<span class="token punctuation">.</span>trainIdx <span class="token operator"><<</span> <span class="token string">", "</span> <span class="token operator"><<</span> m<span class="token punctuation">.</span>distance <span class="token operator"><<</span> endl<span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
    <span class="token keyword">return</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>

</code>

  (5)、主函数相关调用如下所示:  

<code class="prism language-cpp has-numbering"><span class="token keyword">int</span> <span class="token function">main</span><span class="token punctuation">(</span><span class="token keyword">int</span> argc<span class="token punctuation">,</span> <span class="token keyword">char</span> <span class="token operator">*</span><span class="token operator">*</span>argv<span class="token punctuation">)</span> <span class="token punctuation">{</span>
    std<span class="token operator">::</span>string pattern_jpg <span class="token operator">=</span><span class="token string">"./kitti_Image/Kitti_image_2/*.png"</span><span class="token punctuation">;</span>
    std<span class="token operator">::</span>vector<span class="token operator"><</span>cv<span class="token operator">::</span>String<span class="token operator">></span> image_files<span class="token punctuation">;</span>
    cv<span class="token operator">::</span><span class="token function">glob</span><span class="token punctuation">(</span>pattern_jpg<span class="token punctuation">,</span> image_files<span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">unsigned</span> <span class="token keyword">int</span> frame <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span> frame <span class="token operator"><</span> image_files<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span> <span class="token operator">++</span>frame<span class="token punctuation">)</span> <span class="token punctuation">{</span><span class="token comment">//image_file.size()代表文件中总共的图片个数</span>
		<span class="token operator">/</span><span class="token operator">/</span><span class="token function">imshow</span><span class="token punctuation">(</span><span class="token string">"1"</span><span class="token punctuation">,</span> image<span class="token punctuation">)</span><span class="token punctuation">;</span>
		<span class="token operator">/</span><span class="token operator">/</span><span class="token function">imshow</span><span class="token punctuation">(</span><span class="token string">"2"</span><span class="token punctuation">,</span> image1<span class="token punctuation">)</span><span class="token punctuation">;</span>
		<span class="token operator">/</span><span class="token operator">/</span><span class="token function">waitKey</span><span class="token punctuation">(</span><span class="token number">30</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
          <span class="token operator">/</span><span class="token operator">/</span> load image
        cv<span class="token operator">::</span>Mat first_image <span class="token operator">=</span> cv<span class="token operator">::</span><span class="token function">imread</span><span class="token punctuation">(</span>image_files<span class="token punctuation">[</span>frame<span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">;</span>    <span class="token operator">/</span><span class="token operator">/</span> load grayscale image
        cv<span class="token operator">::</span>Mat second_image <span class="token operator">=</span> cv<span class="token operator">::</span><span class="token function">imread</span><span class="token punctuation">(</span>image_files<span class="token punctuation">[</span>frame<span class="token operator">+</span><span class="token number">1</span><span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">;</span>  <span class="token operator">/</span><span class="token operator">/</span> load grayscale image
 
    <span class="token operator">/</span><span class="token operator">/</span> plot the image
        <span class="token operator">/</span><span class="token operator">/</span>cv<span class="token operator">::</span><span class="token function">imshow</span><span class="token punctuation">(</span><span class="token string">"first image"</span><span class="token punctuation">,</span> first_image<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token operator">/</span><span class="token operator">/</span>cv<span class="token operator">::</span><span class="token function">imshow</span><span class="token punctuation">(</span><span class="token string">"second image"</span><span class="token punctuation">,</span> second_image<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token operator">/</span><span class="token operator">/</span>cv<span class="token operator">::</span><span class="token function">waitKey</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token operator">/</span><span class="token operator">/</span> detect FAST keypoints <span class="token keyword">using</span> threshold<span class="token operator">=</span><span class="token number">40</span>
        vector<span class="token operator"><</span>cv<span class="token operator">::</span>KeyPoint<span class="token operator">></span> keypoints<span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">FAST</span><span class="token punctuation">(</span>first_image<span class="token punctuation">,</span> keypoints<span class="token punctuation">,</span> <span class="token number">40</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        cout <span class="token operator"><<</span> <span class="token string">"keypoints: "</span> <span class="token operator"><<</span> keypoints<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator"><<</span> endl<span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> compute angle <span class="token keyword">for</span> each keypoint
        <span class="token function">computeAngle</span><span class="token punctuation">(</span>first_image<span class="token punctuation">,</span> keypoints<span class="token punctuation">)</span><span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> compute ORB descriptors
         vector<span class="token operator"><</span>DescType<span class="token operator">></span> descriptors<span class="token punctuation">;</span>
        <span class="token function">computeORBDesc</span><span class="token punctuation">(</span>first_image<span class="token punctuation">,</span> keypoints<span class="token punctuation">,</span> descriptors<span class="token punctuation">)</span><span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> plot the keypoints
        cv<span class="token operator">::</span>Mat image_show<span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">drawKeypoints</span><span class="token punctuation">(</span>first_image<span class="token punctuation">,</span> keypoints<span class="token punctuation">,</span> image_show<span class="token punctuation">,</span> cv<span class="token operator">::</span>Scalar<span class="token operator">::</span><span class="token function">all</span><span class="token punctuation">(</span><span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
                      cv<span class="token operator">::</span>DrawMatchesFlags<span class="token operator">::</span>DRAW_RICH_KEYPOINTS<span class="token punctuation">)</span><span class="token punctuation">;</span>
        string a<span class="token operator">=</span><span class="token string">"feature"</span><span class="token punctuation">;</span>
        string b<span class="token operator">=</span><span class="token string">".png"</span><span class="token punctuation">;</span>
        stringstream ss<span class="token punctuation">;</span>
        ss<span class="token operator"><<</span>a<span class="token operator"><<</span>frame<span class="token operator"><<</span>b<span class="token punctuation">;</span>
       <span class="token operator">/</span><span class="token operator">/</span> cv<span class="token operator">::</span><span class="token function">imshow</span><span class="token punctuation">(</span>ss<span class="token punctuation">.</span><span class="token function">str</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">,</span> image_show<span class="token punctuation">)</span><span class="token punctuation">;</span>
      
        cv<span class="token operator">::</span><span class="token function">imwrite</span><span class="token punctuation">(</span>ss<span class="token punctuation">.</span><span class="token function">str</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">,</span> image_show<span class="token punctuation">)</span><span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">waitKey</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> we can also match descriptors between images
    <span class="token operator">/</span><span class="token operator">/</span> same <span class="token keyword">for</span> the second
        vector<span class="token operator"><</span>cv<span class="token operator">::</span>KeyPoint<span class="token operator">></span> keypoints2<span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">FAST</span><span class="token punctuation">(</span>second_image<span class="token punctuation">,</span> keypoints2<span class="token punctuation">,</span> <span class="token number">40</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        cout <span class="token operator"><<</span> <span class="token string">"keypoints: "</span> <span class="token operator"><<</span> keypoints2<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator"><<</span> endl<span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> compute angle <span class="token keyword">for</span> each keypoint
        <span class="token function">computeAngle</span><span class="token punctuation">(</span>second_image<span class="token punctuation">,</span> keypoints2<span class="token punctuation">)</span><span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> compute ORB descriptors
        vector<span class="token operator"><</span>DescType<span class="token operator">></span> descriptors2<span class="token punctuation">;</span>
        <span class="token function">computeORBDesc</span><span class="token punctuation">(</span>second_image<span class="token punctuation">,</span> keypoints2<span class="token punctuation">,</span> descriptors2<span class="token punctuation">)</span><span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> find matches
        vector<span class="token operator"><</span>cv<span class="token operator">::</span>DMatch<span class="token operator">></span> matches<span class="token punctuation">;</span>
        <span class="token function">bfMatch</span><span class="token punctuation">(</span>descriptors<span class="token punctuation">,</span> descriptors2<span class="token punctuation">,</span> matches<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">if</span> <span class="token punctuation">(</span>matches<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"><</span><span class="token number">4</span><span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
            cout<span class="token operator"><<</span><span class="token string">"匹配点过少!"</span><span class="token operator"><<</span>endl<span class="token punctuation">;</span>
        <span class="token punctuation">}</span>
        cout <span class="token operator"><<</span> <span class="token string">"matches: "</span> <span class="token operator"><<</span> matches<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator"><<</span> endl<span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> plot the matches
        cv<span class="token operator">::</span><span class="token function">drawMatches</span><span class="token punctuation">(</span>first_image<span class="token punctuation">,</span> keypoints<span class="token punctuation">,</span> second_image<span class="token punctuation">,</span> keypoints2<span class="token punctuation">,</span> matches<span class="token punctuation">,</span> image_show<span class="token punctuation">)</span><span class="token punctuation">;</span>
        string c<span class="token operator">=</span><span class="token string">"matches"</span><span class="token punctuation">;</span>
        string d<span class="token operator">=</span><span class="token string">".png"</span><span class="token punctuation">;</span>
        stringstream sb<span class="token punctuation">;</span>
        sb<span class="token operator"><<</span>c<span class="token operator"><<</span>frame<span class="token operator"><<</span>d<span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">imshow</span><span class="token punctuation">(</span>sb<span class="token punctuation">.</span><span class="token function">str</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">,</span> image_show<span class="token punctuation">)</span><span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">imwrite</span><span class="token punctuation">(</span>sb<span class="token punctuation">.</span><span class="token function">str</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">,</span> image_show<span class="token punctuation">)</span><span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">waitKey</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
 
        cout <span class="token operator"><<</span> <span class="token string">"done."</span> <span class="token operator"><<</span> endl<span class="token punctuation">;</span>
        cout<span class="token operator"><<</span>endl<span class="token punctuation">;</span>
	<span class="token punctuation">}</span>
 
    <span class="token keyword">return</span> <span class="token number">0</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span></code>

std::string pattern_jpg =”./kitti_Image/Kitti_image_2/*.png”; 这一句中的数据集的路径为我们放置数据集路径哦!

三、实验整体代码

<code class="prism language-cpp has-numbering"></code>
<code class="prism language-cpp has-numbering"></code>
<code class="prism language-cpp has-numbering"><span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><opencv2/opencv.hpp></span></span>
<span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><iostream></span></span>
<span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><vector></span></span>
<span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><string></span></span>
<span class="token macro property">#<span class="token directive keyword">include</span><span class="token string"><sstream></span></span>
<span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><fstream></span></span>
<span class="token keyword">using</span> <span class="token keyword">namespace</span> cv<span class="token punctuation">;</span>
<span class="token keyword">using</span> <span class="token keyword">namespace</span> std<span class="token punctuation">;</span>
<span class="token comment">// global variables</span>
<span class="token keyword">const</span> <span class="token keyword">double</span> pi <span class="token operator">=</span> <span class="token number">3.1415926</span><span class="token punctuation">;</span>    <span class="token comment">// pi</span>
<span class="token comment">// TODO implement this function</span>
<span class="token comment">/**
 * compute the angle for ORB descriptor
 * @param [in] image input image
 * @param [in|out] detected keypoints
 */</span>
<span class="token keyword">void</span> <span class="token function">computeAngle</span><span class="token punctuation">(</span><span class="token keyword">const</span> cv<span class="token operator">::</span>Mat <span class="token operator">&</span>image<span class="token punctuation">,</span> vector<span class="token operator"><</span>cv<span class="token operator">::</span>KeyPoint<span class="token operator">></span> <span class="token operator">&</span>keypoints<span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token comment">// TODO implement this function</span>
<span class="token comment">/**
 * compute ORB descriptor
 * @param [in] image the input image
 * @param [in] keypoints detected keypoints
 * @param [out] desc descriptor
 */</span>
<span class="token keyword">typedef</span> vector<span class="token operator"><</span><span class="token keyword">bool</span><span class="token operator">></span> DescType<span class="token punctuation">;</span>  <span class="token comment">// type of descriptor, 256 bools</span>
<span class="token keyword">void</span> <span class="token function">computeORBDesc</span><span class="token punctuation">(</span><span class="token keyword">const</span> cv<span class="token operator">::</span>Mat <span class="token operator">&</span>image<span class="token punctuation">,</span> vector<span class="token operator"><</span>cv<span class="token operator">::</span>KeyPoint<span class="token operator">></span> <span class="token operator">&</span>keypoints<span class="token punctuation">,</span> vector<span class="token operator"><</span>DescType<span class="token operator">></span> <span class="token operator">&</span>desc<span class="token punctuation">)</span><span class="token punctuation">;</span> 
<span class="token comment">// TODO implement this function</span>
<span class="token comment">/**
 * brute-force match two sets of descriptors
 * @param desc1 the first descriptor
 * @param desc2 the second descriptor
 * @param matches matches of two images
 */</span>
<span class="token keyword">void</span> <span class="token function">bfMatch</span><span class="token punctuation">(</span><span class="token keyword">const</span> vector<span class="token operator"><</span>DescType<span class="token operator">></span> <span class="token operator">&</span>desc1<span class="token punctuation">,</span> <span class="token keyword">const</span> vector<span class="token operator"><</span>DescType<span class="token operator">></span> <span class="token operator">&</span>desc2<span class="token punctuation">,</span> vector<span class="token operator"><</span>cv<span class="token operator">::</span>DMatch<span class="token operator">></span> <span class="token operator">&</span>matches<span class="token punctuation">)</span><span class="token punctuation">;</span>
 
<span class="token keyword">int</span> <span class="token function">main</span><span class="token punctuation">(</span><span class="token keyword">int</span> argc<span class="token punctuation">,</span> <span class="token keyword">char</span> <span class="token operator">*</span><span class="token operator">*</span>argv<span class="token punctuation">)</span> <span class="token punctuation">{</span>
    std<span class="token operator">::</span>string pattern_jpg <span class="token operator">=</span><span class="token string">"./kitti_Image/Kitti_image_2/*.png"</span><span class="token punctuation">;</span>
    std<span class="token operator">::</span>vector<span class="token operator"><</span>cv<span class="token operator">::</span>String<span class="token operator">></span> image_files<span class="token punctuation">;</span>
    cv<span class="token operator">::</span><span class="token function">glob</span><span class="token punctuation">(</span>pattern_jpg<span class="token punctuation">,</span> image_files<span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">unsigned</span> <span class="token keyword">int</span> frame <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span> frame <span class="token operator"><</span> image_files<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span> <span class="token operator">++</span>frame<span class="token punctuation">)</span> <span class="token punctuation">{</span><span class="token comment">//image_file.size()代表文件中总共的图片个数</span>
		<span class="token operator">/</span><span class="token operator">/</span><span class="token function">imshow</span><span class="token punctuation">(</span><span class="token string">"1"</span><span class="token punctuation">,</span> image<span class="token punctuation">)</span><span class="token punctuation">;</span>
		<span class="token operator">/</span><span class="token operator">/</span><span class="token function">imshow</span><span class="token punctuation">(</span><span class="token string">"2"</span><span class="token punctuation">,</span> image1<span class="token punctuation">)</span><span class="token punctuation">;</span>
		<span class="token operator">/</span><span class="token operator">/</span><span class="token function">waitKey</span><span class="token punctuation">(</span><span class="token number">30</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
          <span class="token operator">/</span><span class="token operator">/</span> load image
        cv<span class="token operator">::</span>Mat first_image <span class="token operator">=</span> cv<span class="token operator">::</span><span class="token function">imread</span><span class="token punctuation">(</span>image_files<span class="token punctuation">[</span>frame<span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">;</span>    <span class="token operator">/</span><span class="token operator">/</span> load grayscale image
        cv<span class="token operator">::</span>Mat second_image <span class="token operator">=</span> cv<span class="token operator">::</span><span class="token function">imread</span><span class="token punctuation">(</span>image_files<span class="token punctuation">[</span>frame<span class="token operator">+</span><span class="token number">1</span><span class="token punctuation">]</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">;</span>  <span class="token operator">/</span><span class="token operator">/</span> load grayscale image
 
    <span class="token operator">/</span><span class="token operator">/</span> plot the image
        <span class="token operator">/</span><span class="token operator">/</span>cv<span class="token operator">::</span><span class="token function">imshow</span><span class="token punctuation">(</span><span class="token string">"first image"</span><span class="token punctuation">,</span> first_image<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token operator">/</span><span class="token operator">/</span>cv<span class="token operator">::</span><span class="token function">imshow</span><span class="token punctuation">(</span><span class="token string">"second image"</span><span class="token punctuation">,</span> second_image<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token operator">/</span><span class="token operator">/</span>cv<span class="token operator">::</span><span class="token function">waitKey</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token operator">/</span><span class="token operator">/</span> detect FAST keypoints <span class="token keyword">using</span> threshold<span class="token operator">=</span><span class="token number">40</span>
        vector<span class="token operator"><</span>cv<span class="token operator">::</span>KeyPoint<span class="token operator">></span> keypoints<span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">FAST</span><span class="token punctuation">(</span>first_image<span class="token punctuation">,</span> keypoints<span class="token punctuation">,</span> <span class="token number">40</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        cout <span class="token operator"><<</span> <span class="token string">"keypoints: "</span> <span class="token operator"><<</span> keypoints<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator"><<</span> endl<span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> compute angle <span class="token keyword">for</span> each keypoint
        <span class="token function">computeAngle</span><span class="token punctuation">(</span>first_image<span class="token punctuation">,</span> keypoints<span class="token punctuation">)</span><span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> compute ORB descriptors
         vector<span class="token operator"><</span>DescType<span class="token operator">></span> descriptors<span class="token punctuation">;</span>
        <span class="token function">computeORBDesc</span><span class="token punctuation">(</span>first_image<span class="token punctuation">,</span> keypoints<span class="token punctuation">,</span> descriptors<span class="token punctuation">)</span><span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> plot the keypoints
        cv<span class="token operator">::</span>Mat image_show<span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">drawKeypoints</span><span class="token punctuation">(</span>first_image<span class="token punctuation">,</span> keypoints<span class="token punctuation">,</span> image_show<span class="token punctuation">,</span> cv<span class="token operator">::</span>Scalar<span class="token operator">::</span><span class="token function">all</span><span class="token punctuation">(</span><span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">)</span><span class="token punctuation">,</span>
                      cv<span class="token operator">::</span>DrawMatchesFlags<span class="token operator">::</span>DRAW_RICH_KEYPOINTS<span class="token punctuation">)</span><span class="token punctuation">;</span>
        string a<span class="token operator">=</span><span class="token string">"feature"</span><span class="token punctuation">;</span>
        string b<span class="token operator">=</span><span class="token string">".png"</span><span class="token punctuation">;</span>
        stringstream ss<span class="token punctuation">;</span>
        ss<span class="token operator"><<</span>a<span class="token operator"><<</span>frame<span class="token operator"><<</span>b<span class="token punctuation">;</span>
       <span class="token operator">/</span><span class="token operator">/</span> cv<span class="token operator">::</span><span class="token function">imshow</span><span class="token punctuation">(</span>ss<span class="token punctuation">.</span><span class="token function">str</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">,</span> image_show<span class="token punctuation">)</span><span class="token punctuation">;</span>
      
        cv<span class="token operator">::</span><span class="token function">imwrite</span><span class="token punctuation">(</span>ss<span class="token punctuation">.</span><span class="token function">str</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">,</span> image_show<span class="token punctuation">)</span><span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">waitKey</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> we can also match descriptors between images
    <span class="token operator">/</span><span class="token operator">/</span> same <span class="token keyword">for</span> the second
        vector<span class="token operator"><</span>cv<span class="token operator">::</span>KeyPoint<span class="token operator">></span> keypoints2<span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">FAST</span><span class="token punctuation">(</span>second_image<span class="token punctuation">,</span> keypoints2<span class="token punctuation">,</span> <span class="token number">40</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        cout <span class="token operator"><<</span> <span class="token string">"keypoints: "</span> <span class="token operator"><<</span> keypoints2<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator"><<</span> endl<span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> compute angle <span class="token keyword">for</span> each keypoint
        <span class="token function">computeAngle</span><span class="token punctuation">(</span>second_image<span class="token punctuation">,</span> keypoints2<span class="token punctuation">)</span><span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> compute ORB descriptors
        vector<span class="token operator"><</span>DescType<span class="token operator">></span> descriptors2<span class="token punctuation">;</span>
        <span class="token function">computeORBDesc</span><span class="token punctuation">(</span>second_image<span class="token punctuation">,</span> keypoints2<span class="token punctuation">,</span> descriptors2<span class="token punctuation">)</span><span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> find matches
        vector<span class="token operator"><</span>cv<span class="token operator">::</span>DMatch<span class="token operator">></span> matches<span class="token punctuation">;</span>
        <span class="token function">bfMatch</span><span class="token punctuation">(</span>descriptors<span class="token punctuation">,</span> descriptors2<span class="token punctuation">,</span> matches<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">if</span> <span class="token punctuation">(</span>matches<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"><</span><span class="token number">4</span><span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
            cout<span class="token operator"><<</span><span class="token string">"匹配点过少!"</span><span class="token operator"><<</span>endl<span class="token punctuation">;</span>
        <span class="token punctuation">}</span>
        cout <span class="token operator"><<</span> <span class="token string">"matches: "</span> <span class="token operator"><<</span> matches<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator"><<</span> endl<span class="token punctuation">;</span>
 
    <span class="token operator">/</span><span class="token operator">/</span> plot the matches
        cv<span class="token operator">::</span><span class="token function">drawMatches</span><span class="token punctuation">(</span>first_image<span class="token punctuation">,</span> keypoints<span class="token punctuation">,</span> second_image<span class="token punctuation">,</span> keypoints2<span class="token punctuation">,</span> matches<span class="token punctuation">,</span> image_show<span class="token punctuation">)</span><span class="token punctuation">;</span>
        string c<span class="token operator">=</span><span class="token string">"matches"</span><span class="token punctuation">;</span>
        string d<span class="token operator">=</span><span class="token string">".png"</span><span class="token punctuation">;</span>
        stringstream sb<span class="token punctuation">;</span>
        sb<span class="token operator"><<</span>c<span class="token operator"><<</span>frame<span class="token operator"><<</span>d<span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">imshow</span><span class="token punctuation">(</span>sb<span class="token punctuation">.</span><span class="token function">str</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">,</span> image_show<span class="token punctuation">)</span><span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">imwrite</span><span class="token punctuation">(</span>sb<span class="token punctuation">.</span><span class="token function">str</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">,</span> image_show<span class="token punctuation">)</span><span class="token punctuation">;</span>
        cv<span class="token operator">::</span><span class="token function">waitKey</span><span class="token punctuation">(</span><span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
 
        cout <span class="token operator"><<</span> <span class="token string">"done."</span> <span class="token operator"><<</span> endl<span class="token punctuation">;</span>
        cout<span class="token operator"><<</span>endl<span class="token punctuation">;</span>
	<span class="token punctuation">}</span>
 
    <span class="token keyword">return</span> <span class="token number">0</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
 
<span class="token operator">/</span><span class="token operator">/</span> <span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">/</span><span class="token operator">/</span>
 
<span class="token operator">/</span><span class="token operator">/</span> compute the angle
<span class="token keyword">void</span> <span class="token function">computeAngle</span><span class="token punctuation">(</span><span class="token keyword">const</span> cv<span class="token operator">::</span>Mat <span class="token operator">&</span>image<span class="token punctuation">,</span> vector<span class="token operator"><</span>cv<span class="token operator">::</span>KeyPoint<span class="token operator">></span> <span class="token operator">&</span>keypoints<span class="token punctuation">)</span> <span class="token punctuation">{</span>
    <span class="token keyword">int</span> half_patch_size <span class="token operator">=</span> <span class="token number">8</span><span class="token punctuation">;</span>
    <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">auto</span> <span class="token operator">&</span>kp <span class="token operator">:</span> keypoints<span class="token punctuation">)</span> <span class="token punctuation">{</span>
    <span class="token operator">/</span><span class="token operator">/</span> START YOUR CODE HERE <span class="token punctuation">(</span><span class="token operator">~</span><span class="token number">7</span> lines<span class="token punctuation">)</span>
<span class="token operator">/</span><span class="token operator">/</span>        kp<span class="token punctuation">.</span>angle <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span> <span class="token operator">/</span><span class="token operator">/</span> compute kp<span class="token punctuation">.</span>angle
        <span class="token keyword">double</span> m10 <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>
        <span class="token keyword">double</span> m01 <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>
        <span class="token keyword">int</span> x <span class="token operator">=</span><span class="token function">cvRound</span><span class="token punctuation">(</span>kp<span class="token punctuation">.</span>pt<span class="token punctuation">.</span>x<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">int</span> y <span class="token operator">=</span><span class="token function">cvRound</span><span class="token punctuation">(</span>kp<span class="token punctuation">.</span>pt<span class="token punctuation">.</span>y<span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">if</span><span class="token punctuation">(</span>x<span class="token operator">-</span>half_patch_size<span class="token operator"><</span><span class="token number">0</span><span class="token operator">||</span>x<span class="token operator">+</span>half_patch_size<span class="token operator">></span>image<span class="token punctuation">.</span>cols<span class="token operator">||</span>
           y<span class="token operator">-</span>half_patch_size<span class="token operator"><</span><span class="token number">0</span><span class="token operator">||</span>y<span class="token operator">+</span>half_patch_size<span class="token operator">></span>image<span class="token punctuation">.</span>rows<span class="token punctuation">)</span>
            <span class="token keyword">continue</span><span class="token punctuation">;</span>
        <span class="token keyword">for</span><span class="token punctuation">(</span><span class="token keyword">int</span> u <span class="token operator">=</span> x <span class="token operator">-</span> half_patch_size<span class="token punctuation">;</span>u<span class="token operator"><</span>x <span class="token operator">+</span> half_patch_size<span class="token punctuation">;</span><span class="token operator">++</span>u<span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
            <span class="token keyword">for</span><span class="token punctuation">(</span><span class="token keyword">int</span> v <span class="token operator">=</span> y <span class="token operator">-</span>half_patch_size<span class="token punctuation">;</span>v<span class="token operator"><</span> y <span class="token operator">+</span> half_patch_size<span class="token punctuation">;</span><span class="token operator">++</span>v<span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                m10 <span class="token operator">+</span><span class="token operator">=</span>  <span class="token punctuation">(</span>u<span class="token operator">-</span>x<span class="token punctuation">)</span><span class="token operator">*</span>image<span class="token punctuation">.</span>at<span class="token operator"><</span>uchar<span class="token operator">></span><span class="token punctuation">(</span>v<span class="token punctuation">,</span>u<span class="token punctuation">)</span><span class="token punctuation">;</span>
                m01 <span class="token operator">+</span><span class="token operator">=</span>  <span class="token punctuation">(</span>v<span class="token operator">-</span>y<span class="token punctuation">)</span><span class="token operator">*</span>image<span class="token punctuation">.</span>at<span class="token operator"><</span>uchar<span class="token operator">></span><span class="token punctuation">(</span>v<span class="token punctuation">,</span>u<span class="token punctuation">)</span><span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">}</span>
 
        <span class="token keyword">double</span> theta <span class="token operator">=</span> std<span class="token operator">::</span><span class="token function">atan</span><span class="token punctuation">(</span>m01<span class="token operator">/</span>m10<span class="token punctuation">)</span><span class="token punctuation">;</span>
        kp<span class="token punctuation">.</span>angle <span class="token operator">=</span> theta <span class="token operator">*</span> <span class="token number">180</span><span class="token operator">/</span>pi<span class="token punctuation">;</span>
        cout<span class="token operator"><<</span><span class="token string">"kp.angel:"</span><span class="token operator"><<</span>kp<span class="token punctuation">.</span>angle<span class="token operator"><<</span>endl<span class="token punctuation">;</span>
<span class="token operator">/</span><span class="token operator">/</span>         END YOUR CODE HERE
    <span class="token punctuation">}</span>
    <span class="token keyword">return</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
 
<span class="token operator">/</span><span class="token operator">/</span> <span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">--</span><span class="token operator">-</span> <span class="token operator">/</span><span class="token operator">/</span>
<span class="token operator">/</span><span class="token operator">/</span> ORB pattern
<span class="token keyword">int</span> ORB_pattern<span class="token punctuation">[</span><span class="token number">256</span> <span class="token operator">*</span> <span class="token number">4</span><span class="token punctuation">]</span> <span class="token operator">=</span> <span class="token punctuation">{</span>
        <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0), correlation (0)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token comment">/*mean (1.12461e-05), correlation (0.0437584)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token comment">/*mean (3.37382e-05), correlation (0.0617409)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (5.62303e-05), correlation (0.0636977)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.000134953), correlation (0.085099)*/</span><span class="token punctuation">,</span>
        <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token comment">/*mean (0.000528565), correlation (0.0857175)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token comment">/*mean (0.0188821), correlation (0.0985774)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.0363135), correlation (0.0899616)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token comment">/*mean (0.121806), correlation (0.099849)*/</span><span class="token punctuation">,</span>
        <span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token comment">/*mean (0.122065), correlation (0.093285)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token comment">/*mean (0.162787), correlation (0.0942748)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.21561), correlation (0.0974438)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token comment">/*mean (0.160583), correlation (0.130064)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token comment">/*mean (0.228171), correlation (0.132998)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token comment">/*mean (0.00997526), correlation (0.145926)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.198234), correlation (0.143636)*/</span><span class="token punctuation">,</span>
        <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token comment">/*mean (0.0676226), correlation (0.16689)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.166847), correlation (0.171682)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.101215), correlation (0.179716)*/</span><span class="token punctuation">,</span>
        <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.200641), correlation (0.192279)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token comment">/*mean (0.205106), correlation (0.186848)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token comment">/*mean (0.234908), correlation (0.192319)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.0709964), correlation (0.210872)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token comment">/*mean (0.0939834), correlation (0.212589)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token comment">/*mean (0.127778), correlation (0.20866)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token comment">/*mean (0.14783), correlation (0.206356)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token comment">/*mean (0.182141), correlation (0.198942)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token comment">/*mean (0.188237), correlation (0.21384)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token comment">/*mean (0.14865), correlation (0.23571)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token comment">/*mean (0.222312), correlation (0.23324)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token comment">/*mean (0.229082), correlation (0.23389)*/</span><span class="token punctuation">,</span>
        <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token comment">/*mean (0.241577), correlation (0.215286)*/</span><span class="token punctuation">,</span>
        <span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.00338507), correlation (0.251373)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.131005), correlation (0.257622)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token comment">/*mean (0.152755), correlation (0.255205)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token comment">/*mean (0.182771), correlation (0.244867)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token comment">/*mean (0.186898), correlation (0.23901)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.226226), correlation (0.258255)*/</span><span class="token punctuation">,</span>
        <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.0897886), correlation (0.274827)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token comment">/*mean (0.148774), correlation (0.28065)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token comment">/*mean (0.153048), correlation (0.283063)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token comment">/*mean (0.169523), correlation (0.278248)*/</span><span class="token punctuation">,</span>
        <span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token comment">/*mean (0.225337), correlation (0.282851)*/</span><span class="token punctuation">,</span>
        <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token comment">/*mean (0.226687), correlation (0.278734)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token comment">/*mean (0.00693882), correlation (0.305161)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token comment">/*mean (0.0227283), correlation (0.300181)*/</span><span class="token punctuation">,</span>
        <span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token comment">/*mean (0.125517), correlation (0.31089)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.131748), correlation (0.312779)*/</span><span class="token punctuation">,</span>
        <span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token comment">/*mean (0.144827), correlation (0.292797)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token comment">/*mean (0.149202), correlation (0.308918)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token comment">/*mean (0.160909), correlation (0.310013)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token comment">/*mean (0.177755), correlation (0.309394)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token comment">/*mean (0.212337), correlation (0.310315)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token comment">/*mean (0.214429), correlation (0.311933)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token comment">/*mean (0.235807), correlation (0.313104)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token comment">/*mean (0.00494827), correlation (0.344948)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.0549145), correlation (0.344675)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.103385), correlation (0.342715)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token comment">/*mean (0.134222), correlation (0.322922)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token comment">/*mean (0.153284), correlation (0.337061)*/</span><span class="token punctuation">,</span>
        <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token comment">/*mean (0.154881), correlation (0.329257)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token comment">/*mean (0.200967), correlation (0.33312)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.201518), correlation (0.340635)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.207805), correlation (0.335631)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.224438), correlation (0.34504)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.239361), correlation (0.338053)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token comment">/*mean (0.240744), correlation (0.344322)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token comment">/*mean (0.242949), correlation (0.34145)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.244028), correlation (0.336861)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token comment">/*mean (0.247571), correlation (0.343684)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token comment">/*mean (0.000697256), correlation (0.357265)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.00213675), correlation (0.373827)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token comment">/*mean (0.0126856), correlation (0.373938)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token comment">/*mean (0.0152497), correlation (0.364237)*/</span><span class="token punctuation">,</span>
        <span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token comment">/*mean (0.0299933), correlation (0.345292)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.0307242), correlation (0.366299)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.0534975), correlation (0.368357)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token comment">/*mean (0.099865), correlation (0.372276)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token comment">/*mean (0.117083), correlation (0.364529)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token comment">/*mean (0.126125), correlation (0.369606)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.130364), correlation (0.358502)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token comment">/*mean (0.131691), correlation (0.375531)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token comment">/*mean (0.160166), correlation (0.379508)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token comment">/*mean (0.167848), correlation (0.353343)*/</span><span class="token punctuation">,</span>
        <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.183378), correlation (0.371916)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token comment">/*mean (0.228711), correlation (0.371761)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.247211), correlation (0.364063)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token comment">/*mean (0.249325), correlation (0.378139)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token comment">/*mean (0.000652272), correlation (0.411682)*/</span><span class="token punctuation">,</span>
        <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.00248538), correlation (0.392988)*/</span><span class="token punctuation">,</span>
        <span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token comment">/*mean (0.0206815), correlation (0.386106)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token comment">/*mean (0.0364485), correlation (0.410752)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.0376068), correlation (0.398374)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.0424202), correlation (0.405663)*/</span><span class="token punctuation">,</span>
        <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token comment">/*mean (0.0942645), correlation (0.410422)*/</span><span class="token punctuation">,</span>
        <span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token comment">/*mean (0.1074), correlation (0.413224)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token comment">/*mean (0.109256), correlation (0.408646)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token comment">/*mean (0.131691), correlation (0.416076)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token comment">/*mean (0.165081), correlation (0.417569)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.171874), correlation (0.408471)*/</span><span class="token punctuation">,</span>
        <span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token comment">/*mean (0.175146), correlation (0.41296)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token comment">/*mean (0.183682), correlation (0.402956)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token comment">/*mean (0.184672), correlation (0.416125)*/</span><span class="token punctuation">,</span>
        <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.191487), correlation (0.386696)*/</span><span class="token punctuation">,</span>
        <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token comment">/*mean (0.192668), correlation (0.394771)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token comment">/*mean (0.200157), correlation (0.408303)*/</span><span class="token punctuation">,</span>
        <span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token comment">/*mean (0.204588), correlation (0.411762)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.205904), correlation (0.416294)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token comment">/*mean (0.213237), correlation (0.409306)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token comment">/*mean (0.243444), correlation (0.395069)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token comment">/*mean (0.247672), correlation (0.413392)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.24774), correlation (0.411416)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token comment">/*mean (0.00213675), correlation (0.454003)*/</span><span class="token punctuation">,</span>
        <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token comment">/*mean (0.0293635), correlation (0.455368)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token comment">/*mean (0.0404971), correlation (0.457393)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token comment">/*mean (0.0481107), correlation (0.448364)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token comment">/*mean (0.050641), correlation (0.455019)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.0525978), correlation (0.44338)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token comment">/*mean (0.0629667), correlation (0.457096)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.0653846), correlation (0.445623)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.0858749), correlation (0.449789)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token comment">/*mean (0.122402), correlation (0.450201)*/</span><span class="token punctuation">,</span>
        <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.125416), correlation (0.453224)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token comment">/*mean (0.130128), correlation (0.458724)*/</span><span class="token punctuation">,</span>
        <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token comment">/*mean (0.132467), correlation (0.440133)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token comment">/*mean (0.132692), correlation (0.454)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token comment">/*mean (0.135695), correlation (0.455739)*/</span><span class="token punctuation">,</span>
        <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token comment">/*mean (0.142904), correlation (0.446114)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token comment">/*mean (0.146165), correlation (0.451473)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.147627), correlation (0.456643)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token comment">/*mean (0.152901), correlation (0.455036)*/</span><span class="token punctuation">,</span>
        <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token comment">/*mean (0.167083), correlation (0.459315)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.173234), correlation (0.454706)*/</span><span class="token punctuation">,</span>
        <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.18312), correlation (0.433855)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token comment">/*mean (0.185504), correlation (0.443838)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token comment">/*mean (0.185706), correlation (0.451123)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.188968), correlation (0.455808)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token comment">/*mean (0.191667), correlation (0.459128)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token comment">/*mean (0.193196), correlation (0.458364)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token comment">/*mean (0.196536), correlation (0.455782)*/</span><span class="token punctuation">,</span>
        <span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token comment">/*mean (0.1972), correlation (0.450481)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.199438), correlation (0.458156)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token comment">/*mean (0.211224), correlation (0.449548)*/</span><span class="token punctuation">,</span>
        <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token comment">/*mean (0.211718), correlation (0.440606)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token comment">/*mean (0.213034), correlation (0.443177)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.234334), correlation (0.455304)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.235684), correlation (0.443436)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token comment">/*mean (0.237674), correlation (0.452525)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token comment">/*mean (0.23962), correlation (0.444824)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token comment">/*mean (0.248459), correlation (0.439621)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token comment">/*mean (0.249505), correlation (0.456666)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token comment">/*mean (0.00119208), correlation (0.495466)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token comment">/*mean (0.00372245), correlation (0.484214)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token comment">/*mean (0.00741116), correlation (0.499854)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token comment">/*mean (0.0208952), correlation (0.499773)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token comment">/*mean (0.0220085), correlation (0.501609)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token comment">/*mean (0.0233806), correlation (0.496568)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.0236505), correlation (0.489719)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.0268781), correlation (0.503487)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token comment">/*mean (0.0323324), correlation (0.501938)*/</span><span class="token punctuation">,</span>
        <span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token comment">/*mean (0.0399235), correlation (0.494029)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token comment">/*mean (0.0420153), correlation (0.486579)*/</span><span class="token punctuation">,</span>
        <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.0548021), correlation (0.484237)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token comment">/*mean (0.0616622), correlation (0.496642)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token comment">/*mean (0.0627755), correlation (0.498563)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token comment">/*mean (0.0829622), correlation (0.495491)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token comment">/*mean (0.0843342), correlation (0.487146)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token comment">/*mean (0.0929937), correlation (0.502315)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.113327), correlation (0.48941)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token comment">/*mean (0.132119), correlation (0.467268)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token comment">/*mean (0.136269), correlation (0.498771)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token comment">/*mean (0.142173), correlation (0.498714)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.144141), correlation (0.491973)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token comment">/*mean (0.14892), correlation (0.500782)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token comment">/*mean (0.150371), correlation (0.498211)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token comment">/*mean (0.152159), correlation (0.495547)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token comment">/*mean (0.156152), correlation (0.496925)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token comment">/*mean (0.15749), correlation (0.499222)*/</span><span class="token punctuation">,</span>
        <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token comment">/*mean (0.159211), correlation (0.503821)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.162427), correlation (0.501907)*/</span><span class="token punctuation">,</span>
        <span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token comment">/*mean (0.16652), correlation (0.497632)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token comment">/*mean (0.169141), correlation (0.484474)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token comment">/*mean (0.169456), correlation (0.495339)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token comment">/*mean (0.171457), correlation (0.487251)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token comment">/*mean (0.175), correlation (0.500024)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.175866), correlation (0.497523)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.178273), correlation (0.501854)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token comment">/*mean (0.181107), correlation (0.494888)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.190227), correlation (0.482557)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token comment">/*mean (0.196739), correlation (0.496503)*/</span><span class="token punctuation">,</span>
        <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.19973), correlation (0.499759)*/</span><span class="token punctuation">,</span>
        <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.204465), correlation (0.49873)*/</span><span class="token punctuation">,</span>
        <span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token comment">/*mean (0.209334), correlation (0.49063)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token comment">/*mean (0.211134), correlation (0.503011)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.212), correlation (0.499414)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token comment">/*mean (0.212168), correlation (0.480739)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.212731), correlation (0.502523)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token comment">/*mean (0.21327), correlation (0.489786)*/</span><span class="token punctuation">,</span>
        <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token comment">/*mean (0.214159), correlation (0.488246)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token comment">/*mean (0.216993), correlation (0.50287)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token comment">/*mean (0.223639), correlation (0.470502)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token comment">/*mean (0.224089), correlation (0.500852)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.228666), correlation (0.502629)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.22906), correlation (0.498305)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.233378), correlation (0.503825)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token comment">/*mean (0.234323), correlation (0.476692)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token comment">/*mean (0.236392), correlation (0.475462)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token comment">/*mean (0.236842), correlation (0.504132)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token comment">/*mean (0.236977), correlation (0.497739)*/</span><span class="token punctuation">,</span>
        <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token comment">/*mean (0.24314), correlation (0.499398)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token comment">/*mean (0.243297), correlation (0.489447)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.00155196), correlation (0.553496)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token comment">/*mean (0.00239541), correlation (0.54297)*/</span><span class="token punctuation">,</span>
        <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.0034413), correlation (0.544361)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token comment">/*mean (0.003565), correlation (0.551225)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token comment">/*mean (0.00835583), correlation (0.55285)*/</span><span class="token punctuation">,</span>
        <span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.00885065), correlation (0.540913)*/</span><span class="token punctuation">,</span>
        <span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token comment">/*mean (0.0101552), correlation (0.551085)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.0102227), correlation (0.533635)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token comment">/*mean (0.0110211), correlation (0.543121)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.0113473), correlation (0.550173)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token comment">/*mean (0.0140913), correlation (0.554774)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token comment">/*mean (0.017049), correlation (0.55461)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.01778), correlation (0.546921)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token comment">/*mean (0.0224022), correlation (0.549667)*/</span><span class="token punctuation">,</span>
        <span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.029161), correlation (0.546295)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.0303081), correlation (0.548599)*/</span><span class="token punctuation">,</span>
        <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token comment">/*mean (0.0355151), correlation (0.523943)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">6</span><span class="token comment">/*mean (0.0417904), correlation (0.543395)*/</span><span class="token punctuation">,</span>
        <span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token comment">/*mean (0.0487292), correlation (0.542818)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token comment">/*mean (0.0575124), correlation (0.554888)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token comment">/*mean (0.0594242), correlation (0.544026)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token comment">/*mean (0.0597391), correlation (0.550524)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.0608974), correlation (0.55383)*/</span><span class="token punctuation">,</span>
        <span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">13</span><span class="token comment">/*mean (0.065126), correlation (0.552006)*/</span><span class="token punctuation">,</span>
        <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token comment">/*mean (0.074224), correlation (0.546372)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token comment">/*mean (0.0808592), correlation (0.554875)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token comment">/*mean (0.0883378), correlation (0.551178)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token comment">/*mean (0.0901035), correlation (0.548446)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token comment">/*mean (0.0949843), correlation (0.554694)*/</span><span class="token punctuation">,</span>
        <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">9</span><span class="token comment">/*mean (0.0994152), correlation (0.550979)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">1</span><span class="token comment">/*mean (0.10045), correlation (0.552714)*/</span><span class="token punctuation">,</span>
        <span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token comment">/*mean (0.100686), correlation (0.552594)*/</span><span class="token punctuation">,</span>
        <span class="token number">11</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">8</span><span class="token comment">/*mean (0.101091), correlation (0.532394)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.101147), correlation (0.525576)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token comment">/*mean (0.105263), correlation (0.531498)*/</span><span class="token punctuation">,</span>
        <span class="token number">3</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.110785), correlation (0.540491)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">13</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">5</span><span class="token comment">/*mean (0.112798), correlation (0.536582)*/</span><span class="token punctuation">,</span>
        <span class="token number">5</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">11</span><span class="token comment">/*mean (0.114181), correlation (0.555793)*/</span><span class="token punctuation">,</span>
        <span class="token number">8</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token comment">/*mean (0.117431), correlation (0.553763)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">4</span><span class="token punctuation">,</span> <span class="token number">8</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">12</span><span class="token comment">/*mean (0.118522), correlation (0.553452)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">10</span><span class="token punctuation">,</span> <span class="token number">9</span><span class="token comment">/*mean (0.12094), correlation (0.554785)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">3</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token number">4</span><span class="token comment">/*mean (0.122582), correlation (0.555825)*/</span><span class="token punctuation">,</span>
        <span class="token number">9</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">10</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token comment">/*mean (0.124978), correlation (0.549846)*/</span><span class="token punctuation">,</span>
        <span class="token number">7</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token number">12</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">2</span><span class="token comment">/*mean (0.127002), correlation (0.537452)*/</span><span class="token punctuation">,</span>
        <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">6</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">,</span> <span class="token operator">-</span><span class="token number">11</span><span class="token comment">/*mean (0.127148), correlation (0.547401)*/</span>
<span class="token punctuation">}</span><span class="token punctuation">;</span>
 
<span class="token comment">// compute the descriptor</span>
<span class="token keyword">void</span> <span class="token function">computeORBDesc</span><span class="token punctuation">(</span><span class="token keyword">const</span> cv<span class="token operator">::</span>Mat <span class="token operator">&</span>image<span class="token punctuation">,</span> vector<span class="token operator"><</span>cv<span class="token operator">::</span>KeyPoint<span class="token operator">></span> <span class="token operator">&</span>keypoints<span class="token punctuation">,</span> vector<span class="token operator"><</span>DescType<span class="token operator">></span> <span class="token operator">&</span>desc<span class="token punctuation">)</span> <span class="token punctuation">{</span>
    <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">auto</span> <span class="token operator">&</span>kp<span class="token operator">:</span> keypoints<span class="token punctuation">)</span> <span class="token punctuation">{</span>
        DescType <span class="token function">d</span><span class="token punctuation">(</span><span class="token number">256</span><span class="token punctuation">,</span> <span class="token boolean">false</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token keyword">double</span> un_up<span class="token punctuation">,</span>un_vp<span class="token punctuation">,</span>un_uq<span class="token punctuation">,</span>un_vq<span class="token punctuation">;</span> <span class="token comment">// 一对点;</span>
        <span class="token keyword">double</span> up<span class="token punctuation">,</span>vp<span class="token punctuation">,</span>uq<span class="token punctuation">,</span>vq<span class="token punctuation">;</span> <span class="token comment">// 旋转后的点;</span>
        <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">int</span> i <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span> i <span class="token operator"><</span> <span class="token number">256</span><span class="token punctuation">;</span> i<span class="token operator">++</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
            <span class="token comment">// START YOUR CODE HERE (~7 lines)</span>
            d<span class="token punctuation">[</span>i<span class="token punctuation">]</span> <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>  <span class="token comment">// if kp goes outside, set d.clear()</span>
 
            un_up <span class="token operator">=</span> ORB_pattern<span class="token punctuation">[</span>i<span class="token operator">*</span><span class="token number">4</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
            un_vp <span class="token operator">=</span> ORB_pattern<span class="token punctuation">[</span>i<span class="token operator">*</span><span class="token number">4</span><span class="token operator">+</span><span class="token number">1</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
            un_uq <span class="token operator">=</span> ORB_pattern<span class="token punctuation">[</span>i<span class="token operator">*</span><span class="token number">4</span><span class="token operator">+</span><span class="token number">2</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
            un_vq <span class="token operator">=</span> ORB_pattern<span class="token punctuation">[</span>i<span class="token operator">*</span><span class="token number">4</span><span class="token operator">+</span><span class="token number">3</span><span class="token punctuation">]</span><span class="token punctuation">;</span>           <span class="token comment">// 比较两组点的灰度值大小;</span>
 
            <span class="token comment">// 旋转到主方向上;</span>
            <span class="token keyword">double</span> angle <span class="token operator">=</span> kp<span class="token punctuation">.</span>angle <span class="token operator">*</span> <span class="token punctuation">(</span>pi<span class="token operator">/</span><span class="token number">180</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
 
            up <span class="token operator">=</span>kp<span class="token punctuation">.</span>pt<span class="token punctuation">.</span>x<span class="token operator">+</span>  <span class="token function">cos</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_up<span class="token operator">-</span><span class="token function">sin</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_vp<span class="token punctuation">;</span>
            vp <span class="token operator">=</span>kp<span class="token punctuation">.</span>pt<span class="token punctuation">.</span>y<span class="token operator">+</span> <span class="token function">sin</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_up <span class="token operator">+</span> <span class="token function">cos</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_vp<span class="token punctuation">;</span>
            uq <span class="token operator">=</span>kp<span class="token punctuation">.</span>pt<span class="token punctuation">.</span>x<span class="token operator">+</span>  <span class="token function">cos</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_uq<span class="token operator">-</span><span class="token function">sin</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_vq<span class="token punctuation">;</span>
            vq <span class="token operator">=</span>kp<span class="token punctuation">.</span>pt<span class="token punctuation">.</span>y<span class="token operator">+</span> <span class="token function">sin</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_uq <span class="token operator">+</span> <span class="token function">cos</span><span class="token punctuation">(</span>angle<span class="token punctuation">)</span><span class="token operator">*</span>un_vq<span class="token punctuation">;</span>
 
            <span class="token comment">//边界约束;</span>
            <span class="token keyword">if</span><span class="token punctuation">(</span>up<span class="token operator">></span>image<span class="token punctuation">.</span>cols<span class="token operator">||</span>up<span class="token operator"><</span><span class="token number">0</span> <span class="token operator">||</span> vp <span class="token operator"><</span><span class="token number">0</span><span class="token operator">||</span>vp<span class="token operator">></span>image<span class="token punctuation">.</span>rows<span class="token operator">||</span>uq<span class="token operator">></span>image<span class="token punctuation">.</span>cols<span class="token operator">||</span>uq<span class="token operator"><</span><span class="token number">0</span> <span class="token operator">||</span> vq <span class="token operator"><</span><span class="token number">0</span><span class="token operator">||</span>vq<span class="token operator">></span>image<span class="token punctuation">.</span>rows<span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                d<span class="token punctuation">.</span><span class="token function">clear</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span><span class="token comment">//超出边界,特征点描述子清零;</span>
                <span class="token keyword">break</span><span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
            <span class="token keyword">else</span> <span class="token keyword">if</span><span class="token punctuation">(</span>image<span class="token punctuation">.</span>at<span class="token operator"><</span>uchar<span class="token operator">></span><span class="token punctuation">(</span>vp<span class="token punctuation">,</span>up<span class="token punctuation">)</span><span class="token operator"><</span>image<span class="token punctuation">.</span>at<span class="token operator"><</span>uchar<span class="token operator">></span><span class="token punctuation">(</span>vq<span class="token punctuation">,</span>uq<span class="token punctuation">)</span><span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                d<span class="token punctuation">[</span>i<span class="token punctuation">]</span><span class="token operator">=</span><span class="token number">1</span><span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
 
        <span class="token comment">// END YOUR CODE HERE</span>
        <span class="token punctuation">}</span>
        desc<span class="token punctuation">.</span><span class="token function">push_back</span><span class="token punctuation">(</span>d<span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
 
    <span class="token keyword">int</span> bad <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>
    <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">auto</span> <span class="token operator">&</span>d<span class="token operator">:</span> desc<span class="token punctuation">)</span> <span class="token punctuation">{</span>
        <span class="token keyword">if</span> <span class="token punctuation">(</span>d<span class="token punctuation">.</span><span class="token function">empty</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">)</span> bad<span class="token operator">++</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
    cout <span class="token operator"><<</span> <span class="token string">"bad/total: "</span> <span class="token operator"><<</span> bad <span class="token operator"><<</span> <span class="token string">"/"</span> <span class="token operator"><<</span> desc<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator"><<</span> endl<span class="token punctuation">;</span>
    <span class="token keyword">return</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
<span class="token comment">// brute-force matching</span>
<span class="token keyword">void</span> <span class="token function">bfMatch</span><span class="token punctuation">(</span><span class="token keyword">const</span> vector<span class="token operator"><</span>DescType<span class="token operator">></span> <span class="token operator">&</span>desc1<span class="token punctuation">,</span> <span class="token keyword">const</span> vector<span class="token operator"><</span>DescType<span class="token operator">></span> <span class="token operator">&</span>desc2<span class="token punctuation">,</span> vector<span class="token operator"><</span>cv<span class="token operator">::</span>DMatch<span class="token operator">></span> <span class="token operator">&</span>matches<span class="token punctuation">)</span> <span class="token punctuation">{</span>
    <span class="token keyword">int</span> d_max <span class="token operator">=</span> <span class="token number">50</span><span class="token punctuation">;</span>
    <span class="token keyword">int</span> d <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>
    <span class="token keyword">int</span> queryIdx<span class="token punctuation">,</span>trainIdx<span class="token punctuation">;</span>
    <span class="token keyword">int</span> dis<span class="token punctuation">;</span>
    <span class="token comment">// START YOUR CODE HERE (~12 lines)</span>
    <span class="token comment">// find matches between desc1 and desc2.</span>
    <span class="token keyword">for</span><span class="token punctuation">(</span><span class="token keyword">int</span> i <span class="token operator">=</span><span class="token number">0</span><span class="token punctuation">;</span>i<span class="token operator"><</span>desc1<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span><span class="token operator">++</span>i<span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token keyword">if</span><span class="token punctuation">(</span>desc1<span class="token punctuation">[</span>i<span class="token punctuation">]</span><span class="token punctuation">.</span><span class="token function">empty</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">)</span>
            <span class="token keyword">continue</span><span class="token punctuation">;</span>
        d<span class="token operator">=</span><span class="token number">0</span><span class="token punctuation">;</span>
        dis <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>
        <span class="token keyword">for</span><span class="token punctuation">(</span><span class="token keyword">int</span> j <span class="token operator">=</span><span class="token number">0</span><span class="token punctuation">;</span>j<span class="token operator"><</span>desc2<span class="token punctuation">.</span><span class="token function">size</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span><span class="token operator">++</span>j<span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
         <span class="token keyword">if</span><span class="token punctuation">(</span>desc2<span class="token punctuation">[</span>j<span class="token punctuation">]</span><span class="token punctuation">.</span><span class="token function">empty</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">)</span>
             <span class="token keyword">continue</span><span class="token punctuation">;</span>
             d<span class="token operator">=</span><span class="token number">0</span><span class="token punctuation">;</span>
            <span class="token keyword">for</span><span class="token punctuation">(</span><span class="token keyword">int</span> k <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>k<span class="token operator"><</span><span class="token number">256</span><span class="token punctuation">;</span><span class="token operator">++</span>k<span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                <span class="token keyword">if</span><span class="token punctuation">(</span>desc1<span class="token punctuation">[</span>i<span class="token punctuation">]</span><span class="token punctuation">[</span>k<span class="token punctuation">]</span> <span class="token operator">!=</span> desc2<span class="token punctuation">[</span>j<span class="token punctuation">]</span><span class="token punctuation">[</span>k<span class="token punctuation">]</span><span class="token punctuation">)</span>
                    d <span class="token operator">+</span><span class="token operator">=</span> <span class="token number">1</span><span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
<span class="token comment">//            cout<<"d: "<<d<<endl;</span>
            <span class="token keyword">if</span> <span class="token punctuation">(</span>d<span class="token operator"><</span>d_max<span class="token operator">&&</span><span class="token punctuation">(</span>dis<span class="token operator">==</span><span class="token number">0</span><span class="token operator">||</span>d<span class="token operator"><</span>dis<span class="token punctuation">)</span><span class="token punctuation">)</span>
            <span class="token punctuation">{</span>
                dis <span class="token operator">=</span> d<span class="token punctuation">;</span>
                queryIdx <span class="token operator">=</span> i<span class="token punctuation">;</span>
                trainIdx <span class="token operator">=</span> j<span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">}</span>
        <span class="token keyword">if</span><span class="token punctuation">(</span>dis <span class="token operator">!=</span> <span class="token number">0</span><span class="token punctuation">)</span> <span class="token comment">//匹配到了;</span>
        <span class="token punctuation">{</span>
            matches<span class="token punctuation">.</span><span class="token function">push_back</span><span class="token punctuation">(</span>cv<span class="token operator">::</span><span class="token function">DMatch</span><span class="token punctuation">(</span>queryIdx<span class="token punctuation">,</span>trainIdx<span class="token punctuation">,</span>dis<span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token punctuation">}</span>
 
    <span class="token punctuation">}</span>
    <span class="token comment">// END YOUR CODE HERE</span>
    <span class="token keyword">for</span> <span class="token punctuation">(</span><span class="token keyword">auto</span> <span class="token operator">&</span>m<span class="token operator">:</span> matches<span class="token punctuation">)</span> <span class="token punctuation">{</span>
        cout <span class="token operator"><<</span> m<span class="token punctuation">.</span>queryIdx <span class="token operator"><<</span> <span class="token string">", "</span> <span class="token operator"><<</span> m<span class="token punctuation">.</span>trainIdx <span class="token operator"><<</span> <span class="token string">", "</span> <span class="token operator"><<</span> m<span class="token punctuation">.</span>distance <span class="token operator"><<</span> endl<span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
    <span class="token keyword">return</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>

</code>

 

四、运行结果测试

 

1、程序编译

 

<code class="prism language-bash has-numbering"> g++ slamORB1.cpp -o slamORB1 <span class="token variable">`pkg-config --cflags --libs opencv`</span> -std<span class="token operator">=</span>c++11
</code>

  编译之后,该文件中会生成可执行文件,如下所示:  
视觉SLAM学习【2】-----ubuntu16.04基于kitti数据集的SLAM中ORB特征点提取及暴力匹配

2、程序运行

 

<code class="prism language-bash has-numbering"> ./slamORB1
</code>
  • 1

在这里插入图片描述   运行时间较为长,林君学长只取了前面3张序列的运行结果哦!

3、运行结果

  (1)、特征点提取结果   1:
在这里插入图片描述   2:
在这里插入图片描述   3:
在这里插入图片描述   (2)、特征点匹配结果 1:
视觉SLAM学习【2】-----ubuntu16.04基于kitti数据集的SLAM中ORB特征点提取及暴力匹配   2:
视觉SLAM学习【2】-----ubuntu16.04基于kitti数据集的SLAM中ORB特征点提取及暴力匹配   3:
视觉SLAM学习【2】-----ubuntu16.04基于kitti数据集的SLAM中ORB特征点提取及暴力匹配  
视觉SLAM学习【2】-----ubuntu16.04基于kitti数据集的SLAM中ORB特征点提取及暴力匹配


开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明视觉SLAM学习【2】—–ubuntu16.04基于kitti数据集的SLAM中ORB特征点提取及暴力匹配
喜欢 (0)

您必须 登录 才能发表评论!

加载中……