Resizing/resampling, info please! |
Resizing/resampling, info please! |
Guest_Andrew K_* |
Jul 28 2005, 12:32 PM
Post
#1
|
Guests |
Hello,
Can anyone tell me the algorithm pmview uses when resizing with the resampling option? Best of all would be if someone who knows could describe the entire algorithm and/or send me some code, but it would be extremely useful to know whether it's a simple bilinear resampling scheme, or bicubic, or sinc, or put through a low-pass filter and then something else. Any info greatfully received -- I'm using pmview in a research project and I ought to include this information in my paper. Thanks, Andrew |
|
|
Jul 31 2005, 11:55 AM
Post
#2
|
|
Forum Member Group: Admin Posts: 672 Joined: 14-March 00 From: Wilmington, North Carolina Member No.: 3 |
Hello,
The "Standard" resampling uses a Triangle filter (Bartlett window, 2nd order b-spline) The "High Quality" resampling uses Mitchell & Netravali's two-param cubic filter (See Mitchell&Netravali, "Reconstruction Filters in Computer Graphics", SIGGRAPH 88). Thanks, Peter -------------------- Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.
|
|
|
Guest_Andrew K_* |
Aug 1 2005, 09:08 AM
Post
#3
|
Guests |
QUOTE (Peter @ Jul 31 2005, 12:55 PM) The "Standard" resampling uses a Triangle filter (Bartlett window, 2nd order b-spline) The "High Quality" resampling uses Mitchell & Netravali's two-param cubic filter (See Mitchell&Netravali, "Reconstruction Filters in Computer Graphics", SIGGRAPH 88). Fantastic, thanks very much. I'm a bit confused about "standard" and "high quality" though -- I thought those options only applied to rescaling when displaying the picture, not resizing the image through the transform menu. Do they also affect the result of the transform/size procedure? Andrew |
|
|
Aug 3 2005, 12:34 PM
Post
#4
|
|
Forum Member Group: Admin Posts: 672 Joined: 14-March 00 From: Wilmington, North Carolina Member No.: 3 |
The Transform menu always uses the "High Quality" filter, i.e. Mitchell.
-------------------- Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.
|
|
|
Guest_Andrew K_* |
Aug 6 2005, 04:01 AM
Post
#5
|
Guests |
|
|
|
Lo-Fi Version | Time is now: 25th April 2024 - 01:26 AM |