https://leetcode.com/problems/minimum-depth-of-binary-tree/#/description ...
分类:
其他好文 时间:
2017-04-24 23:13:31
阅读次数:
189
前面几篇博客主要说了光场相机,光场相机由于能够记录相机内部整个光场,可以实现重聚焦和不同视角的变换,同时也可以利用这个特性进行深度估计(Depth Estimation)。 先说一下利用重聚焦得到的不同聚焦平面图像获取深度图,其实这个原理非常简单。 1. 以聚焦范围为0.2F-2F为例,alpha∈ ...
分类:
编程语言 时间:
2017-04-24 00:08:06
阅读次数:
742
Similarity of Subtrees Define the depth of a node in a rooted tree by applying the following rules recursively: The depth of a root node is 0. The dep ...
分类:
其他好文 时间:
2017-04-23 23:19:26
阅读次数:
622
Every single thread has the follow elements: Thread context switch causes a bad performence.Here is how a context switch work :OS will move the data o ...
分类:
其他好文 时间:
2017-04-18 00:34:06
阅读次数:
211
我自己写的divide&conquer /** * Definition of TreeNode: * public class TreeNode { * public int val; * public TreeNode left, right; * public TreeNode(int val ...
分类:
其他好文 时间:
2017-04-16 21:17:55
阅读次数:
154
du -ah --max-depth=1 这个是我想要的结果 a表示显示目录下所有的文件和文件夹(不含子目录),h表示以人类能看懂的方式,max-depth表示目录的深度。 du命令用来查看目录或文件所占用磁盘空间的大小。常用选项组合为:du -sh 一、du的功能:`du` reports the ...
分类:
其他好文 时间:
2017-04-12 11:45:39
阅读次数:
271
遍历是很多图论算法的基础,所谓图的遍历( graph traversal),也称为搜索( search),就是从图中某个顶点出发,沿着一些边访遍图中所有的顶点,且使每个顶点仅被访问一次。 遍历可以采取两种方法进行: 深度优先搜索( DFS: depth first search); 广度优先搜索( ...
分类:
其他好文 时间:
2017-04-08 19:36:55
阅读次数:
212
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l ...
分类:
其他好文 时间:
2017-04-02 19:31:02
阅读次数:
124
双目标定精度和RGB相比怎么样? 双目精度可以参考: Method for measuring stereo camera depth accuracy based onstereoscopic vision 这篇文章测量最大误差大概是在5cm左右,当然受到很多其他因素影响,这里只是一个参考值 RG ...
分类:
其他好文 时间:
2017-03-28 20:47:00
阅读次数:
250