- 博客(15)
- 资源 (1)
- 收藏
- 关注
原创 求乱序数组中第K大的值
投机取巧用函数进行处理,没有从算法角度思考;编译成功60%,还得再想想哪些案例没有实现#include #include #include using namespace std;int main(){//输入为首行乱序数列,第二行为K值int num;vector v1;while(cin>>num){v1.push_back(
2017-08-26 17:08:25
591
原创 求最大子列和 (连续子串的最大值)
#include #include #include using namespace std;//网上流传版本忽略了一种案例,是当所有数都为负数的时候,最大子列和为第一个数。int max(const vector& vec) { int maxsum = 0, cursum = 0; int count=0; for (int i = 0; i < vec.siz
2017-08-26 17:01:38
920
1
原创 人脸检测--【代码过程,错误记录】
1.facedetected.cpp整个代码运行过程中出现bug,中断出现在 circle函数处,变量值特别大,如 r.width 以及 r.height 值很大,而且有时候还出现负值~~然后问题在于,debug 模式和 release模式下,库重合了,应该分开!!原因我也不知道~~参考链接:http://blog.youkuaiyun.com/cracent/article/de
2017-07-30 18:01:40
847
原创 opencv3.0.0 读写视频
改进官方案例#include "stdafx.h"#include #include using namespace cv;int main(){ VideoCapture capture(0); if (!capture.isOpened()) {printf("open error..\n");return -1;} VideoWriter writer1
2017-07-27 10:32:20
879
原创 算法实现Alg4-Infrared small target detection via multi-direction line reconstruction ···
《Infrared small target detection via multi-direction line reconstruction and information entropy-induced suppression 》Infrared physics & technology impact factor:1.713引用:Shang K, Sun X, Tian J,
2017-07-21 09:22:56
1099
1
转载 小波包变换的原理以及在小目标检测上的应用
一、利用小波包进行红外小目标检测分割:原理以及代码:http://blog.youkuaiyun.com/chenxieyy/article/details/49180159二、然后是小波包的具体原理:小波包分解步骤以及效果图原理:http://blog.sina.com.cn/s/blog_8fc890a20101ecn7.html综合以上原理自己用matlab画了一
2017-07-20 16:50:56
6252
1
原创 算法实现Alg15-Multiscale patch-based contrast measure for small infrared target detection
期刊:Pattern Recognition Impact factor:3.399引用:Wei Y, You X, Li H. Multiscale patch-based contrast measure for small infrared target detection[J]. Pattern Recognition, 2016, 58(C):216-226.实现:cl
2017-07-20 09:40:31
1861
1
原创 算法实现Alg17《Infrared Small-Target Detection Using Multiscale Gray Difference Weighted Image Entropy 》
发表期刊:IEEE TRANSACTIONS ON AEROSPACE AND ELECTRONIC SYSTEMS VOL. 52, NO. 1 FEBRUARY 2016 Impact factor:1.975 Not SCI文章引用:Deng H, Sun X, Liu M, et al. Infrared small-target detection using mult
2017-07-20 09:22:37
1790
3
转载 opencv版本查看以及本机VS配置
一、版本查看#include using namespace cv;void main(){ printf("\t当前使用的opencv版本为 OpenCV"CV_VERSION); getchar();}二、本机配置附加依赖项:opencv_ts300.libopencv_ts300d.libopencv_world300.libopencv_world3
2017-07-14 20:03:58
6731
转载 高斯滤波 模板生成原理 matlab代码
参考地址:原理详解:http://lps-683.iteye.com/blog/2251180matlab实现代码地址:http://blog.youkuaiyun.com/majinlei121/article/details/46652859%matlab自带函数实现灰度图高斯滤波 clear close all img=imread('lena.bmp');
2017-06-21 10:51:21
2179
转载 图像熵
Matlab实现代码如下:(1)图像的熵 function shang = ssshang(X) [m,n,t]=size(X); I3 = double(X)+1; %灰度从0到256s(256) = 0; for i = 1:m for j = 1:n va = I3(i,j); %获取灰度 s(va) = s(
2017-04-17 14:51:15
4756
转载 LOG DoG Canny Sobel Roberts
LoG算子介绍,Matlab实验对比分析:http://www.cnblogs.com/ztfei/archive/2012/09/01/2667050.htmlhttp://blog.youkuaiyun.com/qq_18343569/article/details/46914335写的很好--高斯滤波DoG,金字塔重建:http://www.cnblogs.com/xujia
2017-04-06 16:49:09
521
原创 PS 祛斑磨皮
打开图片,选择蓝色通道,拷贝蓝色通道。滤镜--其他--高反差保留:半径9.7像素 ;画笔工具--灰色画笔--涂抹五官: 眼白,眼珠,鼻孔,嘴巴(没有斑点的地方,不需要祛斑的地方);图像-计算:图层选择蓝拷贝图层,混合模式为 强光 --得到 Alpha1图层再对Alpha计算两次 ,得到 Aplha2 和Alpha3 图层鼠标放到Alpha3通道上, 按ctrl+单击键 :得到
2017-04-01 11:21:37
1174
转载 四元傅里叶显著性图-四元数-Matlab编程
3.基于四元傅里叶变换的显著性检测(Spatio-temporal Saliency Detection Using Phase Spectrum of Quaternion Fourier Transform)定义t时刻的输入图像F(t)(t=1,2,...,T,T表示输入视频的总帧数),r(t)、g(t)、b(t)分别表示F(t)的红、绿、蓝三通道,则其独立的颜色通道R(红)G
2017-03-11 21:36:52
5837
2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人