摘要:
概述排序有内部排序和外部排序,内部排序是数据记录在内存中进行排序,而外部排序是因排序的数据很大,一次不能容纳全部的排序记录,在排序过程中需要访问外存。我们这里说说八大排序就是内部排序。 当n较大,则应采用时间复杂度为O(nlog2n)的排序方法:快速排序、堆排序或归并排序序。 快速排序:... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(336)
评论(0)
推荐(0)
摘要:
识别算法概述:SIFT/SURF基于灰度图,一、首先建立图像金字塔,形成三维的图像空间,通过Hessian矩阵获取每一层的局部极大值,然后进行在极值点周围26个点进行NMS,从而得到粗略的特征点,再使用二次插值法得到精确特征点所在的层(尺度),即完成了尺度不变。 二、在特征点选取一个与尺度相应的邻域... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(8109)
评论(0)
推荐(0)
摘要:
Surf(Speed Up Robust Feature)Surf算法的原理 1.构建Hessian矩阵构造高斯金字塔尺度空间其实surf构造的金字塔图像... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(2611)
评论(0)
推荐(0)
摘要:
ORB算法ORB是是ORiented Brief的简称。ORB的描述在下面文章中:Ethan Rublee and Vincent Rabaud and Kurt Konolige and Gary Bradski, ORB: an efcient alternative to SI... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(7885)
评论(0)
推荐(0)
摘要:
论文下载地址:http://research.microsoft.com/en-us/um/people/jiansun/papers/GuidedFilter_ECCV10.pdf本文主要介绍导向滤波,但是在网上看这算法还能去雾,不知道是具体是怎么利用导向滤波实现去雾的,希望过来人指点迷津,这块... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(551)
评论(0)
推荐(0)
摘要:
1.python 的安装网上很多关于django跟python 开发的资料,这块我正在实习准备用这个两个合起来搞一个基于web 的东西出来现在开始学习,写点东西记录一下心得。开发环境是windows的,所以我们到python官网下载64位的windows操作系统的安装包:https://www.py... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(430)
评论(0)
推荐(0)
摘要:
后面还有一个问题,是我把txt生成了,但是网页没有返回我还不知道,现在怎么直接返回txt并且展示出来txt 的内容,希望大牛不吝赐教首先有一个问题django1.7之前,这样用:HttpResponse(simplejson.dumps({“status”: ‘200’, “message”:u’登... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(477)
评论(0)
推荐(0)
摘要:
上面是没有调用cleaned_data的提交结果,可见模版直接把form里面的整个标签都接收过来了下面是调用cleaned_data 的结果django 的表单,提交上来之后是这样的:#coding: gb2312from django import formsclass ContactForm(f... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(114)
评论(0)
推荐(0)
摘要:
就是几个动物,自动排列生成什么的class Animal(object): def __init__(self,name,weight): self.name = name self.weight = weight def eat(self): self.weight +=1 def spea... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(1376)
评论(0)
推荐(0)
摘要:
一直找不到opencv stereo matching的根据和原理出处,下面这个文章贴了个链接,有时间看看: Basically OpenCV provides 2 methods to calculate a dense disparity map:cvFindStereoCorrespond... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(359)
评论(0)
推荐(0)
摘要:
Description:Count the number of prime numbers less than a non-negative number, n 提示晒数法:http://en.wikipedia.org/wiki/Sieve_of_Eratostheneshttps://p... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(120)
评论(0)
推荐(0)
摘要:
Remove all elements from a linked list of integers that have valueval.ExampleGiven: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6Return: 1 --> 2 --... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(104)
评论(0)
推荐(0)
摘要:
Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive intege... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(194)
评论(0)
推荐(0)
摘要:
Climbing Stairs You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(94)
评论(0)
推荐(0)
摘要:
Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All occ... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(126)
评论(0)
推荐(0)
摘要:
今天看了一个华为西安研究院的一个女生代码大神的总结很有感悟,下面这句话送给大家:只有好的程序员才能写出人类可以理解的代码You are a professional robber planning to rob houses along a street. Each house ha... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(158)
评论(0)
推荐(0)
摘要:
实现效果:这个其实是一个非常常见的功能,大家都会考虑给自己简单的工程做一个背景界面。其实只要在view类中重载OnEraseBkgnd()这个函数就好了。代码如下:BOOL CdddView::OnEraseBkgnd(CDC* pDC){ // TODO: 在此添加消息处理程... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(728)
评论(0)
推荐(0)
摘要:
Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 00000010100101000001111010011100)... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(123)
评论(0)
推荐(0)
摘要:
Rotate an array of n elements to the right by k steps.For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(129)
评论(0)
推荐(0)
摘要:
Given an integer n, return the number of trailing zeroes in n!.Note: Your solution should be in logarithmic time complexity.解决思路: 决定阶乘末尾零的个数其实... 阅读全文
posted @ 2017-11-17 22:28
wangyaning
阅读(125)
评论(0)
推荐(0)
浙公网安备 33010602011771号