码迷,mamicode.com
首页 >  
搜索关键字:mat    ( 14954个结果
elixir 模块
模块定义 defmodule函数定义 def私有函数 defp --相当于其他语言 privateiex(29)> defmodule Math do...(29)> def sum(a, b) do...(29)> a + b...(29)> end...(29)> endiex(30)> Mat...
分类:其他好文   时间:2015-03-18 15:36:04    阅读次数:138
Memory Analyse Tool
Memory Analyse Tool(MAT)1: export .hprof file ADT>DDMS>Dump HPROF file2: convert to standard formatuseHPROF Convertertool provided in android sdk.The....
分类:其他好文   时间:2015-03-17 00:32:41    阅读次数:239
A1012. The Best Rank (25)
To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mat...
分类:其他好文   时间:2015-03-14 10:48:30    阅读次数:156
MAT使用总结
最近在做项目的时候遇到一个内存泄漏,最后通过MAT定位了问题, 先介绍一下MAT的一些基本概念: Shallow Heap:对象本身占用内存的大小,不包含对其他对象的引用,也就是对象头加成员变量(不是成员变量的值)的总和 Retained Heap:是该对象自己的shallow size...
分类:其他好文   时间:2015-03-13 18:39:15    阅读次数:292
[CSDN_Markdown] 使用LaTeX写矩阵
简介LaTeX 的公式功能非常强大,一次性讲全不是件容易的事情。将LaTeX 的这些功能分成较小的相互独立的部分来讲,一方面方便大家单独查阅;另一方面,所有[CSDN_Markdown]相关的文章都放到了同一个专栏下: CSDN Markdown在线编辑,方便大家查阅。本文主要介绍,如何在CSDN的Markdown编辑器中利用LaTeX 公式命令获得矩阵。简单Matrix使用$$\begin{mat...
分类:其他好文   时间:2015-03-12 15:07:27    阅读次数:228
调试opencv调用摄像头程序时碰到的问题
昨天晚上想把opencv学习笔记整理一下,当跑opencv调用摄像头的程序的时候老是出现Assertion failed (size.width>0 && size.height>0) in cv::imshow,最后查阅资料知道了是因为调用imshow()函数的时候传入的Mat为空导致的,可能是刚...
分类:其他好文   时间:2015-03-12 11:09:51    阅读次数:276
开源Math.NET基础数学类库使用(03)C#解析Matlab的mat格式
原文:【原创】开源Math.NET基础数学类库使用(03)C#解析Matlab的mat格式 开源Math.NET基础数学类库使用系列文章总目录: 1.开源.NET基础数学计算组件Math.NET(一)综合介绍 2.开源.NET基础数学计算组件Math.NET(二)矩阵向量计算 3.开源.NET基础数...
分类:Windows程序   时间:2015-03-12 09:40:12    阅读次数:315
白底+透明底贴图
//白底不贴,遍历像素时,若为白色,则忽略,否则将像素值复制到背景上//因为目标图片中可能含有白色点,并且对抠出的图片要求挺高的不然就会出现第二幅图的效果,所以这种方式局限性较大。 Mat hero = imread("2.jpg"); for (int i = 0; i < hero.rows; i++) { for (int j = 0; j < hero.cols; j++...
分类:其他好文   时间:2015-03-11 01:56:35    阅读次数:844
OpenCV.2.Computer.Vision.Application.Programming.Cookbook--Efficient scanning of continuous images
#include void colorReduce(cv::Mat &image, int div=64) { int nr= image.rows; // number of rows int nc= image.cols * image.channels(); // total number of elements per line if (image.isContinuo...
分类:移动开发   时间:2015-03-10 21:36:15    阅读次数:169
OpenCV.2.Computer.Vision.Application.Programming.Cookbook--Scanning an image with pointers
#include void colorReduce(cv::Mat &image, int div=64) { int nr= image.rows; // number of rows int nc= image.cols * image.channels(); // total number of elements per line for (int j=0; j<nr;...
分类:移动开发   时间:2015-03-09 20:58:51    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!