[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

No-Interpolation on border of image

I do image rotation with cvWarpAffine() function.
All works ok, but I observed that interpolation is NOT working on image borders when filling outliers.
Is it the expected behavior or an ommision?
How can I get rotated images with borders (also) interpolated to fill color?
I attach here a croped sample to show how the image borders are not interpolated while internal pixels interpolation work ok.
Uploaded Image: Image1.jpg

Problem solved!

I have solved my problen making the transparency mask with a black one-pixel border; then the borders are affected by interpolation and transparency on rotated pixels affect the displayed image softening the border.

Degradated border
one-pixel shrink of mask prior to rotation.
Uploaded Image: Antes.jpgUploaded Image: Despues.jpg