PageRenderTime 26ms CodeModel.GetById 13ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

/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
  3     Distributed under the Boost Software License, Version 1.0.
  4     (See accompanying file LICENSE_1_0.txt or copy at
  5     http://www.boost.org/LICENSE_1_0.txt)
  6  -->
  7
  8<!--
  9    Copyright 2005-2007 Adobe Systems Incorporated
 10    Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
 11    or a copy at http://stlab.adobe.com/licenses.html)
 12
 13    Some files are held under additional license.
 14    Please see "http://stlab.adobe.com/licenses.html" for more information.
 15-->
 16
 17<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 18        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 19<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 20
 21<head>
 22    <TITLE>Generic Image Library: image_view_factory.hpp File Reference</TITLE>
 23    <META HTTP-EQUIV="content-type" CONTENT="text/html;charset=ISO-8859-1"/>
 24    <LINK TYPE="text/css" REL="stylesheet" HREF="adobe_source.css"/>
 25</head>
 26<body>
 27<table border="0" cellspacing="0" cellpadding="0" style='width: 100%; margin: 0; padding: 0'><tr>
 28<td width="100%" valign="top" style='padding-left: 10px; padding-right: 10px; padding-bottom: 10px'>
 29<div class="qindex"><a class="qindex" href="index.html">Modules</a> 
 30                  | <a class="qindex" href="classes.html">Alphabetical List</a> 
 31                  | <a class="qindex" href="annotated.html">Class List</a> 
 32                  | <a class="qindex" href="dirs.html">Directories</a> 
 33                  | <a class="qindex" href="files.html">File List</a> 
 34                  | <a class="qindex" href="../index.html">GIL Home Page</a> 
 35</div>
 36<!-- End Header -->
 37<!-- Generated by Doxygen 1.5.6 -->
 38  <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>
 39  </div>
 40<div class="contents">
 41<h1>extension/dynamic_image/image_view_factory.hpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
 42Methods for constructing any image views from other any image views /. 
 43<p>
 44/ /<dl class="author" compact><dt><b>Author:</b></dt><dd>Lubomir Bourdev and Hailin Jin <br>
 45 / Adobe Systems Incorporated / </dd></dl>
 46<dl class="date" compact><dt><b>Date:</b></dt><dd>2005-2007 <br>
 47 Last updated on January 31, 2007 / Extends image view factory to runtime type-specified views (any_image_view) </dd></dl>
 48
 49<p>
 50<code>#include &quot;<a class="el" href="g_i_l_0003.html">any_image_view.hpp</a>&quot;</code><br>
 51<code>#include &quot;<a class="el" href="g_i_l_0226.html">../../image_view_factory.hpp</a>&quot;</code><br>
 52
 53<p>
 54<a href="g_i_l_0088.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
 55<tr><td></td></tr>
 56<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
 57<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>
 58
 59<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><b>boost::gil</b></td></tr>
 60
 61<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><b>boost::gil::detail</b></td></tr>
 62
 63<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
 64<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>
 65
 66<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>
 67<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>
 68
 69<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>
 70<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>
 71
 72<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>
 73<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
 74<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)" -->
 75template&lt;typename ViewTypes&gt; </td></tr>
 76<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_y_step_type<br>
 77&lt; any_image_view&lt; ViewTypes &gt;<br>
 78 &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>
 79
 80<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)" -->
 81template&lt;typename ViewTypes&gt; </td></tr>
 82<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_x_step_type<br>
 83&lt; any_image_view&lt; ViewTypes &gt;<br>
 84 &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>
 85
 86<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)" -->
 87template&lt;typename ViewTypes&gt; </td></tr>
 88<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_transposed_type<br>
 89&lt; any_image_view&lt; ViewTypes &gt;<br>
 90 &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>transposed_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src)</td></tr>
 91
 92<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)" -->
 93template&lt;typename ViewTypes&gt; </td></tr>
 94<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_transposed_type<br>
 95&lt; any_image_view&lt; ViewTypes &gt;<br>
 96 &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>rotated90cw_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src)</td></tr>
 97
 98<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)" -->
 99template&lt;typename ViewTypes&gt; </td></tr>
100<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_transposed_type<br>
101&lt; any_image_view&lt; ViewTypes &gt;<br>
102 &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>rotated90ccw_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src)</td></tr>
103
104<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)" -->
105template&lt;typename ViewTypes&gt; </td></tr>
106<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_type<br>
107&lt; any_image_view&lt; ViewTypes &gt;<br>
108 &gt;::type&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>rotated180_view</b> (const any_image_view&lt; ViewTypes &gt; &amp;src)</td></tr>
109
110<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)" -->
111template&lt;typename ViewTypes&gt; </td></tr>
112<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>
113
114<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)" -->
115template&lt;typename ViewTypes&gt; </td></tr>
116<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>
117
118<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)" -->
119template&lt;typename ViewTypes&gt; </td></tr>
120<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_type<br>
121&lt; any_image_view&lt; ViewTypes &gt;<br>
122 &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>
123
124<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)" -->
125template&lt;typename ViewTypes&gt; </td></tr>
126<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_type<br>
127&lt; any_image_view&lt; ViewTypes &gt;<br>
128 &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>
129
130<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)" -->
131template&lt;typename ViewTypes&gt; </td></tr>
132<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">nth_channel_view_type<br>
133&lt; any_image_view&lt; ViewTypes &gt;<br>
134 &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>
135
136<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)" -->
137template&lt;typename DstP, typename ViewTypes, typename CC&gt; </td></tr>
138<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">color_converted_view_type<br>
139&lt; any_image_view&lt; ViewTypes &gt;<br>
140, 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>
141
142<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">overload of generic color_converted_view with user defined color-converter <br></td></tr>
143<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)" -->
144template&lt;typename DstP, typename ViewTypes&gt; </td></tr>
145<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">color_converted_view_type<br>
146&lt; any_image_view&lt; ViewTypes &gt;<br>
147, 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>
148
149<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">overload of generic color_converted_view with the default color-converter <br></td></tr>
150<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)" -->
151template&lt;typename DstP, typename ViewTypes, typename CC&gt; </td></tr>
152<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">color_converted_view_type<br>
153&lt; any_image_view&lt; ViewTypes &gt;<br>
154, 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>
155
156<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>
157<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)" -->
158template&lt;typename DstP, typename ViewTypes&gt; </td></tr>
159<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">color_converted_view_type<br>
160&lt; any_image_view&lt; ViewTypes &gt;<br>
161, 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>
162
163<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>
164</table>
165</div>
166<hr size="1"><address style="text-align: right;"><small>Generated on Sat May 2 13:50:16 2009 for Generic Image Library by&nbsp;
167<a href="http://www.doxygen.org/index.html">
168<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
169</body>
170</html>