Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > d5e74628f0e673bb8680aebce32b2c04 > files > 16240

itk-doc-3.12.0-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ITK: itkJoinImageFilter.h Source File</title>
<link href="DoxygenStyle.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">


<!--  Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 -->
<center>
<a href="index.html" class="qindex">Main Page</a>&nbsp;&nbsp; 
<a href="modules.html" class="qindex">Groups</a>&nbsp;&nbsp;
<a href="namespaces.html" class="qindex">Namespace List</a>&nbsp;&nbsp;
<a href="hierarchy.html" class="qindex">Class Hierarchy</a>&nbsp;&nbsp;
<a href="classes.html" class="qindex">Alphabetical List</a>&nbsp;&nbsp;
<a href="annotated.html" class="qindex">Compound List</a>&nbsp;&nbsp; 
<a href="files.html" class="qindex">File
List</a>&nbsp;&nbsp; 
<a href="namespacemembers.html" class="qindex">Namespace Members</a>&nbsp;&nbsp; 
<a href="functions.html" class="qindex">Compound Members</a>&nbsp;&nbsp; 
<a href="globals.html" class="qindex">File Members</a>&nbsp;&nbsp;
<a href="pages.html" class="qindex">Concepts</a></center>


<!-- Generated by Doxygen 1.5.9 -->
  <div class="navpath"><a class="el" href="dir_02e23d841c198393a6e961e9a0678fff.html">Code</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_00ffda33c24cbbf617b202f4f3bcb7e8.html">BasicFilters</a>
  </div>
