A tool to construct HDR-images from a series of exposures.

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef HAADER_ILUCF4Z0
  2. #define HAADER_ILUCF4Z0
  3. #include <vector>
  4. #include "image.h"
  5. namespace haader {
  6. class ResponseFunction {
  7. private:
  8. std::vector<double> m_lookup_table;
  9. };
  10. class HdrImageStack {
  11. friend class ResponseFunction;
  12. public:
  13. HdrImageStack();
  14. bool read_from_files(char * const* file_paths, int number_of_paths);
  15. bool get_average_image(Image &output);
  16. bool get_average_image_slow(Image &output);
  17. bool samples_to_csv(const char *file_path);
  18. bool recover_response_function(ResponseFunction &respFunc);
  19. private:
  20. std::vector<Image> m_images;
  21. };
  22. }
  23. #endif // HAADER_ILUCF4Z0