Sophie

Sophie

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

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: itk::ConvertPixelBuffer&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt; Class Template Reference</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="namespaceitk.html">itk</a>::<a class="el" href="classitk_1_1ConvertPixelBuffer.html">ConvertPixelBuffer</a>
  </div>
<div class="contents">
<h1>itk::ConvertPixelBuffer&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt; Class Template Reference</h1><!-- doxytag: class="itk::ConvertPixelBuffer" -->Class to convert blocks of data from one type to another.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="itkConvertPixelBuffer_8h_source.html">itkConvertPixelBuffer.h</a>&gt;</code>
<p>

<p>
<a href="classitk_1_1ConvertPixelBuffer-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br class="typebreak">
OutputConvertTraits::ComponentType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#cac9713274ced658afc64dee9626964c">OutputComponentType</a></td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#edb9f1dffd04d0a1e9026313930d0eb4">Convert</a> (InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#4e6449b495233af3df5e75e881e6eb15">ConvertVectorImage</a> (InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, int size)</td></tr>

<tr><td colspan="2"><br><h2>Static Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#e240c55f54ec2592ebcc9615580b09e8">ConvertGrayToGray</a> (InputPixelType *inputData, OutputPixelType *outputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#633d21dcb44e96ee9153ab8c81afed24">ConvertGrayToRGB</a> (InputPixelType *inputData, OutputPixelType *outputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#c72bb87c0c27affb232020edae5fc8a8">ConvertMultiComponentToRGB</a> (InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#7112d6cf2b16725aa833ad20c820fa21">ConvertRGBAToRGB</a> (InputPixelType *inputData, OutputPixelType *outputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#d30524c9076490788a264f50e2809d35">ConvertRGBToGray</a> (InputPixelType *inputData, OutputPixelType *outputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#0b787d5f039c18f9bbf0935e2282fe9d">ConvertRGBToRGB</a> (InputPixelType *inputData, OutputPixelType *outputData, int size)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#3495287d786c9ee4bd0422b69c150505">ConvertComplexToComplex</a> (InputPixelType *inputData, OutputPixelType *outputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#406cb1b3cde78800464d7e7f91a23354">ConvertGrayToComplex</a> (InputPixelType *inputData, OutputPixelType *OutputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#28d6105e5e51a0614d85ffc96f58a69a">ConvertMultiComponentToComplex</a> (InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, int size)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#4d4a63ecf9b80dd7eebab047812aed1f">ConvertGrayToRGBA</a> (InputPixelType *inputData, OutputPixelType *outputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#c14c48ee5cabfccb3645f8b7182a47b0">ConvertMultiComponentToRGBA</a> (InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#d6dd65ec77f55080e85418e93c36c03d">ConvertRGBAToRGBA</a> (InputPixelType *inputData, OutputPixelType *outputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#548b723748e9e05f88bf64285daa5c37">ConvertRGBToRGBA</a> (InputPixelType *inputData, OutputPixelType *outputData, int size)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#6453963c3d3529040a990e9717a9e4cf">ConvertMultiComponentToGray</a> (InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#84e7ece329bf9f5bbacf99ad4b84ace6">ConvertRGBAToGray</a> (InputPixelType *inputData, OutputPixelType *outputData, int size)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#a60978598148ccff2a57c53ee9492753">ConvertTensor6ToTensor6</a> (InputPixelType *inputData, OutputPixelType *outputData, int size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1ConvertPixelBuffer.html#108516bf60bb20c3115c63db885c7e72">ConvertTensor9ToTensor6</a> (InputPixelType *inputData, OutputPixelType *outputData, int size)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;typename InputPixelType, typename OutputPixelType, class OutputConvertTraits&gt;<br>
 class itk::ConvertPixelBuffer&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;</h3>

