1 <!-- HTML header for doxygen 1.8.13-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7 <meta name="generator" content="Doxygen 1.8.15"/>
8 <meta name="viewport" content="width=device-width, initial-scale=1"/>
9 <title>Generic Image Library: nth_channel_view</title>
10 <link href="tabs.css" rel="stylesheet" type="text/css"/>
11 <script type="text/javascript" src="jquery.js"></script>
12 <script type="text/javascript" src="dynsections.js"></script>
13 <link href="doxygen.css" rel="stylesheet" type="text/css" />
14 <link href="doxygen-boost.css" rel="stylesheet" type="text/css"/>
17 <div class="boost-header">
18 <table border="0" cellpadding="7" cellspacing="0" width="100%" summary="header">
20 <td valign="top" width="300">
21 <h3><a href="../index.html"><img alt="Boost GIL" src="../_static/gil.png" border="0"></a></h3>
23 <td ><h1 align="center"><a href="../index.html"></a></h1></td>
29 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
30 <!-- Generated by Doxygen 1.8.15 -->
31 <script type="text/javascript" src="menudata.js"></script>
32 <script type="text/javascript" src="menu.js"></script>
33 <script type="text/javascript">
34 /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
36 initMenu('',false,false,'search.php','Search');
38 /* @license-end */</script>
39 <div id="main-nav"></div>
43 <a href="#nested-classes">Classes</a> |
44 <a href="#func-members">Functions</a> </div>
45 <div class="headertitle">
46 <div class="title">nth_channel_view<div class="ingroups"><a class="el" href="group___image_view.html">Image View</a> » <a class="el" href="group___image_view_algorithm.html">Algorithms and Utility Functions</a> » <a class="el" href="group___image_view_transformations.html">Image View Transformations</a></div></div> </div>
48 <div class="contents">
50 <p>single-channel (grayscale) view of the N-th channel of a given <a class="el" href="classboost_1_1gil_1_1image__view.html" title="A lightweight object that interprets memory as a 2D array of pixels. Models ImageViewConcept,...">image_view</a>
51 <a href="#details">More...</a></p>
52 <table class="memberdecls">
53 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
54 Classes</h2></td></tr>
55 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1gil_1_1nth__channel__view__type.html">nth_channel_view_type< View ></a></td></tr>
56 <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Given a source image view type View, returns the type of an image view over a single channel of ViewIf the channels in the source view are adjacent in memory (such as planar non-step view or single-channel view) then the return view is a single-channel non-step view. If the channels are non-adjacent (interleaved and/or step view) then the return view is a single-channel step view. <a href="structboost_1_1gil_1_1nth__channel__view__type.html#details">More...</a><br /></td></tr>
57 <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
58 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1gil_1_1nth__channel__view__type_3_01any__image__view_3_01_views_01_4_01_4.html">nth_channel_view_type< any_image_view< Views > ></a></td></tr>
59 <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Given a runtime source image view, returns the type of a runtime image view over a single channel of the source view. <a href="structboost_1_1gil_1_1nth__channel__view__type_3_01any__image__view_3_01_views_01_4_01_4.html#details">More...</a><br /></td></tr>
60 <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
61 </table><table class="memberdecls">
62 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
63 Functions</h2></td></tr>
64 <tr class="memitem:gad976e8c51016d9cdbb47d57ab2ce8717"><td class="memTemplParams" colspan="2"><a id="gad976e8c51016d9cdbb47d57ab2ce8717"></a>
65 template<typename View > </td></tr>
66 <tr class="memitem:gad976e8c51016d9cdbb47d57ab2ce8717"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structboost_1_1gil_1_1nth__channel__view__type.html">nth_channel_view_type</a>< View >::type </td><td class="memTemplItemRight" valign="bottom"><b>nth_channel_view</b> (const View &src, int n)</td></tr>
67 <tr class="separator:gad976e8c51016d9cdbb47d57ab2ce8717"><td class="memSeparator" colspan="2"> </td></tr>
68 <tr class="memitem:ga459665184d07a1121424e99478aea947"><td class="memTemplParams" colspan="2">template<typename Views > </td></tr>
69 <tr class="memitem:ga459665184d07a1121424e99478aea947"><td class="memTemplItemLeft" align="right" valign="top">auto </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group___image_view_transformations_nth_channel.html#ga459665184d07a1121424e99478aea947">nth_channel_view</a> (const <a class="el" href="classboost_1_1gil_1_1any__image__view.html">any_image_view</a>< Views > &src, int n) -> typename <a class="el" href="structboost_1_1gil_1_1nth__channel__view__type.html">nth_channel_view_type</a>< <a class="el" href="classboost_1_1gil_1_1any__image__view.html">any_image_view</a>< Views >>::type</td></tr>
70 <tr class="separator:ga459665184d07a1121424e99478aea947"><td class="memSeparator" colspan="2"> </td></tr>
72 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
73 <p>single-channel (grayscale) view of the N-th channel of a given <a class="el" href="classboost_1_1gil_1_1image__view.html" title="A lightweight object that interprets memory as a 2D array of pixels. Models ImageViewConcept,...">image_view</a> </p>
74 <h2 class="groupheader">Function Documentation</h2>
75 <a id="ga459665184d07a1121424e99478aea947"></a>
76 <h2 class="memtitle"><span class="permalink"><a href="#ga459665184d07a1121424e99478aea947">◆ </a></span>nth_channel_view()</h2>
79 <div class="memproto">
80 <table class="mlabels">
82 <td class="mlabels-left">
83 <table class="memname">
85 <td class="memname">auto boost::gil::nth_channel_view </td>
87 <td class="paramtype">const <a class="el" href="classboost_1_1gil_1_1any__image__view.html">any_image_view</a>< Views > & </td>
88 <td class="paramname"><em>src</em>, </td>
91 <td class="paramkey"></td>
93 <td class="paramtype">int </td>
94 <td class="paramname"><em>n</em> </td>
99 <td></td><td> -> typename <a class="el" href="structboost_1_1gil_1_1nth__channel__view__type.html">nth_channel_view_type</a><<a class="el" href="classboost_1_1gil_1_1any__image__view.html">any_image_view</a><Views>>::type
104 <td class="mlabels-right">
105 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
108 </div><div class="memdoc">
109 <dl class="tparams"><dt>Template Parameters</dt><dd>
110 <table class="tparams">
111 <tr><td class="paramname">Views</td><td>Models Boost.MP11-compatible list of models of <a class="el" href="structboost_1_1gil_1_1_image_view_concept.html" title="GIL's 2-dimensional view over immutable GIL pixels.">ImageViewConcept</a> </td></tr>
118 </div><!-- contents -->
119 <!-- HTML footer for doxygen 1.8.13-->
120 <!-- start footer part -->
122 <address class="footer">
124 Generated by  <a href="http://www.doxygen.org/index.html">doxygen</a> 1.8.15