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

3x3-neighbor-pixel

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

  • minRoute
    matlab求最短路径的Dijkstra算法,使用说明很清楚,简单易用(matlab seek the shortest path Dijkstra algorithm, instructions are clear, easy to use)
    2010-09-07 14:26:49下载
    积分:1
  • mianyikelusuanfa
    说明:  免疫克隆算法优化函数的程序,保证可以用。。(Immune clonal algorithm to optimize the function of the program can be used to ensure)
    2011-03-16 16:26:47下载
    积分:1
  • final-project
    通过给出的两组图片以及对应的光照位置,计算图片的albedo以及图像的表面法向量和位置并显示,最后自动生成任意角度照射得到物体图像,并以视频的方式显示(Photometric stereo Albedo and Normal)
    2013-02-19 17:19:50下载
    积分:1
  • pls
    PLS princomp select
    2012-02-07 11:57:27下载
    积分:1
  • bessel
    该程序用来实现贝塞尔第一类函数,阶数从0到7.(This is bessel function of order 0 through 7.)
    2010-12-08 09:06:14下载
    积分:1
  • Optimization
    详细介绍了优化算法-遗传优化算法和粒子群优化算法,给出了编程过程,(Optimization Algorithms (Genetic Optimization Algorithm and Particle Swarm Optimization Algorithm)are introduced in detail,the programm progress is gived)
    2012-04-24 12:58:35下载
    积分:1
  • nice
    LES和RLS的区别,自适应滤波器方面的(The difference between LES and RLS adaptive filter' s)
    2011-11-21 14:45:31下载
    积分:1
  • PCA_ONE
    PCA程序,用于信号的主分量分析,用过几次,感觉不错(PCA program, the main component for signal analysis, used a few times, I feel good)
    2013-01-05 14:07:34下载
    积分:1
  • matlab
    文档详述数值分析中常见算法的Matlab实现方法,为设计者提供了设计思路。(Document detailing the common numerical analysis algorithm implementation in Matlab, provides design ideas for the designers. )
    2011-09-26 09:26:19下载
    积分:1
  • The-immune-(pso)
    受生物体免疫系统免疫机制的启发, 把免疫系统的免疫信息处理机制引入到粒子群优化算法中, 给出了免 疫粒子群优化算法(Inspired by biological immune mechanism of immune system, the immune information processing mechanism of the immune system is introduced into the particle swarm optimization algorithm, avoid immune particle swarm optimization algorithm was presented)
    2020-10-12 08:27:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载