• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2
3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5<html xmlns="http://www.w3.org/1999/xhtml">
6  <head>
7    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
9    <title>Boost Generic Image Library - Boost.GIL  documentation</title>
10    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
11    <link rel="stylesheet" href="_static/style.css" type="text/css" />
12    <script type="text/javascript">
13      var DOCUMENTATION_OPTIONS = {
14          URL_ROOT:    './',
15          VERSION:     '',
16          COLLAPSE_MODINDEX: false,
17          FILE_SUFFIX: '.html'
18      };
19    </script>
20    <script type="text/javascript" src="_static/jquery.js"></script>
21    <script type="text/javascript" src="_static/underscore.js"></script>
22    <script type="text/javascript" src="_static/doctools.js"></script>
23    <link rel="index" title="Index" href="genindex.html" />
24    <link rel="search" title="Search" href="search.html" />
25    <link rel="top" title="Boost.GIL  documentation" href="#" />
26    <link rel="next" title="Installation" href="installation.html" />
27  </head>
28  <body>
29    <div class="header">
30    <table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
31    "header">
32      <tr>
33        <td valign="top" width="300">
34          <h3><a href="#"><img
35          alt="C++ Boost" src="_static/gil.png" border="0"></a></h3>
36        </td>
37
38        <td >
39          <h1 align="center"><a href="#"></a></h1>
40        </td>
41	<td>
42      <div id="searchbox" style="display: none">
43        <form class="search" action="search.html" method="get">
44          <input type="text" name="q" size="18" />
45          <input type="submit" value="Search" />
46          <input type="hidden" name="check_keywords" value="yes" />
47          <input type="hidden" name="area" value="default" />
48        </form>
49      </div>
50      <script type="text/javascript">$('#searchbox').show(0);</script>
51	</td>
52      </tr>
53    </table>
54    </div>
55    <hr/>
56    <div class="content">
57    <div class="navbar" style="text-align:right;">
58
59
60      <a class="next" title="Installation" href="installation.html"><img src="_static/next.png" alt="next"/></a>
61
62    </div>
63
64  <div class="section" id="boost-generic-image-library">
65<h1>Boost Generic Image Library</h1>
66<p>The Generic Image Library (GIL) is a C++11 library that abstracts image
67representations from algorithms and allows writing code that can work on
68a variety of images with performance similar to hand-writing for a specific
69image type.</p>
70<div class="section" id="quickstart">
71<h2>Quickstart</h2>
72<div class="toctree-wrapper compound">
73<ul>
74<li class="toctree-l1"><a class="reference internal" href="installation.html">Installation</a></li>
75<li class="toctree-l1"><a class="reference internal" href="tutorial/video.html">Tutorial: Video Lecture</a></li>
76<li class="toctree-l1"><a class="reference internal" href="tutorial/histogram.html">Tutorial: Histogram</a></li>
77<li class="toctree-l1"><a class="reference internal" href="tutorial/gradient.html">Tutorial: Image Gradient</a></li>
78<li class="toctree-l1"><a class="reference internal" href="naming.html">Naming Conventions</a></li>
79</ul>
80</div>
81</div>
82<div class="section" id="core-library-documentation">
83<h2>Core Library Documentation</h2>
84<div class="toctree-wrapper compound">
85<ul>
86<li class="toctree-l1"><a class="reference internal" href="design/index.html">Design Guide</a><ul>
87<li class="toctree-l2"><a class="reference internal" href="design/basics.html">Basics</a></li>
88<li class="toctree-l2"><a class="reference internal" href="design/concepts.html">Concepts</a></li>
89<li class="toctree-l2"><a class="reference internal" href="design/point.html">Point</a></li>
90<li class="toctree-l2"><a class="reference internal" href="design/channel.html">Channel</a></li>
91<li class="toctree-l2"><a class="reference internal" href="design/color_space.html">Color Space and Layout</a></li>
92<li class="toctree-l2"><a class="reference internal" href="design/color_base.html">Color Base</a></li>
93<li class="toctree-l2"><a class="reference internal" href="design/pixel.html">Pixel</a></li>
94<li class="toctree-l2"><a class="reference internal" href="design/pixel_iterator.html">Pixel Iterator</a></li>
95<li class="toctree-l2"><a class="reference internal" href="design/pixel_locator.html">Pixel Locator</a></li>
96<li class="toctree-l2"><a class="reference internal" href="design/image_view.html">Image View</a></li>
97<li class="toctree-l2"><a class="reference internal" href="design/image.html">Image</a></li>
98<li class="toctree-l2"><a class="reference internal" href="design/dynamic_image.html">Dynamic images and image views</a></li>
99<li class="toctree-l2"><a class="reference internal" href="design/metafunctions.html">Metafunctions</a></li>
100<li class="toctree-l2"><a class="reference internal" href="design/examples.html">Examples</a></li>
101<li class="toctree-l2"><a class="reference internal" href="design/technicalities.html">Technicalities</a></li>
102<li class="toctree-l2"><a class="reference internal" href="design/extending.html">Extending</a></li>
103<li class="toctree-l2"><a class="reference internal" href="design/conclusions.html">Conclusions</a></li>
104</ul>
105</li>
106<li class="toctree-l1"><a class="reference internal" href="image_processing/index.html">Image Processing</a><ul>
107<li class="toctree-l2"><a class="reference internal" href="image_processing/overview.html">Overview</a></li>
108<li class="toctree-l2"><a class="reference internal" href="image_processing/basics.html">Basics</a></li>
109<li class="toctree-l2"><a class="reference internal" href="image_processing/affine-region-detectors.html">Affine region detectors</a></li>
110</ul>
111</li>
112<li class="toctree-l1"><a class="reference external" href="./reference/index.html#://">API Reference</a></li>
113</ul>
114</div>
115</div>
116<div class="section" id="extensions-documentation">
117<h2>Extensions Documentation</h2>
118<div class="toctree-wrapper compound">
119<ul>
120<li class="toctree-l1"><a class="reference internal" href="io.html">IO extensions</a><ul>
121<li class="toctree-l2"><a class="reference internal" href="io.html#overview">Overview</a></li>
122<li class="toctree-l2"><a class="reference internal" href="io.html#supported-platforms">Supported Platforms</a></li>
123<li class="toctree-l2"><a class="reference internal" href="io.html#tutorial">Tutorial</a></li>
124<li class="toctree-l2"><a class="reference internal" href="io.html#using-io">Using IO</a></li>
125<li class="toctree-l2"><a class="reference internal" href="io.html#running-gil-io-tests">Running gil::io tests</a></li>
126</ul>
127</li>
128<li class="toctree-l1"><a class="reference internal" href="toolbox.html">ToolBox extension</a><ul>
129<li class="toctree-l2"><a class="reference internal" href="toolbox.html#overview">Overview</a></li>
130<li class="toctree-l2"><a class="reference internal" href="toolbox.html#folder-structure">Folder Structure</a></li>
131<li class="toctree-l2"><a class="reference internal" href="toolbox.html#acknowledgements">Acknowledgements</a></li>
132<li class="toctree-l2"><a class="reference internal" href="toolbox.html#id1">Reference</a></li>
133</ul>
134</li>
135<li class="toctree-l1"><a class="reference internal" href="numeric.html">Numeric extension</a><ul>
136<li class="toctree-l2"><a class="reference internal" href="numeric.html#overview">Overview</a></li>
137</ul>
138</li>
139</ul>
140</div>
141</div>
142<div class="section" id="examples">
143<h2>Examples</h2>
144<ul class="simple">
145<li><a class="reference download internal" href="_downloads/x_gradient.cpp" download=""><code class="xref download docutils literal"><span class="pre">x_gradient.cpp</span></code></a>:
146Writing an algorithm that operates on generic images</li>
147<li><a class="reference download internal" href="_downloads/dynamic_image.cpp" download=""><code class="xref download docutils literal"><span class="pre">dynamic_image.cpp</span></code></a>:
148Using images whose properties (color space, channel type) are specified
149at run time</li>
150<li><a class="reference download internal" href="_downloads/histogram.cpp" download=""><code class="xref download docutils literal"><span class="pre">histogram.cpp</span></code></a>: Creating a histogram</li>
151<li><a class="reference download internal" href="_downloads/interleaved_ptr.cpp" download=""><code class="xref download docutils literal"><span class="pre">interleaved_ptr.cpp</span></code></a>,
152<a class="reference download internal" href="_downloads/interleaved_ptr.hpp" download=""><code class="xref download docutils literal"><span class="pre">interleaved_ptr.hpp</span></code></a>,
153<a class="reference download internal" href="_downloads/interleaved_ref.hpp" download=""><code class="xref download docutils literal"><span class="pre">interleaved_ref.hpp</span></code></a>:
154Creating your own pixel reference and pixel iterator</li>
155<li><a class="reference download internal" href="_downloads/mandelbrot.cpp" download=""><code class="xref download docutils literal"><span class="pre">mandelbrot.cpp</span></code></a>:
156Creating a synthetic image defined by a function</li>
157<li><a class="reference download internal" href="_downloads/packed_pixel.cpp" download=""><code class="xref download docutils literal"><span class="pre">packed_pixel.cpp</span></code></a>:
158Defining bitmasks and images whose channels or pixels are not byte-aligned</li>
159<li><a class="reference download internal" href="_downloads/resize.cpp" download=""><code class="xref download docutils literal"><span class="pre">resize.cpp</span></code></a>:
160Rescaling an image using bilinear sampling (requires the optional
161Numeric extension)</li>
162<li><a class="reference download internal" href="_downloads/affine.cpp" download=""><code class="xref download docutils literal"><span class="pre">affine.cpp</span></code></a>:
163Applying an affine transformation to an image (requires the optional
164Numeric extension)</li>
165<li><a class="reference download internal" href="_downloads/convolution.cpp" download=""><code class="xref download docutils literal"><span class="pre">convolution.cpp</span></code></a>:
166Blurring images (requires the optional Numeric extension)</li>
167</ul>
168</div>
169</div>
170
171
172    <div class="navbar" style="text-align:right;">
173
174
175      <a class="next" title="Installation" href="installation.html"><img src="_static/next.png" alt="next"/></a>
176
177    </div>
178    </div>
179    <div class="footer" role="contentinfo">
180      Last updated on 2020-08-11 15:08:48.
181      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.6.
182    </div>
183  </body>
184</html>