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-
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to