码迷,mamicode.com
首页 >  
搜索关键字:insert all    ( 36718个结果
Matlab实现Hough变换检测图像中的直线
Hough变换的原理: 将图像从图像空间变换至参数空间,变换公式如下: 变换以后,图像空间与参数空间存在以下关系: 图像空间中的一点在参数空间是一条曲线,而图像空间共线的各点对应于参数空间交于一点的各条曲线。 下面使用Matlab实现Hough变换对图像中的直线划痕进行检测。 close all; clear all; I = imread('scratch.tif'); figu...
分类:其他好文   时间:2014-06-15 15:21:40    阅读次数:272
Matlab实现图像分割
下面使用极小值点阈值选取方法,编写MATLAB程序实现图像分割的功能。 极小值点阈值选取法即从原图像的直方图的包络线中选取出极小值点, 并以极小值点为阈值将图像转为二值图像 clear all; close all ; G=imread('rabbit.png'); figure(); subplot(2,2,1); imshow(G); subplot(2,2,2); imhist(G...
分类:其他好文   时间:2014-06-15 15:03:26    阅读次数:293
Exdata cell 节点配置时遇到的一个问题
问题描述: [celladmin@vrh4 ~]$ cellcli CellCLI: Release 11.2.3.2.0 - Production on Sat Jun 14 09:11:08 EDT 2014 Copyright (c) 2007, 2012, Oracle.  All rights reserved. Cell Efficiency Ratio: 1 CellCLI...
分类:其他好文   时间:2014-06-15 15:02:45    阅读次数:211
[LeetCode] Combinations [38]
题目 Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3], [1,2], [1,3],...
分类:其他好文   时间:2014-06-15 14:10:54    阅读次数:239
NYOJ 293 Sticks 【深搜】+【剪枝】
这是一道让人泪奔的题,它深刻的说明了什么是剪枝,哪怕是再小的一个细节,一旦递归规模增大都会引发巨大的时间消耗,真是神题~ Sticks 时间限制:3000 ms  |  内存限制:65535 KB 难度:5 描述George took sticks of the same length and cut them randomly until all part...
分类:其他好文   时间:2014-06-15 12:18:43    阅读次数:174
CABasicAnimation学习Demo 包括了一些常用的动画效果
个人写的一些例子: // // ViewController.m // CABasicAnimationDemo // // Created by haotian on 14-6-13. // Copyright (c) 2014年 Baseus. All rights reserved. // #import "ViewController.h" @interface ViewCo...
分类:其他好文   时间:2014-06-15 11:17:24    阅读次数:215
C++11 新特性之 序列for循环
在C++中在C++中for循环可以使用类似java的简化的for循环,可以用于遍历数组,容器,string以及由begin和end函数定义的序列(即有Iterator) #include #include #include using namespace std; int main() { map ms; ms.insert(make_pair("a", 1)); ms....
分类:编程语言   时间:2014-06-15 10:46:30    阅读次数:241
JS下的复制粘贴
IE : 1 2 3 body内 1 function copyToClipboard() { 2 3 if (document.all) { //判断...
分类:Web程序   时间:2014-06-14 16:29:02    阅读次数:186
hust 1170 - Baskets of Gold Coins
题目描述You are given N baskets of gold coins. The baskets are numbered from 1 to N. In all except one of the baskets, each gold coin weighs w grams. In t...
分类:其他好文   时间:2014-06-14 16:22:52    阅读次数:191
PS 滤镜——染色玻璃
%%%% 完成PS 中的染色玻璃滤镜特效 clc; clear all; close all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm'); Image=imread('4.jpg'); Image=double(Image); Gray_Image=rgb2gray(Image/...
分类:其他好文   时间:2014-06-14 10:39:21    阅读次数:240
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!