Hough变换的原理:
将图像从图像空间变换至参数空间,变换公式如下:
变换以后,图像空间与参数空间存在以下关系:
图像空间中的一点在参数空间是一条曲线,而图像空间共线的各点对应于参数空间交于一点的各条曲线。
下面使用Matlab实现Hough变换对图像中的直线划痕进行检测。
close all;
clear all;
I = imread('scratch.tif');
figu...
分类:
其他好文 时间:
2014-06-15 15:21:40
阅读次数:
272
/*
*Copyright (c) 2013, 烟台大学计算机学院
* All rights reserved.
* 作 者:马广明
* 完成日期:2014 年 6 月 7 日
* 版 本 号:v1.0
* 问题描述:电子词典
*/
#include
#include
#include
#include
using namespace std;
clas...
分类:
其他好文 时间:
2014-06-14 17:52:17
阅读次数:
209
IE : 1 2 3 body内 1 function copyToClipboard() { 2 3 if (document.all) { //判断...
分类:
Web程序 时间:
2014-06-14 16:29:02
阅读次数:
186
题目描述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
-- 1. 查看被锁的表
SELECT p.spid, a.serial#, c.object_name, b.session_id, b.oracle_username,b.os_user_name
FROM v$process p, v$session a, v$locked_object b, all_objects c
WHERE p.addr = a.paddr
AND a.p...
分类:
数据库 时间:
2014-06-14 12:55:33
阅读次数:
256
题目
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in a triplet (a,b,c) ...
分类:
其他好文 时间:
2014-06-14 12:45:13
阅读次数:
209
Apache Spark?is a fast and general engine for large-scale data processing: 一种快速通用可扩展的数据分析引擎。如果想要搞清楚Spark是什么,那么我们需要知道它解决了什么问题,还有是怎么解决这些问题的。
本文将带领你进入Spark的世界,首先阐述了为什么Spark能够在众多的大数据分析平台中脱颖而出:通用,易用,高性能和与Hadoop的有效整合。Spark All in One的解决方案使用一个通用栈解决了流式,交互式,实时查询,迭代...
分类:
其他好文 时间:
2014-06-14 11:57:03
阅读次数:
288
/*
* Copyright (c) 2013, 烟台大学计算机学院
* All rights reserved.
* 作 者:马广明
* 完成日期:2014 年 6 月 10 日
* 版 本 号:v1.0
* 输入描述: 无
* 问题描述:学生信息
*/
#include
#include
#include
using namespace std;
//定义...
分类:
其他好文 时间:
2014-06-14 11:36:35
阅读次数:
215
%%%% 完成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
这道题想的时候颇费了一些周折,想过把L的所有concatenation组合出来,放到hash或map里,然后遍历S的时候直接看。但是这样如果L的size: Lsize过大的话,可能的组合有Lsize!种,组合数剧增,效率低下,所以不采用这种方法。又考虑在S中从左向右一个word一个word遍历过去,...
分类:
其他好文 时间:
2014-06-14 09:07:00
阅读次数:
252