View Single Post
Old 10th October 2004, 13:10   #20  |  Link
SpikeSpiegel
Registered User
 
SpikeSpiegel's Avatar
 
Join Date: Aug 2004
Location: Italy
Posts: 45
Quote:
Originally posted by Didée
No, alas not.

But you can take either GeneralConvolution() or MaskTool's DEdgeMask(), together with pen & paper, and produce the frame shifts yourself through an operation on a 3x3 kernel:
Code:
  0  0  1
  0  2  0
  0  0  0
with normalization 3 gives a shift of 1/3 to the upper right.
Since this is simple bilinear sampling, you'll loose sharpness as well. Perhaps upsample first to 2x with lanczos, shift by 2x of the initial target vector, and downsize back.
Good idea, but there is another solution:
throw away PointResize.

The "culprit" wasn't SangNom: using lanczos4resize to upsize, there's no shift at all.

Thanks anyway, this method is really faster and I'm sure it will be useful in other situations.
SpikeSpiegel is offline   Reply With Quote