Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / gil / doc / html / reference / structboost_1_1gil_1_1pixels__are__compatible.html
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">
4   <head>
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&lt; P1, P2 &gt; 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"/>
15   </head>
16   <body>
17     <div class="boost-header">
18       <table border="0" cellpadding="7" cellspacing="0" width="100%" summary="header">
19         <tr>
20           <td valign="top" width="300">
21             <h3><a href="../index.html"><img alt="Boost GIL" src="../_static/gil.png" border="0"></a></h3>
22           </td>
23           <td ><h1 align="center"><a href="../index.html"></a></h1></td>
24           <td></td>
25         </tr>
26       </table>
27     </div>
28     <hr/>
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&amp;dn=gpl-2.0.txt GPL-v2 */
35 $(function() {
36   initMenu('',false,false,'search.php','Search');
37 });
38 /* @license-end */</script>
39 <div id="main-nav"></div>
40 <div id="nav-path" class="navpath">
41   <ul>
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>
43 </div>
44 </div><!-- top -->
45 <div class="header">
46   <div class="headertitle">
47 <div class="title">pixels_are_compatible&lt; P1, P2 &gt; Struct Template Reference<div class="ingroups"><a class="el" href="group___pixel.html">Pixel</a> &raquo; <a class="el" href="group___pixel_algorithm.html">Algorithms and Utility Functions</a></div></div>  </div>
48 </div><!--header-->
49 <div class="contents">
50
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>
53
54 <p><code>#include &lt;<a class="el" href="concepts_2pixel_8hpp_source.html">pixel.hpp</a>&gt;</code></p>
55
56 <p>Inherits mp_and&lt; color_spaces_are_compatible&lt; color_space_type&lt; P1 &gt;::type, color_space_type&lt; P2 &gt;::type &gt;::type, detail::channels_are_pairwise_compatible&lt; P1, P2, num_channels&lt; P1 &gt;::value - 1 &gt; &gt;.</p>
57 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
58 <div class="textblock"><h3>template&lt;typename P1, typename P2&gt;<br />
59 struct boost::gil::pixels_are_compatible&lt; P1, P2 &gt;</h3>
60
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>
66   </table>
67   </dd>
68 </dl>
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>
71 </ul>
72 </div><!-- contents -->
73      <!-- HTML footer for doxygen 1.8.13-->
74      <!-- start footer part -->
75      <hr class="footer"/>
76      <address class="footer">
77       <small>
78         Generated by &#160;<a href="http://www.doxygen.org/index.html">doxygen</a> 1.8.15
79       </small>
80     </address>
81   </body>
82 </html>