<div class="contents">
<h1>itkJoinImageFilter.h</h1><a href="itkJoinImageFilter_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*=========================================================================</span>
<a name="l00002"></a>00002 <span class="comment"></span>
<a name="l00003"></a>00003 <span class="comment">  Program:   Insight Segmentation &amp; Registration Toolkit</span>
<a name="l00004"></a>00004 <span class="comment">  Module:    $RCSfile: itkJoinImageFilter.h,v $</span>
<a name="l00005"></a>00005 <span class="comment">  Language:  C++</span>
<a name="l00006"></a>00006 <span class="comment">  Date:      $Date: 2008-10-09 16:20:18 $</span>
<a name="l00007"></a>00007 <span class="comment">  Version:   $Revision: 1.17 $</span>
<a name="l00008"></a>00008 <span class="comment"></span>
<a name="l00009"></a>00009 <span class="comment">  Copyright (c) Insight Software Consortium. All rights reserved.</span>
<a name="l00010"></a>00010 <span class="comment">  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.</span>
<a name="l00011"></a>00011 <span class="comment"></span>
<a name="l00012"></a>00012 <span class="comment">     This software is distributed WITHOUT ANY WARRANTY; without even </span>
<a name="l00013"></a>00013 <span class="comment">     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR </span>
<a name="l00014"></a>00014 <span class="comment">     PURPOSE.  See the above copyright notices for more information.</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">=========================================================================*/</span>
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef __itkJoinImageFilter_h</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkJoinImageFilter_h</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkBinaryFunctorImageFilter_8h.html">itkBinaryFunctorImageFilter.h</a>"</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include "itkPixelTraits.h"</span>
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="keyword">namespace </span>itk
<a name="l00024"></a>00024 {
<a name="l00025"></a>00025   
<a name="l00026"></a>00026 <span class="keyword">namespace </span>Functor {  
<a name="l00045"></a>00045 <span class="keyword">template</span> &lt;<span class="keyword">class</span> TPixel1, <span class="keyword">class</span> TPixel2&gt;
<a name="l00046"></a><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html">00046</a> <span class="keyword">class </span><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html" title="Join the components of two pixel types into a single pixel type.">JoinFunctor</a>
<a name="l00047"></a>00047 {
<a name="l00048"></a>00048 <span class="keyword">public</span>:
<a name="l00049"></a><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#b6834aa0ae4e80d6eec29a6d3cb7b1d9">00049</a>   <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#b6834aa0ae4e80d6eec29a6d3cb7b1d9">JoinFunctor</a>() {}
<a name="l00050"></a><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#860de466152521ee5ca324f19ae9d4ed">00050</a>   <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#860de466152521ee5ca324f19ae9d4ed">~JoinFunctor</a>() {}
<a name="l00052"></a>00052 
<a name="l00054"></a><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#6e52beabf6144a0136db050c26116d2e">00054</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html" title="Join the components of two pixel types into a single pixel type.">JoinFunctor</a> <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html" title="Join the components of two pixel types into a single pixel type.">Self</a>;
<a name="l00055"></a>00055 
<a name="l00057"></a><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#7e6968426f6f38a64a39c7378077bfdb">00057</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> PixelTraits&lt;TPixel1&gt;::ValueType               <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#7e6968426f6f38a64a39c7378077bfdb">ValueType1</a>;
<a name="l00058"></a><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#5186156b4b9f5633bf04206595e9507a">00058</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> PixelTraits&lt;TPixel2&gt;::ValueType               <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#5186156b4b9f5633bf04206595e9507a">ValueType2</a>;
<a name="l00059"></a><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#3fd666295413083a40de5fc401ec991a">00059</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> JoinTraits&lt;ValueType1, ValueType2&gt;::ValueType <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#3fd666295413083a40de5fc401ec991a">JoinValueType</a>;
<a name="l00060"></a>00060 
<a name="l00062"></a>00062   <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#d29b828ff21fe425b97c8de5fdcadbda">itkStaticConstMacro</a>(Dimension1, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>,
<a name="l00063"></a>00063                       PixelTraits&lt;TPixel1&gt;::Dimension);
<a name="l00064"></a>00064   <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#d29b828ff21fe425b97c8de5fdcadbda">itkStaticConstMacro</a>(Dimension2, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>,
<a name="l00065"></a>00065                       PixelTraits&lt;TPixel2&gt;::Dimension);
<a name="l00066"></a>00066   <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#d29b828ff21fe425b97c8de5fdcadbda">itkStaticConstMacro</a>(JoinDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>,
<a name="l00067"></a>00067                       Dimension1 + Dimension2);
<a name="l00069"></a>00069 
<a name="l00071"></a><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#fb51f6aef3af9158d96e84870cd01e90">00071</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">Vector&lt;JoinValueType, itkGetStaticConstMacro(JoinDimension)&gt;</a> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">JoinType</a>;
<a name="l00072"></a>00072 
<a name="l00073"></a><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#25a0890bbc6d16256d03ac43437fef48">00073</a>   <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#25a0890bbc6d16256d03ac43437fef48">operator!=</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html" title="Join the components of two pixel types into a single pixel type.">JoinFunctor</a> &amp; )<span class="keyword"> const</span>
<a name="l00074"></a>00074 <span class="keyword">    </span>{
<a name="l00075"></a>00075     <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00076"></a>00076     }
<a name="l00077"></a><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#30b67f14df5fd4520593ac574b5dc030">00077</a>   <span class="keywordtype">bool</span> <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#30b67f14df5fd4520593ac574b5dc030">operator==</a>( <span class="keyword">const</span> <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html" title="Join the components of two pixel types into a single pixel type.">JoinFunctor</a> &amp; other )<span class="keyword"> const</span>
<a name="l00078"></a>00078 <span class="keyword">    </span>{
<a name="l00079"></a>00079     <span class="keywordflow">return</span> !(*<span class="keyword">this</span> != other);
<a name="l00080"></a>00080     }
<a name="l00081"></a>00081 
<a name="l00083"></a><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#6cd35c1feac5d1f39ade4191550c8d1c">00083</a>   <span class="keyword">inline</span> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">JoinType</a> <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#6cd35c1feac5d1f39ade4191550c8d1c">operator()</a>( <span class="keyword">const</span> TPixel1 &amp; <a class="code" href="classA.html">A</a>, <span class="keyword">const</span> TPixel2 &amp; B)
<a name="l00084"></a>00084     {
<a name="l00085"></a>00085     <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">JoinType</a> out;
<a name="l00086"></a>00086 
<a name="l00087"></a>00087     <span class="comment">// Copy A into the output, casting as necessary</span>
<a name="l00088"></a>00088     this-&gt;FirstCopier(out, 0, A);
<a name="l00089"></a>00089 
<a name="l00090"></a>00090     <span class="comment">// Copy B into the output, starting where A left off,casting as necessary</span>
<a name="l00091"></a>00091     this-&gt;SecondCopier(out, Dimension1, B);
<a name="l00092"></a>00092 
<a name="l00093"></a>00093     <span class="keywordflow">return</span> out;
<a name="l00094"></a>00094     }
<a name="l00095"></a>00095 
<a name="l00096"></a>00096 <span class="keyword">private</span>:
<a name="l00103"></a>00103   <span class="keyword">struct </span>CopierDispatchBase {};
<a name="l00104"></a>00104   <span class="keyword">template</span>&lt;<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> VDimension&gt;
<a name="l00105"></a>00105   <span class="keyword">struct </span>CopierDispatch : <span class="keyword">public</span> CopierDispatchBase {};
<a name="l00106"></a>00106 
<a name="l00117"></a>00117   <span class="keywordtype">void</span> FirstCopier(<a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#fb51f6aef3af9158d96e84870cd01e90">JoinType</a>&amp; out, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx, <span class="keyword">const</span> TPixel1&amp; <a class="code" href="classA.html">A</a>)
<a name="l00118"></a>00118     {
<a name="l00119"></a>00119     FirstCopier(CopierDispatch&lt;Dimension1&gt;(), out, idx, A);
<a name="l00120"></a>00120     }
<a name="l00121"></a>00121 
<a name="l00123"></a>00123   <span class="keywordtype">void</span> FirstCopier(CopierDispatchBase,
<a name="l00124"></a>00124                    <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#fb51f6aef3af9158d96e84870cd01e90">JoinType</a>&amp; out, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx, <span class="keyword">const</span> TPixel1&amp; A)
<a name="l00125"></a>00125     {
<a name="l00126"></a>00126     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i=0; i &lt; Dimension1; i++, idx++)
<a name="l00127"></a>00127       {
<a name="l00128"></a>00128       out[idx] = <span class="keyword">static_cast&lt;</span><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#3fd666295413083a40de5fc401ec991a">JoinValueType</a><span class="keyword">&gt;</span>(A[i]);
<a name="l00129"></a>00129       }
<a name="l00130"></a>00130     }
<a name="l00132"></a>00132 
<a name="l00134"></a>00134   <span class="keywordtype">void</span> FirstCopier(CopierDispatch&lt;1&gt;,
<a name="l00135"></a>00135                    <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#fb51f6aef3af9158d96e84870cd01e90">JoinType</a>&amp; out, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx, <span class="keyword">const</span> TPixel1&amp; A)
<a name="l00136"></a>00136     { out[idx] = <span class="keyword">static_cast&lt;</span><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#3fd666295413083a40de5fc401ec991a">JoinValueType</a><span class="keyword">&gt;</span>(A); }
<a name="l00137"></a>00137 
<a name="l00143"></a>00143   <span class="keywordtype">void</span> SecondCopier(<a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#fb51f6aef3af9158d96e84870cd01e90">JoinType</a>&amp; out, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx, <span class="keyword">const</span> TPixel2&amp; B)
<a name="l00144"></a>00144     {
<a name="l00145"></a>00145     SecondCopier(CopierDispatch&lt;Dimension2&gt;(), out, idx, B);
<a name="l00146"></a>00146     }
<a name="l00147"></a>00147 
<a name="l00149"></a>00149   <span class="keywordtype">void</span> SecondCopier(CopierDispatchBase,
<a name="l00150"></a>00150                     <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#fb51f6aef3af9158d96e84870cd01e90">JoinType</a>&amp; out, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx, <span class="keyword">const</span> TPixel2&amp; B)
<a name="l00151"></a>00151     {
<a name="l00152"></a>00152     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i=0; i &lt; Dimension2; i++, idx++)
<a name="l00153"></a>00153       {
<a name="l00154"></a>00154       out[idx] = <span class="keyword">static_cast&lt;</span><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#3fd666295413083a40de5fc401ec991a">JoinValueType</a><span class="keyword">&gt;</span>(B[i]);
<a name="l00155"></a>00155       }
<a name="l00156"></a>00156     }
<a name="l00158"></a>00158 
<a name="l00160"></a>00160   <span class="keywordtype">void</span> SecondCopier(CopierDispatch&lt;1&gt;,
<a name="l00161"></a>00161                     <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#fb51f6aef3af9158d96e84870cd01e90">JoinType</a>&amp; out, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx, <span class="keyword">const</span> TPixel2&amp; B)
<a name="l00162"></a>00162     {
<a name="l00163"></a>00163     out[idx] = <span class="keyword">static_cast&lt;</span><a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html#3fd666295413083a40de5fc401ec991a">JoinValueType</a><span class="keyword">&gt;</span>(B);
<a name="l00164"></a>00164     }
<a name="l00165"></a>00165 }; <span class="comment">//class JoinFunction</span>
<a name="l00167"></a>00167 <span class="comment"></span>
<a name="l00168"></a>00168 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> TImage1, <span class="keyword">typename</span> TImage2&gt;
<a name="l00169"></a><a class="code" href="structitk_1_1Functor_1_1MakeJoin.html">00169</a> <span class="keyword">struct </span><a class="code" href="structitk_1_1Functor_1_1MakeJoin.html">MakeJoin</a>
<a name="l00170"></a>00170 {
<a name="l00171"></a>00171   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html" title="Join the components of two pixel types into a single pixel type.">JoinFunctor</a>&lt;<span class="keyword">typename</span> TImage1::PixelType,
<a name="l00172"></a><a class="code" href="structitk_1_1Functor_1_1MakeJoin.html#d0db2efb37c761979f17d739bfa441b0">00172</a>                       <span class="keyword">typename</span> TImage2::PixelType&gt; <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html" title="Join the components of two pixel types into a single pixel type.">FunctorType</a>;
<a name="l00173"></a>00173   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image</a>&lt;<span class="keyword">typename</span> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">FunctorType::JoinType</a>,<a class="code" href="structitk_1_1GetImageDimension.html"></a>
<a name="l00174"></a><a class="code" href="structitk_1_1Functor_1_1MakeJoin.html#ae9d85fd7b03d7bf95743128ac85391b">00174</a> <a class="code" href="structitk_1_1GetImageDimension.html">                ::itk::GetImageDimension&lt;TImage1&gt;::ImageDimension</a>&gt; <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">ImageType</a>;
<a name="l00175"></a>00175 };
<a name="l00176"></a>00176 
<a name="l00177"></a>00177 } <span class="comment">//namespace functor</span>
<a name="l00178"></a>00178   
<a name="l00202"></a>00202 <span class="keyword">template</span> &lt;<span class="keyword">class</span> TInputImage1, <span class="keyword">class</span> TInputImage2&gt;
<a name="l00203"></a><a class="code" href="classitk_1_1JoinImageFilter.html">00203</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1JoinImageFilter.html" title="Join two images, resulting in an image where each pixel has the components of the...">JoinImageFilter</a>:
<a name="l00204"></a>00204   <span class="keyword">public</span> <a class="code" href="classitk_1_1BinaryFunctorImageFilter.html" title="Implements pixel-wise generic operation of two images.">BinaryFunctorImageFilter</a>&lt;TInputImage1,
<a name="l00205"></a>00205                                   TInputImage2,
<a name="l00206"></a>00206                                   ITK_TYPENAME
<a name="l00207"></a>00207                                   Functor::MakeJoin&lt;TInputImage1,
<a name="l00208"></a>00208                                                     TInputImage2&gt;::ImageType,
<a name="l00209"></a>00209                                   ITK_TYPENAME
<a name="l00210"></a>00210                                   Functor::MakeJoin&lt;TInputImage1,
<a name="l00211"></a>00211                                                     TInputImage2&gt;::FunctorType&gt;
<a name="l00212"></a>00212 {
<a name="l00213"></a>00213 <span class="keyword">public</span>:
<a name="l00215"></a>00215   <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(OutputImageDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>,
<a name="l00216"></a>00216                       TInputImage1::ImageDimension);
<a name="l00217"></a>00217 
<a name="l00219"></a><a class="code" href="classitk_1_1JoinImageFilter.html#5bda1cde0f3d1e4da7223a0ddca41a72">00219</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1JoinImageFilter.html" title="Join two images, resulting in an image where each pixel has the components of the...">JoinImageFilter</a>  <a class="code" href="classitk_1_1JoinImageFilter.html" title="Join two images, resulting in an image where each pixel has the components of the...">Self</a>;
<a name="l00220"></a>00220 
<a name="l00222"></a>00222   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="structitk_1_1Functor_1_1MakeJoin.html">Functor::MakeJoin</a>&lt;TInputImage1,
<a name="l00223"></a><a class="code" href="classitk_1_1JoinImageFilter.html#a2ee737a71436f665aca3a49c46d600a">00223</a>                                      TInputImage2&gt;<a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html" title="Join the components of two pixel types into a single pixel type.">::FunctorType</a> <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html" title="Join the components of two pixel types into a single pixel type.">FunctorType</a>;
<a name="l00224"></a>00224   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="structitk_1_1Functor_1_1MakeJoin.html">Functor::MakeJoin</a>&lt;TInputImage1,
<a name="l00225"></a><a class="code" href="classitk_1_1JoinImageFilter.html#eac4856a13aba8ac9e1baa24d9fa5c82">00225</a>                                      TInputImage2&gt;::ImageType <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">OutputImageType</a>;
<a name="l00226"></a><a class="code" href="classitk_1_1JoinImageFilter.html#b37f35dc8e6a980a4c02b2da272ebe83">00226</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">FunctorType::JoinType</a> <a class="code" href="classitk_1_1Vector.html" title="A templated class holding a n-Dimensional vector.">OutputImagePixelType</a>;  
<a name="l00227"></a>00227 
<a name="l00229"></a>00229   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1BinaryFunctorImageFilter.html" title="Implements pixel-wise generic operation of two images.">BinaryFunctorImageFilter</a>&lt;TInputImage1,TInputImage2, <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">OutputImageType</a>,
<a name="l00230"></a><a class="code" href="classitk_1_1JoinImageFilter.html#ce649ddd077158dbd915e85182ad4353">00230</a>                                    <a class="code" href="classitk_1_1Functor_1_1JoinFunctor.html" title="Join the components of two pixel types into a single pixel type.">FunctorType</a> &gt; <a class="code" href="classitk_1_1BinaryFunctorImageFilter.html" title="Implements pixel-wise generic operation of two images.">Superclass</a>; 
<a name="l00231"></a><a class="code" href="classitk_1_1JoinImageFilter.html#69f5153b62653c841e18ff69bea833e9">00231</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer&lt;Self&gt;</a>                     <a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>;
<a name="l00232"></a><a class="code" href="classitk_1_1JoinImageFilter.html#072b4fd8fde95707f2e38d4878580fc6">00232</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer&lt;const Self&gt;</a>               <a class="code" href="classitk_1_1SmartPointer.html">ConstPointer</a>;
<a name="l00233"></a>00233 
<a name="l00235"></a>00235   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1JoinImageFilter.html" title="Join two images, resulting in an image where each pixel has the components of the...">Self</a>);
<a name="l00236"></a>00236 
<a name="l00238"></a>00238   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1JoinImageFilter.html" title="Join two images, resulting in an image where each pixel has the components of the...">JoinImageFilter</a>, <a class="code" href="classitk_1_1BinaryFunctorImageFilter.html" title="Implements pixel-wise generic operation of two images.">BinaryFunctorImageFilter</a>);
<a name="l00239"></a>00239 
<a name="l00240"></a>00240 <span class="preprocessor">#ifdef ITK_USE_CONCEPT_CHECKING</span>
<a name="l00241"></a>00241 <span class="preprocessor"></span>
<a name="l00242"></a>00242   <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(Input1HasPixelTraitsCheck,
<a name="l00243"></a>00243     (<a class="code" href="structitk_1_1Concept_1_1HasPixelTraits.html">Concept::HasPixelTraits&lt;typename TInputImage1::PixelType&gt;</a>));
<a name="l00244"></a>00244   <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(Input2HasPixelTraitsCheck,
<a name="l00245"></a>00245     (<a class="code" href="structitk_1_1Concept_1_1HasPixelTraits.html">Concept::HasPixelTraits&lt;typename TInputImage2::PixelType&gt;</a>));
<a name="l00246"></a>00246   <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(Input1Input2HasJoinTraitsCheck,
<a name="l00247"></a>00247     (<a class="code" href="structitk_1_1Concept_1_1HasJoinTraits.html">Concept::HasJoinTraits</a>&lt;<span class="keyword">typename</span> PixelTraits&lt;typename TInputImage1::PixelType&gt;::ValueType,
<a name="l00248"></a>00248                             <span class="keyword">typename</span> PixelTraits&lt;typename TInputImage2::PixelType&gt;::ValueType&gt;));
<a name="l00249"></a>00249 
<a name="l00251"></a>00251 <span class="preprocessor">#endif</span>
<a name="l00252"></a>00252 <span class="preprocessor"></span>
<a name="l00253"></a>00253 <span class="keyword">protected</span>:
<a name="l00254"></a><a class="code" href="classitk_1_1JoinImageFilter.html#7b867ebe960cec55c2c8194504668bd2">00254</a>   <a class="code" href="classitk_1_1JoinImageFilter.html#7b867ebe960cec55c2c8194504668bd2">JoinImageFilter</a>() {}
<a name="l00255"></a><a class="code" href="classitk_1_1JoinImageFilter.html#93fa9125ecbce407fa9540ad158e2ebb">00255</a>   <span class="keyword">virtual</span> <a class="code" href="classitk_1_1JoinImageFilter.html#93fa9125ecbce407fa9540ad158e2ebb">~JoinImageFilter</a>() {}
<a name="l00256"></a>00256 
<a name="l00257"></a>00257 <span class="keyword">private</span>:
<a name="l00258"></a>00258   <a class="code" href="classitk_1_1JoinImageFilter.html" title="Join two images, resulting in an image where each pixel has the components of the...">JoinImageFilter</a>(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ac7d0120fe5292cdcdddb6163b8cb150">Self</a>&amp;); <span class="comment">//purposely not implemented</span>
<a name="l00259"></a>00259   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ac7d0120fe5292cdcdddb6163b8cb150">Self</a>&amp;); <span class="comment">//purposely not implemented</span>
<a name="l00260"></a>00260 
<a name="l00261"></a>00261 };
<a name="l00262"></a>00262 
<a name="l00263"></a>00263   
<a name="l00264"></a>00264 } <span class="comment">// end namespace itk</span>
<a name="l00265"></a>00265   
<a name="l00266"></a>00266 <span class="preprocessor">#endif</span>
<a name="l00267"></a>00267 <span class="preprocessor"></span>
</pre></div></div>
<hr><address><small>
Generated at Thu May 7 23:21:11 2009 for ITK  by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"> <img 
src="http://www.stack.nl/~dimitri/doxygen/doxygen.png" alt="doxygen"
align="middle" border=0 width=110 height=53>
</a> 1.5.9 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
 &copy;&nbsp;1997-2000</small></address>
</body>
</html>