No subject


Sun Oct 26 02:42:03 EDT 2008


<BR>
Code/Algorithms/itkBayesianClassifierImageFilter.txx- &nbsp;this-&gt;GetO=
utput()-&gt;SetRegions( membershipImage-&gt;GetBufferedRegion() );<BR>
Code/Algorithms/itkBayesianClassifierImageFilter.txx: &nbsp;this-&gt;GetO=
utput()-&gt;SetSpacing( membershipImage-&gt;GetSpacing() );<BR>
Code/Algorithms/itkBayesianClassifierImageFilter.txx- &nbsp;this-&gt;GetO=
utput()-&gt;SetOrigin( &nbsp;membershipImage-&gt;GetOrigin() );<BR>
Code/Algorithms/itkBayesianClassifierImageFilter.txx- &nbsp;this-&gt;GetO=
utput()-&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;GetDirec=
tion() );<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 be=
have 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 inp=
ut image, b) take parameters for desired output physical space defintion, c=
) generate the new output image; must have options for setting Spacing, Ori=
gin, AND Direction. <BR>
<BR>
Experimental build: <a href=3D"http://www.cdash.org/CDash/buildSummary.ph=
p?buildid=3D210257">http://www.cdash.org/CDash/buildSummary.php?buildid=3D2=
10257</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><BR>
<BR>
278 GH<BR>
The University of Iowa<BR>
Iowa City, IA 52241<BR>
(319) 353 8587<BR>
</SPAN></FONT>
</FONT></P>
<P><FONT face=3D"Lucida Console" color=3D#808080 size=3D1>Notice: This UI=
 Health Care 
e-mail (including attachments) is covered by the Electronic Communication=
s 
Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally 
privileged.&nbsp; If you are not the intended recipient, you are hereby n=
otified 
that any retention, dissemination, distribution, or copying of this 
communication is strictly prohibited.&nbsp; Please reply to the sender th=
at you 
have received the message in error, then delete it.&nbsp; Thank 
you.</FONT></P><FONT face=3D"Lucida Console">
<DIV><FONT face=3D"Lucida Console"></FONT></DIV></FONT></BODY>
</HTML>



--B_3308897251_15529898--


More information about the Insight-developers mailing list