[gdal-dev] VRT KernelFilteredSource and overviews
Rahkonen Jukka (MML)
jukka.rahkonen at maanmittauslaitos.fi
Wed Oct 4 04:11:28 PDT 2017
Hi,
I was playing with kernel filters in VRT and using this really applies sharpen filter on-the-fly when looking the image at native resolution with QGIS:
<VRTRasterBand dataType="Byte" band="1">
<ColorInterp>Red</ColorInterp>
<KernelFilteredSource>
<SourceFilename relativeToVRT="1">image.tif</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="12000" RasterYSize="12000" DataType="Byte" BlockXSize="12000" BlockYSize="1" />
<SrcRect xOff="0" yOff="0" xSize="12000" ySize="12000" />
<DstRect xOff="0" yOff="0" xSize="12000" ySize="12000" />
<Kernel normalized="0">
<Size>3</Size>
<Coefs>0 -1 0 -1 5 -1 0 -1 0</Coefs>
</Kernel>
</KernelFilteredSource>
</VRTRasterBand>
However, filter is not applied to overviews which means that image looks different when I zoom out. Is this the intended behavior?
-Jukka Rahkonen-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171004/bbeba318/attachment.html>
More information about the gdal-dev
mailing list