You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
451 B
C

3 years ago
#pragma once
#include <string>
3 years ago
#include <opencv2/opencv.hpp> // all opencv header
#include <libraw/libraw.h>
3 years ago
namespace hdrplus
{
3 years ago
class bayer_image
{
public:
explicit bayer_image( const std::string& bayer_image_path );
~bayer_image();
LibRaw libraw_processor;
3 years ago
cv::Mat raw_image;
cv::Mat grayscale_image;
size_t width;
size_t height;
3 years ago
size_t white_level;
3 years ago
};
3 years ago
} // namespace hdrplus