• 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>ToolBox extension - 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="index.html" />
26    <link rel="next" title="Numeric extension" href="numeric.html" />
27    <link rel="prev" title="IO extensions" href="io.html" />
28  </head>
29  <body>
30    <div class="header">
31    <table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
32    "header">
33      <tr>
34        <td valign="top" width="300">
35          <h3><a href="index.html"><img
36          alt="C++ Boost" src="_static/gil.png" border="0"></a></h3>
37        </td>
38
39        <td >
40          <h1 align="center"><a href="index.html"></a></h1>
41        </td>
42	<td>
43      <div id="searchbox" style="display: none">
44        <form class="search" action="search.html" method="get">
45          <input type="text" name="q" size="18" />
46          <input type="submit" value="Search" />
47          <input type="hidden" name="check_keywords" value="yes" />
48          <input type="hidden" name="area" value="default" />
49        </form>
50      </div>
51      <script type="text/javascript">$('#searchbox').show(0);</script>
52	</td>
53      </tr>
54    </table>
55    </div>
56    <hr/>
57    <div class="content">
58    <div class="navbar" style="text-align:right;">
59
60
61      <a class="prev" title="IO extensions" href="io.html"><img src="_static/prev.png" alt="prev"/></a>
62      <a class="next" title="Numeric extension" href="numeric.html"><img src="_static/next.png" alt="next"/></a>
63
64    </div>
65
66  <div class="section" id="toolbox-extension">
67<h1>ToolBox extension</h1>
68<div class="section" id="overview">
69<h2>Overview</h2>
70<p>ToolBox provides collection of Boost.GIL extensions which are too
71small to be maintained as standalone extensions.</p>
72<p>Content:</p>
73<ul class="simple">
74<li>Color converters: Gray to  RGBA</li>
75<li>Color spaces: CMYKA, Gray with Alpha, HSL, HSV, Lab, XYZ</li>
76<li>Metafunctions:<ul>
77<li><code class="docutils literal"><span class="pre">channel_type</span></code></li>
78<li><code class="docutils literal"><span class="pre">channel_type_to_index</span></code></li>
79<li><code class="docutils literal"><span class="pre">get_num_bits</span></code></li>
80<li><code class="docutils literal"><span class="pre">get_pixel_type</span></code></li>
81<li><code class="docutils literal"><span class="pre">is_bit_aligned</span></code></li>
82<li><code class="docutils literal"><span class="pre">is_homogeneous</span></code></li>
83<li><code class="docutils literal"><span class="pre">is_similar</span></code></li>
84<li><code class="docutils literal"><span class="pre">pixel_bit_size</span></code></li>
85</ul>
86</li>
87<li>Image types:<ul>
88<li><code class="docutils literal"><span class="pre">indexed_image</span></code></li>
89</ul>
90</li>
91</ul>
92<p>This extension will hopefully be added on by the community.</p>
93<p>Since the extension is header-only, user just needs to include
94its main header <code class="docutils literal"><span class="pre">#include</span> <span class="pre">&lt;boost/gil/extension/toolbox.hpp&gt;</span></code>.</p>
95<p>All definitions of the toolbox belong to the <code class="docutils literal"><span class="pre">boost::gil</span></code> namespace.</p>
96</div>
97<div class="section" id="folder-structure">
98<h2>Folder Structure</h2>
99<p>The toolbox structured in the following sub-directories:</p>
100<ul class="simple">
101<li>color_converters</li>
102<li>color_spaces</li>
103<li>metafunctions</li>
104<li>image_types</li>
105</ul>
106</div>
107<div class="section" id="acknowledgements">
108<h2>Acknowledgements</h2>
109<p>Thanks to all the people who have reviewed this library and
110made suggestions for improvements.</p>
111</div>
112<div class="section" id="id1">
113<h2>Reference</h2>
114<p>The <a class="reference external" href="reference.html">Reference</a> section.</p>
115</div>
116</div>
117
118
119    <div class="navbar" style="text-align:right;">
120
121
122      <a class="prev" title="IO extensions" href="io.html"><img src="_static/prev.png" alt="prev"/></a>
123      <a class="next" title="Numeric extension" href="numeric.html"><img src="_static/next.png" alt="next"/></a>
124
125    </div>
126    </div>
127    <div class="footer" role="contentinfo">
128      Last updated on 2020-08-11 15:08:48.
129      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.6.
130    </div>
131  </body>
132</html>