[SOLVED] Image Processing - 2D downsampling

Status
Not open for further replies.

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
 

create a mask with your 'd'.....convolve the image with the mask,so that your image gets downsampled......
 
Reactions: djoy

    djoy

    Points: 2
    Helpful Answer Positive Rating
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 mythrikalam.. i did the downsampling for an image..
but still i have some doubts regarding, how an image downsampled by a matrix... :???:
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…