<!-- Copyright 2008 Lubomir Bourdev and Hailin Jin Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) --> <!-- Copyright 2005-2007 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://stlab.adobe.com/licenses.html) Some files are held under additional license. Please see "http://stlab.adobe.com/licenses.html" for more information. --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <TITLE>Generic Image Library: image_view_factory.hpp File Reference</TITLE> <META HTTP-EQUIV="content-type" CONTENT="text/html;charset=ISO-8859-1"/> <LINK TYPE="text/css" REL="stylesheet" HREF="adobe_source.css"/> </head> <body> <table border="0" cellspacing="0" cellpadding="0" style='width: 100%; margin: 0; padding: 0'><tr> <td width="100%" valign="top" style='padding-left: 10px; padding-right: 10px; padding-bottom: 10px'> <div class="qindex"><a class="qindex" href="index.html">Modules</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="../index.html">GIL Home Page</a> </div> <!-- End Header --> <!-- Generated by Doxygen 1.5.6 --> <div class="navpath"><a class="el" href="g_i_l_0076.html">boost</a> » <a class="el" href="g_i_l_0079.html">gil</a> » <a class="el" href="g_i_l_0078.html">extension</a> » <a class="el" href="g_i_l_0075.html">dynamic_image</a> </div> <div class="contents"> <h1>extension/dynamic_image/image_view_factory.hpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> Methods for constructing any image views from other any image views /. <p> / /<dl class="author" compact><dt><b>Author:</b></dt><dd>Lubomir Bourdev and Hailin Jin <br> / Adobe Systems Incorporated / </dd></dl> <dl class="date" compact><dt><b>Date:</b></dt><dd>2005-2007 <br> Last updated on January 31, 2007 / Extends image view factory to runtime type-specified views (any_image_view) </dd></dl> <p> <code>#include "<a class="el" href="g_i_l_0003.html">any_image_view.hpp</a>"</code><br> <code>#include "<a class="el" href="g_i_l_0226.html">../../image_view_factory.hpp</a>"</code><br> <p> <a href="g_i_l_0088.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost.html">boost</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><b>boost::gil</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><b>boost::gil::detail</b></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0580.html">nth_channel_view_type< any_image_view< ViewTypes > ></a></td></tr> <tr><td class="mdescLeft"> </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> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0436.html">color_converted_view_type< any_image_view< ViewTypes >, DstP, CC ></a></td></tr> <tr><td class="mdescLeft"> </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> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="g_i_l_0438.html">color_converted_view_type< any_image_view< ViewTypes >, DstP ></a></td></tr> <tr><td class="mdescLeft"> </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> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <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< ViewTypes > &src)" --> template<typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_y_step_type<br> < any_image_view< ViewTypes ><br> >::type </td><td class="memTemplItemRight" valign="bottom"><b>flipped_up_down_view</b> (const any_image_view< ViewTypes > &src)</td></tr> <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< ViewTypes > &src)" --> template<typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_x_step_type<br> < any_image_view< ViewTypes ><br> >::type </td><td class="memTemplItemRight" valign="bottom"><b>flipped_left_right_view</b> (const any_image_view< ViewTypes > &src)</td></tr> <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< ViewTypes > &src)" --> template<typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_transposed_type<br> < any_image_view< ViewTypes ><br> >::type </td><td class="memTemplItemRight" valign="bottom"><b>transposed_view</b> (const any_image_view< ViewTypes > &src)</td></tr> <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< ViewTypes > &src)" --> template<typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_transposed_type<br> < any_image_view< ViewTypes ><br> >::type </td><td class="memTemplItemRight" valign="bottom"><b>rotated90cw_view</b> (const any_image_view< ViewTypes > &src)</td></tr> <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< ViewTypes > &src)" --> template<typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_transposed_type<br> < any_image_view< ViewTypes ><br> >::type </td><td class="memTemplItemRight" valign="bottom"><b>rotated90ccw_view</b> (const any_image_view< ViewTypes > &src)</td></tr> <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< ViewTypes > &src)" --> template<typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_type<br> < any_image_view< ViewTypes ><br> >::type </td><td class="memTemplItemRight" valign="bottom"><b>rotated180_view</b> (const any_image_view< ViewTypes > &src)</td></tr> <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< ViewTypes > &src, const point2< std::ptrdiff_t > &topleft, const point2< std::ptrdiff_t > &dimensions)" --> template<typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">any_image_view< ViewTypes > </td><td class="memTemplItemRight" valign="bottom"><b>subimage_view</b> (const any_image_view< ViewTypes > &src, const point2< std::ptrdiff_t > &topleft, const point2< std::ptrdiff_t > &dimensions)</td></tr> <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< ViewTypes > &src, int xMin, int yMin, int width, int height)" --> template<typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">any_image_view< ViewTypes > </td><td class="memTemplItemRight" valign="bottom"><b>subimage_view</b> (const any_image_view< ViewTypes > &src, int xMin, int yMin, int width, int height)</td></tr> <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< ViewTypes > &src, const point2< std::ptrdiff_t > &step)" --> template<typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_type<br> < any_image_view< ViewTypes ><br> >::type </td><td class="memTemplItemRight" valign="bottom"><b>subsampled_view</b> (const any_image_view< ViewTypes > &src, const point2< std::ptrdiff_t > &step)</td></tr> <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< ViewTypes > &src, int xStep, int yStep)" --> template<typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">dynamic_xy_step_type<br> < any_image_view< ViewTypes ><br> >::type </td><td class="memTemplItemRight" valign="bottom"><b>subsampled_view</b> (const any_image_view< ViewTypes > &src, int xStep, int yStep)</td></tr> <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< ViewTypes > &src, int n)" --> template<typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">nth_channel_view_type<br> < any_image_view< ViewTypes ><br> >::type </td><td class="memTemplItemRight" valign="bottom"><b>nth_channel_view</b> (const any_image_view< ViewTypes > &src, int n)</td></tr> <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< ViewTypes > &src, CC cc)" --> template<typename DstP, typename ViewTypes, typename CC> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">color_converted_view_type<br> < any_image_view< ViewTypes ><br> , DstP, CC >::type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0161.html#g2a5410807dc209c10bbd39c0a5ef04b7">color_converted_view</a> (const any_image_view< ViewTypes > &src, CC cc)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">overload of generic color_converted_view with user defined color-converter <br></td></tr> <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< ViewTypes > &src)" --> template<typename DstP, typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">color_converted_view_type<br> < any_image_view< ViewTypes ><br> , DstP >::type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="g_i_l_0161.html#g4e84970128101b572125f025dc81f8e0">color_converted_view</a> (const any_image_view< ViewTypes > &src)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">overload of generic color_converted_view with the default color-converter <br></td></tr> <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< ViewTypes > &src, CC cc)" --> template<typename DstP, typename ViewTypes, typename CC> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">color_converted_view_type<br> < any_image_view< ViewTypes ><br> , DstP, CC >::type </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< ViewTypes > &src, CC cc)</td></tr> <tr><td class="mdescLeft"> </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> <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< ViewTypes > &src)" --> template<typename DstP, typename ViewTypes> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">color_converted_view_type<br> < any_image_view< ViewTypes ><br> , DstP >::type </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< ViewTypes > &src)</td></tr> <tr><td class="mdescLeft"> </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> </table> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sat May 2 13:50:16 2009 for Generic Image Library by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>