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

3x3-neighbor-pixel

于 2014-10-24 发布 文件大小:175KB
0 216
下载积分: 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 个回复

  • MOHUPID
    模糊PID控制程序,用于模糊自整定PID控制算法的实现(Fuzzy PID control procedures for the fuzzy self-tuning PID control algorithm to achieve)
    2009-04-12 23:47:01下载
    积分:1
  • rbf_3
    三种聚类方法的径向基程序,用matlab编写,希望对你有一点帮助(Radial basis of three clustering procedures, using matlab write, I hope you have a little help)
    2010-10-09 20:42:19下载
    积分:1
  • PID_danhuilu
    说明:  文档中的matlab源代码主要是针对单回路液位控制系统的PID控制实现,内有simulink原理图(Matlab source code in the document is mainly for single-loop PID control of water level control system to achieve, within the simulink diagram)
    2011-03-22 16:45:37下载
    积分:1
  • matlab
    我想应该很不错吧,你们说呢是是方式三分????(it is good )
    2013-12-02 15:57:15下载
    积分:1
  • gu_Morlet
    自编小波变换程序,小波基Morlet,matlab环境。(Self wavelet transform process, wavelet Morlet, matlab environment.)
    2011-02-10 02:52:45下载
    积分:1
  • DiscriminantMethods
    距离判别法与Bayes判别法在分类中的应用。对于学习GUI同学很好。(Application of the distance discriminant law with the Bayes discriminant law classification the. Students for learning GUI good.)
    2013-04-04 17:33:44下载
    积分:1
  • CTSDM_4thFF_FBerror_ELDtest_v2
    continuous time sigma-delta modulator modeling
    2013-04-24 22:09:14下载
    积分:1
  • yanchi
    波达方向估计中延迟相加法的matlab程序(DOA estimation of delay in the sum of the law matlab program)
    2009-09-24 08:25:55下载
    积分:1
  • 功能是MATLAB 语音文件存为数组的形式-MATLAB CODE
    功能是MATLAB 语音文件存为数组的形式(MATLAB voice function is saving the file to the array of forms)
    2005-03-09 16:25:51下载
    积分:1
  • count_K.N
    k个位子,n个元素填充,每个位置上数字可重复。例程为一简洁的递归算法,显示所有可能的组合(n to K problem)
    2009-05-18 07:11:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载