1 #ifndef IMAGEPOSTPROCESSOR_H 2 #define IMAGEPOSTPROCESSOR_H 20 class ImagePostprocessorStep;
28 inline void set(std::string key,
const Eigen::Vector3f &value) {
29 m_vec3fAttribs[std::move(key)] = value;
31 inline void set(std::string key,
float value) {
32 m_floatAttribs[std::move(key)] = value;
34 inline void set(std::string key,
int value) {
35 m_intAttribs[std::move(key)] = value;
37 inline void set(std::string key,
bool value) {
38 m_boolAttribs[std::move(key)] = value;
41 const Eigen::Vector3f &getVec3f(
const std::string &key)
const {
42 return m_vec3fAttribs.at(key);
44 float getFloat(
const std::string &key)
const {
45 return m_floatAttribs.at(key);
47 int getInt(
const std::string &key)
const {
48 return m_intAttribs.at(key);
50 bool getBool(
const std::string &key)
const {
51 return m_boolAttribs.at(key);
54 std::map<std::string, Eigen::Vector3f> m_vec3fAttribs;
55 std::map<std::string, float> m_floatAttribs;
56 std::map<std::string, int> m_intAttribs;
57 std::map<std::string, bool> m_boolAttribs;
79 void process(
const data::Image &inputImage,
const std::string &output)
const;
82 void process(
const data::Dataset &dataset,
const std::string &outputPath, std::vector<std::string> &outputFilenames)
const;
84 void setupDefaultEOS400();
85 void setupOldEOS400();
87 std::vector<std::unique_ptr<ImagePostprocessorStep>> m_ppSteps;
93 #endif // IMAGEPOSTPROCESSOR_H Definition: CameraPathEvaluation.cpp:10
Reads the hdr images from cycles, bakes all post processing effects into them and stores them as jpg ...
Definition: ImagePostprocessor.h:64
Definition: ImagePostprocessorStep.h:33
Stores basic information in key/value pairs.
Definition: ImagePostprocessor.h:25
ImageProperties initialProperties
The initial set of properties that the processing of each image starts with.
Definition: ImagePostprocessor.h:72