#include #include #include #include #include "ImageProcessor.hpp" using namespace cv; void ImageProcessor::ProcessImage(uint32_t width, uint32_t height, uint8_t *imgPointer) { Mat frame(height, width, CV_16U, imgPointer, Mat::AUTO_STEP); //normalize(frame, scaled, 0, 255, NORM_MINMAX); //scaled.convertTo(scaled, CV_8UC1); //applyColorMap(scaled, color, COLORMAP_JET); //namedWindow("FLIR", WINDOW_AUTOSIZE); //imshow("FLIR", color); int key = waitKey(1); //if key == 27, then break //release() //destroyAllWindows() }