2
0
mirror of https://github.com/boostorg/gil.git synced 2026-01-24 18:02:17 +00:00
Files
gil/develop/doc/html/reference/group___pixel_based_algorithm.html

86 lines
4.3 KiB
HTML

<!-- 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>Algorithms and Utility Functions</TITLE>
<META HTTP-EQUIV="content-type" CONTENT="text/html;charset=ISO-8859-1"/>
<link type="text/css" rel="stylesheet" href="../_static/style.css">
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
</head>
<body>
<div class="header">
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary="header">
<tr>
<td valign="top" width="300">
<h3><a href="../index.html"><img
alt="Boost GIL" src="../_static/gil.png" border="0"></a></h3>
</td>
<td >
<h1 align="center"><a href="../index.html"></a></h1>
</td>
<td>
</td>
</tr>
</table>
</div>
<hr/>
<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>
</div>
<!-- End Header -->
<!-- Generated by Doxygen 1.8.6 -->
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle">
<div class="title">Algorithms and Utility Functions<div class="ingroups"><a class="el" href="group___pixel_based.html">PixelBased</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>PixelBased algorithms, metafunctions and utility functions.
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1gil_1_1num__channels.html">num_channels&lt; T &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of channels of a pixel-based GIL construct. <a href="structboost_1_1gil_1_1num__channels.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>PixelBased algorithms, metafunctions and utility functions. </p>
<p>Example: </p>
<div class="fragment"><div class="line">BOOST_STATIC_ASSERT((num_channels&lt;rgb8_view_t&gt;::value==3));</div>
<div class="line">BOOST_STATIC_ASSERT((num_channels&lt;cmyk16_planar_ptr_t&gt;::value==4));</div>
<div class="line"></div>
<div class="line">BOOST_STATIC_ASSERT((is_planar&lt;rgb16_planar_image_t&gt;::value));</div>
<div class="line">BOOST_STATIC_ASSERT((is_same&lt;color_space_type&lt;rgb8_planar_ref_t&gt;::type, rgb_t&gt;::value));</div>
<div class="line">BOOST_STATIC_ASSERT((is_same&lt;channel_mapping_type&lt;cmyk8_pixel_t&gt;::type, </div>
<div class="line"> channel_mapping_type&lt;rgba8_pixel_t&gt;::type&gt;::value));</div>
<div class="line">BOOST_STATIC_ASSERT((is_same&lt;channel_type&lt;bgr8_pixel_t&gt;::type, bits8&gt;::value));</div>
</div><!-- fragment --> </div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Mar 26 2018 14:27:03 for Generic Image Library by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>