19 #ifndef CURVEOPERATION_H
20 #define CURVEOPERATION_H
22 #include "FotoSHOCKOperation.h"
24 using namespace FotoSHOCKcore;
33 virtual void initialize();
34 virtual void runOperation(
const Inputs& sources,
const Outputs& dest, std::vector<UpdateInfo>& ROI,
const long stamp);
35 virtual QDialog* getUI(QWidget* parent = 0);
38 std::size_t curvesSize;
39 std::size_t curvesResolution;
43 template <ValueType::Enum PixelType>
44 void applyCurvesInteger(
MipMap* src,
MipMap* dest, vector<UpdateInfo>& ROI,
const long stamp);
45 template <ValueType::Enum PixelType>
46 void applyCurvesFloat(
MipMap* src,
MipMap* dest, vector<UpdateInfo>& ROI,
const long stamp);
51 virtual const char*
name() {
return "Curves";}
52 virtual const char*
description() {
return "Adjust color curves.";}
56 #endif // CURVEOPERATION_H