Skip to content
Snippets Groups Projects
Select Git revision
  • e0079671ee191a703749dd70a2ce3abc8a520cc0
  • master default protected
  • opencv4
  • custom_realsense
  • deproject
  • camera
6 results

beamerProjection.h

Blame
  • beamerProjection.h 723 B
    #ifndef BEAMERPROJECTION_H
    #define BEAMERPROJECTION_H
    
    #include <opencv2/opencv.hpp>
    #include "beamer.h"
    #include "camera.h"
    
    class BeamerProjection{
        private:
            const char *wndname = (char *)"Sandbox";
            cv::Mat adjustingMatrix;
    
            cv::Point2i adjustPixel(int i, int j, float z, Camera camera, cv::Point3f beamer);
    
        public:
            BeamerProjection();
    
            void setAdjustingMatrix(cv::Mat matrix){ matrix.clone(); }
            cv::Mat getAdjustingMatrix(){ return adjustingMatrix.clone(); }
    
            cv::Point2i rotatePixel(cv::Point2i pixel);
            void adjustFrame(cv::Mat &depth, cv::Mat &src, cv::Mat &dst, Camera camera, cv::Point3f beamer);
            void printAdjustingMatrix();
    
    };
    #endif