/libs/gil/doc/html/g_i_l_0089.html

https://github.com/delalond/boost_1_54_0-bgq · HTML · 170 lines · 128 code · 26 blank · 16 comment · 0 complexity · 992f7aeeec8bc1e8c5e68e4714e9b78a MD5 · raw file

  1. <!-- Copyright 2008 Lubomir Bourdev and Hailin Jin
  2. Distributed under the Boost Software License, Version 1.0.
  3. (See accompanying file LICENSE_1_0.txt or copy at
  4. http://www.boost.org/LICENSE_1_0.txt)
  5. -->
  6. <!--
  7. Copyright 2005-2007 Adobe Systems Incorporated
  8. Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
  9. or a copy at http://stlab.adobe.com/licenses.html)
  10. Some files are held under additional license.
  11. Please see "http://stlab.adobe.com/licenses.html" for more information.
  12. -->
  13. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  14. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  15. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  16. <head>
  17. <TITLE>Generic Image Library: image_view_factory.hpp File Reference</TITLE>
  18. <META HTTP-EQUIV="content-type" CONTENT="text/html;charset=ISO-8859-1"/>
  19. <LINK TYPE="text/css" REL="stylesheet" HREF="adobe_source.css"/>
  20. </head>
  21. <body>
  22. <table border="0" cellspacing="0" cellpadding="0" style='width: 100%; margin: 0; padding: 0'><tr>
  23. <td width="100%" valign="top" style='padding-left: 10px; padding-right: 10px; padding-bottom: 10px'>
  24. <div class="qindex"><a class="qindex" href="index.html">Modules</a>
  25. | <a class="qindex" href="classes.html">Alphabetical List</a>
  26. | <a class="qindex" href="annotated.html">Class List</a>
  27. | <a class="qindex" href="dirs.html">Directories</a>
  28. | <a class="qindex" href="files.html">File List</a>
  29. | <a class="qindex" href="../index.html">GIL Home Page</a>
  30. </div>
  31. <!-- End Header -->
  32. <!-- Generated by Doxygen 1.5.6 -->
  33. <div class="navpath"><a class="el" href="g_i_l_0076.html">boost</a>&nbsp;&raquo&nbsp;<a class="el" href="g_i_l_0079.html">gil</a>&nbsp;&raquo&nbsp;<a class="el" href="g_i_l_0078.html">extension</a>&nbsp;&raquo&nbsp;<a class="el" href="g_i_l_0075.html">dynamic_image</a>
  34. </div>
  35. <div class="contents">
  36. <h1>extension/dynamic_image/image_view_factory.hpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
  37. Methods for constructing any image views from other any image views /.
  38. <p>
  39. / /<dl class="author" compact><dt><b>Author:</b></dt><dd>Lubomir Bourdev and Hailin Jin <br>
  40. / Adobe Systems Incorporated / </dd></dl>
  41. <dl class="date" compact><dt><b>Date:</b></dt><dd>2005-2007 <br>
  42. Last updated on January 31, 2007 / Extends image view factory to runtime type-specified views (any_image_view) </dd></dl>
  43. <p>
  44. <code>#include &quot;<a class="el" href="g_i_l_0003.html">any_image_view.hpp</a>&quot;</code><br>
  45. <code>#include &quot;<a class="el" href="g_i_l_0226.html">../../image_view_factory.hpp</a>&quot;</code><br>
  46. <p>
  47. <a href="g_i_l_0088.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
  48. <tr><td></td></tr>
  49. <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
  50. <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost.html">boost</a></td></tr>
  51. <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><b>boost::gil</b></td></tr>
  52. <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><b>boost::gil::detail</b></td></tr>
  53. <tr><td colspan="2"><br><h2>Classes</h2></td></tr>
  54. <tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0580.html">nth_channel_view_type&lt; any_image_view&lt; ViewTypes &gt; &gt;</a></td></tr>
  55. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Given a runtime source <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> view, returns the type of a runtime <a class="el" href="g_i_l_0038.html" title="container interface over image view. Models ImageConcept, PixelBasedConcept">image</a> view over a single channel of the source view. <a href="g_i_l_0580.html#_details">More...</a><br></td></tr>
  56. <tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0436.html">color_converted_view_type&lt; any_image_view&lt; ViewTypes &gt;, DstP, CC &gt;</a></td></tr>
  57. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the type of a runtime-specified view, color-converted to a given <a class="el" href="g_i_l_0599.html" title="Represents a pixel value (a container of channels). Models: HomogeneousColorBaseValueConcept...">pixel</a> type with user specified color converter. <a href="g_i_l_0436.html#_details">More...</a><br></td></tr>
  58. <tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0438.html">color_converted_view_type&lt; any_image_view&lt; ViewTypes &gt;, DstP &gt;</a></td></tr>
  59. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the type of a runtime-specified view, color-converted to a given <a class="el" href="g_i_l_0599.html" title="Represents a pixel value (a container of channels). Models: HomogeneousColorBaseValueConcept...">pixel</a> type with the default coor converter. <a href="g_i_l_0438.html#_details">More...</a><br></td></tr>
  60. <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
  61. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g92e2b5b7313ebcb06813f70ac94d4723"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::flipped_up_down_view" ref="g92e2b5b7313ebcb06813f70ac94d4723" args="(const any_image_view&lt; ViewTypes &gt; &amp;src)" -->
  62. template&lt;typename ViewTypes&gt; </td></tr>
  63. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_y_step_type<br>
  64. &lt; any_image_view&lt; ViewTypes &gt;<br>
  65. &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>flipped_up_down_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src)</td></tr>
  66. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g1576c2ad2819cda7a1cc1684301fd9f9"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::flipped_left_right_view" ref="g1576c2ad2819cda7a1cc1684301fd9f9" args="(const any_image_view&lt; ViewTypes &gt; &amp;src)" -->
  67. template&lt;typename ViewTypes&gt; </td></tr>
  68. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_x_step_type<br>
  69. &lt; any_image_view&lt; ViewTypes &gt;<br>
  70. &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>flipped_left_right_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src)</td></tr>
  71. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g657644c323f0f14a0fc40899efeab5ce"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::transposed_view" ref="g657644c323f0f14a0fc40899efeab5ce" args="(const any_image_view&lt; ViewTypes &gt; &amp;src)" -->
  72. template&lt;typename ViewTypes&gt; </td></tr>
  73. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_transposed_type<br>
  74. &lt; any_image_view&lt; ViewTypes &gt;<br>
  75. &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>transposed_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src)</td></tr>
  76. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ga4a3e9ce016039f6dd1f44dd634da958"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::rotated90cw_view" ref="ga4a3e9ce016039f6dd1f44dd634da958" args="(const any_image_view&lt; ViewTypes &gt; &amp;src)" -->
  77. template&lt;typename ViewTypes&gt; </td></tr>
  78. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_transposed_type<br>
  79. &lt; any_image_view&lt; ViewTypes &gt;<br>
  80. &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>rotated90cw_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src)</td></tr>
  81. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gdbd5e28fbef2bcecc8068fc6d07ba54e"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::rotated90ccw_view" ref="gdbd5e28fbef2bcecc8068fc6d07ba54e" args="(const any_image_view&lt; ViewTypes &gt; &amp;src)" -->
  82. template&lt;typename ViewTypes&gt; </td></tr>
  83. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_transposed_type<br>
  84. &lt; any_image_view&lt; ViewTypes &gt;<br>
  85. &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>rotated90ccw_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src)</td></tr>
  86. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g427cb1dec7a988e69d5b6ceca1a033a8"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::rotated180_view" ref="g427cb1dec7a988e69d5b6ceca1a033a8" args="(const any_image_view&lt; ViewTypes &gt; &amp;src)" -->
  87. template&lt;typename ViewTypes&gt; </td></tr>
  88. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_type<br>
  89. &lt; any_image_view&lt; ViewTypes &gt;<br>
  90. &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>rotated180_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src)</td></tr>
  91. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g1f5a7f26be3e08c25dc482c83dabc45b"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::subimage_view" ref="g1f5a7f26be3e08c25dc482c83dabc45b" args="(const any_image_view&lt; ViewTypes &gt; &amp;src, const point2&lt; std::ptrdiff_t &gt; &amp;topleft, const point2&lt; std::ptrdiff_t &gt; &amp;dimensions)" -->
  92. template&lt;typename ViewTypes&gt; </td></tr>
  93. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">any_image_view&lt; ViewTypes &gt;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>subimage_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src, const point2&lt; std::ptrdiff_t &gt; &amp;topleft, const point2&lt; std::ptrdiff_t &gt; &amp;dimensions)</td></tr>
  94. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gc172bcd3ca65d97146846494a1610210"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::subimage_view" ref="gc172bcd3ca65d97146846494a1610210" args="(const any_image_view&lt; ViewTypes &gt; &amp;src, int xMin, int yMin, int width, int height)" -->
  95. template&lt;typename ViewTypes&gt; </td></tr>
  96. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">any_image_view&lt; ViewTypes &gt;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>subimage_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src, int xMin, int yMin, int width, int height)</td></tr>
  97. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g914947e842d91b6ccbc0d32717bee301"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::subsampled_view" ref="g914947e842d91b6ccbc0d32717bee301" args="(const any_image_view&lt; ViewTypes &gt; &amp;src, const point2&lt; std::ptrdiff_t &gt; &amp;step)" -->
  98. template&lt;typename ViewTypes&gt; </td></tr>
  99. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_type<br>
  100. &lt; any_image_view&lt; ViewTypes &gt;<br>
  101. &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>subsampled_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src, const point2&lt; std::ptrdiff_t &gt; &amp;step)</td></tr>
  102. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g3cc577827061a3c6b5031d3bbc7e7602"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::subsampled_view" ref="g3cc577827061a3c6b5031d3bbc7e7602" args="(const any_image_view&lt; ViewTypes &gt; &amp;src, int xStep, int yStep)" -->
  103. template&lt;typename ViewTypes&gt; </td></tr>
  104. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_type<br>
  105. &lt; any_image_view&lt; ViewTypes &gt;<br>
  106. &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>subsampled_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src, int xStep, int yStep)</td></tr>
  107. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g908049653833e3b898583928bc28cd77"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::nth_channel_view" ref="g908049653833e3b898583928bc28cd77" args="(const any_image_view&lt; ViewTypes &gt; &amp;src, int n)" -->
  108. template&lt;typename ViewTypes&gt; </td></tr>
  109. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">nth_channel_view_type<br>
  110. &lt; any_image_view&lt; ViewTypes &gt;<br>
  111. &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>nth_channel_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src, int n)</td></tr>
  112. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g2a5410807dc209c10bbd39c0a5ef04b7"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::color_converted_view" ref="g2a5410807dc209c10bbd39c0a5ef04b7" args="(const any_image_view&lt; ViewTypes &gt; &amp;src, CC cc)" -->
  113. template&lt;typename DstP, typename ViewTypes, typename CC&gt; </td></tr>
  114. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">color_converted_view_type<br>
  115. &lt; any_image_view&lt; ViewTypes &gt;<br>
  116. , DstP, CC &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0161.html#g2a5410807dc209c10bbd39c0a5ef04b7">color_converted_view</a> (const any_image_view&lt; ViewTypes &gt; &amp;src, CC cc)</td></tr>
  117. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">overload of generic color_converted_view with user defined color-converter <br></td></tr>
  118. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g4e84970128101b572125f025dc81f8e0"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::color_converted_view" ref="g4e84970128101b572125f025dc81f8e0" args="(const any_image_view&lt; ViewTypes &gt; &amp;src)" -->
  119. template&lt;typename DstP, typename ViewTypes&gt; </td></tr>
  120. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">color_converted_view_type<br>
  121. &lt; any_image_view&lt; ViewTypes &gt;<br>
  122. , DstP &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0161.html#g4e84970128101b572125f025dc81f8e0">color_converted_view</a> (const any_image_view&lt; ViewTypes &gt; &amp;src)</td></tr>
  123. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">overload of generic color_converted_view with the default color-converter <br></td></tr>
  124. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g7ccf9274c11bf4f2c04e3289618c8d96"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::any_color_converted_view" ref="g7ccf9274c11bf4f2c04e3289618c8d96" args="(const any_image_view&lt; ViewTypes &gt; &amp;src, CC cc)" -->
  125. template&lt;typename DstP, typename ViewTypes, typename CC&gt; </td></tr>
  126. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">color_converted_view_type<br>
  127. &lt; any_image_view&lt; ViewTypes &gt;<br>
  128. , DstP, CC &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0161.html#g7ccf9274c11bf4f2c04e3289618c8d96">any_color_converted_view</a> (const any_image_view&lt; ViewTypes &gt; &amp;src, CC cc)</td></tr>
  129. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">overload of generic color_converted_view with user defined color-converter These are workarounds for GCC 3.4, which thinks color_converted_view is ambiguous with the same method for templated views (in <a class="el" href="g_i_l_0227.html" title="Methods for constructing image views from raw data or other image views /.">gil/image_view_factory.hpp</a>) <br></td></tr>
  130. <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g1c92f1f85e73e568c36c9dabef771b0f"></a><!-- doxytag: member="extension/dynamic_image/image_view_factory.hpp::any_color_converted_view" ref="g1c92f1f85e73e568c36c9dabef771b0f" args="(const any_image_view&lt; ViewTypes &gt; &amp;src)" -->
  131. template&lt;typename DstP, typename ViewTypes&gt; </td></tr>
  132. <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">color_converted_view_type<br>
  133. &lt; any_image_view&lt; ViewTypes &gt;<br>
  134. , DstP &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0161.html#g1c92f1f85e73e568c36c9dabef771b0f">any_color_converted_view</a> (const any_image_view&lt; ViewTypes &gt; &amp;src)</td></tr>
  135. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">overload of generic color_converted_view with the default color-converter These are workarounds for GCC 3.4, which thinks color_converted_view is ambiguous with the same method for templated views (in <a class="el" href="g_i_l_0227.html" title="Methods for constructing image views from raw data or other image views /.">gil/image_view_factory.hpp</a>) <br></td></tr>
  136. </table>
  137. </div>
  138. <hr size="1"><address style="text-align: right;"><small>Generated on Sat May 2 13:50:16 2009 for Generic Image Library by&nbsp;
  139. <a href="http://www.doxygen.org/index.html">
  140. <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
  141. </body>
  142. </html>