1
/* **************************************************************************
2
qgslinearminmaxenhancement.h - description
4
begin : Fri Nov 16 2007
5
copyright : (C) 2007 by Peter J. Ersts
8
****************************************************************************/
10
/* **************************************************************************
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
17
***************************************************************************/
19
#ifndef QGSLINEARMINMAXENHANCEMENT_H
20
#define QGSLINEARMINMAXENHANCEMENT_H
22
#include "qgscontrastenhancementfunction.h"
25
* A color enhancement function that performs a linear enhanceContrast between min and max.
27
class CORE_EXPORT QgsLinearMinMaxEnhancement : public QgsContrastEnhancementFunction
31
QgsLinearMinMaxEnhancement( QgsContrastEnhancement::QgsRasterDataType, double, double );
33
int enhance( double );