<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[闫小亘的博客]]></title><description><![CDATA[电动键盘队长]]></description><link>https://blog.csdn.net/two_ye</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; two_ye]]></copyright><item><title><![CDATA[【深度学习】不同虚拟环境安装不同Pytorch版本]]></title><link>https://blog.csdn.net/two_ye/article/details/126022670</link><guid>https://blog.csdn.net/two_ye/article/details/126022670</guid><author>two_ye</author><pubDate>Wed, 27 Jul 2022 21:02:18 +0800</pubDate><description><![CDATA[Pytorch便捷配置]]></description><category></category></item><item><title><![CDATA[c++多线程事项（有待更新）]]></title><link>https://blog.csdn.net/two_ye/article/details/122284003</link><guid>https://blog.csdn.net/two_ye/article/details/122284003</guid><author>two_ye</author><pubDate>Wed, 30 Mar 2022 23:23:31 +0800</pubDate><description><![CDATA[OpenMP采用fork-join的执行模式。开始的时候只存在一个主线程，当需要进行并行计算的时候，派生出若干个分支线程来执行并行任务。当并行代码执行完成之后，分支线程会合，并把控制流程交给单独的主线程。
形式1

#pragma omp parallel for
{
	function();
}

//parallel和for指令的结合，也是用在for循环语句之前，
//表示for循环体的代码将被多个线程并行执行，
//它同时具有并行域的产生和任务分担两个功能；

形式2
#pragma omp para]]></description><category></category></item><item><title><![CDATA[深度学习常见术语（持续更新...）]]></title><link>https://blog.csdn.net/two_ye/article/details/123859279</link><guid>https://blog.csdn.net/two_ye/article/details/123859279</guid><author>two_ye</author><pubDate>Wed, 30 Mar 2022 22:49:05 +0800</pubDate><description><![CDATA[Baseline、BecnMark、SOTA、CheckPoints]]></description><category></category></item><item><title><![CDATA[Endnote生成GB/T7714-2005输出格式及中英文混排问题解决]]></title><link>https://blog.csdn.net/two_ye/article/details/120193209</link><guid>https://blog.csdn.net/two_ye/article/details/120193209</guid><author>two_ye</author><pubDate>Thu, 09 Sep 2021 09:09:35 +0800</pubDate><description><![CDATA[这里写目录标题GB/T7714-2005输出格式中英文混排问题
GB/T7714-2005输出格式
step1. 在Endnote的官网（http://www.endnote.com/）下载Chinese Std GBT7714 (author-year).ens和Chinese Std GBT7714 (numeric).ens，分别对应著者－出版年制和顺序编码制。
step2. 将两个style的ens文件拷贝到endnote的安装目录下的Style文件夹下。
step3. 设置页码、作者姓名等，方法如]]></description><category></category></item><item><title><![CDATA[镜像源备忘]]></title><link>https://blog.csdn.net/two_ye/article/details/117512639</link><guid>https://blog.csdn.net/two_ye/article/details/117512639</guid><author>two_ye</author><pubDate>Thu, 03 Jun 2021 10:25:17 +0800</pubDate><description><![CDATA[清华：https://pypi.tuna.tsinghua.edu.cn/simple
阿里云：http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学：http://pypi.hustunique.com/
山东理工大学：http://pypi.sdutlinux.org/
豆瓣：http://pypi.douban.com/simple/

