文件名称:3x3-neighbor-pixel
-
所属分类:
- 标签属性:
- 上传时间:2014-10-24
-
文件大小:175.35kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Descr iption
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
-Descr iption
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
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
-Descr iption
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
3x3 window/cover_window.m
3x3 window/screen.png
3x3 window
3x3 window/screen.png
3x3 window
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.