GPUImage icon indicating copy to clipboard operation
GPUImage copied to clipboard

Larger images need better interpolation when scaling down

Open BradLarson opened this issue 14 years ago • 2 comments

Right now, when passing a large image into a filter that will process it for output to a much smaller destination, the filter will just sample from locations corresponding to pixels in the final image. This leads to sharp discontinuities, rather than a smoother scaledown, so a better way of scaling these images to provide smoother interpolation needs to be used.

BradLarson avatar Feb 20 '12 17:02 BradLarson

This should now be addressed by the trilinear filtering option on GPUImagePictures (the smoothlyScaleOutput option on initialization). I haven't extended this to other inputs yet, because they haven't needed it so far.

BradLarson avatar Feb 27 '12 00:02 BradLarson

what's the issue for GPUImgaePicture edge discontinuities, especially when rotate a picture,i use APPLE'S msaa multi-sample,but not good.

Khazmovsky avatar Oct 10 '14 10:10 Khazmovsky