Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 758

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: vtkImageDifference Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkImageDifference Class Reference</h1><!-- doxytag: class="vtkImageDifference" --><!-- doxytag: inherits="vtkThreadedImageAlgorithm" --><code>#include &lt;<a class="el" href="a04687.html">vtkImageDifference.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkImageDifference:</div>
<div class="dynsection">
<p><center><img src="a10813.png" border="0" usemap="#a10814" alt="Inheritance graph"></center>
<map name="a10814">
<area shape="rect" href="a01705.html" title="Generic filter that has one input.." alt="" coords="5,304,200,331"><area shape="rect" href="a00727.html" title="Generic algorithm superclass for image algs." alt="" coords="35,230,171,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="53,155,152,182"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="63,80,143,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="48,6,157,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkImageDifference:</div>
<div class="dynsection">
<p><center><img src="a10815.png" border="0" usemap="#a10816" alt="Collaboration graph"></center>
<map name="a10816">
<area shape="rect" href="a01705.html" title="Generic filter that has one input.." alt="" coords="710,590,904,616"><area shape="rect" href="a00727.html" title="Generic algorithm superclass for image algs." alt="" coords="627,499,763,526"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="414,382,512,408"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="423,499,522,526"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="408,174,488,200"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="479,264,628,291"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="155,264,264,291"><area shape="rect" href="a01064.html" title="A class for performing multithreaded execution." alt="" coords="796,499,922,526"><area shape="rect" href="a01074.html" title="mutual exclusion locking class" alt="" coords="866,264,972,291"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="164,6,274,32"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="6,174,168,200"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="154,83,284,110"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="308,83,418,110"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="192,174,374,200"><area shape="rect" href="a01065.html" title="vtkMultiThreader::ThreadInfo" alt="" coords="1106,382,1306,408"><area shape="rect" href="a01552.html" title="vtkSimpleMutexLock" alt="" coords="846,174,992,200"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a10817.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Compares images for regression tests. 
<p>
<a class="el" href="a00755.html" title="Compares images for regression tests.">vtkImageDifference</a> takes two rgb unsigned char images and compares them. It allows the images to be slightly different. If AllowShift is on, then each pixel can be shifted by one pixel. Threshold is the allowable error for each pixel.<p>
This is not a symetric filter and the difference computed is not symetric when AllowShift is on. Specifically in that case a pixel in SetImage input will be compared to the matching pixel in the input as well as to the input's eight connected neighbors. BUT... the opposite is not true. So for example if a valid image (SetImage) has a single white pixel in it, it will not find a match in the input image if the input image is black (because none of the nine suspect pixels are white). In contrast, if there is a single white pixel in the input image and the valid image (SetImage) is all black it will match with no error because all it has to do is find black pixels and even though the input image has a white pixel, its neighbors are not white.<p>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_8.html#c2_vtk_t_vtkImageDifference">vtkImageDifference (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a04687.html#l00044">44</a> of file <a class="el" href="a04687.html">vtkImageDifference.h</a>.</p>
<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 <a class="el" href="a01705.html">vtkThreadedImageAlgorithm</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#2762f4f044d93b5f717394a4d47d5403">Superclass</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#4970fe1321faf6f214fd7bbd3c3fdf04">GetClassName</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#b7ec16bb9e95195f0949f5cb5febd038">IsA</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#95235bad7e669d31a9893ac8f53e835d">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#c96b41a03108bfe4288cbaa887a25585">SetImage</a> (<a class="el" href="a00362.html">vtkDataObject</a> *image)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00751.html">vtkImageData</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#2283c651fc6f5c8c69b97ca5ea63ed98">GetImage</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#c4400bf22d4592de913dfc986c06106a">GetError</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#2c54f8dd45f69431cefb61182cbe9a96">GetError</a> (double *e)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#cb3d547550c8f78330beef25f3d09c83">GetThresholdedError</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#fb9d5af6dc814e656bf5488ec8499f90">GetThresholdedError</a> (double *e)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#0568fc4ecf97620077daf94f3a8a17da">SetThreshold</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#dcf48c9ce6ff7f6b91d562c4fc0d9a02">GetThreshold</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#1dff0cd2993e456d98a7c0d7beb174ba">SetAllowShift</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#e1308ad76eea9eb8593a862a21fe8bc7">GetAllowShift</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#d87f74311267215441833a40af815bb6">AllowShiftOn</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#854b5b7062c8c108820a5aa748bd75af">AllowShiftOff</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#b6b288b99309631927cc1c6bc173e845">SetAveraging</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#2f625a8ce276fdf453b448c22431c203">GetAveraging</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#42f9ff8e15f220880ce7150b0556ddd8">AveragingOn</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#ab3c4cac3a52f475cd835137813c96c3">AveragingOff</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 <a class="el" href="a00755.html">vtkImageDifference</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#14d319ca43dfb7ffaea52dc9bcdeab90">New</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#fed45af776c87e271ec99006d0d8a6ef">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00755.html">vtkImageDifference</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#ad646adc12eb750a462e2f31ddb7ea83">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#ec31a519b0f58670f6b2556fb61aa53e">vtkImageDifference</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#cf5fa0c829194f7ee047676ec876a2b1">~vtkImageDifference</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#6865b4da666595a0e7cd8fbce212d3e8">RequestInformation</a> (<a class="el" href="a00872.html">vtkInformation</a> *, <a class="el" href="a00895.html">vtkInformationVector</a> **, <a class="el" href="a00895.html">vtkInformationVector</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#91cf6e85068fd8c675a628814156c60e">RequestUpdateExtent</a> (<a class="el" href="a00872.html">vtkInformation</a> *, <a class="el" href="a00895.html">vtkInformationVector</a> **, <a class="el" href="a00895.html">vtkInformationVector</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#0ee219cdfff64a52f75c0b4ba85cea91">ThreadedRequestData</a> (<a class="el" href="a00872.html">vtkInformation</a> *request, <a class="el" href="a00895.html">vtkInformationVector</a> **inputVector, <a class="el" href="a00895.html">vtkInformationVector</a> *outputVector, <a class="el" href="a00751.html">vtkImageData</a> ***inData, <a class="el" href="a00751.html">vtkImageData</a> **outData, int extent[6], int threadId)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#2ed5fee3c8b4b7801dee20cc8d582590">ErrorPerThread</a> [VTK_MAX_THREADS]</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#19699429c4e136cd3f9d3091c3e46fb4">ThresholdedErrorPerThread</a> [VTK_MAX_THREADS]</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#afe51b422728641c5ee6dce838147d41">AllowShift</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#63c144bc81b61cb2e47e869b4287c0bf">Threshold</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00755.html#4b2cd98fa7568c7303a08d7a959d43ae">Averaging</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="2762f4f044d93b5f717394a4d47d5403"></a><!-- doxytag: member="vtkImageDifference::Superclass" ref="2762f4f044d93b5f717394a4d47d5403" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a01705.html">vtkThreadedImageAlgorithm</a> <a class="el" href="a01705.html">vtkImageDifference::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01705.html#67876177e53dbc18f91b9b50f8f03331">vtkThreadedImageAlgorithm</a>.</p>

