<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[奋斗的小麻雀的博客]]></title><description><![CDATA[书写人生]]></description><link>https://blog.youkuaiyun.com/myzhouwang</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; myzhouwang]]></copyright><item><title><![CDATA[基于 GAN的MNIST 手写字体生成]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/129329939</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/129329939</guid><author>myzhouwang</author><pubDate>Sat, 04 Mar 2023 08:10:43 +0800</pubDate><description><![CDATA[GAN, 手写字体]]></description><category></category></item><item><title><![CDATA[首次使用git 的配置步骤]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/105773199</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/105773199</guid><author>myzhouwang</author><pubDate>Sun, 26 Apr 2020 17:45:44 +0800</pubDate><description><![CDATA[一：首先下载Git 客户端；

二：设置用户名和邮箱：     git config --global user.name "xxx"  git config --global user.email "xxxx" , git pull 发现没有认证。

三：生成公钥和私钥：在git bash 中输入： ssh-keygen, 一直回车， 生成文件在C:\Users\Admini...]]></description><category></category></item><item><title><![CDATA[win10 在不同窗口下设置不同默认输入法（程序员必备）]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/105768115</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/105768115</guid><author>myzhouwang</author><pubDate>Sun, 26 Apr 2020 14:48:49 +0800</pubDate><description><![CDATA[不知道有没有和我有相似经历的程序员，就是总会因为在code 里不小心使用了中文符号或者某些配置文件、路径中使用了中文字符，而导致项目不work。所以，一个好的习惯就是， 在需要英文输入法环境的我们设置英文输入法，这样一个小小的技巧可以避免不必要的麻烦。具体操作如下：

设置，选择时间和语言：



左侧选项卡中选择区域和语言， 在最右侧有相关设置，选择其他日期、时间和区域设置：



在新跳出...]]></description><category></category></item><item><title><![CDATA[opencv  从本地读取视频和文件夹下图片]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/103470481</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/103470481</guid><author>myzhouwang</author><pubDate>Tue, 10 Dec 2019 10:38:32 +0800</pubDate><description><![CDATA[读取视频


    VideoCapture m_cap;
    VideoWriter videoWriter;
    m_cap.open("...//1.mp4");
    int32_t m_totalFrames = static_cast&lt;int32_t&gt;(m_cap.get(CV_CAP_PROP_FRAME_COUNT)); //total num
    vi...]]></description><category></category></item><item><title><![CDATA[图像颜色空间转换--RGB to Lαβ]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/103469726</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/103469726</guid><author>myzhouwang</author><pubDate>Tue, 10 Dec 2019 10:18:28 +0800</pubDate><description><![CDATA[Lαβ 空间是作者在文章《color transfer between images》中于2001年提出来的，该空间相比于RGB空间的优点是三通道相关性很小，缺点是计算量稍大，RGB转到Lαβ 空间是一个非线性的过程，具体Lαβ的介绍以及公式这里就不详细说了，网上一大堆，这里贴出这两个空间的相互转换公式：


void cvtRGB2Lαβ(float_t* pDstL, float_t* pDs...]]></description><category></category></item><item><title><![CDATA[双边 滤波器的C++实现，彩色三通道（转载+修改）]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/98251806</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/98251806</guid><author>myzhouwang</author><pubDate>Fri, 02 Aug 2019 22:56:50 +0800</pubDate><description><![CDATA[int getDiffFactor(const unsigned char* color1, const unsigned char* color2)
{
	int final_diff =  0;
	for (int i = 0; i &lt; 3; i++)
	{
		final_diff += abs(color1[i] - color2[i]);
	}
	final_diff = (fi...]]></description><category></category></item><item><title><![CDATA[conda 安装各类包的方法]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/97307880</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/97307880</guid><author>myzhouwang</author><pubDate>Thu, 25 Jul 2019 22:04:52 +0800</pubDate><description><![CDATA[conda info --envs//列出所有环境

activate xxx//切换到xxx环境

conda create --name xxx//新建环境

conda info -envis

conda remove -n flowers --all

conda create -n flowers --clone snowflakes

conda install -c menpo o...]]></description><category></category></item><item><title><![CDATA[ACE（自适应对比对增强）的分析与改进]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/96958174</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/96958174</guid><author>myzhouwang</author><pubDate>Tue, 23 Jul 2019 07:55:52 +0800</pubDate><description><![CDATA[该方法的基本思想是将图像分成两部分：低频和高频两部分，增强高频部分，再合成。达到锐度增强的效果。一般在Y通道进行。

局部低频部分：lowFre = blur(srcY, r)//局部滤波

局部高频部分：highFre = srcY -lowFre

局部标准差： localStd^2 =blur(highFre*highFre, r)

全局均值和标准差：Gmean

自适应高频增强因子...]]></description><category></category></item><item><title><![CDATA[基于相似性的空域去燥]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/96767115</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/96767115</guid><author>myzhouwang</author><pubDate>Sun, 21 Jul 2019 21:53:23 +0800</pubDate><description><![CDATA[void spatialWeightingDeNoise(unsigned char* dst, unsigned char* src, int width, int height, int srcStride, int dstStride, int radius)
{
	int offsetAddr = radius * dstStride + radius;
	int boxLength  ...]]></description><category></category></item><item><title><![CDATA[时域去燥的简单尝试]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/95799883</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/95799883</guid><author>myzhouwang</author><pubDate>Sat, 20 Jul 2019 23:13:30 +0800</pubDate><description><![CDATA[//test 
#include "deNoise.h"

#define  TMP_SIZE  5
#define  MAX_SAD_THRESH 3

int main()
{   
	VideoCapture capture;
	if (!capture.isOpened())
	{   
		int width   = 1920;
		int height  = 1080;
		int ...]]></description><category></category></item><item><title><![CDATA[rgb格式转换]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/95441698</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/95441698</guid><author>myzhouwang</author><pubDate>Thu, 11 Jul 2019 07:57:51 +0800</pubDate><description><![CDATA[void cvtColorBgrC2RgbP(unsigned char* dst, unsigned char* src, int width, int height)
{
	int picSize = width * height;
	unsigned char* dstC0 = dst;
	unsigned char* dstC1 = dst + picSize;
	unsigned ch...]]></description><category></category></item><item><title><![CDATA[numpy-dictionary]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/90416484</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/90416484</guid><author>myzhouwang</author><pubDate>Tue, 21 May 2019 22:04:31 +0800</pubDate><description><![CDATA[d ={'peter': 'handsome', 'shutong':'cute'}#key:value
print('peter' in d)#is in ?
print(d['peter'])#下标访问内容
d['1']='11'
print(d['1'])
print(d['shutong'])
del d['1']
print('1' in d)

f = {'person':2, 'd...]]></description><category></category></item><item><title><![CDATA[python-numpy-quickSort]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/90343800</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/90343800</guid><author>myzhouwang</author><pubDate>Sun, 19 May 2019 16:20:16 +0800</pubDate><description><![CDATA[def quickSort(arr):
    if len(arr) &lt; 1:
        return arr
    pivot = arr[len(arr)//2]
    left = [x for x in arr if  x &lt; pivot]
    middle = [x for x in arr if x == pivot]
    right  = [x fo...]]></description><category></category></item><item><title><![CDATA[c-灰度图彩色化]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/88553472</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/88553472</guid><author>myzhouwang</author><pubDate>Thu, 14 Mar 2019 15:15:37 +0800</pubDate><description><![CDATA[void Test_fakeColorDis(uint8_t *gray, uint8_t* dstColor, int32_t dstWidth, int32_t dstHeight, int32_t dstStride)
{
    for (int32_t h = 0, i = 0; h &amp;lt; dstHeight; h++)
    {
        for (int32_t w =...]]></description><category></category></item><item><title><![CDATA[图像交叉格式和平坦格式互相转换（cross->planar, planar->cross)]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/88544598</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/88544598</guid><author>myzhouwang</author><pubDate>Thu, 14 Mar 2019 00:29:04 +0800</pubDate><description><![CDATA[#include &quot;imghead.h&quot;
#include &amp;lt;conio.h&amp;gt;

template &amp;lt;typename T&amp;gt;
void img_Cross2Planar(T *src, T *dst, int width, int height);
template &amp;lt;typename T&amp;gt;
void img_Planar2Cross(T *src, T *d...]]></description><category></category></item><item><title><![CDATA[SSE2 小记-1]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/88082580</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/88082580</guid><author>myzhouwang</author><pubDate>Sat, 02 Mar 2019 22:25:55 +0800</pubDate><description><![CDATA[整数加法：paddb/w/d/q

浮点型加法：paddpd,paddsd,两者的差别是后者只改变低64位，高64位不变，如下：



饱和型加法：paddsb/w,
]]></description><category></category></item><item><title><![CDATA[opencv显示一块内存，单通道和三通道cross]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/88082390</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/88082390</guid><author>myzhouwang</author><pubDate>Sat, 02 Mar 2019 22:10:23 +0800</pubDate><description><![CDATA[void TestShowGrayImage(uint8_t* data, int32_t width, int32_t height, int32_t stride,
                      const String fileName, const String winName)
{
  Mat img(height, wi...]]></description><category></category></item><item><title><![CDATA[sse2 指令解析]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/86145511</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/86145511</guid><author>myzhouwang</author><pubDate>Wed, 09 Jan 2019 14:13:29 +0800</pubDate><description><![CDATA[

  pxor      zero, zero
  neg       strideD

自己跟自己异或，相当于清零,NEG取反操作；


lea       pSrcRow,    [pSrc]

这个就是讲pSrc的地址给pSrcRow，此时pSrcRow和pSrc具有不同的名字但是指向同一个内存；


mov       pSrcRow,    pSrc

这个相当于把pSrc的内容复制一...]]></description><category></category></item><item><title><![CDATA[c 语言优化问题-内存写耗时测试]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/86012698</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/86012698</guid><author>myzhouwang</author><pubDate>Mon, 07 Jan 2019 17:31:12 +0800</pubDate><description><![CDATA[
void calRowSum(uint32_t *pDst, intptr_t strideD, int32_t width, int32_t height)
{
	for (int32_t w = 0; w &amp;lt; width; w++)
	{
		uint32_t *pDstTmp = &amp;amp;pDst[w];
		for (int32_t h = 0; h &amp;lt; height; h...]]></description><category></category></item><item><title><![CDATA[积分图sse2优化]]></title><link>https://blog.youkuaiyun.com/myzhouwang/article/details/85276940</link><guid>https://blog.youkuaiyun.com/myzhouwang/article/details/85276940</guid><author>myzhouwang</author><pubDate>Thu, 27 Dec 2018 16:52:55 +0800</pubDate><description><![CDATA[
void GetGrayIntegralImage(unsigned char *Src, int *Integral, int Width, int Height, int Stride)
{
    memset(Integral, 0, (Width + 1) * sizeof(int));            //    第一行都为0
    int BlockSize = 8, Bl...]]></description><category></category></item></channel></rss>