1 <!-- Copyright 2008 Lubomir Bourdev and Hailin Jin
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)
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)
13 Some files are held under additional license.
14 Please see "http://stlab.adobe.com/licenses.html" for more information.
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">
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"/>
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>
37 <!-- Generated by Doxygen 1.5.6 -->
38 <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>
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>
42 Methods for constructing any image views from other any image views /.
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>
50 <code>#include
"<a class=
"el" href=
"g_i_l_0003.html">any_image_view.hpp
</a>"</code><br>
51 <code>#include
"<a class=
"el" href=
"g_i_l_0226.html">../../image_view_factory.hpp
</a>"</code><br>
54 <a href=
"g_i_l_0088.html">Go to the source code of this file.
</a><table border=
"0" cellpadding=
"0" cellspacing=
"0">
56 <tr><td colspan=
"2"><br><h2>Namespaces
</h2></td></tr>
57 <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>
59 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">namespace
</td><td class=
"memItemRight" valign=
"bottom"><b>boost::gil
</b></td></tr>
61 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">namespace
</td><td class=
"memItemRight" valign=
"bottom"><b>boost::gil::detail
</b></td></tr>
63 <tr><td colspan=
"2"><br><h2>Classes
</h2></td></tr>
64 <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>
66 <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>
67 <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>
69 <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>
70 <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>
72 <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>
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< ViewTypes > &src)" -->
75 template
<typename ViewTypes
> </td></tr>
76 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">dynamic_y_step_type
<br>
77 < any_image_view
< ViewTypes
><br>
78 >::type
</td><td class=
"memTemplItemRight" valign=
"bottom"><b>flipped_up_down_view
</b> (const any_image_view
< ViewTypes
> &src)
</td></tr>
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< ViewTypes > &src)" -->
81 template
<typename ViewTypes
> </td></tr>
82 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">dynamic_x_step_type
<br>
83 < any_image_view
< ViewTypes
><br>
84 >::type
</td><td class=
"memTemplItemRight" valign=
"bottom"><b>flipped_left_right_view
</b> (const any_image_view
< ViewTypes
> &src)
</td></tr>
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< ViewTypes > &src)" -->
87 template
<typename ViewTypes
> </td></tr>
88 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">dynamic_xy_step_transposed_type
<br>
89 < any_image_view
< ViewTypes
><br>
90 >::type
</td><td class=
"memTemplItemRight" valign=
"bottom"><b>transposed_view
</b> (const any_image_view
< ViewTypes
> &src)
</td></tr>
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< ViewTypes > &src)" -->
93 template
<typename ViewTypes
> </td></tr>
94 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">dynamic_xy_step_transposed_type
<br>
95 < any_image_view
< ViewTypes
><br>
96 >::type
</td><td class=
"memTemplItemRight" valign=
"bottom"><b>rotated90cw_view
</b> (const any_image_view
< ViewTypes
> &src)
</td></tr>
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< ViewTypes > &src)" -->
99 template
<typename ViewTypes
> </td></tr>
100 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">dynamic_xy_step_transposed_type
<br>
101 < any_image_view
< ViewTypes
><br>
102 >::type
</td><td class=
"memTemplItemRight" valign=
"bottom"><b>rotated90ccw_view
</b> (const any_image_view
< ViewTypes
> &src)
</td></tr>
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< ViewTypes > &src)" -->
105 template
<typename ViewTypes
> </td></tr>
106 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">dynamic_xy_step_type
<br>
107 < any_image_view
< ViewTypes
><br>
108 >::type
</td><td class=
"memTemplItemRight" valign=
"bottom"><b>rotated180_view
</b> (const any_image_view
< ViewTypes
> &src)
</td></tr>
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< ViewTypes > &src, const point2< std::ptrdiff_t > &topleft, const point2< std::ptrdiff_t > &dimensions)" -->
111 template
<typename ViewTypes
> </td></tr>
112 <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>
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< ViewTypes > &src, int xMin, int yMin, int width, int height)" -->
115 template
<typename ViewTypes
> </td></tr>
116 <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>
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< ViewTypes > &src, const point2< std::ptrdiff_t > &step)" -->
119 template
<typename ViewTypes
> </td></tr>
120 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">dynamic_xy_step_type
<br>
121 < any_image_view
< ViewTypes
><br>
122 >::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>
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< ViewTypes > &src, int xStep, int yStep)" -->
125 template
<typename ViewTypes
> </td></tr>
126 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">dynamic_xy_step_type
<br>
127 < any_image_view
< ViewTypes
><br>
128 >::type
</td><td class=
"memTemplItemRight" valign=
"bottom"><b>subsampled_view
</b> (const any_image_view
< ViewTypes
> &src, int xStep, int yStep)
</td></tr>
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< ViewTypes > &src, int n)" -->
131 template
<typename ViewTypes
> </td></tr>
132 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">nth_channel_view_type
<br>
133 < any_image_view
< ViewTypes
><br>
134 >::type
</td><td class=
"memTemplItemRight" valign=
"bottom"><b>nth_channel_view
</b> (const any_image_view
< ViewTypes
> &src, int n)
</td></tr>
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< ViewTypes > &src, CC cc)" -->
137 template
<typename DstP, typename ViewTypes, typename CC
> </td></tr>
138 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">color_converted_view_type
<br>
139 < any_image_view
< ViewTypes
><br>
140 , 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>
142 <tr><td class=
"mdescLeft"> </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< ViewTypes > &src)" -->
144 template
<typename DstP, typename ViewTypes
> </td></tr>
145 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">color_converted_view_type
<br>
146 < any_image_view
< ViewTypes
><br>
147 , 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>
149 <tr><td class=
"mdescLeft"> </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< ViewTypes > &src, CC cc)" -->
151 template
<typename DstP, typename ViewTypes, typename CC
> </td></tr>
152 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">color_converted_view_type
<br>
153 < any_image_view
< ViewTypes
><br>
154 , 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>
156 <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>
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< ViewTypes > &src)" -->
158 template
<typename DstP, typename ViewTypes
> </td></tr>
159 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">color_converted_view_type
<br>
160 < any_image_view
< ViewTypes
><br>
161 , 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>
163 <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>
166 <hr size=
"1"><address style=
"text-align: right;"><small>Generated on Sat May
2 13:
50:
16 2009 for Generic Image Library by
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>