<p>Definition at line <a class="el" href="a04687.html#l00048">48</a> of file <a class="el" href="a04687.html">vtkImageDifference.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="ec31a519b0f58670f6b2556fb61aa53e"></a><!-- doxytag: member="vtkImageDifference::vtkImageDifference" ref="ec31a519b0f58670f6b2556fb61aa53e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkImageDifference::vtkImageDifference           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="cf5fa0c829194f7ee047676ec876a2b1"></a><!-- doxytag: member="vtkImageDifference::~vtkImageDifference" ref="cf5fa0c829194f7ee047676ec876a2b1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkImageDifference::~vtkImageDifference           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04687.html#l00100">100</a> of file <a class="el" href="a04687.html">vtkImageDifference.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="14d319ca43dfb7ffaea52dc9bcdeab90"></a><!-- doxytag: member="vtkImageDifference::New" ref="14d319ca43dfb7ffaea52dc9bcdeab90" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00755.html">vtkImageDifference</a>* vtkImageDifference::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. 
<p>Reimplemented from <a class="el" href="a00101.html#06d80d8d4aa1a4856135fa003845be82">vtkAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="4970fe1321faf6f214fd7bbd3c3fdf04"></a><!-- doxytag: member="vtkImageDifference::GetClassName" ref="4970fe1321faf6f214fd7bbd3c3fdf04" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkImageDifference::GetClassName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01705.html#8622c920af18a6521f427d7b70613faa">vtkThreadedImageAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="fed45af776c87e271ec99006d0d8a6ef"></a><!-- doxytag: member="vtkImageDifference::IsTypeOf" ref="fed45af776c87e271ec99006d0d8a6ef" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkImageDifference::IsTypeOf           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a01705.html#1e20b0feec3712e39d352e47d582ff4e">vtkThreadedImageAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="b7ec16bb9e95195f0949f5cb5febd038"></a><!-- doxytag: member="vtkImageDifference::IsA" ref="b7ec16bb9e95195f0949f5cb5febd038" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkImageDifference::IsA           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a01705.html#250ac29fa902a270b6f94702f7f24e9b">vtkThreadedImageAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="ad646adc12eb750a462e2f31ddb7ea83"></a><!-- doxytag: member="vtkImageDifference::SafeDownCast" ref="ad646adc12eb750a462e2f31ddb7ea83" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00755.html">vtkImageDifference</a>* vtkImageDifference::SafeDownCast           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> *&nbsp;</td>
          <td class="paramname"> <em>o</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01705.html#def8b2b0abda015b495884db6f717625">vtkThreadedImageAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="95235bad7e669d31a9893ac8f53e835d"></a><!-- doxytag: member="vtkImageDifference::PrintSelf" ref="95235bad7e669d31a9893ac8f53e835d" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkImageDifference::PrintSelf           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a>&nbsp;</td>
          <td class="paramname"> <em>indent</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. 
