码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
[剑指Offer]5.二维数组中的查找
题目 在一个二维数组中,每一行都依照从左到右递增的顺序排序,每一列都依照从上到下递增的顺序排序。请完毕一个函数,输入这种一个二维数组和一个整数。推断数组中是否含有该整数。 思路 [算法系列之三十三]杨氏矩阵 代码 /* * 日期:2015-07-19 * 作者:SJF0115 * 题目: 5.二维数 ...
分类:编程语言   时间:2017-08-20 18:19:46    阅读次数:209
android学习笔记之ImageView的scaleType属性
我们知道,ImageView有一个属性叫做scaleType,它的取值一共同拥有八种,各自是:matrix,fitXY。fitStart,fitCenter。fitEnd,center,centerCrop。centerInside。那我们以下一起来看看这八种取值分别代表什么意思。我用两张图片来做d ...
分类:移动开发   时间:2017-08-20 15:51:09    阅读次数:188
[leetcode-661-Image Smoother]
Given a 2D integer matrix M representing the gray scale of an image, you need to design a smoother to make the gray scale of each cell becomes the ave ...
分类:其他好文   时间:2017-08-20 12:40:35    阅读次数:175
android中canvas的clipRect和concate调用顺序不同导致的图像效果不同。
这几天一直弄关于Canvas方法调用顺序不同导致效果不一样的測试。 至于原理,我的canvas和Matrix之间的关系能够看到原因。还是就是每一个人要多去尝试,才干真正理解透彻。 接下来我解说一下第一张图五个标签的意义; 第一顺序图片是正常全屏显示在800*1280的手机上的。没有任务效果。只是原图 ...
分类:移动开发   时间:2017-08-19 20:03:59    阅读次数:225
[LintCode] Maximal Square II
Given a 2D binary matrix filled with 0's and 1's, find the largest square which diagonal is all 1 and others is 0. Only consider the main diagonal sit ...
分类:其他好文   时间:2017-08-19 14:17:25    阅读次数:209
[LintCode] Maximal Square
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. For example, given the following mat ...
分类:其他好文   时间:2017-08-19 11:14:36    阅读次数:150
CSS3 2D、3D转换
2D转换方法:transform()、rotate()、scale()、skew()、matrix() 3D转换方法:rotateX()、rotateY() 1.示例代码 <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <ti ...
分类:Web程序   时间:2017-08-19 10:59:00    阅读次数:229
[Coding Made Simple] Maximum Subsquare surrounded by 'X'
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
g2o的一般过程
1.自己定义顶点类、边类或者用已经有的。1.1定义顶点例子class CurveFittingVertex: public g2o::BaseVertex<3, Eigen::Vector3d>{public: EIGEN_MAKE_ALIGNED_OPERATOR_NEW virtual void ...
分类:其他好文   时间:2017-08-17 21:25:31    阅读次数:351
Rotation and Transform
A transformation matrix describes the rotation of a coordinate system while an object remains fixed. In contrast, a rotation matrix describes the rota ...
分类:其他好文   时间:2017-08-16 13:13:31    阅读次数:164
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!