<!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: itkDiffusionTensor3DReconstructionImageFilter.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> <a href="modules.html" class="qindex">Groups</a> <a href="namespaces.html" class="qindex">Namespace List</a> <a href="hierarchy.html" class="qindex">Class Hierarchy</a> <a href="classes.html" class="qindex">Alphabetical List</a> <a href="annotated.html" class="qindex">Compound List</a> <a href="files.html" class="qindex">File List</a> <a href="namespacemembers.html" class="qindex">Namespace Members</a> <a href="functions.html" class="qindex">Compound Members</a> <a href="globals.html" class="qindex">File Members</a> <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> » <a class="el" href="dir_00ffda33c24cbbf617b202f4f3bcb7e8.html">BasicFilters</a> </div> <div class="contents"> <h1>itkDiffusionTensor3DReconstructionImageFilter.h</h1><a href="itkDiffusionTensor3DReconstructionImageFilter_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 & Registration Toolkit</span> <a name="l00004"></a>00004 <span class="comment"> Module: $RCSfile: itkDiffusionTensor3DReconstructionImageFilter.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-14 19:20:33 $</span> <a name="l00007"></a>00007 <span class="comment"> Version: $Revision: 1.13 $</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 __itkDiffusionTensor3DReconstructionImageFilter_h</span> <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __itkDiffusionTensor3DReconstructionImageFilter_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="itkDiffusionTensor3D_8h.html">itkDiffusionTensor3D.h</a>"</span> <a name="l00022"></a>00022 <span class="preprocessor">#include "vnl/vnl_matrix.h"</span> <a name="l00023"></a>00023 <span class="preprocessor">#include "vnl/vnl_vector_fixed.h"</span> <a name="l00024"></a>00024 <span class="preprocessor">#include "vnl/vnl_matrix_fixed.h"</span> <a name="l00025"></a>00025 <span class="preprocessor">#include "vnl/algo/vnl_svd.h"</span> <a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="itkVectorContainer_8h.html">itkVectorContainer.h</a>"</span> <a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="itkVectorImage_8h.html">itkVectorImage.h</a>"</span> <a name="l00028"></a>00028 <a name="l00029"></a>00029 <span class="keyword">namespace </span>itk { <a name="l00119"></a>00119 <span class="keyword">template</span>< <span class="keyword">class </span>TReferenceImagePixelType, <a name="l00120"></a>00120 <span class="keyword">class </span>TGradientImagePixelType=TReferenceImagePixelType, <a name="l00121"></a>00121 <span class="keyword">class </span>TTensorPixelType=<span class="keywordtype">double</span> > <a name="l00122"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html">00122</a> <span class="keyword">class </span><a class="code" href="itkWin32Header_8h.html#7d4384322557205d75f0719c012dded6">ITK_EXPORT</a> <a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html" title="This class takes as input one or more reference image (acquired in the absence of...">DiffusionTensor3DReconstructionImageFilter</a> : <a name="l00123"></a>00123 <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>< Image< TReferenceImagePixelType, 3 >, <a name="l00124"></a>00124 Image< DiffusionTensor3D< TTensorPixelType >, 3 > > <a name="l00125"></a>00125 { <a name="l00126"></a>00126 <a name="l00127"></a>00127 <span class="keyword">public</span>: <a name="l00128"></a>00128 <a name="l00129"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#62aec94a711e0319c066e7b4f6427a4f">00129</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html" title="This class takes as input one or more reference image (acquired in the absence of...">DiffusionTensor3DReconstructionImageFilter</a> <a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html" title="This class takes as input one or more reference image (acquired in the absence of...">Self</a>; <a name="l00130"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#06046e89ceb688345032dda0640e27b5">00130</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer<Self></a> <a class="code" href="classitk_1_1SmartPointer.html">Pointer</a>; <a name="l00131"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#9ad4e664b20f97af3b5faf5bbcfc59e4">00131</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1SmartPointer.html">SmartPointer<const Self></a> <a class="code" href="classitk_1_1SmartPointer.html">ConstPointer</a>; <a name="l00132"></a>00132 <span class="keyword">typedef</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< Image< TReferenceImagePixelType, 3></a>, <a name="l00133"></a>00133 <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image< DiffusionTensor3D< TTensorPixelType ></a>, 3 > > <a name="l00134"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#e005bde57e00b097de82a02ba499e9ea">00134</a> <a class="code" href="classitk_1_1ImageToImageFilter.html">Superclass</a>; <a name="l00135"></a>00135 <a name="l00137"></a>00137 <a class="code" href="itkMacro_8h.html#0fdc15685afa271857c57e7cd482f30c">itkNewMacro</a>(<a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html" title="This class takes as input one or more reference image (acquired in the absence of...">Self</a>); <a name="l00138"></a>00138 <a name="l00140"></a>00140 <a class="code" href="itkMacro_8h.html#574c1f86661d409dd32c742307a0e96a">itkTypeMacro</a>(<a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html" title="This class takes as input one or more reference image (acquired in the absence of...">DiffusionTensor3DReconstructionImageFilter</a>, <a name="l00141"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#fcbd08cfe122f19ba756cf8c45ab9c76">00141</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="l00142"></a>00142 <a name="l00143"></a>00143 <span class="keyword">typedef</span> TReferenceImagePixelType ReferencePixelType; <a name="l00144"></a>00144 <a name="l00145"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#897b6ff21814d479b2f9ece8aea23920">00145</a> <span class="keyword">typedef</span> TGradientImagePixelType GradientPixelType; <a name="l00146"></a>00146 <a name="l00147"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#d3e7413851a7953ee5339ea58943f0e7">00147</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1DiffusionTensor3D.html" title="Represent a diffusion tensor as used in DTI images.">DiffusionTensor3D< TTensorPixelType ></a> <a class="code" href="classitk_1_1DiffusionTensor3D.html" title="Represent a diffusion tensor as used in DTI images.">TensorPixelType</a>; <a name="l00148"></a>00148 <a name="l00151"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#a94180e68db38ab70de3ddc996337830">00151</a> <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Superclass::InputImageType</a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">ReferenceImageType</a>; <a name="l00152"></a>00152 <a name="l00153"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#b208a9e972cb70fa74b78d47c30e1ddb">00153</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image< TensorPixelType, 3 ></a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">TensorImageType</a>; <a name="l00154"></a>00154 <a name="l00155"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#5f85f549af120de75d518f83f3a6152e">00155</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">TensorImageType</a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">OutputImageType</a>; <a name="l00156"></a>00156 <a name="l00157"></a>00157 <span class="keyword">typedef</span> <span class="keyword">typename</span> Superclass::OutputImageRegionType <a name="l00158"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#e38a45a568dda7aeb29ba22bced80e87">00158</a> OutputImageRegionType; <a name="l00159"></a>00159 <a name="l00161"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#bb590062d0194261b07213682a17f675">00161</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">Image< GradientPixelType, 3 ></a> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">GradientImageType</a>; <a name="l00162"></a>00162 <a name="l00167"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#2f9279a01129e5d4faaff86d358a708c">00167</a> <span class="keyword">typedef</span> <a class="code" href="classitk_1_1VectorImage.html" title="Templated n-dimensional vector image class.">VectorImage< GradientPixelType, 3 ></a> <a class="code" href="classitk_1_1VectorImage.html" title="Templated n-dimensional vector image class.">GradientImagesType</a>; <a name="l00168"></a>00168 <a name="l00170"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#a7b945cba14d2925a6ab88a41c3c7a38">00170</a> <span class="keyword">typedef</span> vnl_matrix_fixed< double, 6, 6 > TensorBasisMatrixType; <a name="l00171"></a>00171 <a name="l00172"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#fdf3dd8a201b61c7ca740108d283b21c">00172</a> <span class="keyword">typedef</span> <a class="code" href="classvnl__matrix.html">vnl_matrix< double ></a> <a class="code" href="classvnl__matrix.html">CoefficientMatrixType</a>; <a name="l00173"></a>00173 <a name="l00175"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#4e881b99ea0f4463bac9a4b00291f24c">00175</a> <span class="keyword">typedef</span> vnl_vector_fixed< double, 3 > GradientDirectionType; <a name="l00176"></a>00176 <a name="l00178"></a>00178 <span class="keyword">typedef</span> <a class="code" href="classitk_1_1VectorContainer.html">VectorContainer</a>< <span class="keywordtype">unsigned</span> int, <a name="l00179"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#df310ff6568cfde84a6d96c6b4b7c3c2">00179</a> GradientDirectionType > <a class="code" href="classitk_1_1VectorContainer.html">GradientDirectionContainerType</a>; <a name="l00180"></a>00180 <a name="l00181"></a>00181 <a name="l00183"></a>00183 <span class="keywordtype">void</span> AddGradientImage( <span class="keyword">const</span> GradientDirectionType &, <span class="keyword">const</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">GradientImageType</a> *image); <a name="l00184"></a>00184 <a name="l00191"></a>00191 <span class="keywordtype">void</span> SetGradientImage( <a class="code" href="classitk_1_1VectorContainer.html">GradientDirectionContainerType</a> *, <a name="l00192"></a>00192 <span class="keyword">const</span> <a class="code" href="classitk_1_1VectorImage.html" title="Templated n-dimensional vector image class.">GradientImagesType</a> *image); <a name="l00193"></a>00193 <a name="l00195"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#beb030dc585aea41e78223381a3aa699">00195</a> <span class="keywordtype">void</span> SetReferenceImage( <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">ReferenceImageType</a> *referenceImage ) <a name="l00196"></a>00196 { <a name="l00197"></a>00197 <span class="keywordflow">if</span>( m_GradientImageTypeEnumeration == GradientIsInASingleImage) <a name="l00198"></a>00198 { <a name="l00199"></a>00199 <a class="code" href="itkMacro_8h.html#c51de1a715471e7fd0f2e481a70fa1f8">itkExceptionMacro</a>( << <span class="stringliteral">"Cannot call both methods:"</span> <a name="l00200"></a>00200 << <span class="stringliteral">"AddGradientImage and SetGradientImage. Please call only one of them."</span>); <a name="l00201"></a>00201 } <a name="l00202"></a>00202 <a name="l00203"></a>00203 this-><a class="code" href="classitk_1_1ProcessObject.html#148829de75f8eae1161af95151710808">ProcessObject::SetNthInput</a>( 0, referenceImage ); <a name="l00204"></a>00204 <a name="l00205"></a>00205 m_GradientImageTypeEnumeration = GradientIsInManyImages; <a name="l00206"></a>00206 } <a name="l00207"></a>00207 <a name="l00209"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#8b9a5438b5b22d12d7984b88334fb150">00209</a> <span class="keyword">virtual</span> <a class="code" href="classitk_1_1Image.html" title="Templated n-dimensional image class.">ReferenceImageType</a> * GetReferenceImage() <a name="l00210"></a>00210 { <span class="keywordflow">return</span> ( static_cast< ReferenceImageType *>(this-><a class="code" href="classitk_1_1ProcessObject.html#1cb9c8ea89b6357d9d851f4179f933dd">ProcessObject::GetInput</a>(0)) ); } <a name="l00211"></a>00211 <a name="l00213"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#732d00e9e3f5a52d0db0965aee08ab55">00213</a> <span class="keyword">virtual</span> GradientDirectionType GetGradientDirection( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx)<span class="keyword"> const</span> <a name="l00214"></a>00214 <span class="keyword"> </span>{ <a name="l00215"></a>00215 <span class="keywordflow">if</span>( idx >= m_NumberOfGradientDirections ) <a name="l00216"></a>00216 { <a name="l00217"></a>00217 <a class="code" href="itkMacro_8h.html#c51de1a715471e7fd0f2e481a70fa1f8">itkExceptionMacro</a>( << <span class="stringliteral">"Gradient direction "</span> << idx << <span class="stringliteral">"does not exist"</span> ); <a name="l00218"></a>00218 } <a name="l00219"></a>00219 <span class="keywordflow">return</span> m_GradientDirectionContainer->ElementAt( idx+1 ); <a name="l00220"></a>00220 } <a name="l00222"></a>00222 <a name="l00226"></a>00226 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( Threshold, ReferencePixelType ); <a name="l00227"></a>00227 <a class="code" href="itkMacro_8h.html#1600305bb01e39e87c472d8bf29bd1cf">itkGetMacro</a>( Threshold, ReferencePixelType ); <a name="l00229"></a>00229 <a name="l00230"></a>00230 <a name="l00237"></a>00237 <a class="code" href="itkMacro_8h.html#7ebdd33cc5e7d74720ced9099c034faa">itkSetMacro</a>( BValue, TTensorPixelType); <a name="l00238"></a>00238 <span class="preprocessor">#ifdef GetBValue</span> <a name="l00239"></a>00239 <span class="preprocessor"></span><span class="preprocessor">#undef GetBValue</span> <a name="l00240"></a>00240 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00241"></a>00241 <span class="preprocessor"></span> <a class="code" href="itkMacro_8h.html#7d989c13a1a213168db99ae0f84185d4">itkGetConstReferenceMacro</a>( BValue, TTensorPixelType); <a name="l00243"></a>00243 <a name="l00244"></a>00244 <span class="preprocessor">#ifdef ITK_USE_CONCEPT_CHECKING</span> <a name="l00245"></a>00245 <span class="preprocessor"></span> <a name="l00246"></a>00246 <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(ReferenceEqualityComparableCheck, <a name="l00247"></a>00247 (<a class="code" href="structitk_1_1Concept_1_1EqualityComparable.html">Concept::EqualityComparable<ReferencePixelType></a>)); <a name="l00248"></a>00248 <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(TensorEqualityComparableCheck, <a name="l00249"></a>00249 (<a class="code" href="structitk_1_1Concept_1_1EqualityComparable.html">Concept::EqualityComparable<TensorPixelType></a>)); <a name="l00250"></a>00250 <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(GradientConvertibleToDoubleCheck, <a name="l00251"></a>00251 (<a class="code" href="structitk_1_1Concept_1_1Convertible.html">Concept::Convertible<GradientPixelType, double></a>)); <a name="l00252"></a>00252 <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(DoubleConvertibleToTensorCheck, <a name="l00253"></a>00253 (<a class="code" href="structitk_1_1Concept_1_1Convertible.html">Concept::Convertible<double, TensorPixelType></a>)); <a name="l00254"></a>00254 <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(GradientReferenceAdditiveOperatorsCheck, <a name="l00255"></a>00255 (<a class="code" href="structitk_1_1Concept_1_1AdditiveOperators.html">Concept::AdditiveOperators</a><GradientPixelType, GradientPixelType, <a name="l00256"></a>00256 ReferencePixelType>)); <a name="l00257"></a>00257 <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(ReferenceOStreamWritableCheck, <a name="l00258"></a>00258 (<a class="code" href="structitk_1_1Concept_1_1OStreamWritable.html">Concept::OStreamWritable<ReferencePixelType></a>)); <a name="l00259"></a>00259 <a class="code" href="itkConceptChecking_8h.html#009eae6c305d9c390972159815e6a710">itkConceptMacro</a>(TensorOStreamWritableCheck, <a name="l00260"></a>00260 (<a class="code" href="structitk_1_1Concept_1_1OStreamWritable.html">Concept::OStreamWritable<TensorPixelType></a>)); <a name="l00261"></a>00261 <a name="l00263"></a>00263 <span class="preprocessor">#endif</span> <a name="l00264"></a>00264 <span class="preprocessor"></span> <a name="l00265"></a>00265 <span class="keyword">protected</span>: <a name="l00266"></a>00266 <a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html" title="This class takes as input one or more reference image (acquired in the absence of...">DiffusionTensor3DReconstructionImageFilter</a>(); <a name="l00267"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#1ea8c3ebfe0b5df442dfe69f37d5e454">00267</a> <a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#1ea8c3ebfe0b5df442dfe69f37d5e454">~DiffusionTensor3DReconstructionImageFilter</a>() {}; <a name="l00268"></a>00268 <span class="keywordtype">void</span> <a class="code" href="namespaceHardConnectedComponentImageFilter.html#920ae03048a5ad715d803ca2e92b52de">PrintSelf</a>(std::ostream& 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="l00269"></a>00269 <a name="l00270"></a>00270 <span class="keywordtype">void</span> ComputeTensorBasis(); <a name="l00271"></a>00271 <a name="l00272"></a>00272 <span class="keywordtype">void</span> BeforeThreadedGenerateData(); <a name="l00273"></a>00273 <span class="keywordtype">void</span> ThreadedGenerateData( <span class="keyword">const</span> <a name="l00274"></a>00274 OutputImageRegionType &outputRegionForThread, <span class="keywordtype">int</span>); <a name="l00275"></a>00275 <a name="l00278"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#e952056d4634a6d41a6f5d00bf1c493d">00278</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a name="l00279"></a>00279 { <a name="l00280"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#e952056d4634a6d41a6f5d00bf1c493d069b09017a871c8670aa1c74244a1997">00280</a> GradientIsInASingleImage = 1, <a name="l00281"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#e952056d4634a6d41a6f5d00bf1c493d0b7533922b09b20fa2b2f22bb16dce27">00281</a> GradientIsInManyImages, <a name="l00282"></a><a class="code" href="classitk_1_1DiffusionTensor3DReconstructionImageFilter.html#e952056d4634a6d41a6f5d00bf1c493d319b8f045984b9f7a6b3b83d3cf31c05">00282</a> Else <a name="l00283"></a>00283 } GradientImageTypeEnumeration; <a name="l00284"></a>00284 <a name="l00285"></a>00285 <span class="keyword">private</span>: <a name="l00286"></a>00286 <a name="l00287"></a>00287 <span class="comment">/* Tensor basis coeffs */</span> <a name="l00288"></a>00288 TensorBasisMatrixType m_TensorBasis; <a name="l00289"></a>00289 <a name="l00290"></a>00290 CoefficientMatrixType m_BMatrix; <a name="l00291"></a>00291 <a name="l00293"></a>00293 <a class="code" href="itkFEMMacro_8h.html#539cce1a3282ba59952dedcbf9cdb23f">GradientDirectionContainerType::Pointer</a> m_GradientDirectionContainer; <a name="l00294"></a>00294 <a name="l00296"></a>00296 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_NumberOfGradientDirections; <a name="l00297"></a>00297 <a name="l00299"></a>00299 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_NumberOfBaselineImages; <a name="l00300"></a>00300 <a name="l00302"></a>00302 ReferencePixelType m_Threshold; <a name="l00303"></a>00303 <a name="l00305"></a>00305 TTensorPixelType m_BValue; <a name="l00306"></a>00306 <a name="l00308"></a>00308 GradientImageTypeEnumeration m_GradientImageTypeEnumeration; <a name="l00309"></a>00309 }; <a name="l00310"></a>00310 <a name="l00311"></a>00311 } <a name="l00312"></a>00312 <a name="l00313"></a>00313 <span class="preprocessor">#ifndef ITK_MANUAL_INSTANTIATION</span> <a name="l00314"></a>00314 <span class="preprocessor"></span><span class="preprocessor">#include "itkDiffusionTensor3DReconstructionImageFilter.txx"</span> <a name="l00315"></a>00315 <span class="preprocessor">#endif</span> <a name="l00316"></a>00316 <span class="preprocessor"></span> <a name="l00317"></a>00317 <span class="preprocessor">#endif</span> <a name="l00318"></a>00318 <span class="preprocessor"></span> </pre></div></div> <hr><address><small> Generated at Thu May 7 22:35:28 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>, © 1997-2000</small></address> </body> </html>