...]]></description><category></category></item><item><title><![CDATA[DevExpress：遍历设置pagegroup2中所有按钮的属性]]></title><link>https://blog.csdn.net/two_ye/article/details/116715079</link><guid>https://blog.csdn.net/two_ye/article/details/116715079</guid><author>two_ye</author><pubDate>Wed, 12 May 2021 17:15:31 +0800</pubDate><description><![CDATA[功能：点击菜单项一个按钮，设置该按钮的风格，此时其它按钮恢复默认风格。
public void ButtonSelectStatus(string buttonName)
        {
            foreach (DevExpress.XtraBars.BarButtonItem bt in ribbonPageGroup2.Ribbon.Items)  //遍历pagegroup2下所有控件
            {
                if(bt.Caption == ]]></description><category></category></item><item><title><![CDATA[c#学习：子窗体嵌入主窗体的Panel，并使其填充]]></title><link>https://blog.csdn.net/two_ye/article/details/116714738</link><guid>https://blog.csdn.net/two_ye/article/details/116714738</guid><author>two_ye</author><pubDate>Wed, 12 May 2021 17:08:24 +0800</pubDate><description><![CDATA[源码：
Form5 rwdd = new Form5();//子窗体
Form1 form1 = (Form1)this.Owner; //主窗体
rwdd.Width = form1.panel4.Width;
rwdd.Height = form1.panel4.Height;
rwdd.Dock = DockStyle.Fill;//填充
form1.panel4.Controls.Clear();
form1.panel4.Controls.Add(rwdd);//子窗体添加至主窗体的panel

]]></description><category></category></item><item><title><![CDATA[VS2013无法使用Nuget的解决方法]]></title><link>https://blog.csdn.net/two_ye/article/details/116591474</link><guid>https://blog.csdn.net/two_ye/article/details/116591474</guid><author>two_ye</author><pubDate>Mon, 10 May 2021 11:36:49 +0800</pubDate><description><![CDATA[Nuget官方网站已经不支持http访问， 只支持https，但是VS2013访问https默认使用的协议为Tls1.1，但是Nuget官方网站只支持Tls1.2。要解决这个问题，那就需要让vs2013以Tls1.3访问Nuget的官网，具体解决办法为在程序包管理控制台运行如下命令：
[Net.ServicePointManager]::SecurityProtocol=[Net.ServicePointManager]::SecurityProtocol-bOR [Net.SecurityProtocol]]></description><category></category></item><item><title><![CDATA[解决TeamViewer远程连接受阻的方法]]></title><link>https://blog.csdn.net/two_ye/article/details/115119293</link><guid>https://blog.csdn.net/two_ye/article/details/115119293</guid><author>two_ye</author><pubDate>Tue, 23 Mar 2021 13:33:36 +0800</pubDate><description><![CDATA[使用无人值守模式下的个人密码访问即可！（路径：其它-&gt;选项-&gt;安全性）


]]></description><category></category></item><item><title><![CDATA[OpenCV 笛卡尔坐标、极坐标互转]]></title><link>https://blog.csdn.net/two_ye/article/details/111691318</link><guid>https://blog.csdn.net/two_ye/article/details/111691318</guid><author>two_ye</author><pubDate>Fri, 25 Dec 2020 20:52:43 +0800</pubDate><description><![CDATA[笛卡尔坐标、极坐标互转1.笛卡尔坐标转为极坐标2.极坐标转为笛卡尔坐标
1.笛卡尔坐标转为极坐标
函数原型：
void cartToPolar(InputArray x,    //x坐标的数组，且必须是单精度或双精度浮点数组
				 InputArray y,    //y坐标的数组，且必须是单精度或双精度浮点数组
				 OutputArray magnitude,   //输出与x大小和类型相同的幅值数组
				 OutputArray angle,    //输出与x大小和类型相同的角度数组；]]></description><category></category></item><item><title><![CDATA[OpenCV学习  查表函数LUT  C++]]></title><link>https://blog.csdn.net/two_ye/article/details/111689084</link><guid>https://blog.csdn.net/two_ye/article/details/111689084</guid><author>two_ye</author><pubDate>Fri, 25 Dec 2020 16:48:14 +0800</pubDate><description><![CDATA[一、概念
LUT（LOOK -UP-TABLE）查找表。简言之：通过事先建立的一张表对图像进行映射。这样可以起到突出图像的有用信息，增强图像的光对比度的作用对某图像中的像素值进行替换。
二、原理
函数原型：
void LUT(InputArray src, InputArray lut, OutputArray dst);
//src表示的是输入图像(可以是单通道也可是3通道)
//lut表示查找表（查找表也可以是单通道，也可以是3通道；
//...如果输入图像为单通道，那查找表必须为单通道；
//...若]]></description><category></category></item><item><title><![CDATA[matlab 数字和字符串转换]]></title><link>https://blog.csdn.net/two_ye/article/details/111688331</link><guid>https://blog.csdn.net/two_ye/article/details/111688331</guid><author>two_ye</author><pubDate>Fri, 25 Dec 2020 16:22:01 +0800</pubDate><description><![CDATA[1.数组转字符串
num2str(int1)            %整型。
num2str(dec1, 6)         %浮点。保留6位有效数
num2str(dec1,'%.6f')     %浮点。保留小数点后6位

2.字符串转数字
str2num(str1)      %整型
str2num(str2)      %字符串转小数默认保留至小数点后4位（五舍六入）


...]]></description><category></category></item><item><title><![CDATA[C++实现遥感图像2%线性拉伸]]></title><link>https://blog.csdn.net/two_ye/article/details/111687580</link><guid>https://blog.csdn.net/two_ye/article/details/111687580</guid><author>two_ye</author><pubDate>Fri, 25 Dec 2020 16:15:39 +0800</pubDate><description><![CDATA[1.接口函数
cv::Mat ColorImageStretch(const cv::Mat img, const float ratio)
{
	//影像分RGB计算灰度直方图
	cv::Mat mimg = img.clone();
	cv::Mat bgr[3];
	split(mimg, bgr);
	std::vector&lt;cv::Point2f&gt; hb = IS_Histogram(bgr[0]);
	std::vector&lt;cv::Point2f&gt; hg = IS_Hi]]></description><category></category></item><item><title><![CDATA[OpenCV笔记  图像处理基本函数汇总 C++版]]></title><link>https://blog.csdn.net/two_ye/article/details/111662026</link><guid>https://blog.csdn.net/two_ye/article/details/111662026</guid><author>two_ye</author><pubDate>Fri, 25 Dec 2020 16:04:14 +0800</pubDate><description><![CDATA[图像处理基本函数一、矩阵运算1.基本运算2.逻辑运算3.比较运算4.其它运算二、线性代数与方程式1.线性代数2.方程式三、图像变换1.基本变换2.频率域变换3.幅值与相位4.查表变换
