To correct step 2, one needs to call <div><br></div><div>filter->Update(); </div><div><br></div><div>then the filtered image is just like a regular image.</div><div><br></div><div>Sorry for the noise.<br><br><div class="gmail_quote">
On Thu, Jan 14, 2010 at 2:34 PM, Ming Chao <span dir="ltr"><<a href="mailto:mingchao2005@gmail.com">mingchao2005@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It sounds like a silly question. Here is what I want. <div><br></div><div>(1) I have an image and I want to flip y axis using itkFlipImageFilter;</div><div>(2) write the filtered image to an image</div><div>(3) save the image in raw binary format.</div>
<div><br></div><div>I know I can save the filtered image and write it out as an image and then read in the image and do the conversion. But this is awkward. I'd like to have one main function to all 3 steps. Any help? Thanks very much in advance,</div>
<div><br></div><font color="#888888"><div>Ming</div>
</font></blockquote></div><br></div>