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.

32 lines
753 B
C

3 years ago
#pragma once
3 years ago
#include <vector>
3 years ago
#include <string>
3 years ago
#include <opencv2/opencv.hpp> // all opencv header
#include "hdrplus/bayer_image.h"
3 years ago
namespace hdrplus
{
3 years ago
class burst
{
3 years ago
public:
explicit burst( const std::string& burst_path, const std::string& reference_image_path );
~burst() = default;
std::string reference_image_path;
std::string burst_path;
int reference_image_idx;
std::vector<std::string> bayer_image_paths;
// Source bayer images & grayscale unpadded image
3 years ago
std::vector<hdrplus::bayer_image> bayer_images;
// Image padded to tile size
// Use for alignment, merging, and finishing
3 years ago
std::vector<cv::Mat> grayscale_images_pad;
3 years ago
};
3 years ago
} // namespace hdrplus