Computer Vision Libraries

裴卓君
2023-12-01

libCVD

libCVD is a very portable and high performance C++ library for computer vision, image, and video processing.

  • Install scripts on Ubuntu
# 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
  • Usages with CMake
# libCVD
link_libraries( cvd )

OpenGL Suits

Windows

Ubuntu

Reference: Ubuntu下使用OpenGL图形库

安装编译器与基本的函式库

$ sudo apt-get install build-essential

OpenGL Library

  • Install scripts
$ sudo apt-get install libgl1-mesa-dev
  • Usages with CMake
# OpenGL
find_package(OpenGL REQUIRED)
if(OPENGL_FOUND)
    link_libraries( ${OPENGL_LIBRARY} )
endif()

OpenGL Utilities

OpenGL Utilities 是一组建构于OpenGL Library 之上的工具组,提供许多很方便的函式,使OpenGL 更强大且更容易使用。
glu是实用库,包含有43个函数,函数名的前缀为glu。Glu 为了减轻繁重的编程工作,封装了OpenGL函数,Glu函数通过调用核心库的函数,为开发者提供相对简单的用法,实现一些较为复杂的操作。

  • Install scripts
$ sudo apt-get install libglu1-mesa-dev

OpenGL Utility Toolkit

OpenGL Utility Toolkit 是建立在 OpenGL Utilities 上面的工具箱,除了强化了 OpenGL Utilities 的不足之外,也增加了 OpenGL 对于视窗界面支援。

  • Install scripts
$ sudo apt-get install freeglut3-dev
  • Usages with CMake
# GLUT
find_package(GLUT REQUIRED)
if(GLUT_FOUND)
    link_libraries( ${GLUT_LIBRARY} )
endif()

GLEW

glew是一个跨平台的C++库,是一个OpenGL图形接口扩展库。

  • Install scripts
sudo apt-get install libglew1.8 libglew-dev
  • Usages with CMake
# GLEW
find_package(GLEW REQUIRED)
if (GLEW_FOUND)
    include_directories(${GLEW_INCLUDE_DIRS})
    link_libraries(${GLEW_LIBRARIES})
endif()

glx

glx是linux下OpenGL的X Window System接口扩展库,它允许通过x调用OpenGL库。

sudo apt-get install libgl1-mesa-glx

补充有的也可能需要安装Xmu

Xmu即X11 miscellaneous utility library(X11实用工具库)。

sudo apt-get install libxmu-dev

Pangolin

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.

  • Usages with CMake
# Pangolin
find_package( Pangolin )
if(Pangolin_FOUND)
    include_directories( ${Pangolin_INCLUDE_DIRS} )
    link_directories( ${Pangolin_LIBRARIES} )
endif()

OpenCV

  • Usages with CMake
# OpenCV
find_package( OpenCV 3.1 REQUIRED )
if(OpenCV_FOUND)
    include_directories( ${OpenCV_INCLUDE_DIRS} )
    link_libraries( ${OpenCV_LIBS} )
endif()

PCL

  • Usages with CMake
# 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()
 类似资料:

相关阅读

相关文章

相关问答