toolbox.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>ToolBox extension - Boost.GIL documentation</title>
  7. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  8. <link rel="stylesheet" href="_static/style.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: './',
  12. VERSION: '',
  13. COLLAPSE_MODINDEX: false,
  14. FILE_SUFFIX: '.html'
  15. };
  16. </script>
  17. <script type="text/javascript" src="_static/jquery.js"></script>
  18. <script type="text/javascript" src="_static/underscore.js"></script>
  19. <script type="text/javascript" src="_static/doctools.js"></script>
  20. <link rel="index" title="Index" href="genindex.html" />
  21. <link rel="search" title="Search" href="search.html" />
  22. <link rel="top" title="Boost.GIL documentation" href="index.html" />
  23. <link rel="next" title="Numeric extension" href="numeric.html" />
  24. <link rel="prev" title="IO extensions" href="io.html" />
  25. </head>
  26. <body>
  27. <div class="header">
  28. <table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
  29. "header">
  30. <tr>
  31. <td valign="top" width="300">
  32. <h3><a href="index.html"><img
  33. alt="C++ Boost" src="_static/gil.png" border="0"></a></h3>
  34. </td>
  35. <td >
  36. <h1 align="center"><a href="index.html"></a></h1>
  37. </td>
  38. <td>
  39. <div id="searchbox" style="display: none">
  40. <form class="search" action="search.html" method="get">
  41. <input type="text" name="q" size="18" />
  42. <input type="submit" value="Search" />
  43. <input type="hidden" name="check_keywords" value="yes" />
  44. <input type="hidden" name="area" value="default" />
  45. </form>
  46. </div>
  47. <script type="text/javascript">$('#searchbox').show(0);</script>
  48. </td>
  49. </tr>
  50. </table>
  51. </div>
  52. <hr/>
  53. <div class="content">
  54. <div class="navbar" style="text-align:right;">
  55. <a class="prev" title="IO extensions" href="io.html"><img src="_static/prev.png" alt="prev"/></a>
  56. <a class="next" title="Numeric extension" href="numeric.html"><img src="_static/next.png" alt="next"/></a>
  57. </div>
  58. <div class="section" id="toolbox-extension">
  59. <h1>ToolBox extension</h1>
  60. <div class="section" id="overview">
  61. <h2>Overview</h2>
  62. <p>ToolBox provides collection of Boost.GIL extensions which are too
  63. small to be maintained as standalone extensions.</p>
  64. <p>Content:</p>
  65. <ul class="simple">
  66. <li>Color converters: Gray to RGBA</li>
  67. <li>Color spaces: CMYKA, Gray with Alpha, HSL, HSV, Lab, XYZ</li>
  68. <li>Metafunctions:<ul>
  69. <li><code class="docutils literal"><span class="pre">channel_type</span></code></li>
  70. <li><code class="docutils literal"><span class="pre">channel_type_to_index</span></code></li>
  71. <li><code class="docutils literal"><span class="pre">get_num_bits</span></code></li>
  72. <li><code class="docutils literal"><span class="pre">get_pixel_type</span></code></li>
  73. <li><code class="docutils literal"><span class="pre">is_bit_aligned</span></code></li>
  74. <li><code class="docutils literal"><span class="pre">is_homogeneous</span></code></li>
  75. <li><code class="docutils literal"><span class="pre">is_similar</span></code></li>
  76. <li><code class="docutils literal"><span class="pre">pixel_bit_size</span></code></li>
  77. </ul>
  78. </li>
  79. <li>Image types:<ul>
  80. <li><code class="docutils literal"><span class="pre">indexed_image</span></code></li>
  81. </ul>
  82. </li>
  83. </ul>
  84. <p>This extension will hopefully be added on by the community.</p>
  85. <p>Since the extension is header-only, user just needs to include
  86. its main header <code class="docutils literal"><span class="pre">#include</span> <span class="pre">&lt;boost/gil/extension/toolbox.hpp&gt;</span></code>.</p>
  87. <p>All definitions of the toolbox belong to the <code class="docutils literal"><span class="pre">boost::gil</span></code> namespace.</p>
  88. </div>
  89. <div class="section" id="folder-structure">
  90. <h2>Folder Structure</h2>
  91. <p>The toolbox structured in the following sub-directories:</p>
  92. <ul class="simple">
  93. <li>color_converters</li>
  94. <li>color_spaces</li>
  95. <li>metafunctions</li>
  96. <li>image_types</li>
  97. </ul>
  98. </div>
  99. <div class="section" id="acknowledgements">
  100. <h2>Acknowledgements</h2>
  101. <p>Thanks to all the people who have reviewed this library and
  102. made suggestions for improvements.</p>
  103. </div>
  104. <div class="section" id="id1">
  105. <h2>Reference</h2>
  106. <p>The <a class="reference external" href="reference.html">Reference</a> section.</p>
  107. </div>
  108. </div>
  109. <div class="navbar" style="text-align:right;">
  110. <a class="prev" title="IO extensions" href="io.html"><img src="_static/prev.png" alt="prev"/></a>
  111. <a class="next" title="Numeric extension" href="numeric.html"><img src="_static/next.png" alt="next"/></a>
  112. </div>
  113. </div>
  114. <div class="footer" role="contentinfo">
  115. Last updated on 2019-12-10 00:12:10.
  116. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.6.
  117. </div>
  118. </body>
  119. </html>