<DIV>Hi, vtkusers,</DIV>
<DIV>&nbsp; I have stenciled&nbsp;one CT image successfully, and I want to extract a ROI in another CT image. but how to save the stenciled images? of course, I could use vtkBMPWriter or vtkJPEGWriter to save the stenciled images to be .bmp or .jpg images, but this is not the best method, I think. </DIV>
<DIV>&nbsp; on the one hand, if I save the stenciled images to be .bmp images, there would be many many many images that I need to save, and&nbsp;some message would be lost, because the pixel's range in CT image is 0-4095 while in bmp image is 0-255.&nbsp;on the other hand, if I want to see the prior image before I extract another image, I should read the images, it is very complex.</DIV>
<DIV>&nbsp; so I want to know, is there any class in VTK that could save the images temporarily and then save them to be one .vtk file after I have extracted all the images?</DIV>
<DIV>&nbsp; if there is no, could you give me any better suggestion? thank you very much!</DIV>
<DIV>&nbsp; M.J.</DIV>
<DIV>&nbsp;</DIV>