<div>Hi, Dan<br><br><br>Thanks for your help.<br>I know how to use this filter now, and appreciate for your help.<br><br>Best,<br><br>Kun<br><br></div><div> </div><div> </div><div> </div><div></div><br><pre>在2008-11-01,"Dan Mueller" <dan.muel@gmail.com> 写道:
>Hi Kun,
>
>It is the transform (not the output direction) that specifies how to
>map between the output and input coordinate spaces. The
>SetOutputDirection(.) method sets the so-called "direction cosines"
>which specifies an additional orientation of the output image in
>physical space.
>
>You may be interested in the following Insight Journal submission
>which provides a helper function to initialise a transform to "look
>at" a point. Once you have this transform, you pass this to the
>resample filter with the desired output parameters. The
>itk::ObliqueSectionImageFilter, also provided in the submission, does
>this for you.
> http://www.insight-journal.org/browse/publication/168
>
>Regarding your second question about output spacing: this is simply
>the spacing of the output image. For example, if your input image has
>spacing [1.0, 1.0, 1.0] you could specify the output image to have
>spacing [2.0, 2.0, 2.0]. These values are independent and no magic
>needs to be computed by you. The resample filter takes care of the
>mapping between the two coordinate spaces (via the transform).
>
>If you haven't already done so, have a read of section 6.9.4 of the
>ITK Software Guide:
> http://www.itk.org/ItkSoftwareGuide.pdf
>
>Hope this helps.
>
>Regards, Dan
>
>2008/10/31 Kun <kun_ch :="" Hi="" all="" I="" am="" using="" the="" ResampleImageFilter="" to="" get="" an="" oblique="" slice="" from="" the="" volume="" data.="" I="" use="" the="" ResampleImageFilter-="" ResampleImageFilter-="" to="" set="" the="" direction="" of="" the="" desired="" slice="" the="" direction="" is="" the="" unit="" vector="" of="" x="" direction.="" Would="" this="" be="" right="" to="" get="" an="" accurate="" oblique="" slice="" Also="" I="" feel="" a="" litter="" confused="" about="" the="" outputspacing.="" Should="" I="" set="" the="" spacing="" information="" of="" the="" input="" image="" as="" the="" outputspacing="" or="" use="" the="" spacing="" along="" the="" desired="" new="" x="" direction="" for="" example="" the="" desired="" x="" direction="" is="" then="" the="" spacing="" is="" set="" xspacing="" of="" the="" input="" image="" or="" sqrt="" xspacing="" yspacing="" Looking="" forward="" to="" your="" help.="" Thanks="" Kun="" ________________________________="" 网易邮箱10周年="" _______________________________________________="" Insight-users="" mailing="" list="" Insight-users="" http:="" www.itk.org="" mailman="" listinfo="" insight-users=""></kun_ch></pre><br><!-- footer --><br>
<hr>
<font style="font-size:12px;line-height:15px;">[广告] </font><font style="font-size:12px;line-height:15px;">金秋最</font><a style="font-size:12px;line-height:15px; color:blue; text-decoration:underline;" href="http://popme.163.com/link/003985_1010_7027.html">关注楼盘-房不胜房</a>