mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	We now buffer the request for the input to a resample filter by a variable number of pixels (depending on the resampling type) in order to fetch the neighbouring pixels to the edges of individual raster blocks. This allows the resampling to utilise these neighbouring pixels when resampling the edges of tiles, avoiding discrepancies and rendering artifacts over the borders of raster tiles. Fixes #30152
		
			
				
	
	
		
			48 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/raster/qgscubicrasterresampler.h                            *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsCubicRasterResampler: QgsRasterResamplerV2
 | 
						|
{
 | 
						|
%Docstring
 | 
						|
Cubic Raster Resampler
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgscubicrasterresampler.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    QgsCubicRasterResampler();
 | 
						|
%Docstring
 | 
						|
Constructor for QgsCubicRasterResampler.
 | 
						|
%End
 | 
						|
    virtual QgsCubicRasterResampler *clone() const /Factory/;
 | 
						|
 | 
						|
 | 
						|
    virtual QImage resampleV2( const QImage &source, const QSize &size );
 | 
						|
 | 
						|
 virtual void resample( const QImage &srcImage, QImage &dstImage ) /Deprecated/;
 | 
						|
 | 
						|
    virtual QString type() const;
 | 
						|
 | 
						|
    virtual int tileBufferPixels() const;
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/raster/qgscubicrasterresampler.h                            *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |