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: pixels_are_compatible< P1, P2 > Struct Template Reference</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>
40 <div id="nav-path" class="navpath">
42 <li class="navelem"><b>boost</b></li><li class="navelem"><b>gil</b></li><li class="navelem"><a class="el" href="structboost_1_1gil_1_1pixels__are__compatible.html">pixels_are_compatible</a></li> </ul>
46 <div class="headertitle">
47 <div class="title">pixels_are_compatible< P1, P2 > Struct Template Reference<div class="ingroups"><a class="el" href="group___pixel.html">Pixel</a> » <a class="el" href="group___pixel_algorithm.html">Algorithms and Utility Functions</a></div></div> </div>
49 <div class="contents">
51 <p>Returns whether two pixels are compatible Pixels are compatible if their channels and color space types are compatible. Compatible pixels can be assigned and copy constructed from one another.
52 <a href="structboost_1_1gil_1_1pixels__are__compatible.html#details">More...</a></p>
54 <p><code>#include <<a class="el" href="concepts_2pixel_8hpp_source.html">pixel.hpp</a>></code></p>
56 <p>Inherits mp_and< color_spaces_are_compatible< color_space_type< P1 >::type, color_space_type< P2 >::type >::type, detail::channels_are_pairwise_compatible< P1, P2, num_channels< P1 >::value - 1 > >.</p>
57 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
58 <div class="textblock"><h3>template<typename P1, typename P2><br />
59 struct boost::gil::pixels_are_compatible< P1, P2 ></h3>
61 <p>Returns whether two pixels are compatible Pixels are compatible if their channels and color space types are compatible. Compatible pixels can be assigned and copy constructed from one another. </p>
62 <dl class="tparams"><dt>Template Parameters</dt><dd>
63 <table class="tparams">
64 <tr><td class="paramname">P1</td><td>Models <a class="el" href="structboost_1_1gil_1_1_pixel_concept.html" title="Pixel concept - A color base whose elements are channels.">PixelConcept</a> </td></tr>
65 <tr><td class="paramname">P2</td><td>Models <a class="el" href="structboost_1_1gil_1_1_pixel_concept.html" title="Pixel concept - A color base whose elements are channels.">PixelConcept</a> </td></tr>
69 </div><hr/>The documentation for this struct was generated from the following file:<ul>
70 <li><a class="el" href="concepts_2pixel_8hpp_source.html">concepts/pixel.hpp</a></li>
72 </div><!-- contents -->
73 <!-- HTML footer for doxygen 1.8.13-->
74 <!-- start footer part -->
76 <address class="footer">
78 Generated by  <a href="http://www.doxygen.org/index.html">doxygen</a> 1.8.15