libCVD is a very portable and high performance C++ library for computer vision, image, and video processing.
# libCVD
echo -e "\n Installing libCVD... \n"
cd ${Path3rdParty}
# sudo git clone git://github.com/edrosten/libcvd.git
wget https://www.edwardrosten.com/cvd/libcvd-20150407.tar.xz
tar xvJf libcvd-20150407.tar.xz
cd libcvd-20150407
./configure && make && sudo make install
# libCVD
link_libraries( cvd )
Reference: Ubuntu下使用OpenGL图形库
$ sudo apt-get install build-essential
$ sudo apt-get install libgl1-mesa-dev
# OpenGL
find_package(OpenGL REQUIRED)
if(OPENGL_FOUND)
link_libraries( ${OPENGL_LIBRARY} )
endif()
OpenGL Utilities 是一组建构于OpenGL Library 之上的工具组,提供许多很方便的函式,使OpenGL 更强大且更容易使用。
glu是实用库,包含有43个函数,函数名的前缀为glu。Glu 为了减轻繁重的编程工作,封装了OpenGL函数,Glu函数通过调用核心库的函数,为开发者提供相对简单的用法,实现一些较为复杂的操作。
$ sudo apt-get install libglu1-mesa-dev
OpenGL Utility Toolkit 是建立在 OpenGL Utilities 上面的工具箱,除了强化了 OpenGL Utilities 的不足之外,也增加了 OpenGL 对于视窗界面支援。
$ sudo apt-get install freeglut3-dev
# GLUT
find_package(GLUT REQUIRED)
if(GLUT_FOUND)
link_libraries( ${GLUT_LIBRARY} )
endif()
glew是一个跨平台的C++库,是一个OpenGL图形接口扩展库。
sudo apt-get install libglew1.8 libglew-dev
# GLEW
find_package(GLEW REQUIRED)
if (GLEW_FOUND)
include_directories(${GLEW_INCLUDE_DIRS})
link_libraries(${GLEW_LIBRARIES})
endif()
glx是linux下OpenGL的X Window System接口扩展库,它允许通过x调用OpenGL库。
sudo apt-get install libgl1-mesa-glx
Xmu即X11 miscellaneous utility library(X11实用工具库)。
sudo apt-get install libxmu-dev
Pangolin is a lightweight portable rapid development library for managing OpenGL display/interaction and abstracting video input. Pangolin also provides a mechanism for manipulating program variables through config files and ui integration, and has a flexible real-time plotter for visualising graphical data.
# Pangolin
find_package( Pangolin )
if(Pangolin_FOUND)
include_directories( ${Pangolin_INCLUDE_DIRS} )
link_directories( ${Pangolin_LIBRARIES} )
endif()
# OpenCV
find_package( OpenCV 3.1 REQUIRED )
if(OpenCV_FOUND)
include_directories( ${OpenCV_INCLUDE_DIRS} )
link_libraries( ${OpenCV_LIBS} )
endif()
# pcl
set( PCL_DIR "/usr/local/share/pcl-1.7/" )
find_package( PCL REQUIRED COMPONENTS common io )
if(PCL_FOUND)
include_directories( ${PCL_INCLUDE_DIRS} )
add_definitions( ${PCL_DEFINITIONS} )
link_libraries( ${PCL_LIBRARIES} )
endif()