TransWikia.com

QGIS - raster resampling having no effect=pixelization

Geographic Information Systems Asked by duarte on April 25, 2021

In QGIS I cannot make the resampling setting (changing it from nearest neighbour to bilinear or cubic) to smooth the pixels of Sentinel-2 imagery, both as jp2 or tif. If I export the image, convert it to png, georeference it, then the resampling works and the image pixels are smoothed out. Irfanview has no problem resampling jp2 or tiff.

I cannot find anything online describing this problem. Am I missing something that allow the jp2/tif resampling on QGIS?

enter image description here

One Answer

I'm posting this as an "answer" because I don't know how to put screenshots in a comment - but I hope this helps you. I wonder if you have an older QGIS version where the resampling option isn't working correctly? Anyway, at 3.14.16 the Layer Styling > Resampling setting works for me, as shown below.

The first image is a .tif drag-dropped into QGIS, then zoomed in. The image is the USA FAA aviation sectional map for the Anchorage, Alaska area. As you can see, the default resampling is Nearest Neighbor, and a pixelated effect is apparent:

enter image description here

Without making any other adjustments to the image, I then changed the resampling setting to Cubic, where, as expected, the pixelation is less noticeable:

enter image description here

Answered by Stu Smith on April 25, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP