-
Notifications
You must be signed in to change notification settings - Fork 3
/
pcolor.h
30 lines (25 loc) · 877 Bytes
/
pcolor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef PCOLOR_H
#define PCOLOR_H
#include <QImage>
/*
* This is implementation for pesudo color
* Make sure Qt version more than Qt 5.13
* Need Qt 5.13 for QImage::Format_Grayscale16 support. See QTBUG-41176
*/
QImage convertGray16ToGray8(const QImage& img);
bool channelsMormThan1(const QImage& img);
QImage image2autumn(const QImage& img);
QImage image2bone(const QImage& img);
QImage image2cool(const QImage& img);
QImage image2hot(const QImage& img);
QImage image2hsv(const QImage& img);
QImage image2jet(const QImage& img);
QImage image2ocean(const QImage& img);
QImage image2parula(const QImage& img);
QImage image2pink(const QImage& img);
QImage image2rainbow(const QImage& img);
QImage image2spring(const QImage& img);
QImage image2summer(const QImage& img);
QImage image2turbo(const QImage& img);
QImage image2winter(const QImage& img);
#endif // PCOLOR_H