| 1 | /////////////////////////////////////////////////////// |
| 2 | // General Doxygen documentation |
| 3 | /////////////////////////////////////////////////////// |
| 4 | |
| 5 | /////////////////////////////////////////////////////// |
| 6 | // The main title page |
| 7 | /** |
| 8 | @mainpage |
| 9 | |
| 10 | \section Information |
| 11 | This C++ library is designed to be easy to use and portable for fast video saving, loading and display. |
| 12 | It supports OpenGL and X Windows. |
| 13 | This library is free software, see LICENSE file for details |
| 14 | |
| 15 | \section Features |
| 16 | \subsection Language |
| 17 | |
| 18 | - Modern C++14 design |
| 19 | - Optimized assembly code |
| 20 | - Extensive use of exceptions |
| 21 | - Easy access to many sources of video |
| 22 | - Easy loading and saving of many kinds of image |
| 23 | - Plenty of low-level comptuer vision functions |
| 24 | - OpenGL wrappers |
| 25 | |
| 26 | \subsection Imaging |
| 27 | |
| 28 | - Type-safe easy to use images |
| 29 | - Flexible loading and saving from a variety of types: |
| 30 | - Native |
| 31 | - PNM |
| 32 | - BMP |
| 33 | - ASCII text |
| 34 | - FITS |
| 35 | - PS (saving only) |
| 36 | - EPS (saving only) |
| 37 | - CVD (a custom type which supports fast, lossless compression of greyscale, RGB and Bayer images) |
| 38 | - External libraries required |
| 39 | - JPEG |
| 40 | - TIFF |
| 41 | - PNG |
| 42 | - 1/8/16/32 bit signed and unsigned integer and 32/64 bit floating point images in greyscale, RGB and RGBA. |
| 43 | - Optimum bit depth and colour depth selected automatically |
| 44 | - Image grabbing from video sources: |
| 45 | - Linux |
| 46 | - Video for Linux 2 devices |
| 47 | - Firewire IIDC cameras |
| 48 | - Firewire over USB cameras produced by PointGrey - see http://www.ptgrey.com/products/fireflymv/index.asp \n |
| 49 | Use DVBuffer3 for that and make sure to set an image resolution |
| 50 | - Whichever devices FFMPEG supports |
| 51 | - OSX |
| 52 | - AVFoundation devices via FFMPEG |
| 53 | - All UNIX platforms |
| 54 | - Live capture from HTTP server push JPEG cameras. |
| 55 | - All platforms |
| 56 | - AVI and MPEG files and other devices (i.e. whatever FFMPEG supports) |
| 57 | - lists of images |
| 58 | - Server push multipart JPEG streams. |
| 59 | - libUVC for USB video camera streams |
| 60 | - Convenient run-time selection using a URL-like syntax |
| 61 | - Colorspace conversions on images and video streams |
| 62 | - Various image processing tools |
| 63 | - FAST corner detection |
| 64 | - Harris/Shi-Tomasi corner detection |
| 65 | - Connect components analysis |
| 66 | - Image interpolation and resampling |
| 67 | - Convolutions |
| 68 | - Drawing in to images |
| 69 | - Flipping, pasting, etc |
| 70 | - Interpolation, warping and resampling |
| 71 | - Integral images |
| 72 | - Distance transform |
| 73 | - %Camera calibration support: Linear, Cubic, Quintic and Harris |
| 74 | - Program to calibrate cameras from video |
| 75 | |
| 76 | \section Portability |
| 77 | |
| 78 | libCVD currently works well on Linux, OSX, Cygwin, MinGW (and therefore most |
| 79 | likely any unix-like system), and is written in standards compliant C++14 with |
| 80 | cross compilation in mind. It's tested with both GCC and LLVM. |
| 81 | |
| 82 | It's likely that it will compile under VisualStudio, but there's no current |
| 83 | project file maintainer. |
| 84 | |
| 85 | libCVD now has a minimalist configuration system. You can simply chuck any of |
| 86 | the sources into your project. Some configuration may be needed for CVD's |
| 87 | interface to external libraries. |
| 88 | |
| 89 | -Well tested (current): |
| 90 | - Linux: x86, x86-64 |
| 91 | - Mac OS X: x86 |
| 92 | - Supports the OSX build environment including: |
| 93 | - Frameworks |
| 94 | - .dylib libraries |
| 95 | - Cygwin: x86 |
| 96 | - MinGW: x86 (native and cross compile) |
| 97 | - MinGW: x86_64 (cross compile) |
| 98 | |
| 99 | -Has worked on (current status unknown): |
| 100 | - Linux: PPC |
| 101 | - Mac OS X: PPC |
| 102 | - Solaris: SPARC |
| 103 | - Linux: ARM LPC3180, XScale (cross compile) |
| 104 | - uCLinux: Blackfin (cross compile) |
| 105 | - FreeBSD: x86 |
| 106 | - OpenBSD: XScale |
| 107 | - Win32: Visual Studio 2008 |
| 108 | - Win32: Visual Studio 2010 (via import of the VS 2008 project file) |
| 109 | - iOS |
| 110 | - XCode project provided |
| 111 | |
| 112 | -No longer supported |
| 113 | - IRIX SGI O2: MIPS (configuration hacks removed) |
| 114 | - Win32: Visual Studio 2005 (broken project file now removed) |
| 115 | |
| 116 | \section Compiling |
| 117 | |
| 118 | The normal system works: |
| 119 | @code |
| 120 | ./configure |
| 121 | make |
| 122 | make install |
| 123 | @endcode |
| 124 | |
| 125 | libCVD fully supports parallel builds (<code>make -j48</code> for instance). |
| 126 | |
| 127 | \subsection OSX OSX Compilation notes |
| 128 | |
| 129 | To build libCVD in 32 bit mode, use the \c configure_osx_32bit script instead of directly calling the configure script. |
| 130 | |
| 131 | */ |
| 132 | |
| 133 | /////////////////////////////////////////////////////// |
| 134 | // Modules classifying classes and functions |
| 135 | |
| 136 | /// @defgroup gImage Image storage and manipulation |
| 137 | /// Basic image functionality. The %CVD image classes provide fast and |
| 138 | /// flexible access to images. |
| 139 | |
| 140 | /// @defgroup gImageIO Image loading and saving, and format conversion |
| 141 | /// Functions to support saving and loading of BasicImage and Image |
| 142 | /// to and from streams. Supports a few common file formats (autodetecting on loading). |
| 143 | /// Also functions for perfoming type conversion as necessary. |
| 144 | |
| 145 | /// @defgroup gVideo Video devices and video files |
| 146 | /// Classes and functions to manage video streams and present them as images. |
| 147 | |
| 148 | /// @defgroup gVideoBuffer Video buffers |
| 149 | /// @ingroup gVideo |
| 150 | /// All classes and functions relating to video buffers (as opposed to video frames) |
| 151 | |
| 152 | /// @defgroup gVideoFrame Video frames |
| 153 | /// @ingroup gVideo |
| 154 | /// All classes and functions relating to video frames (as opposed to video buffers) |
| 155 | |
| 156 | /// @defgroup gException Exceptions |
| 157 | /// Exceptions generated and thrown by %CVD classes and functions |
| 158 | |
| 159 | /// @defgroup gGraphics Computer graphics |
| 160 | /// Classes and functions to support miscellaneous pixel operations |
| 161 | |
| 162 | /// @defgroup gVision Computer Vision |
| 163 | /// Functions and classes to support common computer vision concepts and operations |
| 164 | |
| 165 | /// @defgroup gGL GL helper functions and classes. |
| 166 | /// Overloaded versions of GL functions to use %CVD classes and datatypes, and |
| 167 | /// other helpful GL classes and functions. |
| 168 | |
| 169 | /// @defgroup gMaths Mathematical operations |
| 170 | /// Useful mathematical classes and functions |
| 171 | |
| 172 | /// @defgroup gLinAlg Linear Algebra |
| 173 | /// Classes and functions for common Linear Algebra concepts and operations |
| 174 | |
| 175 | /// @defgroup gCPP General C++ and system helper functions |
| 176 | /// Classes and functions for writing better code |
| 177 | |
| 178 | /// @namespace CVD |
| 179 | /// All classes and functions are within the CVD namespace |