资源简介
Collection of Computer Vision algorithms implemented in Matlab.
Algorithms:
seam carving ("Seam carving for content-aware image processing" by S. Avidan & A. Shamir, 2007) Algorithm and code are described in details http://kirilllykov.github.io/blog/2013/06/06/seam-carving-algorithm/
bilateral filter ("Bilateral filtering for gray and color images" by C. Tomasi & R. Manduchi, 1998)
fast bilateral filter ("A fast approximation of the bilateral filter using a signal processing approach" by S. Paris & F. Durand, 2006)
retinex ("Retinex by two bilateral filters" by M. Elad, 2005)
shape from shading algorithm by Horn and Ikeuchi ("The Variational Approach to Shape from Shading" by B. Horn and M. Brooks, 1985)
optical flow algorithm by Horn-Shunck for an array of input images ("Determining optical flow" by Horn and Schunck, 1980)
generator of random surface and closed curve, auxiliary code
代码片段和文件信息
% (C) Copyright Kirill Lykov 2013.
%
% Distributed under the FreeBSD Software License (See accompanying file license.txt)
clearvars all;
close all;
initialData = imread(‘cat.png‘);
originalGrayImg = double(rgb2gray(initialData));
subplot(221);
imagesc(originalGrayImg);
title(‘original image‘);
colormap gray;
subplot(222);
% noise functions expects integers
noisyGrayImg = imnoise(rgb2gray(initialData)‘gaussian‘ 0 0.01);
noisyGrayImg = double(noisyGrayImg);
imagesc(noisyGrayImg);
title(‘noisy image‘);
% parameters
sigmaSpatial = 10;
sigmaRange = 100;
samplingSpatial = sigmaSpatial;
samplingRange = sigmaRange;
% brute force Bilateral filter
subplot(223);
tStart = cputime;
filteredImg = regBilateralFilter(noisyGrayImg 0 sigmaSpatial sigmaRange samplingSpatial);
tEnd = cputime;
imagesc(filteredImg);
title([‘brute force BF. Time: ‘ int2str(tEnd - tStart) ‘sec‘]);
% fast bilateral filter - terms and notations are from the paper
subplot(224);
tStart = cputime;
filteredImg = fastBilateralFilter(noisyGrayImg sigmaSpatial sigmaRange samplingSpatial samplingRange 0 15);
tEnd = cputime;
imagesc(filteredImg);
title([‘fast BF. Time: ‘ int2str(tEnd - tStart) ‘sec‘]);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 952 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\README.md
....... 1193 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\examples\ex_bilateral_filter.m
....... 348 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\examples\ex_gen_rnd_surface_curve.m
....... 1068 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\examples\ex_optical_flow.m
文件 788 2017-10-13 17:09 cvision-algorithms-master\cvision-algorithms-master\examples\ex_retinex_filter.m
....... 664 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\examples\ex_seam_carving.m
....... 297 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\examples\ex_shape_from_shading.m
文件 47100 2017-10-13 17:01 cvision-algorithms-master\cvision-algorithms-master\examples\5417_800.jpg
文件 825 2017-10-31 14:53 cvision-algorithms-master\cvision-algorithms-master\examples\retinex_bila.m
文件 1266 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\license.txt
....... 4827 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\src\fastBilateralFilter.m
....... 714 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\src\genRandCurve.m
....... 1694 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\src\genRandSurface.m
....... 2425 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\src\opticalFlow.m
....... 1407 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\src\regBilateralFilter.m
....... 2526 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\src\reinit.m
....... 1760 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\src\retinexFilter.m
....... 8598 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\src\seamCarving.m
....... 1312 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\src\shapeFromShading.m
目录 0 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\examples
目录 0 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master\src
目录 0 2014-11-17 18:58 cvision-algorithms-master\cvision-algorithms-master
目录 0 2017-10-13 17:08 cvision-algorithms-master
----------- --------- ---------- ----- ----
79764 23
- 上一篇:卷积编码的matlab程序
- 下一篇:BLDC的Simuli
nk仿真模型
相关资源
- Retinex in matlab图像增强、HDR图像压缩
- Kalman Filtering - Theory and Practice Using M
- 图像滤波算法之guide filter导向滤波
- Multirate Filtering for Digital Signal Process
- Deblurring Images Matrices Spectra and Filteri
- 粒子滤波完整仿真matlab代码
- Anisotropic Diffusion,各向异性扩散论文
- 集合卡尔曼滤波算法-数据同化的经典
- Kalman_Filter粗对准和经对准和实际试验
- retinex 算法matlab仿真
- 自适应局部迭代滤波(Adaptive local i
- Kalman Filtering - Theory and Practice Using M
- retinex matlab实现带测试图
- retinex by bilateral filter
- 信号处理滤波器设计-基于MATLAB和Mat
- 双边滤波 图像增强
- Retinex理论的matlab实现和雾天图像处理
- 粒子滤波matlab实现三套
- retinex的的matlab程序
- 数字滤波器的MATLAB与FPGA实现——杜勇
- Kalman filtering-theory and practice using MAT
- Adaptive Filtering 4th,MATLAB——Nonlinear
- kernel adapting filter
- 基于MATLAB的Filter使用,低通,带通和
- Multi-Scale Retinex with Color Restore 多尺度
- 在matlab比较filter函数 与filtfilt函数的
- Gaborfilter matlab
- 图像增强Matlab代码总结6种
- 汉宁窗FIR数字低通滤波器MATLAB
- kalmanfilter_fuben.slx
评论
共有 条评论