<DIV>
<DIV>I want to make the input of a filter to its output. But I do not know how to do it. I have write the following code, but there are some errors when I run the program. Could anyone help me?</DIV>
<DIV>&nbsp;</DIV>
<DIV>ImageType::Pointer workImage;</DIV>
<DIV>workImage = imageReader-&gt;GetOutput();<BR>...</DIV>
<DIV>...</DIV>
<DIV>&nbsp;FlipFilterType::Pointer flip = FlipFilterType::New();<BR>&nbsp;flip-&gt;SetInput(workImage);</DIV>
<DIV>&nbsp;FlipFilterType::FlipAxesArrayType flipAxesSet=flip-&gt;GetFlipAxes();<BR>&nbsp;flipAxesSet[1]=true;<BR>&nbsp;flip-&gt;SetFlipAxes(flipAxesSet);<BR>&nbsp;workImage =&nbsp;flip-&gt;GetOutput();</DIV>
<DIV>&nbsp;</DIV>
<DIV>the error is:</DIV>
<DIV>itk::InvalidRequestedRegionError @ 0x0012eeec&nbsp;</DIV></DIV><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://music.yisou.com" target=blank>150万曲MP3疯狂搜,带您闯入音乐殿堂</a><br><a href="http://image.yisou.com" target=blank>美女明星应有尽有,搜遍美图、艳图和酷图</a><br>
<a href="http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/" target=blank>1G就是1000兆,雅虎电邮自助扩容!</a>