24 #ifndef DIGIKAM_FILM_FILTER_H
25 #define DIGIKAM_FILM_FILTER_H
31 #include <QListWidgetItem>
32 #include <QSharedPointer>
79 CNFujicolorSuperia1600
89 : QListWidgetItem(text, parent, type + QListWidgetItem::UserType)
101 explicit FilmContainer(CNFilmProfile profile,
double gamma,
bool sixteenBit);
103 void setWhitePoint(
const DColor& wp);
104 DColor whitePoint()
const;
106 void setExposure(
double strength);
107 double exposure()
const;
109 void setSixteenBit(
bool val);
110 void setGamma(
double val);
111 double gamma()
const;
113 void setCNType(CNFilmProfile profile);
114 CNFilmProfile cnType()
const;
116 void setApplyBalance(
bool val);
117 bool applyBalance()
const;
129 int whitePointForChannel(
int channel)
const;
130 double blackPointForChannel(
int ch)
const;
131 double gammaForChannel(
int ch)
const;
133 static QMap<int, QString> profileMapInitializer();
138 QSharedPointer<Private> d;
149 explicit FilmFilter(QObject*
const parent =
nullptr);
150 explicit FilmFilter(
DImg*
const orgImage, QObject*
const parent =
nullptr,
156 return QLatin1String(
"digikam:FilmFilter");
159 static QString DisplayableName();
173 return FilterIdentifier();
177 void readParameters(
const FilterAction& action)
override;
181 void filterImage()
override;
Definition: cbfilter.h:40
Definition: dimgthreadedfilter.h:41
Definition: filmfilter.h:85
ListItem(const QString &text, QListWidget *const parent, CNFilmProfile type)
Definition: filmfilter.h:88
Definition: filmfilter_p.h:141
Definition: filmfilter.h:44
static const QMap< int, QString > profileMap
Definition: filmfilter.h:124
CNFilmProfile
Definition: filmfilter.h:48
@ CNFujicolorNPL160
Definition: filmfilter.h:70
@ CNKodakGold200
Definition: filmfilter.h:51
@ CNFujicolorPro160S
Definition: filmfilter.h:68
@ CNFujicolorSuperia200
Definition: filmfilter.h:75
@ CNAgfaphotoVistaPlus200
Definition: filmfilter.h:66
@ CNAgfaphotoVistaPlus400
Definition: filmfilter.h:67
@ CNFujicolorPro160C
Definition: filmfilter.h:69
@ CNFujicolorSuperia100
Definition: filmfilter.h:74
@ CNKodakFarbwelt200
Definition: filmfilter.h:63
@ CNKodakProfessionalNewPortra400
Definition: filmfilter.h:61
@ CNKodakProfessionalPortra800P2
Definition: filmfilter.h:59
@ CNFujicolorSuperiaXtra400
Definition: filmfilter.h:76
@ CNKodakEktar100
Definition: filmfilter.h:52
@ CNKodakFarbwelt400
Definition: filmfilter.h:64
@ CNKodakGold100
Definition: filmfilter.h:50
@ CNFujicolorPro400H
Definition: filmfilter.h:71
@ CNKodakFarbwelt100
Definition: filmfilter.h:62
@ CNFujicolorPro800Z
Definition: filmfilter.h:72
@ CNKodakProfessionalPortra800P1
Definition: filmfilter.h:58
@ CNFujicolorTrueDefinition400
Definition: filmfilter.h:78
@ CNKodakProfessionalNewPortra160
Definition: filmfilter.h:60
@ CNFujicolorSuperiaXtra800
Definition: filmfilter.h:77
@ CNKodakProfessionalPortra160VC
Definition: filmfilter.h:54
@ CNKodakRoyalGold400
Definition: filmfilter.h:65
@ CNFujicolorSuperiaReala
Definition: filmfilter.h:73
@ CNKodakProfessionalPortra800Box
Definition: filmfilter.h:57
@ CNKodakProfessionalPortra400NC
Definition: filmfilter.h:55
@ CNKodakProfessionalPortra160NC
Definition: filmfilter.h:53
@ CNKodakProfessionalPortra400VC
Definition: filmfilter.h:56
Definition: filmfilter.h:144
static QList< int > SupportedVersions()
Definition: filmfilter.h:161
static QString FilterIdentifier()
Definition: filmfilter.h:154
QString filterIdentifier() const override
Definition: filmfilter.h:171
static int CurrentVersion()
Definition: filmfilter.h:166
Definition: filteraction.h:43
Definition: levelsfilter.h:40
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43