Functions | Variables
aruco_test_board_gl_mask.cpp File Reference
#include <iostream>
#include <fstream>
#include <sstream>
#include <GL/gl.h>
#include <GL/glut.h>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/calib3d/calib3d.hpp>
#include "aruco.h"
#include "markermap.h"
Include dependency graph for aruco_test_board_gl_mask.cpp:

Go to the source code of this file.

Functions

void __glGetModelViewMatrix (double modelview_matrix[16], const cv::Mat &Rvec, const cv::Mat &Tvec) throw (cv::Exception)
 
void axis (float size)
 
cv::Mat createMultiChannelMask (const cv::Mat &img, const cv::Mat &mask)
 
cv::Mat createSyntheticMask (const cv::Mat &img)
 
int main (int argc, char **argv)
 
void vDrawScene ()
 
void vIdle ()
 
void vMouse (int b, int s, int x, int y)
 
void vResize (GLsizei iWidth, GLsizei iHeight)
 

Variables

MarkerDetector MDetector
 
MarkerMapPoseTracker MMPoseTracker
 
bool The3DInfoAvailable =false
 
CameraParameters TheCameraParams
 
bool TheCaptureFlag =true
 
Size TheGlWindowSize
 
Mat TheInputImage
 
MarkerDetector TheMarkerDetector
 
vector< MarkerTheMarkers
 
float TheMarkerSize =-1
 
Mat TheMask
 
MarkerMap TheMMConfig
 
Mat TheResizedImage
 
Mat TheUndInputImage
 
VideoCapture TheVideoCapturer
 

Function Documentation

void __glGetModelViewMatrix ( double  modelview_matrix[16],
const cv::Mat &  Rvec,
const cv::Mat &  Tvec 
)
throw (cv::Exception
)

Definition at line 356 of file aruco_test_board_gl_mask.cpp.

void axis ( float  size)

Definition at line 206 of file aruco_test_board_gl_mask.cpp.

cv::Mat createMultiChannelMask ( const cv::Mat &  img,
const cv::Mat &  mask 
)

Definition at line 168 of file aruco_test_board_gl_mask.cpp.

cv::Mat createSyntheticMask ( const cv::Mat &  img)

Definition at line 150 of file aruco_test_board_gl_mask.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 79 of file aruco_test_board_gl_mask.cpp.

void vDrawScene ( )

clear

draw image in the buffer

Set the appropriate projection matrix so that rendering is done in a enrvironment

Definition at line 235 of file aruco_test_board_gl_mask.cpp.

void vIdle ( )

Definition at line 311 of file aruco_test_board_gl_mask.cpp.

void vMouse ( int  b,
int  s,
int  x,
int  y 
)

Definition at line 192 of file aruco_test_board_gl_mask.cpp.

void vResize ( GLsizei  iWidth,
GLsizei  iHeight 
)

Definition at line 340 of file aruco_test_board_gl_mask.cpp.

Variable Documentation

MarkerDetector MDetector

Definition at line 55 of file aruco_test_board_gl_mask.cpp.

MarkerMapPoseTracker MMPoseTracker

Definition at line 59 of file aruco_test_board_gl_mask.cpp.

bool The3DInfoAvailable =false

Definition at line 53 of file aruco_test_board_gl_mask.cpp.

CameraParameters TheCameraParams

Definition at line 62 of file aruco_test_board_gl_mask.cpp.

bool TheCaptureFlag =true

Definition at line 64 of file aruco_test_board_gl_mask.cpp.

Size TheGlWindowSize

Definition at line 63 of file aruco_test_board_gl_mask.cpp.

Mat TheInputImage

Definition at line 61 of file aruco_test_board_gl_mask.cpp.

MarkerDetector TheMarkerDetector

Definition at line 58 of file aruco_test_board_gl_mask.cpp.

vector<Marker> TheMarkers

Definition at line 57 of file aruco_test_board_gl_mask.cpp.

float TheMarkerSize =-1

Definition at line 54 of file aruco_test_board_gl_mask.cpp.

Mat TheMask

Definition at line 61 of file aruco_test_board_gl_mask.cpp.

MarkerMap TheMMConfig

Definition at line 60 of file aruco_test_board_gl_mask.cpp.

Mat TheResizedImage

Definition at line 61 of file aruco_test_board_gl_mask.cpp.

Mat TheUndInputImage

Definition at line 61 of file aruco_test_board_gl_mask.cpp.

VideoCapture TheVideoCapturer

Definition at line 56 of file aruco_test_board_gl_mask.cpp.



tuw_aruco
Author(s): Lukas Pfeifhofer
autogenerated on Mon Jun 10 2019 15:41:03