throwing away too much information http://deeplearning.net/tutorial/lenet.html http://ufldl.stanford.edu/tutorial/supervised/Pooling/ ...
分类:
其他好文 时间:
2017-09-19 15:12:02
阅读次数:
187
Given a 2D matrix where every element is either ‘O’ or ‘X’, find the largest subsquare surrounded by ‘X’. Examples: Solution 1. O(N^4) runtime. Consid ...
分类:
其他好文 时间:
2017-08-19 10:53:45
阅读次数:
174
In mathematics, the four color theorem, or the four color map theorem, states that, given any separation of a plane into contiguous regions, producing ...
分类:
其他好文 时间:
2017-08-02 11:09:46
阅读次数:
224
area_center_gray ( Regions, Image : : : Area, Row, Column ) 计算Image图像中Region区域的面积Area和重心(Row,Column)。 cooc_feature_image ( Regions, Image : : LdGray, ...
分类:
其他好文 时间:
2017-07-27 23:37:18
阅读次数:
522
1、add_channels ( Regions, Image : GrayRegions : : ) 将Image图像的灰度值赋给区域Regions,得到GrayRegions。 2、change_domain ( Image, NewDomain : ImageNew : : ) 改变Image ...
分类:
其他好文 时间:
2017-07-27 23:30:08
阅读次数:
281
矩阵的bfs, 套路一致,从外向内, 很easy 构造类, 遍历矩阵建立图 bfs要点在于如何建图, 是否建类, 建比较器, 建方向容器, 建走过的路的存储器(数组, 或者set, list) 如何遍历(堆不空?), 遍历到内部的点时判断是否符合题意(边界, 走过), 再考虑题意, 判断当前的点是否 ...
分类:
其他好文 时间:
2017-07-23 22:55:37
阅读次数:
174
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen ...
分类:
其他好文 时间:
2017-07-12 00:57:36
阅读次数:
214
130. Surrounded Regions 题目链接:https://leetcode.com/problems/surrounded-regions/#/description 题目大意:给定一个二维的板,板上是'X'或'O'字符,捕获所有被'X'包围的区域,在该区域内的字符'O'翻转为'X' ...
分类:
其他好文 时间:
2017-06-24 19:52:34
阅读次数:
155
【130-Surrounded Regions(围绕区域)】 【LeetCode-面试算法经典-Java实现】【全部题目文件夹索引】 原题 Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. ...
分类:
编程语言 时间:
2017-06-10 14:06:59
阅读次数:
352
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen ...
分类:
其他好文 时间:
2017-06-08 10:33:49
阅读次数:
191