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 ...
分类:
其他好文 时间:
2017-03-25 20:00:04
阅读次数:
259
A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], find a peak element and return its inde ...
分类:
其他好文 时间:
2017-03-20 22:28:15
阅读次数:
189
git使用资料: https://github.com/peak-c/my-git 公司内部使用开发规范: 一. 代码库介绍 个人开发库(git@gitlab.adrd.sohuno.com:spero/xxx_spero.git)master:个人主线,始终与发布库的master保持同步。feat ...
分类:
其他好文 时间:
2017-02-24 12:33:18
阅读次数:
257
按照给定的峰值定义,峰值的左半部分一定是递增的,所以只要找到不递增的即可。 AC代码: 题目来源: http://www.lintcode.com/zh-cn/problem/find-peak-element/# ...
分类:
其他好文 时间:
2017-01-01 23:38:27
阅读次数:
218
原创 2016-12-26 MrPeak MrPeak杂货铺 耦合是每个程序员都必须面对的话题,也是容易被忽视的存在,怎么处理耦合关系到我们最后的代码质量。今天Peak君和大家聊聊耦合这个基本功话题,一起捋一捋iOS代码中处理耦合的种种方式及差异。 简化场景 耦合的话题可大可小,但原理都是相通的。为 ...
分类:
移动开发 时间:
2016-12-28 20:56:25
阅读次数:
337
iOS书写高质量代码之耦合的处理 耦合是每个程序员都必须面对的话题,也是容易被忽视的存在,怎么处理耦合关系到我们最后的代码质量。今天Peak君和大家聊聊耦合这个基本功话题,一起捋一捋iOS代码中处理耦合的种种方式及差异。 简化场景 耦合的话题可大可小,但原理都是相通的。为了方便讨论,我们先将场景进行 ...
分类:
移动开发 时间:
2016-12-26 12:18:06
阅读次数:
272
There is an integer array which has the following features: The numbers in adjacent positions are different. A[0] < A[1] && A[A.length - 2] > A[A.leng ...
分类:
编程语言 时间:
2016-11-30 14:41:32
阅读次数:
273
A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], find a peak element and return its inde ...
分类:
编程语言 时间:
2016-11-20 06:24:49
阅读次数:
148
A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], find a peak element and return its inde ...
分类:
其他好文 时间:
2016-11-15 13:24:58
阅读次数:
178
For some days, I have always wanted to design a LED driver which driving mid-power LEDs, to replace low-power LED tube design that we are using now. S ...
分类:
其他好文 时间:
2016-10-09 16:53:08
阅读次数:
176