- 博客(4)
- 资源 (2)
- 收藏
- 关注
转载 OpenCV 中 IplImage、CvMat、Mat中的type是怎么回事?
在使用opencv的过程中,无论使用原始的IplImage和CvMat类型,还是用最新C++版本的Mat类型,在创建和使用过程中,经常会遇到CV_8UC1、CV_8UC3、CV_32FC3等声明,我以前也经常遇到,曾经看懂了,现在又忘记了,现在把它写下来,方便以后查看,遇到同样问题的菜鸟也能尽快理解这些声明是怎么回事。先把opencv源代码贴出来#define CV_CN_MAX 512#
2016-03-16 10:45:25 476
原创 LeetCode: Find Peak Element
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 index. The array may contain multiple peaks,
2016-03-10 14:58:39 265
原创 Leetcode Search in Rotated Sorted Array
Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a target value to search. If found in the array retu
2016-03-09 11:26:19 371
转载 Summary for LeetCode 2Sum, 3Sum, 4Sum, K Sum
Summary for LeetCode 2Sum, 3Sum, 4Sum, K SumOverviewI summarize various solutions (sort, hash, etc) for the leetcode 2Sum, 3Sum, 4Sum problems as well as how to optimize and some importa
2016-03-05 16:05:18 638
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人