14 #include "StringHelpers.hpp" 15 #include <opencv2\opencv.hpp> 16 #include <opencv2\imgproc\imgproc.hpp> 17 #include <opencv2\highgui\highgui.hpp> 18 #include <opencv2\features2d\features2d.hpp> 19 #include <opencv2\nonfree\features2d.hpp> 20 #include <opencv2\highgui\highgui.hpp> 21 #include <opencv2\nonfree\nonfree.hpp> 24 #include <opencv2\highgui\highgui_c.h> 39 std::string m_bufferWindowName =
"buffer view";
40 std::vector<std::tuple<HWND, std::string>> m_bufferWindowHandles;
54 BufferView(
int width,
int height,
const std::string &windowName,
Channels channels = Channels::RGB) : m_width(width), m_height(height), m_bufferWindowName(windowName), m_channels(channels)
56 m_bufferWindowName =
"buffer view: " + windowName;
virtual bool ShowBufferView(bool show)
Definition: BufferView.cpp:3
Channels
Definition: BufferView.h:30
virtual cv::Mat ReadBufferToMatrix()=0
virtual bool UpdateBufferView()
Definition: BufferView.cpp:40
virtual std::string GetBufferWindowChannelName(const std::string &channelName)
Definition: BufferView.cpp:184
virtual std::vector< std::tuple< cv::Mat, std::string > > SplitMatrixToChannels(const cv::Mat &rgbMat)
Definition: BufferView.cpp:88
BufferView(int width, int height, const std::string &windowName, Channels channels=Channels::RGB)
Definition: BufferView.h:54
Definition: BufferView.h:36