QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
qgsmediancut.cpp File Reference
#include "qgsmediancut.h"
#include <QList>
#include <QMultiMap>
#include <QHash>
Include dependency graph for qgsmediancut.cpp:

Go to the source code of this file.

Namespaces

namespace  QgsWms
 Median cut implementation.
 

Typedefs

typedef QList< QPair< QRgb, int > > QgsWms::QgsColorBox
 
typedef QMultiMap< int, QgsColorBoxQgsWms::QgsColorBoxMap
 

Functions

void QgsWms::medianCut (QVector< QRgb > &colorTable, int nColors, const QImage &inputImage)
 Median cut implementation used when reducing RGB colors to palletized colors.