Sophie

Sophie

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

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: itkInverseDeformationFieldImageFilter.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>itkInverseDeformationFieldImageFilter.h</h1><a href="itkInverseDeformationFieldImageFilter_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: itkInverseDeformationFieldImageFilter.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-16 16:45:11 $</span>
<a name="l00007"></a>00007 <span class="comment">  Version:   $Revision: 1.4 $</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 __itkInverseDeformationFieldImageFilter_h</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkInverseDeformationFieldImageFilter_h</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="itkImageToImageFilter_8h.html">itkImageToImageFilter.h</a>"</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="itkKernelTransform_8h.html">itkKernelTransform.h</a>"</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="itkImageRegionConstIteratorWithIndex_8h.html">itkImageRegionConstIteratorWithIndex.h</a>"</span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="keyword">namespace </span>itk
<a name="l00025"></a>00025 {
<a name="l00026"></a>00026 
<a name="l00063"></a>00063 <span class="keyword">template</span> &lt;<span class="keyword">class</span> TInputImage, <span class="keyword">class</span> TOutputImage&gt;
<a name="l00064"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html">00064</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html" title="Computes the inverse of a deformation field.">InverseDeformationFieldImageFilter</a>:
<a name="l00065"></a>00065     <span class="keyword">public</span> <a class="code" href="classitk_1_1ImageToImageFilter.html" title="Base class for filters that take an image as input and produce an image as output...">ImageToImageFilter</a>&lt;TInputImage, TOutputImage&gt;
<a name="l00066"></a>00066 {
<a name="l00067"></a>00067 <span class="keyword">public</span>:
<a name="l00069"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#0571dfd0b31c06ed80cfd0e42e0f1eff">00069</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html" title="Computes the inverse of a deformation field.">InverseDeformationFieldImageFilter</a>            <a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html" title="Computes the inverse of a deformation field.">Self</a>;
<a name="l00070"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#dbf5ae98e0917f73e4f495b35f35d1e3">00070</a>   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1ImageToImageFilter.html">ImageToImageFilter&lt;TInputImage,TOutputImage&gt;</a>  <a class="code" href="classitk_1_1ImageToImageFilter.html">Superclass</a>;
<a name="l00071"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#10281cc6bbe57ec96ae90c32bcaa8965">00071</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="l00072"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#1fc5777a50a9a3c52036448e0aee4333">00072</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="l00073"></a>00073 
<a name="l00074"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#b5bbf1580b98f9d338bfb8ecda36cca3">00074</a>   <span class="keyword">typedef</span> TInputImage                           <a class="code" href="namespaceHardConnectedComponentImageFilter.html#3742cbac150bee74daa9aab85ed80623">InputImageType</a>;
<a name="l00075"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#271e00e56afe2f594aba31b40d8bc8f8">00075</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">InputImageType::Pointer</a>      InputImagePointer;
<a name="l00076"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#5040e8085a1592060c418ad0206fdabb">00076</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#68fafcc6909430ccd70cbc4aeee0107c">InputImageType::ConstPointer</a> InputImageConstPointer;
<a name="l00077"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#11d0960b4445a1324fed2b5c62148f5f">00077</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">InputImageType::RegionType</a>   InputImageRegionType;
<a name="l00078"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#fb8d3298e9d2b46a403ac497f82fd153">00078</a>   <span class="keyword">typedef</span> TOutputImage                          <a class="code" href="namespaceHardConnectedComponentImageFilter.html#386ea018cab3835dcdff2603f4d2280e">OutputImageType</a>;
<a name="l00079"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#4e3b3c0bac5dbf063c26e2328ebceb43">00079</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">OutputImageType::Pointer</a>     OutputImagePointer;
<a name="l00080"></a>00080 
<a name="l00082"></a>00082   <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html" title="Computes the inverse of a deformation field.">Self</a>);  
<a name="l00083"></a>00083 
<a name="l00085"></a>00085   <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html" title="Computes the inverse of a deformation field.">InverseDeformationFieldImageFilter</a>, <a class="code" href="classitk_1_1ImageToImageFilter.html" title="Base class for filters that take an image as input and produce an image as output...">ImageToImageFilter</a>);
<a name="l00086"></a>00086 
<a name="l00088"></a>00088   <a class="code" href="itkMacro_8h.html#1905cf6b2e88235996fa7ff73b2fb0eb">itkStaticConstMacro</a>(ImageDimension, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>,
<a name="l00089"></a>00089                       TOutputImage::ImageDimension);
<a name="l00090"></a>00090 
<a name="l00095"></a>00095   <span class="keyword">typedef</span> <a class="code" href="classitk_1_1KernelTransform.html">KernelTransform</a>&lt;
<a name="l00096"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#ed6d8650f5d4c475103ad83509d61152">00096</a>     double, <a class="code" href="itkMacro_8h.html#94ef2dc11d52c8ef0a78e34558feb8cb">itkGetStaticConstMacro</a>(ImageDimension)&gt; <a class="code" href="classitk_1_1KernelTransform.html">KernelTransformType</a>;
<a name="l00097"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#99714ce070dbce7e2c4869052f2f373e">00097</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1SmartPointer.html">KernelTransformType::Pointer</a>     <a class="code" href="classitk_1_1SmartPointer.html">KernelTransformPointerType</a>;
<a name="l00098"></a>00098 
<a name="l00100"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#fdf19bdbb655768f18a09643c5c67303">00100</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">OutputImageType::SizeType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a>;
<a name="l00101"></a>00101 
<a name="l00103"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#01a8d810fcbf95b7e61e74d72de3eef6">00103</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">OutputImageType::IndexType</a> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#be32dc19e71d40322ad9828b9ab40853">IndexType</a>;
<a name="l00104"></a>00104 
<a name="l00106"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#da25dc51c42135125e4e95e9b56c08ae">00106</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> TOutputImage::PixelType     <a class="code" href="namespaceHardConnectedComponentImageFilter.html#73549c9066bb62470db248f27cde10d2">OutputPixelType</a>;
<a name="l00107"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#0862062fa71b06f96692ba624550be23">00107</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> OutputPixelType::ValueType  OutputPixelComponentType;
<a name="l00108"></a>00108 
<a name="l00110"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#c55ae12db9e3ed711aa14de7fba6235f">00110</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#ed8c4a40607d317c666eb96ea265e126">TOutputImage::RegionType</a> OutputImageRegionType;
<a name="l00111"></a>00111 
<a name="l00113"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#06455ad5e5d910aa0cb4b053f693a320">00113</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> TOutputImage::SpacingType SpacingType;
<a name="l00114"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#89b00cb4d9a5449251fab1730a537260">00114</a>   <span class="keyword">typedef</span> <span class="keyword">typename</span> TOutputImage::PointType   OriginPointType;
<a name="l00115"></a>00115 
<a name="l00119"></a>00119   <a class="code" href="itkMacro_8h.html#b950b763422e5059348e6178e2a5f425">itkSetObjectMacro</a>( <a class="code" href="classitk_1_1KernelTransform.html">KernelTransform</a>, <a class="code" href="classitk_1_1KernelTransform.html">KernelTransformType</a> ); 
<a name="l00120"></a>00120 
<a name="l00122"></a>00122   <a class="code" href="itkMacro_8h.html#f6bef9ee7e4c077b96a08848ed4e7660">itkGetObjectMacro</a>( <a class="code" href="classitk_1_1KernelTransform.html">KernelTransform</a>, <a class="code" href="classitk_1_1KernelTransform.html">KernelTransformType</a> );
<a name="l00123"></a>00123 
<a name="l00125"></a>00125   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( <a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">Size</a>, <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a> );
<a name="l00126"></a>00126 
<a name="l00128"></a>00128   <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( <a class="code" href="classitk_1_1Size.html" title="Represent the size (bounds) of a n-dimensional image.">Size</a>, <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a> );
<a name="l00129"></a>00129 
<a name="l00131"></a>00131   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(OutputSpacing, SpacingType);
<a name="l00132"></a>00132   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetOutputSpacing(<span class="keyword">const</span> <span class="keywordtype">double</span>* values);
<a name="l00134"></a>00134 
<a name="l00136"></a>00136   <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( OutputSpacing, SpacingType );
<a name="l00137"></a>00137 
<a name="l00139"></a>00139   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>(OutputOrigin, OriginPointType);
<a name="l00140"></a>00140   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetOutputOrigin( <span class="keyword">const</span> <span class="keywordtype">double</span>* values);
<a name="l00142"></a>00142 
<a name="l00144"></a>00144   <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( OutputOrigin, OriginPointType );
<a name="l00145"></a>00145 
<a name="l00151"></a>00151   <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( SubsamplingFactor, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> );
<a name="l00152"></a>00152   <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( SubsamplingFactor, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> );
<a name="l00154"></a>00154 
<a name="l00160"></a>00160   <span class="keyword">virtual</span> <span class="keywordtype">void</span> GenerateOutputInformation();
<a name="l00161"></a>00161 
<a name="l00167"></a>00167   <span class="keyword">virtual</span> <span class="keywordtype">void</span> GenerateInputRequestedRegion();
<a name="l00168"></a>00168 
<a name="l00170"></a>00170   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> GetMTime( <span class="keywordtype">void</span> ) <span class="keyword">const</span>;
<a name="l00171"></a>00171 
<a name="l00172"></a>00172 <span class="preprocessor">#ifdef ITK_USE_CONCEPT_CHECKING</span>
<a name="l00173"></a>00173 <span class="preprocessor"></span>
<a name="l00174"></a>00174   <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(OutputHasNumericTraitsCheck,
<a name="l00175"></a>00175     (<a class="code" href="structitk_1_1Concept_1_1HasNumericTraits.html">Concept::HasNumericTraits&lt;OutputPixelComponentType&gt;</a>));
<a name="l00176"></a>00176 
<a name="l00178"></a>00178 <span class="preprocessor">#endif</span>
<a name="l00179"></a>00179 <span class="preprocessor"></span>
<a name="l00180"></a>00180 <span class="keyword">protected</span>:
<a name="l00181"></a>00181   <a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html" title="Computes the inverse of a deformation field.">InverseDeformationFieldImageFilter</a>();
<a name="l00182"></a><a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#f418ea71c9aaf462bc00eb4698b55a21">00182</a>   <a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html#f418ea71c9aaf462bc00eb4698b55a21">~InverseDeformationFieldImageFilter</a>() {};
<a name="l00183"></a>00183   <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#920ae03048a5ad715d803ca2e92b52de">PrintSelf</a>(std::ostream&amp; os, <a class="code" href="classitk_1_1Indent.html" title="Control indentation during Print() invocation.">Indent</a> indent) <span class="keyword">const</span>;
<a name="l00184"></a>00184 
<a name="l00189"></a>00189   <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#f75a5945cdd8315676941024a0b8c1e9">GenerateData</a>();
<a name="l00190"></a>00190 
<a name="l00194"></a>00194   <span class="keywordtype">void</span> PrepareKernelBaseSpline();
<a name="l00195"></a>00195 
<a name="l00196"></a>00196 <span class="keyword">private</span>:
<a name="l00197"></a>00197   <a class="code" href="classitk_1_1InverseDeformationFieldImageFilter.html" title="Computes the inverse of a deformation field.">InverseDeformationFieldImageFilter</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="l00198"></a>00198   <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="l00199"></a>00199 
<a name="l00200"></a>00200   <a class="code" href="namespaceHardConnectedComponentImageFilter.html#5bf82236e1e50e653de84c8ead448599">SizeType</a>                      m_Size;              <span class="comment">// Size of the output image</span>
<a name="l00201"></a>00201   KernelTransformPointerType    m_KernelTransform;   <span class="comment">// Coordinate transform to use</span>
<a name="l00202"></a>00202   SpacingType                   m_OutputSpacing;     <span class="comment">// output image spacing</span>
<a name="l00203"></a>00203   OriginPointType               m_OutputOrigin;      <span class="comment">// output image origin</span>
<a name="l00204"></a>00204 
<a name="l00205"></a>00205   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>                  m_SubsamplingFactor; <span class="comment">// factor to subsample the input field.</span>
<a name="l00206"></a>00206 };
<a name="l00207"></a>00207 
<a name="l00208"></a>00208   
<a name="l00209"></a>00209 } <span class="comment">// end namespace itk</span>
<a name="l00210"></a>00210   
<a name="l00211"></a>00211 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span>
<a name="l00212"></a>00212 <span class="preprocessor"></span><span class="preprocessor">#include "itkInverseDeformationFieldImageFilter.txx"</span>
<a name="l00213"></a>00213 <span class="preprocessor">#endif</span>
<a name="l00214"></a>00214 <span class="preprocessor"></span>  
<a name="l00215"></a>00215 <span class="preprocessor">#endif</span>
<a name="l00216"></a>00216 <span class="preprocessor"></span>
</pre></div></div>
<hr><address><small>
Generated at Thu May 7 23:19:23 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>