<p>Reimplemented from <a class="el" href="a01705.html#53dc14a03ab6cffae0ca5cadb2c6d172">vtkThreadedImageAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="c96b41a03108bfe4288cbaa887a25585"></a><!-- doxytag: member="vtkImageDifference::SetImage" ref="c96b41a03108bfe4288cbaa887a25585" args="(vtkDataObject *image)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkImageDifference::SetImage           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00362.html">vtkDataObject</a> *&nbsp;</td>
          <td class="paramname"> <em>image</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify the Image to compare the input to. 
<p>Definition at line <a class="el" href="a04687.html#l00053">53</a> of file <a class="el" href="a04687.html">vtkImageDifference.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="2283c651fc6f5c8c69b97ca5ea63ed98"></a><!-- doxytag: member="vtkImageDifference::GetImage" ref="2283c651fc6f5c8c69b97ca5ea63ed98" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00751.html">vtkImageData</a>* vtkImageDifference::GetImage           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify the Image to compare the input to. 
</div>
</div><p>
<a class="anchor" name="c4400bf22d4592de913dfc986c06106a"></a><!-- doxytag: member="vtkImageDifference::GetError" ref="c4400bf22d4592de913dfc986c06106a" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double vtkImageDifference::GetError           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the total error in comparing the two images. 
</div>
</div><p>
<a class="anchor" name="2c54f8dd45f69431cefb61182cbe9a96"></a><!-- doxytag: member="vtkImageDifference::GetError" ref="2c54f8dd45f69431cefb61182cbe9a96" args="(double *e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkImageDifference::GetError           </td>
          <td>(</td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>e</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the total error in comparing the two images. 
<p>Definition at line <a class="el" href="a04687.html#l00060">60</a> of file <a class="el" href="a04687.html">vtkImageDifference.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="cb3d547550c8f78330beef25f3d09c83"></a><!-- doxytag: member="vtkImageDifference::GetThresholdedError" ref="cb3d547550c8f78330beef25f3d09c83" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double vtkImageDifference::GetThresholdedError           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the total thresholded error in comparing the two images. The thresholded error is the error for a given pixel minus the threshold and clamped at a minimum of zero. 
</div>
</div><p>
<a class="anchor" name="fb9d5af6dc814e656bf5488ec8499f90"></a><!-- doxytag: member="vtkImageDifference::GetThresholdedError" ref="fb9d5af6dc814e656bf5488ec8499f90" args="(double *e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkImageDifference::GetThresholdedError           </td>
          <td>(</td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>e</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the total thresholded error in comparing the two images. The thresholded error is the error for a given pixel minus the threshold and clamped at a minimum of zero. 
<p>Definition at line <a class="el" href="a04687.html#l00068">68</a> of file <a class="el" href="a04687.html">vtkImageDifference.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="0568fc4ecf97620077daf94f3a8a17da"></a><!-- doxytag: member="vtkImageDifference::SetThreshold" ref="0568fc4ecf97620077daf94f3a8a17da" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageDifference::SetThreshold           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify a threshold tolerance for pixel differences. 
</div>
</div><p>
<a class="anchor" name="dcf48c9ce6ff7f6b91d562c4fc0d9a02"></a><!-- doxytag: member="vtkImageDifference::GetThreshold" ref="dcf48c9ce6ff7f6b91d562c4fc0d9a02" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkImageDifference::GetThreshold           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify a threshold tolerance for pixel differences. 
</div>
</div><p>
<a class="anchor" name="1dff0cd2993e456d98a7c0d7beb174ba"></a><!-- doxytag: member="vtkImageDifference::SetAllowShift" ref="1dff0cd2993e456d98a7c0d7beb174ba" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageDifference::SetAllowShift           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify whether the comparison will allow a shift of one pixel between the images. If set, then the minimum difference between input images will be used to determine the difference. Otherwise, the difference is computed directly between pixels of identical row/column values. 
</div>
</div><p>
<a class="anchor" name="e1308ad76eea9eb8593a862a21fe8bc7"></a><!-- doxytag: member="vtkImageDifference::GetAllowShift" ref="e1308ad76eea9eb8593a862a21fe8bc7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkImageDifference::GetAllowShift           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify whether the comparison will allow a shift of one pixel between the images. If set, then the minimum difference between input images will be used to determine the difference. Otherwise, the difference is computed directly between pixels of identical row/column values. 
</div>
</div><p>
<a class="anchor" name="d87f74311267215441833a40af815bb6"></a><!-- doxytag: member="vtkImageDifference::AllowShiftOn" ref="d87f74311267215441833a40af815bb6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageDifference::AllowShiftOn           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify whether the comparison will allow a shift of one pixel between the images. If set, then the minimum difference between input images will be used to determine the difference. Otherwise, the difference is computed directly between pixels of identical row/column values. 
</div>
</div><p>
<a class="anchor" name="854b5b7062c8c108820a5aa748bd75af"></a><!-- doxytag: member="vtkImageDifference::AllowShiftOff" ref="854b5b7062c8c108820a5aa748bd75af" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageDifference::AllowShiftOff           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify whether the comparison will allow a shift of one pixel between the images. If set, then the minimum difference between input images will be used to determine the difference. Otherwise, the difference is computed directly between pixels of identical row/column values. 
</div>
</div><p>
<a class="anchor" name="b6b288b99309631927cc1c6bc173e845"></a><!-- doxytag: member="vtkImageDifference::SetAveraging" ref="b6b288b99309631927cc1c6bc173e845" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageDifference::SetAveraging           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify whether the comparison will include comparison of averaged 3x3 data between the images. For graphics renderings you normally would leave this on. For imaging operations it should be off. 
</div>
</div><p>
<a class="anchor" name="2f625a8ce276fdf453b448c22431c203"></a><!-- doxytag: member="vtkImageDifference::GetAveraging" ref="2f625a8ce276fdf453b448c22431c203" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkImageDifference::GetAveraging           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify whether the comparison will include comparison of averaged 3x3 data between the images. For graphics renderings you normally would leave this on. For imaging operations it should be off. 
</div>
</div><p>
<a class="anchor" name="42f9ff8e15f220880ce7150b0556ddd8"></a><!-- doxytag: member="vtkImageDifference::AveragingOn" ref="42f9ff8e15f220880ce7150b0556ddd8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageDifference::AveragingOn           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify whether the comparison will include comparison of averaged 3x3 data between the images. For graphics renderings you normally would leave this on. For imaging operations it should be off. 
</div>
</div><p>
<a class="anchor" name="ab3c4cac3a52f475cd835137813c96c3"></a><!-- doxytag: member="vtkImageDifference::AveragingOff" ref="ab3c4cac3a52f475cd835137813c96c3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageDifference::AveragingOff           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify whether the comparison will include comparison of averaged 3x3 data between the images. For graphics renderings you normally would leave this on. For imaging operations it should be off. 
</div>
</div><p>
<a class="anchor" name="6865b4da666595a0e7cd8fbce212d3e8"></a><!-- doxytag: member="vtkImageDifference::RequestInformation" ref="6865b4da666595a0e7cd8fbce212d3e8" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkImageDifference::RequestInformation           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> **&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> *&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00727.html#b739abd84881f7e31a8a382bf5a06a91">vtkImageAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="91cf6e85068fd8c675a628814156c60e"></a><!-- doxytag: member="vtkImageDifference::RequestUpdateExtent" ref="91cf6e85068fd8c675a628814156c60e" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkImageDifference::RequestUpdateExtent           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> **&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> *&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a00727.html#442e91c5e549f40acffb0941846cb047">vtkImageAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="0ee219cdfff64a52f75c0b4ba85cea91"></a><!-- doxytag: member="vtkImageDifference::ThreadedRequestData" ref="0ee219cdfff64a52f75c0b4ba85cea91" args="(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkImageDifference::ThreadedRequestData           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname"> <em>request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> **&nbsp;</td>
          <td class="paramname"> <em>inputVector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> *&nbsp;</td>
          <td class="paramname"> <em>outputVector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> ***&nbsp;</td>
          <td class="paramname"> <em>inData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> **&nbsp;</td>
          <td class="paramname"> <em>outData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>extent</em>[6], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>threadId</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method. 
<p>Reimplemented from <a class="el" href="a01705.html#dda52b8ad4b703ee11c76b916accbb42">vtkThreadedImageAlgorithm</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="2ed5fee3c8b4b7801dee20cc8d582590"></a><!-- doxytag: member="vtkImageDifference::ErrorPerThread" ref="2ed5fee3c8b4b7801dee20cc8d582590" args="[VTK_MAX_THREADS]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a00755.html#2ed5fee3c8b4b7801dee20cc8d582590">vtkImageDifference::ErrorPerThread</a>[VTK_MAX_THREADS]<code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04687.html#l00100">100</a> of file <a class="el" href="a04687.html">vtkImageDifference.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="19699429c4e136cd3f9d3091c3e46fb4"></a><!-- doxytag: member="vtkImageDifference::ThresholdedErrorPerThread" ref="19699429c4e136cd3f9d3091c3e46fb4" args="[VTK_MAX_THREADS]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="a00755.html#19699429c4e136cd3f9d3091c3e46fb4">vtkImageDifference::ThresholdedErrorPerThread</a>[VTK_MAX_THREADS]<code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04687.html#l00103">103</a> of file <a class="el" href="a04687.html">vtkImageDifference.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="afe51b422728641c5ee6dce838147d41"></a><!-- doxytag: member="vtkImageDifference::AllowShift" ref="afe51b422728641c5ee6dce838147d41" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00755.html#afe51b422728641c5ee6dce838147d41">vtkImageDifference::AllowShift</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04687.html#l00104">104</a> of file <a class="el" href="a04687.html">vtkImageDifference.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="63c144bc81b61cb2e47e869b4287c0bf"></a><!-- doxytag: member="vtkImageDifference::Threshold" ref="63c144bc81b61cb2e47e869b4287c0bf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00755.html#63c144bc81b61cb2e47e869b4287c0bf">vtkImageDifference::Threshold</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04687.html#l00105">105</a> of file <a class="el" href="a04687.html">vtkImageDifference.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="4b2cd98fa7568c7303a08d7a959d43ae"></a><!-- doxytag: member="vtkImageDifference::Averaging" ref="4b2cd98fa7568c7303a08d7a959d43ae" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00755.html#4b2cd98fa7568c7303a08d7a959d43ae">vtkImageDifference::Averaging</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04687.html#l00106">106</a> of file <a class="el" href="a04687.html">vtkImageDifference.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Imaging/<a class="el" href="a04687.html">vtkImageDifference.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:09:05 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>