登录
首页 » matlab » 3x3-neighbor-pixel

3x3-neighbor-pixel

于 2014-10-24 发布 文件大小:175KB
0 110
下载积分: 1 下载次数: 8

代码说明:

  Description All the filters have needed neighbor data the current pixel in the image,here this function(res_window=cover_window(how many neighbor value for row ,how many neighbor value for column ,input image) produce the result( res_window(row,col,total size)) input inp_img=2d data(row * col) w=cover size w=[3 3] = 3x3 cover pixel generation output o_img=result 3d o_img(w(1),w(2),r*col) if inp_img=[1 2 3 4 5 6 ] w=[3 3] Soloution it will construct new image new_img=[0 0 0 0 0 0 1 2 3 0 0 4 5 6 0 0 0 0 0 0] result o_img(:,:,1)=[0 0 0 0 1 2 0 4 5] o_img(:,:,2)=[0 0 0 1 2 3 4 5 6] finally o_img(1:3,1:3,6) example a=imread( pears.png ) b=rgb2gray(a) c=cover_window( b,[3 3]) 3x3 window construction

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • ber_coded-and-non-coded
    Script for simulating binary phase shift keyed transmission and reception and compare the simulated and theoretical bit error probability Also this sript compare the performance of Uncoded BPSK with Coded BPSK
    2013-11-16 23:11:25下载
    积分:1
  • FracLab-Mat
    说明:  FracLab的一些源代码,FracLab是用于分形分析的toolbox(some of the source code in FracLab, FracLab is toolbox for fractal analysis)
    2010-04-12 19:19:44下载
    积分:1
  • HW5
    My own Fletcher Rieves Optimization engine
    2014-02-24 08:37:13下载
    积分:1
  • C231_App
    Ordinary and Partial Differential Equation Routines in C, C++, Fortran, Java, Maple, and MATLAB
    2007-07-31 12:39:00下载
    积分:1
  • guess
    高斯消去法的matlab编程的matlab源文件(Gaussian elimination method matlab programming matlab source file)
    2012-06-04 17:29:03下载
    积分:1
  • Correlation_and_convolution
    About correlation. In signal processing, cross-correlation is a measure of similarity of two waveforms as a function of a time-lag applied to one of them. This is also known as a sliding dot product or inner-product. It is commonly used to search a long duration signal for a shorter, known feature. It also has applications in pattern recognition, single particle analysis, electron tomographic averaging, cryptanalysis, and neurophysiology.
    2011-01-12 16:17:16下载
    积分:1
  • kf
    说明:  扩展卡尔曼滤波的一个原理程序,真实值为常量。(A principle extended Kalman filter procedure, the real value is constant.)
    2012-05-16 21:00:51下载
    积分:1
  • skin_morpho
    Human skin detection using morphological operation...
    2013-08-14 18:09:16下载
    积分:1
  • Mppt
    Description about Mppt algorithm
    2013-02-06 13:22:07下载
    积分:1
  • PCA
    pca进行主成分分析的源代码,对人脸识别,超分辨率有很好的作用(pca principal component analysis of the source code)
    2010-03-09 15:56:09下载
    积分:1
  • 696518资源总数
  • 104921会员总数
  • 16今日下载