Class to convert blocks of data from one type to another. 
<p>
<a class="el" href="classitk_1_1ConvertPixelBuffer.html" title="Class to convert blocks of data from one type to another.">ConvertPixelBuffer</a> has a static method <a class="el" href="classitk_1_1ConvertPixelBuffer.html#edb9f1dffd04d0a1e9026313930d0eb4">Convert()</a>. It is used by itkImageFileReader to convert from an unknown type at run-time to the compile-time template pixel type in itkImageFileReader. To work with complex pixel types like RGB and RGBA a traits class is used. OutputConvertTraits() is the traits class. The default one used is <a class="el" href="classitk_1_1DefaultConvertPixelTraits.html" title="Traits class used to by ConvertPixels to convert blocks of pixels.">DefaultConvertPixelTraits</a>. 
<p>Definition at line <a class="el" href="itkConvertPixelBuffer_8h_source.html#l00041">41</a> of file <a class="el" href="itkConvertPixelBuffer_8h_source.html">itkConvertPixelBuffer.h</a>.</p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="cac9713274ced658afc64dee9626964c"></a><!-- doxytag: member="itk::ConvertPixelBuffer::OutputComponentType" ref="cac9713274ced658afc64dee9626964c" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef OutputConvertTraits::ComponentType <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::<a class="el" href="classitk_1_1ConvertPixelBuffer.html#cac9713274ced658afc64dee9626964c">OutputComponentType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determine the output data type. 
<p>Definition at line <a class="el" href="itkConvertPixelBuffer_8h_source.html#l00046">46</a> of file <a class="el" href="itkConvertPixelBuffer_8h_source.html">itkConvertPixelBuffer.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="edb9f1dffd04d0a1e9026313930d0eb4"></a><!-- doxytag: member="itk::ConvertPixelBuffer::Convert" ref="edb9f1dffd04d0a1e9026313930d0eb4" args="(InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::Convert           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>inputNumberOfComponents</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
General method converts from one type to another. 
</div>
</div><p>
<a class="anchor" name="3495287d786c9ee4bd0422b69c150505"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertComplexToComplex" ref="3495287d786c9ee4bd0422b69c150505" args="(InputPixelType *inputData, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertComplexToComplex           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convertions related to complex 
</div>
</div><p>
<a class="anchor" name="406cb1b3cde78800464d7e7f91a23354"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertGrayToComplex" ref="406cb1b3cde78800464d7e7f91a23354" args="(InputPixelType *inputData, OutputPixelType *OutputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertGrayToComplex           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>OutputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convertions related to complex 
</div>
</div><p>
<a class="anchor" name="e240c55f54ec2592ebcc9615580b09e8"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertGrayToGray" ref="e240c55f54ec2592ebcc9615580b09e8" args="(InputPixelType *inputData, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertGrayToGray           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convert to Gray output. Input values are cast to output values. 
</div>
</div><p>
<a class="anchor" name="633d21dcb44e96ee9153ab8c81afed24"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertGrayToRGB" ref="633d21dcb44e96ee9153ab8c81afed24" args="(InputPixelType *inputData, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertGrayToRGB           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convert to RGB output. Each RGB output component is set the the input Gray value. 
</div>
</div><p>
<a class="anchor" name="4d4a63ecf9b80dd7eebab047812aed1f"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertGrayToRGBA" ref="4d4a63ecf9b80dd7eebab047812aed1f" args="(InputPixelType *inputData, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertGrayToRGBA           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convert to RGBA output. 
</div>
</div><p>
<a class="anchor" name="28d6105e5e51a0614d85ffc96f58a69a"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertMultiComponentToComplex" ref="28d6105e5e51a0614d85ffc96f58a69a" args="(InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertMultiComponentToComplex           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>inputNumberOfComponents</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convertions related to complex 
</div>
</div><p>
<a class="anchor" name="6453963c3d3529040a990e9717a9e4cf"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertMultiComponentToGray" ref="6453963c3d3529040a990e9717a9e4cf" args="(InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertMultiComponentToGray           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>inputNumberOfComponents</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Weights convert from linear RGB to CIE luminance assuming a modern monitor. Values are attentuated by the Alpha channel. See Charles Poynton's Colour FAQ <a href="http://www.inforamp.net/~poynton/notes/colour_and_gamma/ColorFAQ.html">http://www.inforamp.net/~poynton/notes/colour_and_gamma/ColorFAQ.html</a> 
</div>
</div><p>
<a class="anchor" name="c72bb87c0c27affb232020edae5fc8a8"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertMultiComponentToRGB" ref="c72bb87c0c27affb232020edae5fc8a8" args="(InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertMultiComponentToRGB           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>inputNumberOfComponents</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Conversion depends upon the number of components in the input. If the number of input components is 2, the output components are each set to the first input component attenuated by the second input component. This assumes that a two input pixel represents intensity and alpha. If the number of input components is not 2, the first three output components a are set to the first three input components. The remaining input components are ignored. 
</div>
</div><p>
<a class="anchor" name="c14c48ee5cabfccb3645f8b7182a47b0"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertMultiComponentToRGBA" ref="c14c48ee5cabfccb3645f8b7182a47b0" args="(InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertMultiComponentToRGBA           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>inputNumberOfComponents</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convert to RGBA output. 
</div>
</div><p>
<a class="anchor" name="84e7ece329bf9f5bbacf99ad4b84ace6"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertRGBAToGray" ref="84e7ece329bf9f5bbacf99ad4b84ace6" args="(InputPixelType *inputData, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertRGBAToGray           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Weights convert from linear RGB to CIE luminance assuming a modern monitor. Values are attentuated by the Alpha channel. See Charles Poynton's Colour FAQ <a href="http://www.inforamp.net/~poynton/notes/colour_and_gamma/ColorFAQ.html">http://www.inforamp.net/~poynton/notes/colour_and_gamma/ColorFAQ.html</a> 
</div>
</div><p>
<a class="anchor" name="7112d6cf2b16725aa833ad20c820fa21"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertRGBAToRGB" ref="7112d6cf2b16725aa833ad20c820fa21" args="(InputPixelType *inputData, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertRGBAToRGB           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Input values are attenuated by the Alpha channel. 
</div>
</div><p>
<a class="anchor" name="d6dd65ec77f55080e85418e93c36c03d"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertRGBAToRGBA" ref="d6dd65ec77f55080e85418e93c36c03d" args="(InputPixelType *inputData, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertRGBAToRGBA           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convert to RGBA output. 
</div>
</div><p>
<a class="anchor" name="d30524c9076490788a264f50e2809d35"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertRGBToGray" ref="d30524c9076490788a264f50e2809d35" args="(InputPixelType *inputData, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertRGBToGray           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Weights convert from linear RGB to CIE luminance assuming a modern monitor. See Charles Poynton's Colour FAQ<p>
<a href="http://www.inforamp.net/~poynton/notes/colour_and_gamma/ColorFAQ.html">http://www.inforamp.net/~poynton/notes/colour_and_gamma/ColorFAQ.html</a> 
</div>
</div><p>
<a class="anchor" name="0b787d5f039c18f9bbf0935e2282fe9d"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertRGBToRGB" ref="0b787d5f039c18f9bbf0935e2282fe9d" args="(InputPixelType *inputData, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertRGBToRGB           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Input values are cast component by component to output values. 
</div>
</div><p>
<a class="anchor" name="548b723748e9e05f88bf64285daa5c37"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertRGBToRGBA" ref="548b723748e9e05f88bf64285daa5c37" args="(InputPixelType *inputData, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertRGBToRGBA           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convert to RGBA output. 
</div>
</div><p>
<a class="anchor" name="a60978598148ccff2a57c53ee9492753"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertTensor6ToTensor6" ref="a60978598148ccff2a57c53ee9492753" args="(InputPixelType *inputData, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertTensor6ToTensor6           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convert tensor output. Each input is made into a 6 component symmetric pixel 
</div>
</div><p>
<a class="anchor" name="108516bf60bb20c3115c63db885c7e72"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertTensor9ToTensor6" ref="108516bf60bb20c3115c63db885c7e72" args="(InputPixelType *inputData, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertTensor9ToTensor6           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convert tensor output. Each input is made into a 6 component symmetric pixel 
</div>
</div><p>
<a class="anchor" name="4e6449b495233af3df5e75e881e6eb15"></a><!-- doxytag: member="itk::ConvertPixelBuffer::ConvertVectorImage" ref="4e6449b495233af3df5e75e881e6eb15" args="(InputPixelType *inputData, int inputNumberOfComponents, OutputPixelType *outputData, int size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename InputPixelType , typename OutputPixelType , class OutputConvertTraits &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1ConvertPixelBuffer.html">itk::ConvertPixelBuffer</a>&lt; InputPixelType, OutputPixelType, OutputConvertTraits &gt;::ConvertVectorImage           </td>
          <td>(</td>
          <td class="paramtype">InputPixelType *&nbsp;</td>
          <td class="paramname"> <em>inputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>inputNumberOfComponents</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputPixelType *&nbsp;</td>
          <td class="paramname"> <em>outputData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="itkConvertPixelBuffer_8h_source.html">itkConvertPixelBuffer.h</a></ul>
</div>
<hr><address><small>
Generated at Fri May 8 02:23:48 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>