03 2017 档案

摘要:Generally,we use PSNR and SSIM to judge the quality of a given photo,or to select a useful denoising algorithm. I.PSNR(peak signal to noise ratio) dou 阅读全文
posted @ 2017-03-25 19:26 空山皓月 阅读(312) 评论(0) 推荐(0)
摘要:I.To generate Gaussian noise Box-Muller:if random variable x and y are respectively independent generated from a uniform distribution with [0,1].we ca 阅读全文
posted @ 2017-03-25 19:14 空山皓月 阅读(354) 评论(0) 推荐(0)
摘要:Introduction:usually,we tend to insert a new value into a container and get a min or max value from the container,if the input frequency and the outpu 阅读全文
posted @ 2017-03-16 11:16 空山皓月 阅读(330) 评论(0) 推荐(0)
摘要:character:as the name implies,this sort method is usaully quicker than other ones. the key part of this sort algorithm is the partition of head and bo 阅读全文
posted @ 2017-03-13 17:10 空山皓月 阅读(203) 评论(0) 推荐(0)
摘要:character:the sort time is proportional to any input array with length of N. Introduction to merge:if two arrays are already sorted,after merge operat 阅读全文
posted @ 2017-03-12 09:03 空山皓月 阅读(158) 评论(0) 推荐(0)
摘要:Reason:when it comes to insert sort,the snail appears,as it just moves forward step by step or even worse.So we need some improvement.the first idea m 阅读全文
posted @ 2017-03-11 12:28 空山皓月 阅读(203) 评论(0) 推荐(0)
摘要:Introduction:you have a class with some functions which are not exactly what you can use directerly to sovle the problem you face with.so some adaptio 阅读全文
posted @ 2017-03-11 10:45 空山皓月 阅读(238) 评论(0) 推荐(0)
摘要:character:the range of sorted array extends as the index steps forward.when the sort process is down,the given array is sorted. firstly we need some s 阅读全文
posted @ 2017-03-09 15:24 空山皓月 阅读(325) 评论(0) 推荐(0)
摘要:character:like the mode you play a deck of playing poker with your friends. as to the realization,I list two methods as below.but firstly we need subs 阅读全文
posted @ 2017-03-09 14:33 空山皓月 阅读(214) 评论(0) 推荐(0)
摘要:character:the original object's function is OK,but can not be used into new situation.so it needs additional opearions. the new object with something 阅读全文
posted @ 2017-03-09 09:48 空山皓月 阅读(137) 评论(0) 推荐(0)
摘要:第一步:定义对象 VideoWriter vid; 第二步:设置格式 vid.open("psd.avi", CV_FOURCC('X', 'V', 'I', 'D'), 25, Size(640, 480), true); 第三步:写入文件 vid << img; 阅读全文
posted @ 2017-03-08 16:06 空山皓月 阅读(374) 评论(0) 推荐(0)
摘要:特点:将重复创建消耗内存或资源的对象采用对象池方式以外部化实例实现,以达到对象重用的目的。 使用过程可分为以下三个步骤: 1.将需重复创建的对象进行对象池封装 阅读全文
posted @ 2017-03-08 09:59 空山皓月 阅读(103) 评论(0) 推荐(0)
摘要:特点:将对象的表示与对象的创建过程分离,对不同产品具体内容可能有差异,但包装过程相同,则可采用Builder模式。 模式对象: 1.产品:即客户所需具体产品 2.抽象建造者:说明产品生产所需的函数(过程定义) 3.具体建造者:结合实际产品对象进行生产的函数(过程实现) 4.指导者:结合抽象建造者函数 阅读全文
posted @ 2017-03-08 09:53 空山皓月 阅读(133) 评论(0) 推荐(0)
摘要:package MySQLExercise;import java.io.BufferedReader;import java.io.InputStreamReader;import java.sql.Connection;import java.sql.DriverManager;import j 阅读全文
posted @ 2017-03-06 07:51 空山皓月 阅读(163) 评论(0) 推荐(0)
摘要:package MySQLExercise;import java.io.BufferedReader;import java.io.InputStreamReader;import java.sql.Connection;import java.sql.DriverManager;import j 阅读全文
posted @ 2017-03-06 07:50 空山皓月 阅读(226) 评论(0) 推荐(0)