No subject


Sun Oct 26 02:42:03 EDT 2008


<BR>
Code/Algorithms/itkBayesianClassifierImageFilter.txx- &nbsp;this-&gt;GetOut=
put()-&gt;SetRegions( membershipImage-&gt;GetBufferedRegion() );<BR>
Code/Algorithms/itkBayesianClassifierImageFilter.txx: &nbsp;this-&gt;GetOut=
put()-&gt;SetSpacing( membershipImage-&gt;GetSpacing() );<BR>
Code/Algorithms/itkBayesianClassifierImageFilter.txx- &nbsp;this-&gt;GetOut=
put()-&gt;SetOrigin( &nbsp;membershipImage-&gt;GetOrigin() );<BR>
Code/Algorithms/itkBayesianClassifierImageFilter.txx- &nbsp;this-&gt;GetOut=
put()-&gt;Allocate();<BR>
<BR>
NOTICE: &nbsp;The output of this filter does not set the Direction!!!!<BR>
this-&gt;GetOutput()-&gt;SetDirection( &nbsp;membershipImage-&gt;GetDirecti=
on() );<BR>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>
<BR>
Unfortunately this seems like a very common problem throughout ITK. &nbsp;&=
nbsp;It is my assumption that most filters that: a) take input image, b) do =
something to the intensity values, c) generate and output image; will behave=
 in such a way that the output image has the same origin, spacing, size, AND=
 direction as the input image. &nbsp;Filters &nbsp;that: a)take an input ima=
ge, b) take parameters for desired output physical space defintion, c) gener=
ate the new output image; must have options for setting Spacing, Origin, AND=
 Direction. <BR>
<BR>
Experimental build: <a href=3D"http://www.cdash.org/CDash/buildSummary.php?bu=
ildid=3D210257">http://www.cdash.org/CDash/buildSummary.php?buildid=3D210257</a>=
<BR>
<BR>
I hope to have the code committed and bugs reported in about 1 hour.<BR>
<BR>
Hans<BR>
-- <BR>
Hans J. Johnson, Ph.D.<BR>
<a href=3D"Hans-johnson at uiowa.edu">Hans-johnson at uiowa.edu</a> &lt;<a href=3D"ht=
tp://Hans-johnson@uiowa.edu">http://Hans-johnson@uiowa.edu</a>&gt; <BR>
<BR>
278 GH<BR>
The University of Iowa<BR>
Iowa City, IA 52241<BR>
(319) 353 8587<BR>
<BR>
</SPAN></FONT><FONT COLOR=3D"#808080"><FONT SIZE=3D"2"><FONT FACE=3D"Lucida Conso=
le"><SPAN STYLE=3D'font-size:10pt'>Notice: This UI Health Care e-mail (includi=
ng attachments) is covered by the Electronic Communications Privacy Act, 18 =
U.S.C. 2510-2521, is confidential and may be legally privileged. &nbsp;If yo=
u are not the intended recipient, you are hereby notified that any retention=
, dissemination, distribution, or copying of this communication is strictly =
prohibited. &nbsp;Please reply to the sender that you have received the mess=
age in error, then delete it. &nbsp;Thank you.<BR>
</SPAN></FONT></FONT></FONT><FONT FACE=3D"Lucida Console"><SPAN STYLE=3D'font-s=
ize:11pt'><BR>
</SPAN></FONT><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Calibri, Verdana, He=
lvetica, Arial"><BR>
_______________________________________________<BR>
Insight-developers mailing list<BR>
<a href=3D"Insight-developers at itk.org">Insight-developers at itk.org</a><BR>
<a href=3D"http://www.itk.org/mailman/listinfo/insight-developers">http://www=
.itk.org/mailman/listinfo/insight-developers</a><BR>
<BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE=3D'font-size:11pt'><FONT FACE=3D"Calibri=
, Verdana, Helvetica, Arial"><BR>
<BR>
<BR>
-- <BR>
Stephen R. Aylward, Ph.D.<BR>
Chief Medical Scientist<BR>
Kitware, Inc. - North Carolina Office<BR>
<a href=3D"http://www.kitware.com">http://www.kitware.com</a><BR>
(518) 371-3971 x300<BR>
<BR>
</FONT></SPAN>
</BODY>
</HTML>


--B_3308897884_15565995--



More information about the Insight-developers mailing list