Main Page | Report this Page
 
   
Science Forum Index  »  Image Processing Forum  »  Image Downsampling : Easy to implement methods...
Page 1 of 1    
Author Message
rajesh...
Posted: Sun May 18, 2008 8:34 pm
Guest
hi,

I urgently want some easy to implement methods/algorithms for
image downsampling.
bugbear...
Posted: Mon May 19, 2008 5:09 am
Guest
rajesh wrote:
Quote:
hi,

I urgently want some easy to implement methods/algorithms for
image downsampling.

Look in imagemagick.

BugBear
4N...
Posted: Mon May 19, 2008 6:51 am
Guest
"bugbear" <bugbear at (no spam) trim_papermule.co.uk_trim> ha scritto nel messaggio
news:p9-dnc_0ftQgzKzVRVnyjwA at (no spam) posted.plusnet...
Quote:
rajesh wrote:
hi,

I urgently want some easy to implement methods/algorithms for
image downsampling.

compute a ratio based on old and new size then pick the pixels to the
transformed coordinates like:

ratiox = new_width/old_width
ratioy = new_height/old_height

x' = x*ratiox
y' = y*ratioy

fast and simple but not very accurate
rajesh...
Posted: Mon May 19, 2008 10:36 pm
Guest
On May 19, 4:51 pm, "4N" <x... at (no spam) yyy.com> wrote:
Quote:
"bugbear" <bugbear at (no spam) trim_papermule.co.uk_trim> ha scritto nel messaggionews:p9-dnc_0ftQgzKzVRVnyjwA at (no spam) posted.plusnet...

rajesh wrote:
hi,

I urgently want some easy to implement methods/algorithms for
image downsampling.

compute a ratio based on old and new size then pick the pixels to the
transformed coordinates like:

ratiox = new_width/old_width
ratioy = new_height/old_height

x' = x*ratiox
y' = y*ratioy

fast and simple but not very accurate

thanks Bugbear
 
Page 1 of 1       All times are GMT - 5 Hours
The time now is Tue Oct 14, 2008 10:00 am