<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> </DIV>
<DIV>ImageType::Pointer workImage;</DIV>
<DIV>workImage = imageReader->GetOutput();<BR>...</DIV>
<DIV>...</DIV>
<DIV> FlipFilterType::Pointer flip = FlipFilterType::New();<BR> flip->SetInput(workImage);</DIV>
<DIV> FlipFilterType::FlipAxesArrayType flipAxesSet=flip->GetFlipAxes();<BR> flipAxesSet[1]=true;<BR> flip->SetFlipAxes(flipAxesSet);<BR> workImage = flip->GetOutput();</DIV>
<DIV> </DIV>
<DIV>the error is:</DIV>
<DIV>itk::InvalidRequestedRegionError @ 0x0012eeec </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>