SyB3R - Synthetic Benchmark for 3D Reconstruction
ImagePostprocessorStep.h
1 /*
2  * Syb3r - A framework for the creation and use of synthetic benchmark datasets for SfM/MVS with Blender and Cycles.
3  * Copyright (C) 2016 Andreas Ley <mail@andreas-ley.com>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  *
18  */
19 
20 
21 #ifndef IMAGEPOSTPROCESSORSTEP_H
22 #define IMAGEPOSTPROCESSORSTEP_H
23 
24 #include <syb3r/tools/FloatImage.h>
25 #include <map>
26 #include <string>
27 
28 namespace syb3r {
29 namespace synthesis {
30 
31 class ImageProperties;
32 
34 {
35  public:
36  virtual ~ImagePostprocessorStep() = default;
37 
38  virtual void link(ImagePostprocessorStep *previous, ImagePostprocessorStep *next);
39  virtual void process(tools::FloatImage<Eigen::Vector3f> &output, const tools::FloatImage<Eigen::Vector3f> &input, ImageProperties &properties) const = 0;
40 };
41 
42 
43 }
44 }
45 
46 #endif // IMAGEPOSTPROCESSORSTEP_H
virtual void process(tools::FloatImage< Eigen::Vector3f > &output, const tools::FloatImage< Eigen::Vector3f > &input, ImageProperties &properties) const =0
Definition: CameraPathEvaluation.cpp:10
Definition: ImagePostprocessorStep.h:33
Stores basic information in key/value pairs.
Definition: ImagePostprocessor.h:25
Stores an image with arbitrary, usually float based, pixel values.
Definition: FloatImage.h:35