一、矩阵运算
1.基本运算




序号
函数
说明




1
void add(InputArray src1, InputArray src2, OutputArray dst,InputArray mask = noArray(), int dtype = -1)
矩阵加法，A+B的更高级形式，支持mask


2
v]]></description><category></category></item><item><title><![CDATA[Matlab实现遥感图像2%线性拉伸]]></title><link>https://blog.csdn.net/two_ye/article/details/111383888</link><guid>https://blog.csdn.net/two_ye/article/details/111383888</guid><author>two_ye</author><pubDate>Sun, 20 Dec 2020 08:38:24 +0800</pubDate><description><![CDATA[function outImg = GrayScaleTransform(img)
    [ylen, xlen] = size(img);
    bins = 0:65535;
    histcount = histc(img(:)', bins); 
    %清除临时变量 
    clear bins max_val min_val; 
    % 直方图裁剪，计算左值和右值
    [l_val, r_val] = calc_lr_val(histcount, xlen*ylen, 0.02]]></description><category></category></item><item><title><![CDATA[LSV软件不定时无法下载谷歌影像的原因]]></title><link>https://blog.csdn.net/two_ye/article/details/110997349</link><guid>https://blog.csdn.net/two_ye/article/details/110997349</guid><author>two_ye</author><pubDate>Thu, 10 Dec 2020 21:24:13 +0800</pubDate><description><![CDATA[相比BIGMAP、水经注、天乐等一众地图/影像下载器（通过推广以获取试用资格），中科图新地球的免费下载Google Earth影像着实良心，且影像质量也较高。但在使用LSV进行谷歌影像下载时偶尔会遇到无法查看历史影像或下载进度条一直处于0%等情况，最终查看了LSV官网给出的解释：运营商封锁了对谷歌地球服务器的访问，不过，一般只屏蔽几天。


官网原文：http://blog.locaspace.cn:81/?p=761

...]]></description><category></category></item><item><title><![CDATA[OpenCV行列号使用]]></title><link>https://blog.csdn.net/two_ye/article/details/110855091</link><guid>https://blog.csdn.net/two_ye/article/details/110855091</guid><author>two_ye</author><pubDate>Tue, 08 Dec 2020 10:43:23 +0800</pubDate><description><![CDATA[目录Rect()中的行列号Point()中的行列号Mat.at中的行列号KeyPoint.pt中的行列号
Rect()中的行列号
行也就是rows, 对应的是y，矩形的height信息就是在y方向；
列也就是cols, 对应的是x，矩形的width信息就是在x方向；
若要在A中截取B的尺寸大小区域 ，按照如下方式：
Mat A;
A(Rect(col,row,B.cols,B.rows));  //col和row是矩形左上角的位置

Point()中的行列号
用点划线：（列，行）
Point (x,y)  ]]></description><category></category></item><item><title><![CDATA[Python笔记（一）：判断一个字符串是否包含指定字符串的若干方法]]></title><link>https://blog.csdn.net/two_ye/article/details/95513331</link><guid>https://blog.csdn.net/two_ye/article/details/95513331</guid><author>two_ye</author><pubDate>Fri, 04 Dec 2020 14:54:53 +0800</pubDate><description><![CDATA[Python基础：判断一个字符串是否包含指定字符串的若干方法
字符串是常见的数据类型，无论是在C++、JAVA等等中都是一种非常重要的数据类型。我们知道，在C++中判断字符串strA是否包含指定子字符串strB可以使用find()函数或循环遍历比对（这种较为复杂），那么在以代码精简著称的Python中该如何实现这样的需求呢？我主要总结了以下几种方法：
**1. 成员操作符   in **
示例：
...]]></description><category></category></item><item><title><![CDATA[Opencv学习记录：函数Size()、Rect()、Mat.type()、minMaxLoc()]]></title><link>https://blog.csdn.net/two_ye/article/details/110631785</link><guid>https://blog.csdn.net/two_ye/article/details/110631785</guid><author>two_ye</author><pubDate>Fri, 04 Dec 2020 14:51:49 +0800</pubDate><description><![CDATA[常用函数目录Size()函数Rect()函数Mat数据类型对照表(Mat.type())minMaxLoc()函数
Size()函数
对于一个目标Mat Image来讲，若想Image的像素矩阵大小是m×n的，即有m行n列，实现方法如下：
Image(Size(n,m),Type);      // 即先列数再行数

Image = zeros(n, m, Type);   // 即先行数再列数

Rect()函数
当使用 Rect() 选取 ROI 时，使用方法如下：
Rect(x0, y0, width]]></description><category></category></item><item><title><![CDATA[图像处理博客记录]]></title><link>https://blog.csdn.net/two_ye/article/details/110142022</link><guid>https://blog.csdn.net/two_ye/article/details/110142022</guid><author>two_ye</author><pubDate>Wed, 25 Nov 2020 19:53:11 +0800</pubDate><description><![CDATA[[1]仿射变换和透射变换     跳转

]]></description><category></category></item></channel></rss>