Zivid  1.0.1+3607.8a7510c4
Zivid API
HDR.h
Go to the documentation of this file.
1 /*[
2  * This file is part of the Zivid 3D Camera API
3  *
4  * Copyright 2015-2018 (C) Zivid Labs. All rights reserved.
5  * Contact info@zividlabs.com or see http://www.zividlabs.com
6  *
7  * This code is proprietary and confidential.
8  * Unauthorized copying of this file, via any medium is strictly prohibited.
9 ]*/
10 
11 #pragma once
12 
13 #include "Frame.h"
14 #include "APIExport.h"
15 
16 #include <vector>
17 #include <functional>
18 
25 namespace Zivid
26 {
30  namespace HDR
31  {
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33  namespace Detail
34  {
35  using FrameRefs = std::vector<std::reference_wrapper<const Frame>>;
36  ZIVID_API Frame combineFrames(const FrameRefs& frames);
37  }
38 #endif
39 
44  template<typename InputIt>
45  Frame combineFrames(InputIt first, InputIt last)
46  {
47  return Detail::combineFrames(Detail::FrameRefs{ first, last });
48  }
49  } // namespace HDR
50 } // namespace Zivid
Definition: Application.h:19
Definitions for export of DLL interfaces
A frame captured by a Zivid camera
Definition: Frame.h:36
A frame captured by a Zivid camera
Frame combineFrames(InputIt first, InputIt last)
Combine frames acquired with different camera settings.
Definition: HDR.h:45