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>Conclusions - 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="up" title="Design Guide" href="index.html" /> 27 <link rel="next" title="Image Processing" href="../image_processing/index.html" /> 28 <link rel="prev" title="Extending" href="extending.html" /> 29 </head> 30 <body> 31 <div class="header"> 32 <table border="0" cellpadding="7" cellspacing="0" width="100%" summary= 33 "header"> 34 <tr> 35 <td valign="top" width="300"> 36 <h3><a href="../index.html"><img 37 alt="C++ Boost" src="../_static/gil.png" border="0"></a></h3> 38 </td> 39 40 <td > 41 <h1 align="center"><a href="../index.html"></a></h1> 42 </td> 43 <td> 44 <div id="searchbox" style="display: none"> 45 <form class="search" action="../search.html" method="get"> 46 <input type="text" name="q" size="18" /> 47 <input type="submit" value="Search" /> 48 <input type="hidden" name="check_keywords" value="yes" /> 49 <input type="hidden" name="area" value="default" /> 50 </form> 51 </div> 52 <script type="text/javascript">$('#searchbox').show(0);</script> 53 </td> 54 </tr> 55 </table> 56 </div> 57 <hr/> 58 <div class="content"> 59 <div class="navbar" style="text-align:right;"> 60 61 62 <a class="prev" title="Extending" href="extending.html"><img src="../_static/prev.png" alt="prev"/></a> 63 <a class="up" title="Design Guide" href="index.html"><img src="../_static/up.png" alt="up"/></a> 64 <a class="next" title="Image Processing" href="../image_processing/index.html"><img src="../_static/next.png" alt="next"/></a> 65 66 </div> 67 68 <div class="section" id="conclusions"> 69<h1>Conclusions</h1> 70<div class="contents local topic" id="contents"> 71<ul class="simple"> 72<li><a class="reference internal" href="#generality" id="id1">Generality</a></li> 73<li><a class="reference internal" href="#performance" id="id2">Performance</a></li> 74<li><a class="reference internal" href="#flexibility" id="id3">Flexibility</a></li> 75<li><a class="reference internal" href="#extensibility" id="id4">Extensibility</a></li> 76<li><a class="reference internal" href="#compatibility" id="id5">Compatibility</a></li> 77</ul> 78</div> 79<p>The Generic Image Library is designed with the following five goals in mind:</p> 80<div class="section" id="generality"> 81<h2><a class="toc-backref" href="#id1">Generality</a></h2> 82<p>Abstracts image representations from algorithms on images. 83It allows for writing code once and have it work for any image type.</p> 84</div> 85<div class="section" id="performance"> 86<h2><a class="toc-backref" href="#id2">Performance</a></h2> 87<p>Speed has been instrumental to the design of the library. 88The generic algorithms provided in the library are in many cases comparable 89in speed to hand-coding the algorithm for a specific image type.</p> 90</div> 91<div class="section" id="flexibility"> 92<h2><a class="toc-backref" href="#id3">Flexibility</a></h2> 93<p>Compile-type parameter resolution results in faster code, but severely limits 94code flexibility. The library allows for any image parameter to be specified 95at run time, at a minor performance cost.</p> 96</div> 97<div class="section" id="extensibility"> 98<h2><a class="toc-backref" href="#id4">Extensibility</a></h2> 99<p>Virtually every construct in GIL can be extended - new channel types, 100color spaces, layouts, iterators, locators, image views and images 101can be provided by modeling the corresponding GIL concepts.</p> 102</div> 103<div class="section" id="compatibility"> 104<h2><a class="toc-backref" href="#id5">Compatibility</a></h2> 105<p>The library is designed as an STL complement. 106Generic STL algorithms can be used for pixel manipulation, and they are 107specifically targeted for optimization. The library works with existing 108raw pixel data from another image library.</p> 109</div> 110</div> 111 112 113 <div class="navbar" style="text-align:right;"> 114 115 116 <a class="prev" title="Extending" href="extending.html"><img src="../_static/prev.png" alt="prev"/></a> 117 <a class="up" title="Design Guide" href="index.html"><img src="../_static/up.png" alt="up"/></a> 118 <a class="next" title="Image Processing" href="../image_processing/index.html"><img src="../_static/next.png" alt="next"/></a> 119 120 </div> 121 </div> 122 <div class="footer" role="contentinfo"> 123 Last updated on 2020-08-11 15:08:48. 124 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.6. 125 </div> 126 </body> 127</html>