Oct 21, 2010 #1 S swt_kitten Newbie level 4 Joined Oct 21, 2010 Messages 7 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,283 Activity points 1,316 hai, I need to know how an image downsampled by a 2D matrix. like d=[2,0;0,2] I need to downsample an image which is in matrix form by this 'd'. if the image is 512x512 how could i make this d to the size of image. Please can any one help me Thank you
hai, I need to know how an image downsampled by a 2D matrix. like d=[2,0;0,2] I need to downsample an image which is in matrix form by this 'd'. if the image is 512x512 how could i make this d to the size of image. Please can any one help me Thank you
Oct 21, 2010 #2 M mythrikalam Newbie level 6 Joined Oct 4, 2010 Messages 14 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,283 Location INDIA Activity points 1,398 create a mask with your 'd'.....convolve the image with the mask,so that your image gets downsampled......
create a mask with your 'd'.....convolve the image with the mask,so that your image gets downsampled......
Oct 21, 2010 #3 S swt_kitten Newbie level 4 Joined Oct 21, 2010 Messages 7 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,283 Activity points 1,316 thank you for ur reply.. but how will i make the mask? should it be in same size of the image?? can u show some simple example if u dnt mind..
thank you for ur reply.. but how will i make the mask? should it be in same size of the image?? can u show some simple example if u dnt mind..
Oct 22, 2010 #4 S swt_kitten Newbie level 4 Joined Oct 21, 2010 Messages 7 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,283 Activity points 1,316 thank you mythrikalam.. i did the downsampling for an image.. but still i have some doubts regarding, how an image downsampled by a matrix... :???:
thank you mythrikalam.. i did the downsampling for an image.. but still i have some doubts regarding, how an image downsampled by a matrix... :???: